1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
6 Widget representing a top-level window in the Hildon framework.
8 <!-- ##### SECTION Long_Description ##### -->
11 The HildonWindow is a GTK widget which represents a top-level
12 window in the Hildon framework. It is derived from the GtkWindow
13 and provides additional commodities specific to the Hildon
16 Among these windows in the Hildon framework can have a single menu
17 attached, which is toggled with a hardware key or by tapping
18 a custom button in the window frame. This menu can be set
19 by providing a GtkMenu to the hildon_window_set_menu() method.
21 Similarly a window in the Hildon framework can have several toolbars
22 attached. These can be added to the HildonWindow with
23 hildon_window_add_toolbar().
31 GdkPixbuf *icon_pixbuf;
33 window = HILDON_WINDOW (hildon_window_new());
35 toolbar = create_toolbar();
39 icon_pixbuf = create_icon();
41 hildon_window_set_menu (window, menu);
43 hildon_window_add_toolbar (window, toolbar);
45 /* Can be used to set the window fullscreen */
46 gtk_window_fullscreen (GTK_WINDOW (window));
48 /* Used to trigger the blinking of the window's icon in the task navigator */
49 gtk_window_set_urgency_hint (GTK_WINDOW (window), TRUE);
51 /* Change the window's icon in the task navigator */
52 gtk_window_set_icon (GTK_WINDOW (window), icon_pixbuf);
60 <!-- ##### SECTION See_Also ##### -->
65 <!-- ##### STRUCT HildonWindowPrivate ##### -->
71 <!-- ##### FUNCTION hildon_window_new ##### -->
77 <!-- # Unused Parameters # -->
81 <!-- ##### FUNCTION hildon_window_add_with_scrollbar ##### -->
90 <!-- ##### FUNCTION hildon_window_get_menu ##### -->
99 <!-- ##### FUNCTION hildon_window_set_menu ##### -->
108 <!-- ##### FUNCTION hildon_window_add_toolbar ##### -->
117 <!-- ##### FUNCTION hildon_window_remove_toolbar ##### -->
126 <!-- ##### FUNCTION hildon_window_get_is_topmost ##### -->
135 <!-- ##### ARG HildonWindow:is-topmost ##### -->
140 <!-- ##### ARG HildonWindow:borders ##### -->
145 <!-- ##### ARG HildonWindow:toolbar-borders ##### -->