Re: Mapping of model attributes with unknown values to a corresponding widget display
- From: José Alburquerque <jaalburquerque gmail com>
- To: Markus Elfring <Markus Elfring web de>
- Cc: gtkmm-list gnome org
- Subject: Re: Mapping of model attributes with unknown values to a corresponding widget display
- Date: Thu, 06 Oct 2011 15:54:11 -0400
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]