Package ch.bailu.gtk.gtk
Interface GridView.OnActivate
- Enclosing class:
- GridView
- 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 cell has been activated by the user,
usually via activating the GtkGridView|list.activate-item action.
-
Method Details
-
onActivate
void onActivate(int position) Emitted when a cell has been activated by the user,
usually via activating the GtkGridView|list.activate-item action.
This allows for a convenient way to handle activation in a gridview.
See [property@Gtk.ListItem:activatable] for details on how to use
this signal.- Parameters:
position
- position of item to activate
-