ListBoxRow#

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

Bases: Gtk.ListBoxRow

A row for ListBox.

Parameters:

**kwargs -- Properties to set.

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

The function to call when the user selects the row.

gproperty selected: bool#
  • read-write

Whether the row is selected by default.