[Glade-users] show a argb data in a glade window
amit bag
amit.bangalore07 at yahoo.co.in
Thu Aug 16 09:00:05 EDT 2007
Hi All,
I want to show a argb data in the glade window .I use a function which generate the argb data as its out put . I want to show
that data in the glade window .I use the function gdk_pixbuf_new_from_data to show the data in glade window .In the const guchar *data field I pass the data that generated by the function I am using .
GtkWidget *image1;
image1=(GtkWidget*)gdk_pixbuf_new_from_data("idata to be shown",GDK_COLORSPACE_RGB,FALSE,8,100,20,100*3,NULL,NULL);
gtk_widget_show_all(window1);
But it show nothing .So please some one tell me with a example it's easy to me to understand how to display it .
Thanks in advance .
Regards
Amit Kumar Bag
---------------------------------
Once upon a time there was 1 GB storage in your inbox. Click here for happy ending.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20070816/d432dc48/attachment.html
More information about the Glade-users
mailing list