Re: [Inkscape-devel] Getting the GdkWindow in which a verbwas invoked
Hey... I'm glad a couple of people agree with me, so I'm not going crazy.
I think trying to embed GTK in Windows native in GTK seems like a very hard, risky, and potentially ugly way of solving the problem. I'm much more in favour of implementing an shell thumbnail extension to achieve our goal, mainly because it would be a more Windowsy solution, and would result in less hassle. This would solve the SVG preview problem for XP and Vista users, in Inkscape, and allow them to thumbnail across the whole system, which could be a significant selling point! Looking at the thumbnail API it all depends really in how hard it is to render an arbitrary SVG file into an arbitrary HDC/HBITMAP.
----------------------------------------
From: MenTaLguY <mental@...3...> Sent: 26 June 2007 10:48 To: Gail Banaszkiewicz <gbanaszk@...1686...> Subject: Re: [Inkscape-devel] Getting the GdkWindow in which a verbwas invoked
On Tue, 26 Jun 2007 13:01:49 -0400, Gail Banaszkiewicz wrote:
Dang I hate those stupid open windows in Inkscape - I would personally be happy to have the option to use the Windows dialogs! With previews, of course ;)
While I'm not a frequent user of Inkscape on Windows, I've had to do so occasionally for work; I think I'd also prefer a native file dialog (though I'd miss the Gtk dialog's bookmarks a little bit).
Previews are another issue, though -- before we could implement them in the native dialog, we'd need to determine how to embed a Gtk widget in a Win32 window. If we can get that part sorted out, then the usual dialog customization approach should work:
http://msdn2.microsoft.com/en-us/library/ms646960.aspx#_win32_Explorer_Style...
(Win32 programming is one of the few things that makes me miss working with Gtk...)
-mental
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On Tue, 26 Jun 2007 11:16:16 -0700, "joel@...1709..." <joel@...1709...> wrote:
Looking at the thumbnail API it all depends really in how hard it is to render an arbitrary SVG file into an arbitrary HDC/HBITMAP.
That shouldn't be too hard as long as we can get an HBITMAP with the right pixel format. NRArena is (mostly) toolkit-agnostic.
-mental
participants (2)
-
joel@...1709...
-
MenTaLguY