ListItem.setActivatable

Sets @self to be activatable.

If an item is activatable, double-clicking on the item, using the Return key or calling gtk_widget_activate() will activate the item. Activating instructs the containing view to handle activation. GtkListView for example will be emitting the [signal@Gtk.ListView::activate] signal.

By default, list items are activatable.

class ListItem
void
setActivatable

Parameters

activatable bool

if the item should be activatable

Meta