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.
Madhusudan E wrote:
Hi,
The property wasn't defined on the object, But it started working when I
defined the first_property in g_object_new().
I have a query here,
Doesn't the gobject_class-set_property function be invoked without sending
the first_property parameter in g_object_new().
If
example. Review the GObject documentation.
You mus have a your_widget_class_init function with this:
/* Properties */
object_class-set_property = gnome_db_grid_set_property;
object_class-get_property = gnome_db_grid_get_property;
g_object_class_install_property (object_class
the sender by
phone or email immediately and delete it!
_
From: Daniel Espinosa [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 23, 2006 11:10 PM
To: Tristan Van Berkom
Cc: Madhusudan E; gtk-app-devel-list@gnome.org
Subject: Re: g_object_class_install_property
For an example of how
Hi All,
I have defined a new widget and I want to install properties.
I have defined
Gobject_class-set_property
Gobject_class-get_property
to my local functions.
And as well I have installed the property using
G_object_class_install_property()
But the control is not getting passed
Madhusudan E wrote:
Hi All,
I have defined a new widget and I want to install properties.
I have defined
Gobject_class-set_property
Gobject_class-get_property
to my local functions.
And as well I have installed the property using
G_object_class_install_property()
But the control
: Tuesday, August 22, 2006 7:07 PM
To: Madhusudan E
Cc: gtk-app-devel-list@gnome.org
Subject: Re: g_object_class_install_property
Madhusudan E wrote:
Hi All,
I have defined a new widget and I want to install properties.
I have defined
Gobject_class-set_property
Gobject_class-get_property