AnacondaBaseStandalone

AnacondaBaseStandalone — Abstract base class for standalone Anaconda windows.

Functions

Properties

GtkButton * continue-button Read / Write / Construct
GtkButton * quit-button Read / Write / Construct

Signals

void continue-clicked Action
void quit-clicked Action

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── AnacondaBaseWindow
                        ╰── AnacondaBaseStandalone
                            ├── AnacondaHubWindow
                            ╰── AnacondaStandaloneWindow

Implemented Interfaces

AnacondaBaseStandalone implements AtkImplementorIface and GtkBuildable.

Description

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.

Functions

anaconda_base_standalone_get_may_continue ()

gboolean
anaconda_base_standalone_get_may_continue
                               (AnacondaBaseStandalone *win);

Parameters

Returns

Whether or not the continue button is sensitive (thus, whether the user may continue forward from this window).

Since 3.0


anaconda_base_standalone_set_may_continue ()

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.

Parameters

win

a AnacondaBaseStandalone

 

may_continue

TRUE if this window's continue buttons should be sensitive

 

Since 3.0


anaconda_base_standalone_get_quit_button ()

GtkButton *
anaconda_base_standalone_get_quit_button
                               (AnacondaBaseStandalone *win);

Parameters

Returns

the quit button.

[transfer none]

Since 3.0


anaconda_base_standalone_get_continue_button ()

GtkButton *
anaconda_base_standalone_get_continue_button
                               (AnacondaBaseStandalone *win);

Parameters

Returns

the continue button.

[transfer none]

Since 3.0

Types and Values

struct AnacondaBaseStandalone

struct AnacondaBaseStandalone;

The AnacondaBaseStandalone class contains only private fields and should not be directly accessed.


struct AnacondaBaseStandaloneClass

struct AnacondaBaseStandaloneClass {
    AnacondaBaseWindowClass parent_class;

    void (* quit_clicked)     (AnacondaBaseStandalone *window);
    void (* continue_clicked) (AnacondaBaseStandalone *window);
};

Members

AnacondaBaseWindowClass parent_class;

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.

 

quit_clicked ()

Function pointer called when the “quit-clicked” signal is emitted.

 

continue_clicked ()

Function pointer called when the “continue-clicked” signal is emitted.

 

Property Details

The “continue-button” property

  “continue-button”          GtkButton *

The button to continue to the next window.

Flags: Read / Write / Construct


The “quit-button” property

  “quit-button”              GtkButton *

The button to quit Anaconda.

Flags: Read / Write / Construct

Signal Details

The “continue-clicked” signal

void
user_function (AnacondaBaseStandalone *window,
               gpointer                user_data)

Emitted when the continue button has been activated (pressed and released).

Parameters

window

the window that received the signal

 

user_data

user data set when the signal handler was connected.

 

Flags: Action

Since 3.0


The “quit-clicked” signal

void
user_function (AnacondaBaseStandalone *window,
               gpointer                user_data)

Emitted when the quit button has been activated (pressed and released).

Parameters

window

the window that received the signal

 

user_data

user data set when the signal handler was connected.

 

Flags: Action

Since 3.0