Re: Embed movie player using mplayer - How to get the wid on Windows?
- From: Jonathon Jongsma <jonathon quotidian org>
- To: Paulo Flabiano Smorigo <pfsmorigo gmail com>
- Cc: Hubert Figuiere <hub figuiere net>, gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Embed movie player using mplayer - How to get the wid on Windows?
- Date: Thu, 21 Aug 2008 09:27:41 -0500
Paulo Flabiano Smorigo wrote:
Hi Hubert,
I withdrew the unwrap function from the code and the line now is:
*p_windowID = GDK_WINDOW_HWND(get_window());
I saw in this form looking into a code found on the internet.
Now the error is:
gui/VideoGui.cpp:32: error: cannot convert `Glib::RefPtr<Gdk::Window>'
to `GdkDrawable*' for argument `1' to `void*
gdk_win32_drawable_get_handle(GdkDrawable*)'
I tried to cast but the error continues...
Thanks...
P.F.Smorigo
you seem to have missed the part where he told you to use gobj(). e.g.
get_window()->gobj()
--
jonner
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]