
On Fri, Jul 06, 2007 at 03:20:42PM -0700, MenTaLguY wrote:
On Fri, 6 Jul 2007 15:09:04 -0700, "joel@...1709..." <joel@...1709...> wrote:
What I really want here is "temporary wrapper" just to satisfy FileChooserDialog. There seems to be rather a lack of documentation about all this - or maybe I don't know where to look.
Glib::wrap wasn't intended to be used that way.
Am I right in thinking that while all inkscape dialogs use Gtkmm, the main window is based on plain old GTK+ ? If not, is there a way I can get a reference to it's underlying Gtk::Window rather than a crumby GtkWindow*?
I think the best thing to do would be to rewrite the desktop window code to use a Gtk::Window rather than a GtkWindow as the top-level window. It's a small step towards the complete Gtkmmification we have been wanting anyway.
I took a cut at this back when we first started doing the Gtkmm work intently. It's in the experimental SVN module at bryce/inkscape_gtkmm/. We ended up deciding to focus on dialogs rather than the application, so this never really got to a finished point, but it still might be useful for reference or as a starting point.
Bryce