How to use get_window() function?
- From: "Paulo Flabiano Smorigo" <pfsmorigo gmail com>
- To: gtkmm-list gnome org
- Subject: How to use get_window() function?
- Date: Mon, 4 Aug 2008 14:19:56 -0300
Hi everyone,
I'm trying to use the get_window() function to get the window id of my gtkmm app but the function returns null.
This is the function that I'm using:
int wid;
Glib::RefPtr<Gdk::Window> wid = get_window();
wid = GDK_WINDOW_XID(Glib::unwrap(get_window()));
std::cout << "WID: " << wid << std::endl;
So, what's wrong?
Thanks!
P. F. Smorigo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]