Re: GtkComboBox with GtkCheckMenuItems?



On Tue, 2004-06-22 at 09:50 -0400, Matthias Clasen wrote:
> On Tue, 2004-06-22 at 09:46, Steve Chaplin wrote:
> > With GtkOptionMenu I can create a GtkMenu and add GtkCheckMenuItems.
> > In GTK+ 2.4 that the new GtkComboBox is replacing GtkOptionMenu. So how 
> > can the same style menu created with the GtkComboBox?
> > 
> > I know you can use GtkCellRendererToggle to get toggle items but its 
> > not the same look as using CheckItems.
> > 
> > Steve
> 
> It doesn't make much sense to put checkmenuitems inside a combobox,
> does it ? a combobox is about selecting one of multiple choices,
> checkmenuitems are about toggling multiple settings independently...

Well, you might use a checkbox to show the state of a boolean model
column. But that would not be very clear as long as the GtkComboBox can
not show column headers.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com





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