[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Where I put the realize function?
- From: "Paulo Flabiano Smorigo" <pfsmorigo gmail com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Where I put the realize function?
- Date: Fri, 8 Aug 2008 15:52:39 -0300
Only for knowledge, I solved the problem creating a signal at the main gtkmm class. Like this:
signal_realize().connect(sigc::mem_fun(*this, &PlayerWindow::setWindowID));
And then put the following code in the function:
int wid;
Glib::RefPtr<Gdk::Window> wid = get_window();
wid = GDK_WINDOW_XID(Glib::unwrap(get_window()));
std::cout << "WID: " << wid << std::endl;
--
P.F.Smorigo
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]