Re: Glib::Property
- From: Larik Ishkulov <gentro office etersoft ru>
- To: gtkmm-list gnome org
- Subject: Re: Glib::Property
- Date: Tue, 12 Aug 2008 20:49:10 +0400
On Tuesday 12 August 2008 20:02:18 Germán Diago wrote:
> Hi all. I've got some questions I'd like to be answered:
>
> When implementing new
> widgets in gtkmm, is there any advantage in using Glib::Property and
> Glib::PropertyProxy
> instead of using normal members and get and set? Or it's used for a
> different thing?
>
> Which is the correct way to use Glib::Property and PropertyProxy?
> Because in the documentation,
> there are constructors with Glib::Object listed, but Glib::Object
> constructor is protected.
> Thank you
> very much for your time.
Using Glib::Property will register a property in GObject. So other C programs
can use your property.
Detailed Description of PropertyProxy helped me.
http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html
--
Best regarsd,
Larik Ishkulov
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]