def make_button(label: str, action: Callable[[Any], None]) -> Gtk.Button:
button = Gtk.Button(label=label)
button.connect('clicked', action)
def make_button(label: str, action: Callable[[Any], None]) -> Gtk.Button:
button = Gtk.Button(label=label)
button.connect('clicked', action)
box = Gtk.Box()
box.set_orientation(Gtk.Orientation.VERTICAL)
edit = make_button("Edit Configuration", on_edit)
box = Gtk.Box()
box.set_orientation(Gtk.Orientation.VERTICAL)
edit = make_button("Edit Configuration", on_edit)