Re: how to use gtk_widget_get()



On Sun, 2001-08-26 at 02:18, Joel Uckelman wrote:
> Quoth Thomas Mailund:

> > >From reading the source (gtkclist.c)
> > 
> >   gtk_object_add_arg_type ("GtkCList::row_height",
> > 			   GTK_TYPE_UINT,
> > 			   GTK_ARG_READWRITE,
> > 			   ARG_ROW_HEIGHT);
> > 
> > my guess is that you just need to use "row_height" rather than
> > "row-height".  I haven't tried it 'cause I don't have any clist code
> > lying around, but it should be easy for you to test.
> 
> I changed the "-" to "_", and it worked, so I suppose that means the 
> documentation is wrong, then?
> 

Possibly.  The documentation I use is the source, and it is very
seldomly wrong ;)

	/mailund

-- 
Excellent plan! Devious minds are attracted to Python, like mimes to
unappreciative crowds.
                                      --- Tim Peters, 13 Nov 1998

Attachment: pgp9LKNAAz2Sz.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]