Namespace

Panel – 1

A dock/panel library for GTK 4

Version1.1.2
AuthorsChristian Hergert
LicenseLGPL
Website
Sourcehttps://gitlab.gnome.org/GNOME/libpanel

Build

C headerslibpanel.h
pkg-config fileslibpanel-1

Dependencies

GObject—2.0 The base type system library
Browse documentation

Additional documentation

Classes

Dock

The PanelDock is a widget designed to contain widgets that can be docked. Use the PanelDock as the top widget of your dockable UI.

Frame

The PanelFrame is a widget containing panels to display in an area. The widgets are added internally in an AdwTabView to display them one at a time like in a stack.

FrameHeaderBar

A header bar for PanelFrame. It can optionally show an icon, it can have a popover to be displace, and it can also have prefix and suffix widgets.

FrameSwitcher

A PanelFrameSwitcher is a PanelFrameHeader that shows a row of buttons to switch between GtkStack pages, not disimilar to a GtkStackSwitcher.

FrameTabBar

A PanelFrameHeader that implements switching between tab views in a PanelFrame.

Grid

The PanelGrid is a widget used to layout the dock item in the center area.

GridColumn

OmniBar

A multi-use widget for user interaction in the window header bar. You can add widgets, a popover to provide action items, an icon, updates on progress and pulse the main widget.

Paned

A PanelPaned is the concrete widget for a panel area.

Position

Specifies a position in the dock. You receive a PanelPosition in the handler to PanelDock::create-frame.

SaveDelegate

SaveDialog

Statusbar

A panel status bar is meant to be displayed at the bottom of the window. It can contain widgets in the prefix and in the suffix.

ThemeSelector

A widget that allow selecting theme preference between “dark”, “light” and “follow” the system preference.

ToggleButton

The PanelToggleButton is a button used to toggle the visibility of a PanelDock area.

Widget

PanelWidget is the base widget class for widgets added to a PanelFrame. It can be use as-is or you can subclass it.

Interfaces

FrameHeader

An interface implemented by the header of a PanelFrame.

Enumerations

Area

The area of the panel.

Callbacks

FrameCallback

Callback passed to “foreach frame” functions.

Function Macros

CHECK_VERSION

Compile-time version checking. Evaluates to TRUE if the version of libpanel is greater than the required one.

ENCODE_VERSION

Constants

MAJOR_VERSION

Libpanel major version component (e.g. 1 if PANEL_VERSION is 1.2.3)

MICRO_VERSION

Libpanel micro version component (e.g. 3 if PANEL_VERSION is 1.2.3)

MINOR_VERSION

Libpanel minor version component (e.g. 2 if PANEL_VERSION is 1.2.3)

VERSION_S

Libpanel version, encoded as a string, useful for printing and concatenation.

WIDGET_KIND_ANY

WIDGET_KIND_DOCUMENT

WIDGET_KIND_UNKNOWN

WIDGET_KIND_UTILITY