### Namespace

# Panel – 1

A dock/panel library for GTK 4

Version | 1.6.0
Authors | Christian Hergert
License | LGPL
Website |
Source | https://gitlab.gnome.org/GNOME/libpanel

#### Build

C headers | `libpanel.h`
pkg-config files | `libpanel-1`

#### Dependencies

GObject—2.0 | The base type system library
| Browse documentation

#### Additional documentation

- Introduction
- Classes Hierarchy

#### Classes

ActionMuxer | since: 1
Application | since: 1
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. since: 1
DocumentWorkspace | since: 1
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. since: 1
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. since: 1
FrameSwitcher | A `PanelFrameSwitcher` is a `PanelFrameHeader` that shows a row of buttons to switch between `GtkStack` pages, not disimilar to a `GtkStackSwitcher`. since: 1
FrameTabBar | A `PanelFrameHeader` that implements switching between tab views in a `PanelFrame`. since: 1
Grid | The `PanelGrid` is a widget used to layout the dock item in the center area. since: 1
GridColumn | since: 1
GSettingsActionGroup | since: 1
Inhibitor | since: 1
LayeredSettings | since: 1
MenuManager | The goal of `PanelMenuManager` is to simplify the process of merging multiple GtkBuilder .ui files containing menus into a single representation of the application menus. Additionally, it provides the ability to “unmerge” previously merged menus. since: 1
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. since: 1
Paned | A `PanelPaned` is the concrete widget for a panel area. since: 1
Position | Specifies a position in the dock. You receive a `PanelPosition` in the handler to `PanelDock::create-frame`. since: 1
SaveDelegate | since: 1
SaveDialog | since: 1
Session | since: 1
SessionItem | since: 1
Settings | since: 1
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. since: 1
ThemeSelector | A widget that allow selecting theme preference between “dark”, “light” and “follow” the system preference. since: 1
ToggleButton | The `PanelToggleButton` is a button used to toggle the visibility of a `PanelDock` area. since: 1
Widget | PanelWidget is the base widget class for widgets added to a `PanelFrame`. It can be use as-is or you can subclass it. since: 1
Workbench | since: 1
Workspace | since: 1

#### Interfaces

FrameHeader | An interface implemented by the header of a `PanelFrame`. since: 1

#### Structs

Action | since: 1

#### Enumerations

Area | The area of the panel. since: 1

#### Callbacks

ActionActivateFunc | since: 1
FrameCallback | Callback passed to “foreach frame” functions. since: 1
WorkspaceForeach | This function is called for each workspace window within a `PanelWorkbench` when using panel_workbench_foreach_workspace(). since: 1.4

#### Functions

check_version | since: 1
finalize | since: 1
get_major_version | since: 1
get_micro_version | since: 1
get_minor_version | since: 1
get_resource | since: 1
init | since: 1
marshal_BOOLEAN__OBJECT_OBJECT | since: 1
marshal_BOOLEAN__OBJECT_OBJECTv | since: 1
marshal_OBJECT__OBJECT | since: 1
marshal_OBJECT__OBJECTv | since: 1

#### Function Macros

CHECK_VERSION | Compile-time version checking. Evaluates to `TRUE` if the version of libpanel is greater than the required one. since: 1
DEFINE_ACTION_GROUP | Use this to define a type that will implement GActionGroup. since: 1
ENCODE_VERSION | since: 1

#### Constants

MAJOR_VERSION | Libpanel major version component (e.g. 1 if `PANEL_VERSION` is 1.2.3) since: 1
MICRO_VERSION | Libpanel micro version component (e.g. 3 if `PANEL_VERSION` is 1.2.3) since: 1
MINOR_VERSION | Libpanel minor version component (e.g. 2 if `PANEL_VERSION` is 1.2.3) since: 1
VERSION_S | Libpanel version, encoded as a string, useful for printing and concatenation. since: 1
WIDGET_KIND_ANY | since: 1
WIDGET_KIND_DOCUMENT | since: 1
WIDGET_KIND_UNKNOWN | since: 1
WIDGET_KIND_UTILITY | since: 1