Re: Mapping of model attributes with unknown values to a corresponding widget display



On Wed, 2011-10-05 at 17:31 +0200, Markus Elfring wrote:
> > Obviously C++'s bool type can't represent 3 values. You would need
> > something else, I suppose.
> 
> Would it make sense to convert a class like boost::logic::tribool into a gtkmm
> component?
> http://www.boost.org/doc/libs/1_47_0/doc/html/tribool/tutorial.html

If you're interested, glibmm has the Glib::Variant<> classes that I
think do allow the embedding of NULL elements.

> 
> Regards,
> Markus
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list

-- 
José



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