Re: Newbie question.



Hi !
Try this:

GtkWidget *window;
GtkWidget *a_child_widget;
.
.
gtk_widget_show( window );
//after show!
gdk_window_set_decorations(  gtk_widget_get_parent_window(a_child_widget) ,  GDK_DECOR_BORDER );
gdk_window_set_functions( gtk_widget_get_parent_window( a_child_widget ) , GDK_FUNC_MOVE | GDK_FUNC_CLOSE );
.
.
.

On Tue, 2004-03-16 at 21:01, Juan Alberto Aranda-Alvarez wrote:
Excuse me, does anybody know how to disable the close button from the
window manager ( I know it depends on the window manager ). Or any of
the three. In the images of the tutorial the color selection dialog
appears without these buttons.

Thanks.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]