AnacondaStandaloneWindow

AnacondaStandaloneWindow — Window for displaying standalone spokes

Synopsis

struct              AnacondaStandaloneWindow;
struct              AnacondaStandaloneWindowClass;
GtkWidget *         anaconda_standalone_window_new      ();
void                anaconda_standalone_window_retranslate
                                                        (AnacondaStandaloneWindow *win);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkWidget
               +----GtkContainer
                     +----GtkBin
                           +----AnacondaBaseWindow
                                 +----AnacondaBaseStandalone
                                       +----AnacondaStandaloneWindow

Implemented Interfaces

AnacondaStandaloneWindow implements AtkImplementorIface and GtkBuildable.

Properties

  "continue-button"          GtkButton*            : Read
  "quit-button"              GtkButton*            : Read

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 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.

Details

struct AnacondaStandaloneWindow

struct AnacondaStandaloneWindow;

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


struct AnacondaStandaloneWindowClass

struct AnacondaStandaloneWindowClass {
    AnacondaBaseStandaloneClass parent_class;
};

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.

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);

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.

Since 1.0

Property Details

The "continue-button" property

  "continue-button"          GtkButton*            : Read

The button to continue to the next window.


The "quit-button" property

  "quit-button"              GtkButton*            : Read

The button to quit Anaconda.