#include <program.h>
Inheritance diagram for Hildon::Program:
Public Member Functions | |
virtual | ~Program () |
HildonProgram * | gobj () |
Provides access to the underlying C GObject. | |
const HildonProgram * | gobj () const |
Provides access to the underlying C GObject. | |
HildonProgram * | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
Program () | |
void | add_window (Window &window) |
Registers a HildonWindow as belonging to a given HildonProgram . | |
void | remove_window (Window &window) |
Used to unregister a window from the program. | |
void | set_can_hibernate (bool killable=true) |
Used to set whether or not the Hildon task navigator should be able to set the program to hibernation in case of low memory. | |
bool | get_can_hibernate () |
void | set_common_menu (Gtk::Menu &menu) |
Sets a GtkMenu that will appear in all the HildonWindow registered to the Hildon::Program. | |
Gtk::Menu & | get_common_menu () |
void | set_common_toolbar (Gtk::Toolbar &toolbar) |
Sets a GtkToolbar that will appear in all the HildonWindow registered to the Hildon::Program. | |
Gtk::Toolbar & | get_common_toolbar () |
bool | get_is_topmost () |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr< Hildon::Program > | wrap (HildonProgram *object, bool take_copy=false) |
|
|
|
|
|
Registers a HildonWindow as belonging to a given HildonProgram . This allows to apply program-wide settings as all the registered windows, such as set_common_menu() and hildon_pogram_set_common_toolbar()
|
|
|
|
|
|
|
|
|
|
Provides access to the underlying C GObject.
|
|
Provides access to the underlying C GObject.
|
|
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
|
Used to unregister a window from the program. Subsequent calls to set_common_menu() and hildon_pogram_set_common_toolbar() will not affect the window
|
|
Used to set whether or not the Hildon task navigator should be able to set the program to hibernation in case of low memory.
|
|
Sets a GtkMenu that will appear in all the HildonWindow registered to the Hildon::Program. Only one common GtkMenu can be set, further call will detach the previous common GtkMenu. A HildonWindow can use it's own GtkMenu with hildon_window_set_menu
|
|
Sets a GtkToolbar that will appear in all the HildonWindow registered to the Hildon::Program. Only one common GtkToolbar can be set, further call will detach the previous common GtkToolbar. A HildonWindow can use its own GtkToolbar with hildon_window_set_toolbar . Both Hildon::Program and HildonWindow specific toolbars will be shown
|
|
|