GtkAction, Plugins and PyGtk



Hi,

tracked in [1] i have been starting to move dia towards use of the
GtkUIManager/GtkAction framework instead of the deprecated
GtkItemFactory. A first patch for the toolbox is available, but API to
add menu items is also exported to the python plugins via
dia.register_callback. While this call is string based exporting the
new new GtkAction-based API would require either
 + dia to depend on PyGTK or
 + the implementation of a custom API.

PyGTK is of course a pretty big dependency, but for exporting internal
GObject-based API and gtk widgets it can save lots of coding effort.
What do you think about that, which way would you consider appropriate?

[1] http://bugzilla.gnome.org/show_bug.cgi?id=340352

Best,
Rob



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