[Gtk-sharp-list] Glade# Pixmap Resource
Fri, 18 Feb 2005 19:56:23 -0800
Do you happen to know of other bindings or anything in libglade or Gtk+
that deal with embedded resources? Something I could look at as an
example of how similar functionality could be added to Glade#?
The most straightforward solution that comes to mind would be parsing
the XML and stripping out all GtkImages that reference filenames
identical to embedded resource filenames, and then having Glade# set the
pixbuf, later. That seems way too complex, though. There must be a
On Fri, 2005-02-18 at 15:57 -0200, Rafael Teixeira wrote:
> AFAIK, No.=20
> Normally is a one-liner to do things programatically, but I would love
> to have Glade# extended to deal with embedded resources.
> On Tue, 15 Feb 2005 22:56:12 +0000, Samuel Kaufman <email@example.com> wro=
> > My project has a PNG embedded as a resource in the executable assembly.
> > I'm trying to use that PNG on a window in a Glade# project, where
> > gui.glade is also a resource in the assembly. It doesn't look like
> > Glade.XML is managing to find the the PNG on it's own. How can I get i=
> > to find this pixmap? Is there a clean way to do it without using code
> > to manually drop the pixmap onto the window?
> > [ snip ]
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
-----END PGP SIGNATURE-----