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



On Thu, 2011-10-06 at 21:21 +0200, Markus Elfring wrote:
> > The VariantContainerBase class contains other variants.  It can contain
> > what is called a maybe type which is one that may be null (see
> > Glib::VariantType::create_maybe()[1]).  As I said, though, it may not be
> > useful for your purposes.
> 
> I find the applicability of a "maybe" still unclear.
> Are there any more explanations for this data type available?

The description of the GVariantType has a little more explanation:
http://developer.gnome.org/glib/stable/glib-GVariantType.html#glib-GVariantType.description

> 
> Do useful method overloads exist for a safe cooperation with the GUI?

I don't understand what you're asking for here.

> 
> 
> By the way: I would still prefer a template class for nullable types over a
> "Variant style" interface.
> 
> Regards,
> Markus

-- 
José



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