Re: Any way to disable window decorations (including "X" button)?

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

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,

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