Re: Gtk value types



Yes, that was typo error on my part, sorry.

>   private:
>     Glib::PropertyProxy<GdkColor> my_color;

should obviously be:

private:
  Glib::Property<Gdk::Color> my_color;

The above installs that property into any Glib::Object -derived type.

Cheers,

Phil


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