Re: option menu

From: Date: Tue, 21 Dec 2004 16:39:20 +0000
Subject: Re: option menu
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-5387@lists.php.net to get a copy of this message
John,
I'm having problems trying to get a scrollable widget in an option menu working. I'm still a newbie I but I prefer learning by doing so if
Could you give an example for this? I can't imagine for what one would need this.
all queries need this information so I put it in the main window. Some "departments" have 40 "exhibits" which causes the wigdet to choose which "exhibit" to run off the page. I would rather keep away from Clist so I
Ok, I got it. The problem is, that the GtkMenu doesn't implement such a behavior. As the GtkOptionMenu uses the GtkMenu class, the problem is still there. I found a patch http://mail.gnome.org/archives/gtk-devel-list/2000-August/msg00016.html which was rejected to be put in Gtk 1.2.x as binary compatibility was broken. I don't know if it's in Gtk 1.3.x, but I assume not - whatever reason the devs had. So your only chance is to use a combo box and listen to the "changed" signals... Set the text entry to read only to allow users to choose only. Regards/MfG, Christian Weiske -- XMMS is playing now: Reamonn - just a day

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.gtk.general (#5387) next »