[Glade-users] PixBuf
- From: tristan.van.berkom at gmail.com (Tristan Van Berkom)
- Subject: [Glade-users] PixBuf
- Date: Mon, 10 Aug 2009 15:18:28 -0400
Unfortunately not really.
string properties on widgets in GtkBuilder that reffer to a pixbuf
use a special case to load a pixbuf from the string as a filename,
so if you were to manage to include GdkPixbuf objects, you couldnt
very well use them to share across multiple widgets.
(and GdkPixbuf being outside GTK+ doesnt implement GtkBuildable
and has no custom constructs to load from a builder file, which it might need).
On the other hand you might consider using GtkIconFactory if all you need is
to share an icon among multiple widgets...
Cheers,
-Tristan
On Mon, Aug 10, 2009 at 2:44 PM, <smu at z107.de> wrote:
Hey,
is it possible to use gtk.gdk.Pixbuf objects with glade?
Can't find this class in the palette?
regards,
?Stefan
_______________________________________________
Glade-users maillist ?- ?Glade-users at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-users
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]