Top | ![]() |
![]() |
![]() |
![]() |
AnacondaBaseStandaloneAnacondaBaseStandalone — Abstract base class for standalone Anaconda windows. |
GtkButton * | continue-button | Read / Write / Construct |
GtkButton * | quit-button | Read / Write / Construct |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── AnacondaBaseWindow ╰── AnacondaBaseStandalone ├── AnacondaHubWindow ╰── AnacondaStandaloneWindow
AnacondaBaseStandalone is an abstract base class for standalone windows in Anaconda; i.e., windows that do not appear in or depend upon a hub. A AnacondaBaseStandalone can continue to the next AnacondaBaseStandalone or quit the installer.
gboolean
anaconda_base_standalone_get_may_continue
(AnacondaBaseStandalone *win
);
Whether or not the continue button is sensitive (thus, whether the user may continue forward from this window).
Since 3.0
void anaconda_base_standalone_set_may_continue (AnacondaBaseStandalone *win
,gboolean may_continue
);
Specifies whether the user may continue forward from this window. If so, the continue button will be made sensitive. Windows default to continuable so you must set it as false if you want. The reason the user may not be able to continue is if there is required information the user must enter when no reasonable default may be given.
Since 3.0
GtkButton *
anaconda_base_standalone_get_quit_button
(AnacondaBaseStandalone *win
);
Since 3.0
GtkButton *
anaconda_base_standalone_get_continue_button
(AnacondaBaseStandalone *win
);
Since 3.0
struct AnacondaBaseStandalone;
The AnacondaBaseStandalone class contains only private fields and should not be directly accessed.
struct AnacondaBaseStandaloneClass { AnacondaBaseWindowClass parent_class; void (* quit_clicked) (AnacondaBaseStandalone *window); void (* continue_clicked) (AnacondaBaseStandalone *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 a AnacondaBaseStandaloneClass pointer to be cast to a AnacondaBaseWindowClass pointer. |
|
Function pointer called when the “quit-clicked” signal is emitted. |
||
Function pointer called when the “continue-clicked” signal is emitted. |
“continue-button”
property“continue-button” GtkButton *
The button to continue to the next window.
Flags: Read / Write / Construct
“quit-button”
property“quit-button” GtkButton *
The button to quit Anaconda.
Flags: Read / Write / Construct
“continue-clicked”
signalvoid user_function (AnacondaBaseStandalone *window, gpointer user_data)
Emitted when the continue button has been activated (pressed and released).
window |
the window that received the signal |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action
Since 3.0
“quit-clicked”
signalvoid user_function (AnacondaBaseStandalone *window, gpointer user_data)
Emitted when the quit button has been activated (pressed and released).
window |
the window that received the signal |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action
Since 3.0