AdwWindow

AdwWindow

Functions

GtkWidget * adw_window_new ()
void adw_window_set_child ()
GtkWidget * adw_window_get_child ()

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkWindow
                ╰── AdwWindow
                    ╰── AdwPreferencesWindow

Implemented Interfaces

AdwWindow implements GtkAccessible, GtkBuildable, GtkConstraintTarget, GtkNative, GtkShortcutManager and GtkRoot.

Description

Functions

adw_window_new ()

GtkWidget *
adw_window_new (void);

Creates a new AdwWindow.

Returns

a newly created AdwWindow.

[transfer full]

Since: 1.0


adw_window_set_child ()

void
adw_window_set_child (AdwWindow *self,
                      GtkWidget *child);

Sets the child widget of self .

Parameters

self

a AdwWindow

 

child

the child widget.

[allow-none]

Since: 1.0


adw_window_get_child ()

GtkWidget *
adw_window_get_child (AdwWindow *self);

Gets the child widget of self .

Parameters

self

a AdwWindow

 

Returns

the child widget of self .

[nullable][transfer none]

Since: 1.0

Types and Values

ADW_TYPE_WINDOW

#define ADW_TYPE_WINDOW (adw_window_get_type())

struct AdwWindowClass

struct AdwWindowClass {
  GtkWindowClass parent_class;
};

AdwWindow

typedef struct _AdwWindow AdwWindow;