Re: Displaying a combobox



On Sat, 2007-11-17 at 08:26 -0800, Jamiil Abduqadir wrote:
> I have derived a class  from Gtk:VBox, this class packs in a
> Gtk::Label Gtk::ComboBoxEntryText, get the idea. This saves me the
> time of creating a new one every time I need one. The combo box will
> be for data-input / data-output 
> My problem is that the combo box is displayed to high, hight enough to
> fit two lines in it!
> What can I do to change the dimensions of the combo box?

You probably just need to use the appropriate options when calling
pack_start().
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Box.html#e1a2ca6c5de8ad4442ed93c2c20eec87

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



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