Re: Glib::Property



2008/8/13 Murray Cumming <murrayc murrayc com>:
> On Tue, 2008-08-12 at 20:49 +0400, Larik Ishkulov wrote:
>> 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.
>
> So, no, I don't think it's very useful.

If I use properties in my widgets, can I edit them through glade if I
integrate widgets? Thanks in advance.


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