Re: number of cols in a clist

From: Date: Wed, 01 Sep 2004 14:23:49 +0000
Subject: Re: number of cols in a clist
References: 1 2 3  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-5027@lists.php.net to get a copy of this message
On Wed, 2004-09-01 at 16:44, Christian Weiske wrote: > Hi > > > >>Is there a simple way to know how many columns are in a clist? > > > there is a property called "n-columns" ... but it always returns 0 to > > me(PHP-GTK 1.0.1) :(. Also there is an undocumented property called > > "rows" just it case you need the rows number > > There is definitely no "n-columns" property in the php-gtk sources. > The only properties available for GtkCList are: > > focus_row > rows > sort_column > sort_type > selection > selection_mode > row_list > > > They will be documented soon. > > Regards/MfG, > Christian Weiske My mistake, I should have checked the php-gtk sources. I've only looked in the Gtk+ manual(http://developer.gnome.org/doc/API/gtk/gtkclist.html) and I thought the gtkclist has the same properties -- c3f7bc9d7683857572da3d1fa3d31af17bde4ebbc5c0f0dc2b7f6f

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