Lightbox
Lightbox — Functions to draw a window over a shaded background
|
|
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkWindow
╰── AnacondaLightbox
Implemented Interfaces
AnacondaLightbox implements
AtkImplementorIface and GtkBuildable.
Description
The lightbox is a widget used to display one window (a dialog or other
similar window, typically) over top of the main window in the background.
The main window is shaded out to make the foreground window stand out more,
as well as to reinforce to the user that the background window may not be
interacted with.
The lightbox window will show as soon as it is created.
Functions
anaconda_lightbox_new ()
GtkWidget *
anaconda_lightbox_new (GtkWindow *parent);
Creates a new AnacondaLightbox, which is a top-level, undecorated window
that uses a shaded version of its parent window's background as its own
background.
Returns
the new lightbox as a GtkWidget
Types and Values
struct AnacondaLightbox
struct AnacondaLightbox;
The AnacondaLightbox struct contains only private fields and should not
be directly accessed.
struct AnacondaLightboxClass
struct AnacondaLightboxClass {
GtkWindowClass parent_class;
};
Property Details
The “parent-window” property
“parent-window” GtkWindow *
The parent of this window. This value is used as the transient parent
for this window.
Flags: Write / Construct Only
Since: 2.0