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



On Thu, 2011-10-06 at 11:23 -0400, José Alburquerque wrote:
> 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.

This reply has nothing to do with the original question.  It's probably
more related to the data structure related questions in your other
threads, though the variant classes may not be at all useful for
database uses.

> 
> > 
> > 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]