For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > June 2007 > Gtk2::GladeXML and TreeView









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Gtk2::GladeXML and TreeView
Tannhauser

2007-06-21, 9:58 pm

Hello,

for a few days i try to get into Glade. So far it looks very interesting
and promising to me. But it seems i'm too stupid to understand how
GtkTreeView is working.
Can someone provide me an easy to understand example or point me to some
howto? I've read a few c- and python howtos, none of them helped me
(well, i'm fairly new to perl and that's the first programming language i
really try to get into). http://gtk2-perl.sourceforge.net/doc/pod/Gtk2/
helped my a lot with other stuff, but just confuses me with TreeView.

thanks

tannhauser


Daniel Kasak

2007-06-22, 7:59 am

On Thu, 2007-06-21 at 20:21 +0200, tannhauser wrote:

> Hello,
>
> for a few days i try to get into Glade. So far it looks very interesting
> and promising to me. But it seems i'm too stupid to understand how
> GtkTreeView is working.
> Can someone provide me an easy to understand example or point me to some
> howto? I've read a few c- and python howtos, none of them helped me
> (well, i'm fairly new to perl and that's the first programming language i
> really try to get into). http://gtk2-perl.sourceforge.net/doc/pod/Gtk2/
> helped my a lot with other stuff, but just confuses me with TreeView.


You can't set up columns and things for the treeview in glade.
But in the gtk2-perl distribution, there are examples in the examples/
and gtk-demo folders that give some examples of how to do it. You need
to create a model ( in Perl ), and create some treeview columns ( in
Perl ), and append the columns to the treeview, and then connect the
model to the treeview.

I have some examples of setting up different kinds of columns
( including some custom renderers ) in my project,
Gtk2::Ex::datasheet::DBI, which you can find at:
http://entropy.homelinux.org/axis

Dan

--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: dkasak@nusconsulting.com.au
website: http://www.nusconsulting.com.au

Callister

2007-06-25, 10:07 am

Laetitia Casta and Alyson Hannigan Wrestling & Showing Ass!

video de sexo amateur gratis britney picture skirt spear up thai adult movie hot porn teen video whos your daddy video
free black porn movie hollywood video movie download of porn movie free sklave porno movie free hot sex video clip
sex submission movie britney spears naked photo de foto gratis jovensitas porn free indian movie download free girl naughty sample video
home scandal sex video gay grtis porn video free naked lesbian video free midget sex video slide show movie maker

cicarelli daniela tube video
epic movie movie trailer
windows movie maker gratuit
paris hilton pussy picture
gucci money clip wallet
lesbian group sex video
movie cover
free black sex movie
confession music usher video
3gp funny clip
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com