panel.c.types
C types for panel1 library
Types 65
The area of the panel.
GObjectClass parentClassAdwApplication parentInstanceAdwAlertDialogClass parentClassThe #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.
GtkWidget parentInstanceGtkWidgetClass parentClassvoid function(PanelDock * self, PanelWidget * widget) panelDragBeginvoid function(PanelDock * self, PanelWidget * widget) panelDragEndPanelWorkspace parentInstancePanelWorkspaceClass parentClassPanelFrame * function(PanelDocumentWorkspace * self, PanelPosition * position) createFramegboolean function(PanelDocumentWorkspace * self, PanelWidget * widget, PanelPosition * position) addWidgetvoid *[16] ReservedThe #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.
GtkWidget parentInstanceGtkWidgetClass parentClassvoid function(PanelFrame * self, PanelWidget * widget) pageClosedgboolean function(PanelFrame * self, PanelWidget * widget) adoptWidgetvoid *[6] ReservedAn 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
GtkWidgetClass parentClassGTypeInterface parentIfacevoid function(PanelFrameHeader * self, PanelWidget * widget) pageChangedgboolean function(PanelFrameHeader * self, PanelWidget * widget) canDropvoid function(PanelFrameHeader * self, int priority, GtkWidget * child) addPrefixvoid function(PanelFrameHeader * self, int priority, GtkWidget * child) addSuffixA #PanelFrameSwitcher is a #PanelFrameHeader that shows a row of buttons to switch between #GtkStack pages, not disimilar to a #GtkStackSwitcher.
GtkWidgetClass parentClassA #PanelFrameHeader that implements switching between tab views in a #PanelFrame.
GtkWidgetClass parentClassGObjectClass parentClassThe #PanelGrid is a widget used to layout the dock item in the center area.
GtkWidget parentInstanceGtkWidgetClass parentClassPanelFrame * function(PanelGrid * self) createFramevoid *[12] ReservedGtkWidgetClass parentClassGObjectClass parentClassGObjectClass parentClassThe 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.
GObjectClass parentClassA 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.
GtkWidget parentInstanceA #PanelPaned is the concrete widget for a panel area.
GtkWidgetClass parentClassSpecifies a position in the dock. You receive a #PanelPosition in the handler to signal@PanelDock::create-frame.
GObjectClass parentClassGObject parentInstanceGObjectClass parentClassvoid function(PanelSaveDelegate * self, GCancellable * cancellable, GAsyncReadyCallback callback, void * userData) saveAsyncgboolean function(PanelSaveDelegate * self, GAsyncResult * result, GError * * _err) saveFinishgboolean function(PanelSaveDelegate * self, GTask * task) savevoid function(PanelSaveDelegate * self) discardvoid function(PanelSaveDelegate * self) closevoid *[8] ReservedAdwMessageDialogClass parentClassGObjectClass parentClassGObjectClass parentClassGObjectClass parentClassA 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.
GtkWidgetClass parentClassA widget that allow selecting theme preference between "dark", "light" and "follow" the system preference.
Upon activation it will activate the named action in #PanelThemeSelector:action-name.
GtkWidgetClass parentClassThe [panel.toggle_button.ToggleButton] is a button used to toggle the visibility of a [panel.dock.Dock] area.
It will automatically reveal or hide the specified area from [panel.toggle_button.ToggleButton.dock].
GtkWidgetClass parentClassPanelWidget is the base widget class for widgets added to a #PanelFrame. It can be use as-is or you can subclass it.
GtkWidget parentInstanceGtkWidgetClass parentInstanceGtkWidget * function(PanelWidget * self) getDefaultFocusvoid function(PanelWidget * self) presentedvoid *[8] ReservedGtkWindowGroup parentInstanceGtkWindowGroupClass parentClassvoid function(PanelWorkbench * self) activatevoid function(PanelWorkbench * self, GCancellable * cancellable, GAsyncReadyCallback callback, void * userData) unloadAsyncgboolean function(PanelWorkbench * self, GAsyncResult * result, GError * * _err) unloadFinishvoid *[8] ReservedAdwApplicationWindow parentInstance