Paul Santa Maria wrote:

Hi -

I'm implementing a kiosk-style application in GTK+, and it's important to
*disable* window resize, minimize, maximize, etc.

Is there any way to simply remove window decorations (especially the "X" close
button) from a GTK+ window?

Thank you in advance .. PSM
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

I think you need something like this:

gdk_window_set_decorations(mywindow->window, (GdkWMDecoration)(GDK_DECOR_BORDER|GDK_DECOR_TITLE));

I hope this helps.

Best regards,
 Miroslav
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to