Package ch.bailu.gtk.adw
Klasse Application
- Alle implementierten Schnittstellen:
PointerInterface
A base class for Adwaita applications.
`AdwApplication` handles library initialization by calling [func@init] in the
default [signal@Gio.Application::startup] signal handler, in turn chaining up
as required by [class@Gtk.Application]. Therefore, any subclass of
`AdwApplication` should always chain up its `startup` handler before using
any Adwaita or GTK API.
## Automatic Resources
`AdwApplication` will automatically load stylesheets located in the
application's resource base path (see
[method@Gio.Application.set_resource_base_path], if they're present.
They can be used to add custom styles to the application, as follows:
- `style.css` contains styles that are always present.
- `style-dark.css` contains styles only used when
[property@StyleManager:dark] is `TRUE`.
- `style-hc.css` contains styles used when the system high contrast
preference is enabled.
- `style-hc-dark.css` contains styles used when the system high contrast
preference is enabled and [property@StyleManager:dark] is `TRUE`.
`AdwApplication` handles library initialization by calling [func@init] in the
default [signal@Gio.Application::startup] signal handler, in turn chaining up
as required by [class@Gtk.Application]. Therefore, any subclass of
`AdwApplication` should always chain up its `startup` handler before using
any Adwaita or GTK API.
## Automatic Resources
`AdwApplication` will automatically load stylesheets located in the
application's resource base path (see
[method@Gio.Application.set_resource_base_path], if they're present.
They can be used to add custom styles to the application, as follows:
- `style.css` contains styles that are always present.
- `style-dark.css` contains styles only used when
[property@StyleManager:dark] is `TRUE`.
- `style-hc.css` contains styles used when the system high contrast
preference is enabled.
- `style-hc-dark.css` contains styles used when the system high contrast
preference is enabled and [property@StyleManager:dark] is `TRUE`.
https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.Application.html
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gtk.Application
Application.OnQueryEnd, Application.OnWindowAdded, Application.OnWindowRemoved
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gio.Application
Application.OnActivate, Application.OnCommandLine, Application.OnHandleLocalOptions, Application.OnNameLost, Application.OnOpen, Application.OnShutdown, Application.OnStartup
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify
-
Feldübersicht
Von Klasse geerbte Felder ch.bailu.gtk.gtk.Application
SIGNAL_ON_QUERY_END, SIGNAL_ON_WINDOW_ADDED, SIGNAL_ON_WINDOW_REMOVED
Von Klasse geerbte Felder ch.bailu.gtk.gio.Application
SIGNAL_ON_ACTIVATE, SIGNAL_ON_COMMAND_LINE, SIGNAL_ON_HANDLE_LOCAL_OPTIONS, SIGNAL_ON_NAME_LOST, SIGNAL_ON_OPEN, SIGNAL_ON_SHUTDOWN, SIGNAL_ON_STARTUP
Von Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungApplication
(PointerContainer pointer) Application
(Str application_id, int flags) Creates a new `AdwApplication`.Application
(String application_id, int flags) Creates a new `AdwApplication`. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungImplements interfaceActionGroup
.Implements interfaceActionMap
.static ClassHandler
static int
static long
static TypeSystem.TypeSize
Gets the style manager for @self.static long
static TypeSystem.TypeSize
Von Klasse geerbte Methoden ch.bailu.gtk.gtk.Application
addWindow, getAccelsForAction, getAccelsForAction, getActionsForAccel, getActionsForAccel, getActiveWindow, getMenubar, getMenuById, getMenuById, getWindowById, getWindows, inhibit, inhibit, listActionDescriptions, onQueryEnd, onWindowAdded, onWindowRemoved, removeWindow, setAccelsForAction, setAccelsForAction, setMenubar, uninhibit
Von Klasse geerbte Methoden ch.bailu.gtk.gio.Application
activate, addOptionGroup, bindBusyProperty, bindBusyProperty, getApplicationId, getDbusConnection, getDbusObjectPath, getDefault, getFlags, getInactivityTimeout, getIsBusy, getIsRegistered, getIsRemote, getResourceBasePath, getVersion, hold, idIsValid, markBusy, onActivate, onCommandLine, onHandleLocalOptions, onNameLost, onOpen, onShutdown, onStartup, quit, register, release, run, sendNotification, sendNotification, setActionGroup, setApplicationId, setApplicationId, setDefault, setFlags, setInactivityTimeout, setOptionContextDescription, setOptionContextDescription, setOptionContextParameterString, setOptionContextParameterString, setOptionContextSummary, setOptionContextSummary, setResourceBasePath, setResourceBasePath, setVersion, setVersion, unbindBusyProperty, unbindBusyProperty, unmarkBusy, withdrawNotification, withdrawNotification
Von Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrProperty
Von Klasse geerbte Methoden ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnref
Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
Application
-
Application
Creates a new `AdwApplication`.
If `application_id` is not `NULL`, then it must be valid. See
[func@Gio.Application.id_is_valid].
If no application ID is given then some features (most notably application
uniqueness) will be disabled.- Parameter:
application_id
- The application IDflags
- The application flags
-
Application
Creates a new `AdwApplication`.
If `application_id` is not `NULL`, then it must be valid. See
[func@Gio.Application.id_is_valid].
If no application ID is given then some features (most notably application
uniqueness) will be disabled.- Parameter:
application_id
- The application IDflags
- The application flags
-
-
Methodendetails
-
getClassHandler
-
getStyleManager
Gets the style manager for @self.
This is a convenience property allowing to access `AdwStyleManager` through
property bindings or expressions.- Gibt zurück:
- the style manager
-
asActionGroup
Implements interfaceActionGroup
. Call this to get access to interface functions.- Setzt außer Kraft:
asActionGroup
in KlasseApplication
- Gibt zurück:
ActionGroup
-
asActionMap
Implements interfaceActionMap
. Call this to get access to interface functions.- Setzt außer Kraft:
asActionMap
in KlasseApplication
- Gibt zurück:
ActionMap
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-