How to fill a GtkList object ?
| From: | localhost | Date: | Sun, 28 Jan 2007 18:23:07 +0000 |
| Subject: | How to fill a GtkList object ? | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-7600@lists.php.net to get a copy of this message | ||
Hello all,
Am new to php-gtk, i need to to fill in some items in the GtkList object, an
example would be better than talking :
public function sendSMS_clicked_cb() {
$destAddresses = $this->glade->get_widget('destAddresses');// this is a
GtkList object
$model = new GtkListStore(Gtk::TYPE_STRING, Gtk::TYPE_LONG);
$model->insert(0, array('Fourat', 20203060));
}
and now, how can i add the inserted items in $model into $destAddresses ?
thanks
--
View this message in context: http://www.nabble.com/How-to-fill-a-GtkList-object---tf3132162.html#a8678369
Sent from the Php - GTK - General mailing list archive at Nabble.com.