Package ch.bailu.gtk.gtk
Class BoolFilter
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.gtk.Filter
ch.bailu.gtk.gtk.BoolFilter
- All Implemented Interfaces:
PointerInterface
`GtkBoolFilter` evaluates a boolean `GtkExpression`
to determine whether to include items.
to determine whether to include items.
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.bailu.gtk.gtk.Filter
Filter.OnChanged
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.gtk.Filter
SIGNAL_ON_CHANGED
Fields inherited from class ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Constructor Summary
ConstructorDescriptionBoolFilter
(Expression expression) Creates a new bool filter.BoolFilter
(PointerContainer pointer) -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
Gets the expression that the filter uses to evaluate if
an item should be filtered.static int
boolean
Returns whether the filter inverts the expression.static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
void
setExpression
(Expression expression) Sets the expression that the filter uses to check if items
should be filtered.void
setInvert
(boolean invert) Sets whether the filter should invert the expression.Methods inherited from class ch.bailu.gtk.gtk.Filter
changed, getStrictness, match, onChanged
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, weakUnref
Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Constructor Details
-
BoolFilter
-
BoolFilter
Creates a new bool filter.- Parameters:
expression
- The expression to evaluate
-
-
Method Details
-
getClassHandler
-
getExpression
Gets the expression that the filter uses to evaluate if
an item should be filtered.- Returns:
- a `GtkExpression`
-
getInvert
public boolean getInvert()Returns whether the filter inverts the expression.- Returns:
- %TRUE if the filter inverts
-
setExpression
Sets the expression that the filter uses to check if items
should be filtered.
The expression must have a value type of %G_TYPE_BOOLEAN.- Parameters:
expression
- a `GtkExpression`
-
setInvert
public void setInvert(boolean invert) Sets whether the filter should invert the expression.- Parameters:
invert
- %TRUE to invert
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-