Re: GTK - Win32



natarajan writes:
Is there a way to get the Win32 Window Handle (HANDLE HWND) of GTK 
window/widget in the windows port of GTK?

Yes.

#include <gdk/gdkwin32.h>

GtkWidget *widget;

HWND hwnd = gdk_win32_drawable_get_handle (widget->window);

--tml




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