Re: GtkListBox children size?
- From: The Devils Jester <thedevilsjester gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Re: GtkListBox children size?
- Date: Sat, 21 Feb 2015 16:07:30 -0600
To answer my own question, its still required to gtk_widget_show the widget
when its added to the list box.
On Thu, Feb 19, 2015 at 8:00 PM, The Devils Jester <
thedevilsjester gmail com> wrote:
I am trying to use the GtkListBox widget, and when I add a child widget to
the list using the code below, I get a new list entry for each label I add,
but the list entry is only a few pixels in height, and it doesnt appear to
show the actual child widget (just a few pixels of the selection rectangle).
GtkWidget* widget = gtk_list_box_new ();
...add widget to parent...
GtkWidget* lbl = gtk_label_new(text.c_str());
gtk_container_add(GTK_CONTAINER(widget), lbl);
Am I doing something wrong?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]