How to hide the menu on title bar?
- From: "Kang, Michael" <MKang sweda com>
- To: "'gtk-app-devel-list gnome org'" <gtk-app-devel-list gnome org>
- Subject: How to hide the menu on title bar?
- Date: Tue, 23 Mar 2004 12:13:14 -0500
It is a question about decorations.
I am writing a application with gtk on Linux 9. My application needs a
border and a title bar without closing, minimizing, maximizing and menu
buttons.
I've successful on hiding the closing, minimizing and maximizing button as
follow:
gtk_widget_realize (window);
gdk_window_set_decorations (window->window,
(GdkWMDecoration)(GDK_DECOR_BORDER|GDK_DECOR_TITLE ));
gdk_window_set_functions (window->window,
(GdkWMFunction)(0));
gtk_widget_show (window);
but the menu button(on the very left of title bar) is still there.
Does the window manager allow to hide it?
If so, what am I supposed to do?
thanks,
Michael
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Michael K
Email: michaelk sweda com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]