Re: GtkCombo losing setting when dropdown list is activated

From: Date: Wed, 12 Mar 2003 05:09:24 +0000
Subject: Re: GtkCombo losing setting when dropdown list is activated
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-3089@lists.php.net to get a copy of this message
Nope, and why would anyone want the dropdown back _after_ they made a combo selection? There are problems generally with select in combo, please see manual. These result in a lot of needless signal handling, it's just the way things are at present (and GTK 1.2/3's fault, not ours). If you want to keep your user's settings take a look at GtkOptionMenu instead. See manual and also Andrei's example in test/gtk.php ----- Original Message ----- From: "Benjamin Smith" <bens@effortlessis.com> To: "phpgtkliste" <php-gtk-general@lists.php.net> Sent: Wednesday, March 12, 2003 4:48 AM Subject: [PHP-GTK] GtkCombo losing setting when dropdown list is activated > Is there a way to get GtkCombo to not lose its value when the dropdown list is > chosen? > > Let's say I have 5 items in a GtkCombo List, (set_popdown_strings()) and #3 > has been selected. If I click on the down arrow to bring down the full list, > I lose the selection of #3 and it defaults to select the first item in the > list. (typically something like "--choose--") > > This results in a large amount of needless signal handling when nothing at all > may need to be done. > > Can this default behavior be changed? > > -Ben > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.gtk.general (#3089) next »