Package ch.bailu.gtk.gtk
Class SelectionModelInterface
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gtk.SelectionModelInterface
- All Implemented Interfaces:
PointerInterface
The list of virtual functions for the `GtkSelectionModel` interface.
No function must be implemented, but unless `GtkSelectionModel::is_selected()`
is implemented, it will not be possible to select items in the set.
The model does not need to implement any functions to support either
selecting or unselecting items. Of course, if the model does not do that,
it means that users cannot select or unselect items in a list widget
using the model.
All selection functions fall back to `GtkSelectionModel::set_selection()`
so it is sufficient to implement just that function for full selection
support.
No function must be implemented, but unless `GtkSelectionModel::is_selected()`
is implemented, it will not be possible to select items in the set.
The model does not need to implement any functions to support either
selecting or unselecting items. Of course, if the model does not do that,
it means that users cannot select or unselect items in a list widget
using the model.
All selection functions fall back to `GtkSelectionModel::set_selection()`
so it is sufficient to implement just that function for full selection
support.
https://docs.gtk.org/gtk4/struct.SelectionModelInterface.html
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interface -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandlerch.bailu.gtk.gtk.JnaSelectionModelInterface.OnGetSelectionInRangech.bailu.gtk.gtk.JnaSelectionModelInterface.OnIsSelectedch.bailu.gtk.gtk.JnaSelectionModelInterface.OnSelectAllch.bailu.gtk.gtk.JnaSelectionModelInterface.OnSelectItemch.bailu.gtk.gtk.JnaSelectionModelInterface.OnSelectRangech.bailu.gtk.gtk.JnaSelectionModelInterface.OnSetSelectionch.bailu.gtk.gtk.JnaSelectionModelInterface.OnUnselectAllch.bailu.gtk.gtk.JnaSelectionModelInterface.OnUnselectItemch.bailu.gtk.gtk.JnaSelectionModelInterface.OnUnselectRangestatic intstatic TypeSystem.TypeSizestatic TypeSystem.TypeSizevoidsetFieldGetSelectionInRange(SelectionModelInterface.OnGetSelectionInRange get_selection_in_range) voidsetFieldIsSelected(SelectionModelInterface.OnIsSelected is_selected) voidsetFieldSelectAll(SelectionModelInterface.OnSelectAll select_all) voidsetFieldSelectItem(SelectionModelInterface.OnSelectItem select_item) voidsetFieldSelectRange(SelectionModelInterface.OnSelectRange select_range) voidsetFieldSetSelection(SelectionModelInterface.OnSetSelection set_selection) voidsetFieldUnselectAll(SelectionModelInterface.OnUnselectAll unselect_all) voidsetFieldUnselectItem(SelectionModelInterface.OnUnselectItem unselect_item) voidsetFieldUnselectRange(SelectionModelInterface.OnUnselectRange unselect_range) Methods 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
-
Field Details
-
G_IFACE
Private field: direct-type- See Also:
-
IS_SELECTED
- See Also:
-
GET_SELECTION_IN_RANGE
- See Also:
-
SELECT_ITEM
- See Also:
-
UNSELECT_ITEM
- See Also:
-
SELECT_RANGE
- See Also:
-
UNSELECT_RANGE
- See Also:
-
SELECT_ALL
- See Also:
-
UNSELECT_ALL
- See Also:
-
SET_SELECTION
- See Also:
-
-
Constructor Details
-
SelectionModelInterface
-
SelectionModelInterface
public SelectionModelInterface()
-
-
Method Details
-
getClassHandler
-
setFieldIsSelected
-
getFieldIsSelected
public ch.bailu.gtk.gtk.JnaSelectionModelInterface.OnIsSelected getFieldIsSelected() -
setFieldGetSelectionInRange
public void setFieldGetSelectionInRange(SelectionModelInterface.OnGetSelectionInRange get_selection_in_range) -
getFieldGetSelectionInRange
public ch.bailu.gtk.gtk.JnaSelectionModelInterface.OnGetSelectionInRange getFieldGetSelectionInRange() -
setFieldSelectItem
-
getFieldSelectItem
public ch.bailu.gtk.gtk.JnaSelectionModelInterface.OnSelectItem getFieldSelectItem() -
setFieldUnselectItem
-
getFieldUnselectItem
public ch.bailu.gtk.gtk.JnaSelectionModelInterface.OnUnselectItem getFieldUnselectItem() -
setFieldSelectRange
-
getFieldSelectRange
public ch.bailu.gtk.gtk.JnaSelectionModelInterface.OnSelectRange getFieldSelectRange() -
setFieldUnselectRange
-
getFieldUnselectRange
public ch.bailu.gtk.gtk.JnaSelectionModelInterface.OnUnselectRange getFieldUnselectRange() -
setFieldSelectAll
-
getFieldSelectAll
public ch.bailu.gtk.gtk.JnaSelectionModelInterface.OnSelectAll getFieldSelectAll() -
setFieldUnselectAll
-
getFieldUnselectAll
public ch.bailu.gtk.gtk.JnaSelectionModelInterface.OnUnselectAll getFieldUnselectAll() -
setFieldSetSelection
-
getFieldSetSelection
public ch.bailu.gtk.gtk.JnaSelectionModelInterface.OnSetSelection getFieldSetSelection() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-