RE: using winapi in gtk
- From: "Jorge Monsalvo" <jm_tecno2002 yahoo com ar>
- To: <gtk-app-devel-list gnome org>
- Subject: RE: using winapi in gtk
- Date: Sun, 14 Nov 2004 16:13:21 -0300
Tor
I'm sorry if use someone else mail, but Does your answer mean that you
can print a window using the Win32 schema? I mean create a Graphic
Device Context (GDC), fill it, send to printer...
Thanks
Jorge Monsalvo
-----Mensaje original-----
De: gtk-app-devel-list-bounces gnome org
[mailto:gtk-app-devel-list-bounces gnome org] En nombre de Tor Lillqvist
Enviado el: Domingo, 14 de Noviembre de 2004 09:58
Para: Hubert Sokolowski
CC: gtk-app-devel-list gnome org
Asunto: Re: using winapi in gtk
Hubert Sokolowski writes:
I was wondering if this is possible to use winapi in gtk on >
windows, for example a dialog window for selecting files or some >
drawing primitivies like lines, points etc.
Sure, but I don't recommend it. It means your application is almost
guaranteed to break at some later GTK revision. It also means that you
are on your own to figure out what happened. If you insist, you can
fetch the HWND for a GDK window, or HBITMAP for a GDK pixmap, using the
gdk_win32_drawable_get_handle() function declared in gdkwin32.h. And
nothing stops you from opening dialog windows (like non-GTK file
selection dialogs, print dialogs, etc) that GTK doesn't know anything
about.
--tml
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.794 / Virus Database: 538 - Release Date: 10/11/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.794 / Virus Database: 538 - Release Date: 10/11/2004
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]