AnacondaStandaloneWindow

AnacondaStandaloneWindow — Window for displaying standalone spokes

Functions

Properties

Types and Values

Object Hierarchy

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

Implemented Interfaces

AnacondaStandaloneWindow implements AtkImplementorIface and GtkBuildable.

Description

A AnacondaStandaloneWindow is a widget that displays a standalone spoke. A standalone spoke is like a normal spoke, but is not entered via a hub. Instead, it is displayed by itself. Examples include the welcome and network configuration screens at the beginning of installation.

The AnacondaStandaloneWindow consist of three areas:

  • A navigation area in the top of the screen, inherited from AnacondaBaseWindow.

  • A button box at the bottom of the screen, with Quit and Continue buttons. The Continue button may not be enabled until required information is entered by the user.

  • An action area in the middle of the screen, taking up a majority of the space. This is where widgets will be added and the user will do things.

Functions

anaconda_standalone_window_new ()

GtkWidget *
anaconda_standalone_window_new ();

Creates a new AnacondaStandaloneWindow, which is a window designed for displaying a standalone spoke, such as the welcome screen or network configuration.

Returns

A new AnacondaStandaloneWindow.


anaconda_standalone_window_retranslate ()

void
anaconda_standalone_window_retranslate
                               (AnacondaStandaloneWindow *win,
                                const char *lang);

Reload translations for this widget as needed. Generally, this is not needed. However when changing the language during installation, we need to be able to make sure the screen gets retranslated. This function is kind of ugly but avoids having to destroy and reload the screen.

Parameters

win

a AnacondaStandaloneWindow

 

lang

target language

 

Since 1.0

Types and Values

struct AnacondaStandaloneWindow

struct AnacondaStandaloneWindow;

The AnacondaStandaloneWindow struct contains only private fields and should not be directly accessed.


struct AnacondaStandaloneWindowClass

struct AnacondaStandaloneWindowClass {
    AnacondaBaseStandaloneClass parent_class;
};

Members

AnacondaBaseStandaloneClass 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 an AnacondaStandaloneWindowClass pointer to be cast to an AnacondaBaseWindow pointer.

 

Property Details

The “continue-button” property

  “continue-button”          GtkButton *

The button to continue to the next window.

Flags: Read


The “quit-button” property

  “quit-button”              GtkButton *

The button to quit Anaconda.

Flags: Read