[Glade-users] No pixmap displayed



it works for me...=20
you can try to set it with =20

your_image =3D lookup_widget(GTK_WIDGET(root_window), "name_of_the_image");
gtk_image_set_from_file(GTK_IMAGE(your_image),"/path/to/image.ext");



On 5/8/05, Magnus Wirstr=F6m <asdlinux yahoo se> wrote:
Hi
=20
I'm working on a app that i use glade to build it's gui. I want a pixmap =
to be displayed as a logo and i can't get it to be displayed. the code glad=
e made looks like this:
=20
--- snip ---
=20
  image5 =3D create_pixmap (main, "dailmasterlogo.xpm");
  gtk_widget_show (image5);
  gtk_table_attach (GTK_TABLE (table1), image5, 1, 2, 5, 6,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);
=20
--- snip ---
=20
Why does it not display the logo ??? do i need to put in more code to mak=
e it work ??
thanks
Magnus
_______________________________________________
Glade-users maillist  -  Glade-users 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]