gobject property notify question

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?

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]