Maeomm Reference Documentation: hildonmm |
Public Member Functions | |
virtual | ~StackableWindow () |
HildonStackableWindow* | gobj () |
Provides access to the underlying C GtkObject. | |
const HildonStackableWindow* | gobj () const |
Provides access to the underlying C GtkObject. | |
StackableWindow () | |
Glib::RefPtr<WindowStack> | get_stack () |
Return value: a Hildon::WindowStack, or 0 . | |
Glib::RefPtr<const WindowStack> | get_stack () const |
Return value: a Hildon::WindowStack, or 0 . | |
Related Functions | |
(Note that these are not member functions.) | |
Hildon::StackableWindow* | wrap (HildonStackableWindow* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
Applications that use stackable windows are organized in a hierarchical way so users can go from any window back to the application's root window.
The user can only see and interact with the window on top of the stack. Although all other windows are mapped and visible, they are obscured by the topmost one so in practice they appear as if they were hidden.
To add a window to the stack, just use Gtk::Widget::show(). The previous one will be obscured by the new one. When the new window is destroyed, the previous one will appear again.
Alternatively, you can remove a window from the top of the stack without destroying it by using Hildon::WindowStack::pop(). The window will be automatically hidden and the previous one will appear.
For advanced details on stack handling, see Hildon::WindowStack.
virtual Hildon::StackableWindow::~StackableWindow | ( | ) | [virtual] |
Hildon::StackableWindow::StackableWindow | ( | ) |
HildonStackableWindow* Hildon::StackableWindow::gobj | ( | ) | [inline] |
const HildonStackableWindow* Hildon::StackableWindow::gobj | ( | ) | const [inline] |
Glib::RefPtr<WindowStack> Hildon::StackableWindow::get_stack | ( | ) |
Glib::RefPtr<const WindowStack> Hildon::StackableWindow::get_stack | ( | ) | const |
Hildon::StackableWindow* wrap | ( | HildonStackableWindow * | object, | |
bool | take_copy = false | |||
) | [related] |
A Glib::wrap() method for this object.
object | The C instance. | |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |