Package ch.bailu.gtk.adw
Klasse ViewStackPage
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.type.PropertyHolder
ch.bailu.gtk.adw.ViewStackPage
- Alle implementierten Schnittstellen:
PointerInterface
An auxiliary class used by [class@ViewStack].
https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.ViewStackPage.html
-
Verschachtelte Klassen - Übersicht
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.gobject.Object
SIGNAL_ON_NOTIFY
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungImplements interfaceAccessible
.int
Gets the badge number for this page.getChild()
Gets the stack child to which @self belongs.static ClassHandler
Gets the icon name of the page.static int
getName()
Gets the name of the page.boolean
Gets whether the page requires the user attention.static long
static TypeSystem.TypeSize
getTitle()
Gets the page title.static long
static TypeSystem.TypeSize
boolean
Gets whether underlines in the page title indicate mnemonics.boolean
Gets whether @self is visible in its `AdwViewStack`.void
setBadgeNumber
(int badge_number) Sets the badge number for this page.void
setIconName
(Str icon_name) Sets the icon name of the page.void
setIconName
(String icon_name) Sets the icon name of the page.void
Sets the name of the page.void
Sets the name of the page.void
setNeedsAttention
(boolean needs_attention) Sets whether the page requires the user attention.void
Sets the page title.void
Sets the page title.void
setUseUnderline
(boolean use_underline) Sets whether underlines in the page title indicate mnemonics.void
setVisible
(boolean visible) Sets whether @page is visible in its `AdwViewStack`.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
-
ViewStackPage
-
-
Methodendetails
-
getClassHandler
-
getBadgeNumber
public int getBadgeNumber()Gets the badge number for this page.- Gibt zurück:
- the badge number for this page
-
getChild
Gets the stack child to which @self belongs.- Gibt zurück:
- the child to which @self belongs
-
getIconName
Gets the icon name of the page.- Gibt zurück:
- the icon name of the page
-
getName
Gets the name of the page.- Gibt zurück:
- the name of the page
-
getNeedsAttention
public boolean getNeedsAttention()Gets whether the page requires the user attention.- Gibt zurück:
- whether the page needs attention
-
getTitle
Gets the page title.- Gibt zurück:
- the page title
-
getUseUnderline
public boolean getUseUnderline()Gets whether underlines in the page title indicate mnemonics.- Gibt zurück:
- whether underlines in the page title indicate mnemonics
-
getVisible
public boolean getVisible()Gets whether @self is visible in its `AdwViewStack`.
This is independent from the [property@Gtk.Widget:visible]
property of its widget.- Gibt zurück:
- whether @self is visible
-
setBadgeNumber
public void setBadgeNumber(int badge_number) Sets the badge number for this page.
[class@ViewSwitcher] can display it as a badge next to the page icon. It is
commonly used to display a number of unread items within the page.
It can be used together with [property@ViewStack{age}:needs-attention].- Parameter:
badge_number
- the new value to set
-
setIconName
Sets the icon name of the page.- Parameter:
icon_name
- the icon name
-
setIconName
Sets the icon name of the page.- Parameter:
icon_name
- the icon name
-
setName
Sets the name of the page.- Parameter:
name
- the page name
-
setName
Sets the name of the page.- Parameter:
name
- the page name
-
setNeedsAttention
public void setNeedsAttention(boolean needs_attention) Sets whether the page requires the user attention.
[class@ViewSwitcher] will display it as a dot next to the page icon.- Parameter:
needs_attention
- the new value to set
-
setTitle
Sets the page title.- Parameter:
title
- the page title
-
setTitle
Sets the page title.- Parameter:
title
- the page title
-
setUseUnderline
public void setUseUnderline(boolean use_underline) Sets whether underlines in the page title indicate mnemonics.- Parameter:
use_underline
- the new value to set
-
setVisible
public void setVisible(boolean visible) Sets whether @page is visible in its `AdwViewStack`.
This is independent from the [property@Gtk.Widget:visible] property of
[property@ViewStackPage:child].- Parameter:
visible
- whether @self is visible
-
asAccessible
Implements interfaceAccessible
. Call this to get access to interface functions.- Gibt zurück:
Accessible
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-