Re: ComboBox question



> > I'm using a Gtk::ComboBox which has a ListStore as it's
> > TreeModel. The ListStore holds a number of quite long strings.
> > When the ComboBox is rendered (in collapsed state), it is
> > expanded to the length of the longest string in the ListStore.
> >
> > Is it possible to limit the horizontal size of a ComboBox in
> > (when it is collapsed) to a certain length?
> >
> > On the other hand, when the ComboBox pops up, the strings shall
> > be displayed in the full length.
> >
> > Thanks and best regards
> > Christian

What effect does set_size_request() have?
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Widget.html#5e95431f630a226b0b7297e4815ee945

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



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