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
Modifier and TypeClassDescriptionstatic interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
ch.bailu.gtk.gtk.JnaSelectionModelInterface.OnGetSelectionInRange
ch.bailu.gtk.gtk.JnaSelectionModelInterface.OnIsSelected
ch.bailu.gtk.gtk.JnaSelectionModelInterface.OnSelectAll
ch.bailu.gtk.gtk.JnaSelectionModelInterface.OnSelectItem
ch.bailu.gtk.gtk.JnaSelectionModelInterface.OnSelectRange
ch.bailu.gtk.gtk.JnaSelectionModelInterface.OnSetSelection
ch.bailu.gtk.gtk.JnaSelectionModelInterface.OnUnselectAll
ch.bailu.gtk.gtk.JnaSelectionModelInterface.OnUnselectItem
ch.bailu.gtk.gtk.JnaSelectionModelInterface.OnUnselectRange
static int
static TypeSystem.TypeSize
static TypeSystem.TypeSize
void
setFieldGetSelectionInRange
(SelectionModelInterface.OnGetSelectionInRange get_selection_in_range) void
setFieldIsSelected
(SelectionModelInterface.OnIsSelected is_selected) void
setFieldSelectAll
(SelectionModelInterface.OnSelectAll select_all) void
setFieldSelectItem
(SelectionModelInterface.OnSelectItem select_item) void
setFieldSelectRange
(SelectionModelInterface.OnSelectRange select_range) void
setFieldSetSelection
(SelectionModelInterface.OnSetSelection set_selection) void
setFieldUnselectAll
(SelectionModelInterface.OnUnselectAll unselect_all) void
setFieldUnselectItem
(SelectionModelInterface.OnUnselectItem unselect_item) void
setFieldUnselectRange
(SelectionModelInterface.OnUnselectRange unselect_range) 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
-
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()
-