Call the size_request() method on the clist, which will return the optimal
height/width that the clist would use. This should give you the width of
the clist.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Mon, 5 Jul 1999, Harry Henry Gebel wrote:
> James Henstridge wrote:
> >
> > You can use the GtkPaned.set_position() method to set the initial position
> > of the handle. So if you want the clist to be 100 pixels wide, use
> > "hpaned.set_position(100)" (assuming the clist is in the left pane).
> >
>
> My problem is I don't know how wide the CList is. It's set with
> GtkCList.columns_autosize() each time the program starts, so I need to
> find out the height and width after being autosized before I can set the
> width of the pane.
>
> -Harry
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
>
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]