Re: GtkOptionMenu menu is invisible



On Sun, 2001-10-21 at 00:31, Carlos Pereira wrote:
menuItem = gtk_menu_item_new_with_label (modeName);
gtk_menu_append(newModeMenu, menuItem);
g_free (modeName);

I might be wrong, but it seems that you
free the actual label, so GTK will find 
probably 0 when running and will put a 
"tiny little square" because there's 
nothing there to show!

Carlos
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

The problem was trival I had forgotten to call gtk_widget_show

Sorry for having sent the origional message twice. I had set evolution
up to send it from the account. I'll make sure it dosn't happen again.

-- 

rob






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