[gnome-love] How do I access GtkImage data with accessor function?
- From: Enikő Nagy <nagyeniko111 gmail com>
- To: gnome-love gnome org
- Subject: [gnome-love] How do I access GtkImage data with accessor function?
- Date: Tue, 1 Mar 2011 10:54:32 +0100
Hi!
I'm trying to replace direct access with accessor function in beagle module.
Back to the problem. I have to replace :
image->data.pixbuf.pixbuf and
image->data.name.pixbuf
where image is GtkImage.
I did some googling and know that data represents :
union
{
GtkImagePixmapData pixmap;
GtkImageImageData image;
GtkImagePixbufData pixbuf;
GtkImageStockData stock;
GtkImageIconSetData icon_set;
GtkImageAnimationData anim;
GtkImageIconNameData name;
GtkImageGIconData gicon;
} GSEAL (data);
So how do I access name and pixbuf member.
Thank you for any response.
Enikő Nagy
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]