Change pixmap created by glade-2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hei,

I have created an pixmap image with glade-2 that has generated the
following code:

  image2 = create_pixmap (main, "stop.xpm");
  gtk_widget_set_name (image2, "image2");
  gtk_widget_show (image2);

When my program is running I would like to change this image
to"run.xpm". I guess I have to find the image widget by:

 GtkPixmap * image = lookup_widget(GTK_WIDGET(button), "image2");

But now, how do I change to image.


Thanks for all help.

Tom Froysland.

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux