Close root_window
- From: Iker Perez de Albeniz <ialbeniz cbt es>
- To: gtkmm-list gnome org
- Subject: Close root_window
- Date: Wed, 03 Oct 2007 10:58:50 +0200
Hi,
I haver created my own widget with some images+evenBox. What i want to
do is to hide,minimize and maximize the window where the widget is
contained..
i have tried to do:
Glib::RefPtr<Gdk::Window> window = this->get_window();
Glib::RefPtr<Gdk::Window> window2 = window->get_parent();
window2->hide();
but it breaks with a "Segmentation Fault"
With..
Glib::RefPtr<Gdk::Window> window = get_root_window();
window->hide();
compiles Ok but when i execute dont do anything...
it hapends the same with iconify(), maximize() or move(x,y) functions..
any idea how to do it??
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]