Re: Remove title bar from GtkWidget
- From: Havoc Pennington <hp redhat com>
- To: Santiago Capel Torres <bluefish ono com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Remove title bar from GtkWidget
- Date: 02 Nov 2001 19:02:45 -0500
Santiago Capel Torres <bluefish ono com> writes:
I am a developer of bluefish (http://bluefish.openoffice.nl) and I need
to remove the title bar of a GtkWidget. I must create it with
gtk_window_new(0) and then make it transient to the parent window. If I
use gtk_window_new(GTK_WINDOW_POPUP) I can't make it transient.
Any help?
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_widget_realize (window);
gdk_window_set_decorations (window->window, 0);
gtk_widget_show (window);
or in GTK 2:
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_decorated (GTK_WINDOW (window), FALSE);
gtk_widget_show (window);
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]