Package ch.bailu.gtk.gtk
Interface ListView.OnActivate
- Enclosing class:
- ListView
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onActivate
(int position) Emitted when a row has been activated by the user,
usually via activating the GtkListView|list.activate-item action.
-
Method Details
-
onActivate
void onActivate(int position) Emitted when a row has been activated by the user,
usually via activating the GtkListView|list.activate-item action.
This allows for a convenient way to handle activation in a listview.
See [method@Gtk.ListItem.set_activatable] for details on how to use
this signal.- Parameters:
position
- position of item to activate
-