Re: Combo - with pager and search Try please

From: Date: Sun, 25 Feb 2007 15:33:39 +0000
Subject: Re: Combo - with pager and search Try please
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7707@lists.php.net to get a copy of this message
AngeloP wrote: > There are also some problem when clear treeview > (combo_entry03.phpw:464): Gtk-CRITICAL **: _gtk_tree_view_find_path: > assertion `node != NULL' failed > but it seems to work by any way . > In case you would like the error msg to go away, just place a "return true" after populate_data() as shown below: if ($event->keyval==65366) { //Pg Dn $selection = $this->view->get_selection(); list($model, $arPaths) = $selection->get_selected_rows(); $rowsel=$arPaths[0][0]; $item=$this->on_selection($selection) ; print "The row selected is $rowsel and Key PG-DOWN the last item is $item \n"; if ($rowsel == $this->row_x_page){ $data=Select_Data($item,1); #print_r($data); $model->clear(); $this->populate_data($model,$data); return true; // add this } } Similarly for PgUp... Regards, /kksou -- View this message in context: http://www.nabble.com/Combo---with-pager-and-search-Try-please-tf3287386.html#a9144685 Sent from the Php - GTK - General mailing list archive at Nabble.com.

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