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

How do I resize a CList inside a VBox, inside a Notebook inside...



(I'm using Gtk-- 0.9.11 with gtk+ 1.0.5, and am willing to make
calls directly to gtk+ if need be)

I have a CList with contents that change over time.  I want to
keep each col. wide enough to display the widest item inside it.

I'm calling set_column_width() to set the new widths, and set_usize()
to change the width of the CList as a whole (do I need to do that?).

The individual columns take on the proper width, but I get a vertical
scrollbar rather then a wider window.

In case it matters the CList is in a VBox, and that VBox is inside
a Notebook (I have 13 similar lists), and the Notebook is in a VBox
which is in a top level window.  The CList and Notebook are the only
things in their respective VBoxen at the moment (in the future at
least one will have some buttons and labels and stuff as well).
The CList and Notebook were both added with pack_start(), and the
default settings of expand=TRUE, fill=TRUE, and padding=0.

Is there something I need to do to get the top level window, the
various vboxen, and the notebook to respect the CLists desire to
grow?



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