[gnomemm] nautilus property page



Hello,

I want to write a nautilus property page with the use of the gnomemm
and bonobomm librarys.

If I understand right, then nautilus sets  a property named "uris"
with the URI of the selected files. All examples which I found are
written in c. They use approximatly this code:

enum {
   PROP_URI,
   };

static void set_property(...) {
      ...
      if (arg_id == PROP_URI) {
          // load uri
      }
}

BonoboPropertyBag * init_pbag() {
     return = bonobo_property_bag_new (get_property,
                                       set_property,
                                       ...)
}

My question is now, how can I do this with bonobomm. I did not found any
callback routine, which notifies me when a property changed.

* Is this planned to be implemented
* and/or is there a workaround to use this with bonobomm.
* or should I implement this in native c?

Thanks for your efforts

René Drießel

-- 
Es gibt zwei Dinge auf der Welt, welche unendlich sind.
Das Universum und die Dummheit der Menschen.
Beim Universum bin ich mir allerdings noch nicht sicher.
Albert Einstein.
-----------------
http://www.driessel.de
Jabber: driessel amessage de



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