RE: GtkList frustrations
- From: Trog <trog gtk org>
- To: Thomas Rock <thomas x-tekcorp com>
- Cc: gtk-list gnome org
- Subject: RE: GtkList frustrations
- Date: Tue, 21 Nov 2000 14:14:00 -0000 (GMT)
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: trog gtk org
I find you lack of faith in the forth dithturbing.
- Darse ("Darth") Vader
Go Bezerk! http://www.gtk.org/~trog
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]