connect_checkable_button

glue.external.echo.qt.connect_checkable_button(instance, prop, widget)[source]

Connect a boolean callback property with a Qt button widget.

Parameters
instanceobject

The class instance that the callback property is attached to

propstr

The name of the callback property

widgetQtWidget

The Qt widget to connect. This should implement the setChecked method and the toggled signal.