On 21-Nov-2000 Thomas Rock wrote:
> I'm trying to get a list of items to display in a GtkList, but all
> I get
> is a blank window. Below is the code (from an example in the
> Gnome/Gtk+ Programming Bible). What am I doing wrong?
<snip>
>
> glist = g_list_append(glist,
> gtk_list_item_new_with_label("Maximum"));
You need to gtk_widget_show the list item, so it should be something
like (for each one):
GtkWidget *item;
item = gtk_list_item_new_with_label("Maximum");
gtk_widget_show(item);
glist = g_list_append(glist, item);
-tony
---
E-Mail: [EMAIL PROTECTED]
I find you lack of faith in the forth dithturbing.
- Darse ("Darth") Vader
Go Bezerk! http://www.gtk.org/~trog
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list