Top | ![]() |
![]() |
![]() |
![]() |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── AnacondaBaseWindow ╰── AnacondaBaseStandalone ╰── AnacondaHubWindow
A AnacondaHubWindow is a widget that displays a hub on the screen. A Hub allows selection of multiple configuration spokes from a single interface, as well as a place to display current configuration selections.
The AnacondaHubWindow consists of three areas:
A navigation area in the top of the screen, inherited from AnacondaBaseWindow.
A selection area in the middle of the screen, taking up a majority of the space. This is where spokes will be displayed and the user can decide what to do.
An action area on the bottom of the screen. This area is different for different kinds of hubs. It may have buttons, or it may have progress information.
The AnacondaHubWindow implementation of the GtkBuildable interface exposes
the nav_area
, action_area
and scrolled_window
as internal children with the names
"nav_area", "action_area" and "scrolled_window". action_area, in this case,
is largely there to give a box to contain both the scrolled_window and a
GtkButtonBox.
A AnacondaHubWindow UI definition fragment:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
<object class="AnacondaHubWindow" id="hub1"> <child internal-child="main_box"> <object class="GtkBox" id="main_box1"> <child internal-child="nav_box"> <object class="GtkEventBox" id="nav_box1"> <child internal-child="nav_area"> <object class="GtkGrid" id="nav_area1"> <child>...</child> <child>...</child> </object> </child> </object> </child> <child internal-child="alignment"> <object class="GtkAlignment" id="alignment1"> <child internal-child="action_area"> <object class="GtkBox" id="action_area1"> <child internal-child="scrolled_window"> <object class="GtkScrolledWindow" id="scrolled_window1"> <child>...</child> </object> </child> </object> </child> </object> </child> </object> <child> <object class="GtkButtonBox" id="buttonbox1"> <child>...</child> </object> </child> </object> |
GtkWidget * anaconda_hub_window_new ();
Creates a new AnacondaHubWindow, which is a window designed for displaying multiple spokes in one location.
GtkWidget *
anaconda_hub_window_get_spoke_area (AnacondaHubWindow *win
);
Returns the scrolled window of win
where spokes may be displayed
Since: 1.0