I have a combo render in a treeview and I can't get the callback to set
the value once it's selected. I want the combo to default to "Stock"
but be able to be changed to any of the other values in the itemtype
array. Below is the way the item type combo is being created and added
to the tree view
Hello,
Le 12/09/2007, dhk <[EMAIL PROTECTED]> a écrit :
> I have a combo render in a treeview and I can't get the callback to
> set the value once it's selected.
I didn't test the code you gave, so can't be sure, but I suggest to
remove the « "text", "Stock", » property from the combo rendrer.
>
Thanks, but it still doesn't work. I think the problem is in getting
the iter for the list store which is used in the combo render or it
might be working and just not getting rendered to be visible. I'm
fairly sure the problem is in the callback.
On Wed, 2007-09-12 at 13:47 +0200, Damien Caliste
Hello,
I'm totally new to the GUI application development in Linux X11. I was
mostly involved in embedded non-graphical development.
Now I need to create GUI interface application using GTK+.
Could you advise me the best way to create animation of a rotating
object in GTK window? This object is g
Hello,
Le 12/09/2007, dhk <[EMAIL PROTECTED]> a écrit :
> Thanks, but it still doesn't work. I think the problem is in getting
> the iter for the list store which is used in the combo render or it
> might be working and just not getting rendered to be visible. I'm
> fairly sure the problem is in
If you have an animated gif, you can use GtkImage. If you need to actually
sync it with something external, you can use GdkPixbufAnimation and
GdkPixbufAnimationIter:
http://library.gnome.org/devel/gtk/unstable/GtkImage.html
http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-animatio
I have created an image from a file using
image1 = gtk_image_new_from_file("pictures/Empty.gif");
gtk_widget_set_name (image1, "image1");
and displalyed it using:
gtk_widget_show(image1);
gtk_box_pack_start(GTK_BOX (hbox1), image1, TRUE, TRUE, 0);
and that works fine. The image is correctly di
On Wed, Sep 12, 2007 at 01:52:43PM -0700, tsaud wrote:
>
> I have created an image from a file using
> image1 = gtk_image_new_from_file("pictures/Empty.gif");
> gtk_widget_set_name (image1, "image1");
>
> and displalyed it using:
> gtk_widget_show(image1);
> gtk_box_pack_start(GTK_BOX (hbox1), i
O'm going to have to try another approach. I know this isn't wrong, but
the combo doesn't work correctly. I'm going to stuff this in a smaller
program and try to narrow down what's going on.
Thanks,
--dhk
On Wed, 2007-09-12 at 15:51 +0200, Damien Caliste wrote:
> Hello,
>
> Le 12/09/2007, dhk