Re: [gtk-list] Perl GtkCList question



On Mon, 27 Jul 1998, Brian Hirt wrote:

> Hello!
>      
> I'm writing a program in Perl/Gtk-0.2.2 and have run into a stump.  
> When using a GtkCList, I am unable to find out what the selection is. 
> I was expecting a method called selection which returns the selected 
> rows, similiar to GtkList.
>      
> I've look through both the Perl/Gtk xs files and and the gtk-1.0.4 
> header/source files have have made these observations:
>      
> 1) in gtk-1.0.4, both gtklist.h and gtkclist.h have a member in the 
>    structure called selection which is a GList.  The lists seem to be 
>    maintained in both gtklist.c and gtkclist.c (however gtklist.c has 
>    better notification on selection changed etc)  From this I conclude 
>    the problem is not related to the gtk-1.0.4 library.
>      
> 2) in perl/Gtk-0.2.2, GtkList.xs implements a binding to the GList 
>    selection by returning an array.  GtkCList.xs does not have such a 
>    method.  From this I conclude that either I'm totally confused or the 
>    perl implementation is incomplete.

The latter, if you please. It's very likely that I've forgotten some
stuff, and this would appear to be one of them. I'll see about getting a
new release out shortly, to (nearly) coincide with Gtk+ 1.0.5. 

-- 
Kenneth Albanowski (kjahds@kjahds.com, CIS: 70705,126)




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