get gtk menubar title

2001-06-10 Thread Feng Zhu
Hello, I had some problems with using Gtk-- menu system. Your help will greatly appreciated. First, it looks there is no function to get the title of the menu/menuitem (there is a function to set_title though). If I have a function which takes a menu name and item name, how can I check whether t

Re: "Lightweight GTK+"?

2001-06-10 Thread Havoc Pennington
Simon Budig <[EMAIL PROTECTED]> writes: > Is it possible to reduce the size of the GTK Library (we don't have > unlimited resources) e.g. by removing some unused widgets? You can do a custom GTK build and remove a substantial number of the widgets and some other features (e.g. unused image load

"Lightweight GTK+"?

2001-06-10 Thread Simon Budig
Hi all. I am currently evaluating different Toolkits for an embedded application. I'd like to ask if some people here have made some experiences with GTK+ (on Framebuffer or on X11) in an embedded device. Is it possible to reduce the size of the GTK Library (we don't have unlimited resources) e.

Re: g_assert vs. g_return[_val]_if_fail

2001-06-10 Thread Havoc Pennington
Reinhard Mueller <[EMAIL PROTECTED]> writes: > * g_assert terminates the application, where g_return... only terminates the function > * therefore, g_assert lets me jump into gdb as soon as it is hit, while > g_return... doesn not. This seems to be an advantage for g_assert. You can always run t

problems with gtk_toggle_button_set_active() and check buttons

2001-06-10 Thread Ignacio Nodal
Hi again, I've create a check button but I've also added a callback which must be called if the right button has been pressed. The calldata is a pointer to my class. When I create it I set the state to TRUE or FALSE according to the value stored in *parameter. [...] _boolean_button = gtk_check_b