Package ch.bailu.gtk.gtk
Class StackPage
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.gtk.StackPage
- All Implemented Interfaces:
PointerInterface
`GtkStackPage` is an auxiliary class used by `GtkStack`.
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify -
Field Summary
Fields inherited from class ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionImplements interfaceAccessible.getChild()Returns the stack child to which @self belongs.static ClassHandlerReturns the icon name of the page.static intgetName()Returns the name of the page.booleanReturns whether the page is marked as “needs attention”.static longstatic TypeSystem.TypeSizegetTitle()Gets the page title.static longstatic TypeSystem.TypeSizebooleanGets whether underlines in the page title indicate mnemonics.booleanReturns whether @page is visible in its `GtkStack`.voidsetIconName(Str setting) Sets the icon name of the page.voidsetIconName(String setting) Sets the icon name of the page.voidSets the name of the page.voidSets the name of the page.voidsetNeedsAttention(boolean setting) Sets whether the page is marked as “needs attention”.voidSets the page title.voidSets the page title.voidsetUseUnderline(boolean setting) Sets whether underlines in the page title indicate mnemonics.voidsetVisible(boolean visible) Sets whether @page is visible in its `GtkStack`.Methods inherited from class 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, weakUnrefMethods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksMethods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Constructor Details
-
StackPage
-
-
Method Details
-
getClassHandler
-
getChild
Returns the stack child to which @self belongs.- Returns:
- the child to which @self belongs
-
getIconName
Returns the icon name of the page.- Returns:
- The value of the [property@Gtk.StackPage:icon-name] property
-
getName
Returns the name of the page.- Returns:
- The value of the [property@Gtk.StackPage:name] property
-
getNeedsAttention
public boolean getNeedsAttention()Returns whether the page is marked as “needs attention”.- Returns:
- The value of the [property@Gtk.StackPage:needs-attention] property.
-
getTitle
Gets the page title.- Returns:
- The value of the [property@Gtk.StackPage:title] property
-
getUseUnderline
public boolean getUseUnderline()Gets whether underlines in the page title indicate mnemonics.- Returns:
- The value of the [property@Gtk.StackPage:use-underline] property
-
getVisible
public boolean getVisible()Returns whether @page is visible in its `GtkStack`.
This is independent from the [property@Gtk.Widget:visible]
property of its widget.- Returns:
- %TRUE if @page is visible
-
setIconName
Sets the icon name of the page.- Parameters:
setting- the new value to set
-
setIconName
Sets the icon name of the page.- Parameters:
setting- the new value to set
-
setName
Sets the name of the page.- Parameters:
setting- the new value to set
-
setName
Sets the name of the page.- Parameters:
setting- the new value to set
-
setNeedsAttention
public void setNeedsAttention(boolean setting) Sets whether the page is marked as “needs attention”.- Parameters:
setting- the new value to set
-
setTitle
Sets the page title.- Parameters:
setting- the new value to set
-
setTitle
Sets the page title.- Parameters:
setting- the new value to set
-
setUseUnderline
public void setUseUnderline(boolean setting) Sets whether underlines in the page title indicate mnemonics.- Parameters:
setting- the new value to set
-
setVisible
public void setVisible(boolean visible) Sets whether @page is visible in its `GtkStack`.- Parameters:
visible- The new property value
-
asAccessible
Implements interfaceAccessible. Call this to get access to interface functions.- Returns:
Accessible
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-