SV: Using: gtk_button_set_image() gives small empty buttons

2006-02-28 Thread Nikolaj Kiær Thygesen
:[EMAIL PROTECTED] Sendt: 22. februar 2006 16:37 Til: Nikolaj Kiær Thygesen Cc: gtk-app-devel-list@gnome.org Emne: Re: Using: gtk_button_set_image() gives small empty buttons Am Mittwoch, den 22.02.2006, 12:45 +0100 schrieb Nikolaj Kiær Thygesen: GtkWidget *button = gtk_button_new

Using: gtk_button_set_image() gives small empty buttons

2006-02-22 Thread Nikolaj Kiær Thygesen
Hi again, Another little problem of mine is that no matter what I seem to do, I can't get my buttons to contain small png's read from disk like this: GtkWidget *button = gtk_button_new(); gtk_button_set_image(GTK_BUTTON(button), gtk_image_new_from_file(filename));

Re: Using: gtk_button_set_image() gives small empty buttons

2006-02-22 Thread Christian Neumair
Am Mittwoch, den 22.02.2006, 12:45 +0100 schrieb Nikolaj Kiær Thygesen: GtkWidget *button = gtk_button_new(); gtk_button_set_image(GTK_BUTTON(button), gtk_image_new_from_file(filename)); gtk_widget_show(button); I can display the gtk_image_new_from_file(filename) widget on its own, and it