Package ch.bailu.gtk.adw
Class SqueezerPage
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.adw.SqueezerPage
- All Implemented Interfaces:
PointerInterface
An auxiliary class used by [class@Squeezer].
https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.SqueezerPage.html
-
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 TypeMethodDescriptiongetChild()Returns the squeezer child to which @self belongs.static ClassHandlerbooleanGets whether @self is enabled.static intstatic longstatic TypeSystem.TypeSizestatic longstatic TypeSystem.TypeSizevoidsetEnabled(boolean enabled) Sets whether @self is enabled.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
-
SqueezerPage
-
-
Method Details
-
getClassHandler
-
getChild
Returns the squeezer child to which @self belongs.- Returns:
- the child to which @self belongs
-
getEnabled
public boolean getEnabled()Gets whether @self is enabled.- Returns:
- whether @self is enabled
-
setEnabled
public void setEnabled(boolean enabled) Sets whether @self is enabled.
If a child is disabled, it will be ignored when looking for the child
fitting the available size best.
This allows to programmatically and prematurely hide a child even if it fits
in the available space.
This can be used e.g. to ensure a certain child is hidden below a certain
window width, or any other constraint you find suitable.- Parameters:
enabled- whether @self is enabled
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-