AnacondaBaseStandalone

AnacondaBaseStandalone — Abstract base class for standalone Anaconda windows.

Synopsis

struct              AnacondaBaseStandalone;
struct              AnacondaBaseStandaloneClass;
gboolean            anaconda_base_standalone_get_may_continue
                                                        (AnacondaBaseStandalone *win);
void                anaconda_base_standalone_set_may_continue
                                                        (AnacondaBaseStandalone *win,
                                                         gboolean may_continue);
GtkButton *         anaconda_base_standalone_get_quit_button
                                                        (AnacondaBaseStandalone *win);
GtkButton *         anaconda_base_standalone_get_continue_button
                                                        (AnacondaBaseStandalone *win);

Object Hierarchy

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

Implemented Interfaces

AnacondaBaseStandalone implements AtkImplementorIface and GtkBuildable.

Properties

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

Signals

  "continue-clicked"                               : Action
  "quit-clicked"                                   : Action

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.

Details

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

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.

anaconda_base_standalone_get_may_continue ()

gboolean            anaconda_base_standalone_get_may_continue
                                                        (AnacondaBaseStandalone *win);

win :

a AnacondaBaseStandalone

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.

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

win :

a AnacondaBaseStandalone

Returns :

the quit button. [transfer none]

Since 3.0


anaconda_base_standalone_get_continue_button ()

GtkButton *         anaconda_base_standalone_get_continue_button
                                                        (AnacondaBaseStandalone *win);

win :

a AnacondaBaseStandalone

Returns :

the continue button. [transfer none]

Since 3.0

Property Details

The "continue-button" property

  "continue-button"          GtkButton*            : Read / Write / Construct

The button to continue to the next window.


The "quit-button" property

  "quit-button"              GtkButton*            : Read / Write / Construct

The button to quit Anaconda.

Signal Details

The "continue-clicked" signal

void                user_function                      (AnacondaBaseStandalone *window,
                                                        gpointer                user_data)      : Action

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.

Since 3.0


The "quit-clicked" signal

void                user_function                      (AnacondaBaseStandalone *window,
                                                        gpointer                user_data)      : Action

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.

Since 3.0