ListBoxRow#

class ignis.widgets.Widget.ListBoxRow(*args: Any, **kwargs: Any)#

Bases: Gtk.ListBoxRow

A row for ListBox.

Widget.ListBoxRow(
    label="row 1",
    on_activate=lambda x: print("selected row 1"),
    selected=True
)
property on_activate: Callable#
  • optional, read-write

The function to call when the user selects the row.

property selected: bool#
  • optional, read-write

Whether the row is selected by default.