Re: g_object_class_install_property
- From: Tristan Van Berkom <tristan van berkom gmail com>
- To: Madhusudan E <madhusudan huawei com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: g_object_class_install_property
- Date: Thu, 24 Aug 2006 11:10:20 -0400
Madhusudan E wrote:
[...]
All I want to know is, Well the above stated behaviour of GTK is default
behavior or Am I going wrong some where.
If the property is never explicitly specified, either via g_object_new()
or g_object_set() - then the set_property class method will _not_ be called.
When you create a GParamSpec for your property, you give it a default value,
why would g_object_new() need to redundantly sync that default if you
already
specified it ?
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]