The AnacondaWidgets Library Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
struct AnacondaSpokeWindow; struct AnacondaSpokeWindowClass; GtkWidget * anaconda_spoke_window_new ();
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----AnacondaBaseWindow +----AnacondaSpokeWindow
A AnacondaSpokeWindow is a top-level window that displays a single spoke on the entire screen. Examples include the keyboard and language configuration screens off the first hub.
The window consists of two areas:
A navigation area in the top of the screen, inherited from AnacondaBaseWindow and augmented with a button in the upper left corner.
An action area in the rest of the screen, taking up a majority of the space. This is where widgets will be added and the user will do things.
struct AnacondaSpokeWindow;
The AnacondaSpokeWindow struct contains only private fields and should not be directly accessed.
struct AnacondaSpokeWindowClass { AnacondaBaseWindowClass parent_class; void (* button_clicked) (AnacondaSpokeWindow *window); };
AnacondaBaseWindowClass |
The object class structure needs to be the first element in the widget class structure in order for the class mechanism to work correctly. This allows an AnacondaSpokeWindowClass pointer to be cast to an AnacondaBaseWindow pointer. |
Function pointer called when the "button-clicked" signal is emitted. |
GtkWidget * anaconda_spoke_window_new ();
Creates a new AnacondaSpokeWindow, which is a window designed for displaying a single spoke, such as the keyboard or network configuration screens.
Returns : |
A new AnacondaSpokeWindow. |
"button-clicked"
signalvoid user_function (AnacondaSpokeWindow *window,
gpointer user_data) : Action
Emitted when the button in the upper left corner has been activated (pressed and released). This is commonly the button that takes the user back to the hub, but could do other things.
|
the window that received the signal |
|
user data set when the signal handler was connected. |
Since 1.0