Re: populating a TreeStore in reverse order

2005-06-23 Thread The Saltydog
On 6/23/05, ofey aikon [EMAIL PROTECTED] wrote: ... May or may not be of use to you :) Very useful. Thank you! ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

pixbuf in a treestor

2005-06-23 Thread The Saltydog
Is there some hidden trick I don't know, to display a pixbuf in a TreeStore?? This is what I did: the model: $model = Gtk2::TreeStore-new (qw/ Glib::String Glib::String Gtk2::Gdk::Pixbuf Glib::String Glib::String Glib::String / ); set the column:

Re: pixbuf in a treestor

2005-06-23 Thread muppet
The Saltydog said: $model = Gtk2::TreeStore-new (qw/ Glib::String Glib::String Gtk2::Gdk::Pixbuf Glib::String Glib::String Glib::String / ); set the column: $cell = Gtk2::CellRendererPixbuf-new; $col = Gtk2::TreeViewColumn-new;

Re: populating a TreeStore in reverse order

2005-06-23 Thread Peter Haworth
On Wed, 22 Jun 2005 22:05:01 +0200, The Saltydog wrote: On 6/22/05, Peter Haworth [EMAIL PROTECTED] wrote: Or you could start by adding nodes to the root, and reparent them as it becomes possible. That could be fun to watch, but possibly not very useful. reparent? I know only of widget's

different behaviours

2005-06-23 Thread The Saltydog
I am experiencing different behaviour of my application on two PC. The two PC have the same speed and RAM, both run the same distro version (Ubuntu Hoary), but one with kernel 2.6.10-k7 and the other with kernel 2.6.10-i386 The application is a multithreaded Gtk2 program, which forks around 20

Re: Working with an image from an http request

2005-06-23 Thread Grant McLean
On Fri, 2005-06-24 at 11:18 +1000, Daniel Kasak wrote: I'm using jpgraph on our webserver to create graphs. I'm using LWP::Simple to fetch the graph, which is in PNG format. ... I basically just want to display the image on-screen. Can I do anything useful with this in-memory, or do I have to

Re: Working with an image from an http request

2005-06-23 Thread Daniel Kasak
Grant McLean wrote: Something like this should do the trick: my $loader = Gtk2::Gdk::PixbufLoader-new; $loader-write($png_data); $loader-close; my $pixbuf = $loader-get_pixbuf; Thanks :) -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney,

Re: Working with an image from an http request

2005-06-23 Thread ofey aikon
Also documented here... http://live.gnome.org/GTK2_2dPerl_2fRecipes#head-f684ca9e629855a45a836e171c2108c084253e67 Regards, Ofey. ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list