Re: How to remove MenuItem from Menu?

2009-10-21 Thread Peter Daum
jcup...@gmail.com wrote: 2009/10/21 Peter Daum : (I tried some strange things like calling item->destroy and was not surprised that it didn't work ...) You can just use gtk_widget_destroy(item), I believe. Though I generally just destroy and rebuild the whole menu for safety. oop

How to remove MenuItem from Menu?

2009-10-21 Thread Peter Daum
There are several functions to dynamically change/reorder menus, but I couldn't find or figure out a way how to remove a certain item from a Menu. Is this possible? How? (I tried some strange things like calling item->destroy and was not surprised that it didn't work ...) Regards,

Getting/Setting "reasonable" default size for a widget

2009-09-11 Thread Peter Daum
How can I set some "reasonable" default size for a widget without hindering resizing? I have stumbled across this on many occasions, the nastiest is a TreeView widget within a ScrolledWindow, particularly if the number of lines/columns: Without any size requests and with the scrolling policy set

Window receiving button-release-event

2007-05-30 Thread Peter Daum
ance", so I hoped it should work even when there is another signal handler installed. Any ideas how to get this right? Regards, Peter Daum ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Window receiving button-release-event

2007-05-30 Thread Peter Daum
ance", so I hoped it should work even when there is another signal handler installed. Any ideas how to get this right? Regards, Peter Daum ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Getting "button-press-event" on a ToolButton

2005-11-23 Thread Peter Daum
ny ideas? (I am using Perl, but the question should be language-independant) Regards, Peter Daum ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list