lucks escreveu:
> image1 = lookup_widget(GTK_WIDGET(combobox), " img_patterndesign");
>
Hi, you have a space between " and img_.
--
Yours Truly,
Junior Polegato
A pilgrim of problems; A parchment of solutions!
Professional Page: http://www.juniorpolegato.co
and then display its corresponding
image:
that is if i choose y from the combobox it should display the
corresponding xxx.jpg...plz help me:(
--
View this message in context:
http://www.nabble.com/displaying-2-images-from-combobox-tf3361889.html#a9360007
Sent from the Gtk+ - App
and then display its corresponding
image:
that is if i choose y from the combobox it should display the
corresponding xxx.jpg...plz help me:(
--
View this message in context:
http://www.nabble.com/displaying-2-images-from-combobox-tf3361889.html#a9360002
Sent from the Gtk+ - App
On Wed, Mar 07, 2007 at 05:50:44AM -0800, lucks wrote:
>
> when i use this:
>
> {
> GtkWidget *image = lookup_widget(GTK_WIDGET(combobox),
> "img_objectdesign");
>
>gtk_image_set_from_file (GTK_IMAGE(image), "Pictures/baby.jpg");
> }
>
> it works...as you can see image is already declared
etc.
if i declare it at top like GtkWidget *image; there is an error saying
redefinition...so this doesnt solve the poblem..plz help
--
View this message in context:
http://www.nabble.com/displaying-2-images-from-combobox-tf3361889.html#a9353141
Sent from the Gtk+ - Apps Dev mailing list a
On Wed, Mar 07, 2007 at 04:50:40AM -0800, lucks wrote:
> {
>
> GtkWidget *image = lookup_widget(GTK_WIDGET(combobox),
> "img_objectdesign"); // name of image
> widget:img_objectdesign
>
>gtk_image_set_from_file (GTK_IMAGE(image), "Pictures/baby.jpg");
> //display first image
>
..
any help would be appreciated...thanks
please note that the
--
View this message in context:
http://www.nabble.com/displaying-2-images-from-combobox-tf3361889.html#a9352256
Sent from the Gtk+ - Apps Dev mailing list archive at Nabble.com.
___
gt