Package ch.bailu.gtk.gtk
Klasse ScrollInfo
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gtk.ScrollInfo
- Alle implementierten Schnittstellen:
PointerInterface
Provides detailed information on how a scroll operation should be performed.
Scrolling functions usually allow passing a `NULL` scroll info which will
cause the default values to be used and just scroll the element into view.
Scrolling functions usually allow passing a `NULL` scroll info which will
cause the default values to be used and just scroll the element into view.
-
Feldübersicht
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates a new scroll info for scrolling an element into view.ScrollInfo
(PointerContainer pointer) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandler
boolean
Checks if horizontal scrolling is enabled.boolean
Checks if vertical scrolling is enabled.static int
static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
ref()
Increases the reference count of a `GtkScrollInfo` by one.void
setEnableHorizontal
(boolean horizontal) Turns horizontal scrolling on or off.void
setEnableVertical
(boolean vertical) Turns vertical scrolling on or off.void
unref()
Decreases the reference count of a `GtkScrollInfo` by one.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
-
ScrollInfo
-
ScrollInfo
public ScrollInfo()Creates a new scroll info for scrolling an element into view.
-
-
Methodendetails
-
getClassHandler
-
getEnableHorizontal
public boolean getEnableHorizontal()Checks if horizontal scrolling is enabled.- Gibt zurück:
- %TRUE if horizontal scrolling is enabled.
-
getEnableVertical
public boolean getEnableVertical()Checks if vertical scrolling is enabled.- Gibt zurück:
- %TRUE if vertical scrolling is enabled.
-
ref
Increases the reference count of a `GtkScrollInfo` by one.- Gibt zurück:
- the passed in `GtkScrollInfo`.
-
setEnableHorizontal
public void setEnableHorizontal(boolean horizontal) Turns horizontal scrolling on or off.- Parameter:
horizontal
- if scrolling in the horizontal direction should happen
-
setEnableVertical
public void setEnableVertical(boolean vertical) Turns vertical scrolling on or off.- Parameter:
vertical
- if scrolling in the vertical direction should happen
-
unref
public void unref()Decreases the reference count of a `GtkScrollInfo` by one.
If the resulting reference count is zero, frees the self. -
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-