Re: [gtk-list] Perl-Gtk.6123: Using CTree..



On Tue, Nov 09, 1999 at 10:30:14AM -0700, Shawn Ferris wrote:
> I've got a CTree widget. Code snippet below. Certainly there is a better way
> to get the @titles then separate calls to each column? I've tried
> variations.. Eg: get_node_info, get_data, get_row_data, etc. etc. 

There isn't a C api to do that, I guess you could do something like:

	($user,$type,$name) = map {$tree->get_text($node, $_)} (1,2,3);

if you want to do in in a more perlish way...

lupus

-- 
"You guys are definitely worth a wedding party." The Debian folks at ALS99



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