AnacondaBaseWindow

AnacondaBaseWindow — Top-level, non-resizeable window

Synopsis

struct              AnacondaBaseWindow;
struct              AnacondaBaseWindowClass;
GtkWidget *         anaconda_base_window_new            ();
void                anaconda_base_window_retranslate    (AnacondaBaseWindow *win,
                                                         const char *lang);
gboolean            anaconda_base_window_get_beta       (AnacondaBaseWindow *win);
void                anaconda_base_window_set_beta       (AnacondaBaseWindow *win,
                                                         gboolean is_beta);
void                anaconda_base_window_set_error      (AnacondaBaseWindow *win,
                                                         const char *msg);
void                anaconda_base_window_set_info       (AnacondaBaseWindow *win,
                                                         const char *msg);
void                anaconda_base_window_set_warning    (AnacondaBaseWindow *win,
                                                         const char *msg);
void                anaconda_base_window_clear_info     (AnacondaBaseWindow *win);
GtkWidget *         anaconda_base_window_get_action_area
                                                        (AnacondaBaseWindow *win);
GtkWidget *         anaconda_base_window_get_alignment  (AnacondaBaseWindow *win);
GtkWidget *         anaconda_base_window_get_main_box   (AnacondaBaseWindow *win);
GtkWidget *         anaconda_base_window_get_nav_area   (AnacondaBaseWindow *win);
GtkWidget *         anaconda_base_window_get_nav_area_background_window
                                                        (AnacondaBaseWindow *win);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkWidget
               +----GtkContainer
                     +----GtkBin
                           +----GtkWindow
                                 +----AnacondaBaseWindow
                                       +----AnacondaHubWindow
                                       +----AnacondaSpokeWindow
                                       +----AnacondaStandaloneWindow

Implemented Interfaces

AnacondaBaseWindow implements AtkImplementorIface and GtkBuildable.

Properties

  "distribution"             gchar*                : Read / Write
  "window-name"              gchar*                : Read / Write

Signals

  "info-bar-clicked"                               : Action

Description

A AnacondaBaseWindow is a top-level, non-resizeable window that contains other widgets and serves as the base class from which all other specialized Anaconda windows are derived. It is undecorated.

The window consists of two areas:

  • A navigation area in the top of the screen, consisting of some basic information about what is being displayed and what is being installed.

  • An action area in the majority of the screen. This area is where subclasses should add their particular widgets.

AnacondaBaseWindow as GtkBuildable

The AnacondaBaseWindow implementation of the GtkBuildable interface exposes the action_area as an internal child with the name "action_area".

Example 1. A AnacondaBaseWindow UI definition fragment.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19