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
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:
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;
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
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
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
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,
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