Re: GtkImage problem

2007-05-06 Thread Lance Dillon
I'm thinking you'll want to add: gtk_widget_show_all(window); With that you can remove: gtk_widget_show(image); - Original Message From: beginner.c <[EMAIL PROTECTED]> To: gtk-app-devel-list@gnome.org Sent: Sunday, May 6, 2007 6:36:32 PM Subject: Re: GtkImage problem

Re: GtkImage problem

2007-05-06 Thread beginner.c
ng list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > > -- View this message in context: http://www.nabble.com/GtkImage-problem-tf3694858.html#a10350080 Sent from the Gtk+ - Apps Dev mailing list archive at Nabble.com.

Re: GtkImage problem

2007-05-06 Thread Yeti
On Sun, May 06, 2007 at 04:06:11AM -0700, beginner.c wrote: > > I am in fact > calling gtk_init() prior to any of these functions. No, you don't, the call to gtk_image_new() to initialize image GtkWidget *image = gtk_image_new(); is performed before any code in main(). Yeti -- http://gwyddi

Re: GtkImage problem

2007-05-06 Thread beginner.c
et Reply-To headers. > > Yeti > > -- > http://gwyddion.net/ > ___ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > > -- View this message in context: http://www.na

Re: GtkImage problem

2007-05-06 Thread Yeti
On Sat, May 05, 2007 at 04:27:14PM -0700, beginner.c wrote: > > As suggested I've done: gtk_image_set_from_file (GTK_IMAGE(image), > "/home/s/Pictures/space-05.jpg"); Please see my answer http://mail.gnome.org/archives/gtk-list/2007-May/msg00039.html unfortunately sent to the wrong mailing li

Re: GtkImage problem

2007-05-05 Thread beginner.c
gtk_image_set_from_file (image, "/home/s/Pictures/space-05.jpg"); > } > > int > main (int argc, char *argv[]) > { > GtkWidget *window = NULL; > GtkWidget *image = gtk_image_new(); > > > #ifdef ENABLE_NLS > bindtextdomain (GETTEXT_PACKAGE

GtkImage problem

2007-05-04 Thread beginner.c
uot;UTF-8"); textdomain (GETTEXT_PACKAGE); #endif gtk_set_locale (); gtk_init (&argc, &argv); create_window (window,image); gtk_widget_show (window); funcImage(image); gtk_main (); return 0; } -- View this