Re: GtkCombo
| From: | Steph | Date: | Sun, 13 May 2001 19:27:00 +0000 |
| Subject: | Re: GtkCombo | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-1824@lists.php.net to get a copy of this message | ||
It's just an array. Or is this not what you're asking?
<?
dl('php_gtk.' . (strstr(PHP_OS, 'WIN') ? 'dll' : 'so')) ||
die("Can't load php_gtk module!\n");
function quitApplication() {
Gtk::main_quit();
}
$window = &new GtkWindow();
$window->set_title("testbay window");
$window->set_default_size(320, 200);
$window->set_uposition(0, 0);
$window->connect('delete_event', 'quitApplication');
$combo = &new GtkCombo();
$combolist = array('one', 'two', 'three');
$combo->set_popdown_strings($combolist);
$window->add($combo);
$combo->show();
$window->show_all();
Gtk::main();
?>
----- Original Message -----
From: "Leroy 'Beau' Hall" <Beau@ctlno.com>
To: <php-gtk@lists.php.net>
Sent: Sunday, May 13, 2001 7:56 PM
Subject: [PHP-GTK] GtkCombo
I want to add a GtkListItem to the GtkList contained in a GtkCombo. I've
looked for documentation or an example but I can't find any. Can anyone
point me in the right direction?
Thanks,
Beau
--
PHP GTK Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
For additional commands, e-mail: php-gtk-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net