Re: Select box equiv

From: Date: Wed, 02 Apr 2003 08:05:46 +0000
Subject: Re: Select box equiv
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-3199@lists.php.net to get a copy of this message
----- Original Message ----- From: "Madeleine D." <mmdrake@bctonline.com> To: <php-gtk-general@lists.php.net> Sent: Wednesday, April 02, 2003 9:11 AM Subject: [PHP-GTK] Select box equiv > We are in the process of converting our PHP app to PHPGtk. Some very basic > questions: > > 1. Is GtkCombo meant to be the equivalent of an HTML select box? If so, > are there any examples of setting up similar behavior; i.e., the user > selects an item from the list, and the remaining form fields are populated, > based on related Mysql calls? The manual only shows how to change the list > itself. > You can change the values of gtkcombo with for() or while() and you can fill up the list with any value, mysql data or something. > 2. Is there any way to add an accelerator key to a button label? We've > built a typical menu just fine, but there are some subscreens where we > don't want to carry the menubar - just buttons - and we would like the > added keyboard functionality. > I don´t known :( with menuitem you can put. > 3. What's the best way to prevent the user from opening duplicate > subscreens? Ex: they've opened the client setup form once. They then > click on the main menubar and load a new one, because they can't see or > forgot the first one was open. We've reviewed GTK_VISIBLE, but can't seem > to get it working correctly. > To put in top level one window yo can use: gtk::grab_add(widget); More info in http://gtk.php.net/ :-) the best web in the INET :) > thanks in advance. > > Madeleine D. > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

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