AdwApplicationWindow

AdwApplicationWindow — A freeform application window.

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkWindow
                ╰── GtkApplicationWindow
                    ╰── AdwApplicationWindow

Implemented Interfaces

AdwApplicationWindow implements GtkAccessible, GtkBuildable, GtkConstraintTarget, GtkNative, GtkShortcutManager, GtkRoot, GActionGroup and GActionMap.

Description

AdwApplicationWindow is a GtkApplicationWindow subclass providing the same features as AdwWindow.

See AdwWindow for details.

Using gtk_application_set_app_menu() and gtk_application_set_menubar() is not supported and may result in visual glitches.

Functions

adw_application_window_new ()

GtkWidget *
adw_application_window_new (GtkApplication *app);

Creates a new AdwApplicationWindow for app .

Parameters

app

a GtkApplication

 

Returns

a newly created AdwApplicationWindow.

[transfer full]

Since: 1.0


adw_application_window_set_child ()

void
adw_application_window_set_child (AdwApplicationWindow *self,
                                  GtkWidget *child);

Sets the child widget of self .

Parameters

self

a AdwApplicationWindow

 

child

the child widget.

[allow-none]

Since: 1.0


adw_application_window_get_child ()

GtkWidget *
adw_application_window_get_child (AdwApplicationWindow *self);

Gets the child widget of self .

Parameters

Returns

the child widget of self .

[nullable][transfer none]

Since: 1.0

Types and Values

ADW_TYPE_APPLICATION_WINDOW

#define ADW_TYPE_APPLICATION_WINDOW (adw_application_window_get_type())

struct AdwApplicationWindowClass

struct AdwApplicationWindowClass {
  GtkApplicationWindowClass parent_class;
};

AdwApplicationWindow

typedef struct _AdwApplicationWindow AdwApplicationWindow;

See Also

AdwWindow