Re: Moveto in Clist?
| From: | Benjamin Smith | Date: | Wed, 15 Jun 2005 21:04:33 +0000 |
| Subject: | Re: Moveto in Clist? | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5878@lists.php.net to get a copy of this message | ||
Brad,
Thanks!
Looking this over, it seems that the "15" value (99*15) is the height of each
row, right? It works ok, (better than what I have now!) but do you know of a
way for me to find out how tall each row is, so that things don't break if a
different .gtkrc/style is used?
There doesn't seem to be a companion to $clist->Set_Row_Height();
-Ben
PS: It doesn't seem necessary to select_row first.
On Wednesday 15 June 2005 11:56, brad montgomery wrote:
> try this adding this code
>
> $s['clist']->select_row(99,0);
> $vadj = $scrolled->get_vadjustment();
> $vadj->set_value(99*15);
--
"The best way to predict the future is to invent it."
- XEROX PARC slogan, circa 1978