RE: border "close" button
- From: martyn 2 russell bt com
- To: gtk-app-devel-list gnome org
- Subject: RE: border "close" button
- Date: Wed, 23 Apr 2003 10:02:12 +0100
how can I remove the decoration "close" button in the corner of a
gtk_dialog?
You cannot remove the button, since it's managed by the
window manager,
I think you can remove ALL the buttons in the top right (min, max, and
close) by NOT including the GTK_DECOR_MENU flag:
gdk_window_set_decorations (GDK_WINDOW(mywindow), GDK_DECOR_BORDER |
GDK_DECOR_TITLE);
See here for other modifications:
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Windows.html#GdkWMDecoration
Regards,
Martyn
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]