gobject property notify question
- From: "Robert Gibbs" <gibbsrc gmail com>
- To: gtk-list gnome org
- Subject: gobject property notify question
- Date: Fri, 5 Jan 2007 20:27:00 -0500
Can anyone tell me why property notifications work only for properties that are readable? This seems like an arbitrary restriction.
I want to get a callback whenever a writable only property gets set on an object instance that I have. Is there any way to do this?
Thanks
Bob Gibbs
From gobjectnotifyqueue.c
static inline void
g_object_notify_queue_add (GObject *object,
GObjectNotifyQueue *nqueue,
GParamSpec *pspec)
{
if (pspec->flags & G_PARAM_READABLE)
{
......
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]