panel.c.types

C types for panel1 library

Types 65

The area of the panel.

Start = 0the area of the panel that is at the horizontal start. The side is defined by the direction of the user language. In English, it is the left side.
End = 1the area of the panel that is at the end.
Top = 2the area at the top of the panel.
Bottom = 3the area at the bottom of the panel.
Center = 4the area that would be considered as the main area, always revealed.
Fields
GObjectClass parentClass
Fields
AdwApplication parentInstance
Fields
void *[8] Reserved
structPanelDock

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

A #PanelDock is divided in 5 areas: [panel.types.Area.Top], [panel.types.Area.Bottom], [panel.types.Area.Start], [panel.types.Area.End] represent the surrounding areas that can revealed. [panel.types.Area.Center] represent the main area, that is always displayed and resized depending on the reveal state of the surrounding areas.

It will contain a #PanelDockChild for each of the areas in use, albeit this is done by the widget.

Fields
GtkWidget parentInstance
Fields
GtkWidgetClass parentClass
void function(PanelDock * self, PanelWidget * widget) panelDragBegin
void function(PanelDock * self, PanelWidget * widget) panelDragEnd
Fields
PanelWorkspace parentInstance
Fields
PanelFrame * function(PanelDocumentWorkspace * self, PanelPosition * position) createFrame
gboolean function(PanelDocumentWorkspace * self, PanelWidget * widget, PanelPosition * position) addWidget
void *[16] Reserved

The #PanelFrame is a widget containing panels to display in an area. The widgets are added internally in an [adw.tab_view.TabView] to display them one at a time like in a stack.

A #PanelFrame can also have a header widget that will be displayed above the panels.

Fields
GtkWidget parentInstance
Fields
GtkWidgetClass parentClass
void function(PanelFrame * self, PanelWidget * widget) pageClosed
gboolean function(PanelFrame * self, PanelWidget * widget) adoptWidget
void *[6] Reserved

An interface implemented by the header of a #PanelFrame.

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.

It is an implementation of #PanelFrameHeader

Fields
GTypeInterface parentIface
void function(PanelFrameHeader * self, PanelWidget * widget) pageChanged
gboolean function(PanelFrameHeader * self, PanelWidget * widget) canDrop
void function(PanelFrameHeader * self, int priority, GtkWidget * child) addPrefix
void function(PanelFrameHeader * self, int priority, GtkWidget * child) addSuffix

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

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

Fields
GtkWidgetClass parentClass
structPanelGrid

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

Fields
GtkWidget parentInstance
Fields
GtkWidgetClass parentClass
PanelFrame * function(PanelGrid * self) createFrame
void *[12] Reserved
Fields
GtkWidgetClass parentClass
Fields
GObjectClass parentClass

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.

This allows for an application to have plugins which seemlessly extends the core application menus.

Implementation notes:

To make this work, we don't use the GMenu instances created by a GtkBuilder instance. Instead, we create the menus ourself and recreate section and submenu links. This allows the #PanelMenuManager to be in full control of the generated menus.

[panel.menu_manager.MenuManager.getMenuById] will always return a #GMenu, however that menu may contain no children until something has extended it later on during the application process.

Fields
GObjectClass parentClass

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.

There is also a prefix and suffix area that can contain more widgets.

omni-bar
Fields
GtkWidget parentInstance
Fields
GtkWidgetClass parentClass
void *[8] Reserved

A #PanelPaned is the concrete widget for a panel area.

Fields
GtkWidgetClass parentClass

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

Fields
GObjectClass parentClass
Fields
GObject parentInstance
Fields
GObjectClass parentClass
void function(PanelSaveDelegate * self, GCancellable * cancellable, GAsyncReadyCallback callback, void * userData) saveAsync
gboolean function(PanelSaveDelegate * self, GAsyncResult * result, GError * * _err) saveFinish
gboolean function(PanelSaveDelegate * self, GTask * task) save
void function(PanelSaveDelegate * self) discard
void function(PanelSaveDelegate * self) close
void *[8] Reserved
Fields
GObjectClass parentClass
Fields
GObjectClass parentClass
Fields
GObjectClass parentClass

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.

Fields
GtkWidgetClass parentClass

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

theme-selector

Upon activation it will activate the named action in #PanelThemeSelector:action-name.

The [panel.toggle_button.ToggleButton] is a button used to toggle the visibility of a [panel.dock.Dock] area.

toggle-button

It will automatically reveal or hide the specified area from [panel.toggle_button.ToggleButton.dock].

Fields
GtkWidgetClass parentClass

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

Fields
GtkWidget parentInstance
Fields
GtkWidgetClass parentInstance
GtkWidget * function(PanelWidget * self) getDefaultFocus
void function(PanelWidget * self) presented
void *[8] Reserved
Fields
GtkWindowGroup parentInstance
Fields
void function(PanelWorkbench * self) activate
void function(PanelWorkbench * self, GCancellable * cancellable, GAsyncReadyCallback callback, void * userData) unloadAsync
gboolean function(PanelWorkbench * self, GAsyncResult * result, GError * * _err) unloadFinish
void *[8] Reserved
Fields
AdwApplicationWindow parentInstance
Fields
void *[8] Reserved
aliasPanelActionActivateFunc = void function(void * instance, const(char) * actionName, GVariant * param)
aliasPanelFrameCallback = void function(PanelFrame * frame, void * userData)
aliasPanelWorkspaceForeach = void function(PanelWorkspace * workspace, void * userData)