Re: [gtkmm] Fw: How to get X window ID of a gtk window?
- From: Daniel Elstner <daniel elstner gmx net>
- To: Sylvain Jaume <jaume tele ucl ac be>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Fw: How to get X window ID of a gtk window?
- Date: 24 Dec 2002 18:19:13 +0100
On Die, 2002-12-24 at 13:11, Sylvain Jaume wrote:
> Hi,
>
> I found this message from Jan 98 (see forwarded message below).
> What's the proper way to get the window ID in GTKMM now?
The message was about GTK+ not gtkmm.
> In a class that inherits from Gtk::Window, I use
> GDK_WINDOW_XWINDOW (get_window());
> But I get the error:
> cannot convert `RefPtr<Gdk::Window>()' from type `Glib::RefPtr<Gdk::Window>' to type `_GdkDrawable *'
GDK_WINDOW_XWINDOW (Glib::unwrap(get_window()));
should do what you want.
--Daniel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]