Package org.gnome.gtk
Class SelectionModel.SelectionModelInterface
java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.gobject.TypeInterface
org.gnome.gtk.SelectionModel.SelectionModelInterface
- All Implemented Interfaces:
Proxy
- Enclosing interface:
SelectionModel<T extends GObject>
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.
-
Constructor Summary
ConstructorsConstructorDescriptionSelectionModelInterface(MemorySegment address) Create a SelectionModelInterface proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayoutThe memory layout of the native struct.voidoverrideGetSelectionInRange(Arena arena, @Nullable Method method) Override virtual methodget_selection_in_range.voidoverrideIsSelected(Arena arena, @Nullable Method method) Override virtual methodis_selected.voidoverrideSelectAll(Arena arena, @Nullable Method method) Override virtual methodselect_all.voidoverrideSelectItem(Arena arena, @Nullable Method method) Override virtual methodselect_item.voidoverrideSelectRange(Arena arena, @Nullable Method method) Override virtual methodselect_range.voidoverrideSetSelection(Arena arena, @Nullable Method method) Override virtual methodset_selection.voidoverrideUnselectAll(Arena arena, @Nullable Method method) Override virtual methodunselect_all.voidoverrideUnselectItem(Arena arena, @Nullable Method method) Override virtual methodunselect_item.voidoverrideUnselectRange(Arena arena, @Nullable Method method) Override virtual methodunselect_range.Methods inherited from class org.gnome.gobject.TypeInterface
addPrerequisite, getPlugin, instantiatablePrerequisite, peek, peekParent, prerequisites, readGInstanceType, readGType, writeGInstanceType, writeGTypeMethods inherited from class org.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
SelectionModelInterface
Create a SelectionModelInterface proxy instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
overrideIsSelected
-
overrideGetSelectionInRange
-
overrideSelectItem
-
overrideUnselectItem
-
overrideSelectRange
-
overrideUnselectRange
-
overrideSelectAll
-
overrideUnselectAll
-
overrideSetSelection
-