imageToggle

inline fun Table.imageToggle(image: Drawable?, toggleableStyle: Button.ButtonStyle = Styles.clearTogglei, crossinline ontoggle: Button.(Boolean) -> Unit = {}): Cell<ToggleButton>

Simmilar to toggleButton but adds a constant image


inline fun Table.imageToggle(crossinline image: (Boolean) -> Drawable?, toggleableStyle: Button.ButtonStyle = Styles.clearTogglei, crossinline ontoggle: Button.(Boolean) -> Unit = {}): Cell<ToggleButton>

Simmilar to toggleButton but adds a dynamic image


inline fun Table.imageToggle(imageEnabled: Drawable?, imageDisabled: Drawable?, toggleableStyle: Button.ButtonStyle = Styles.togglet, crossinline ontoggle: Button.(Boolean) -> Unit = {}): Cell<ToggleButton>

Adds an image toggle button and returns the created cell. The toggle uses imageEnabled or imageDisabled depending on whether it's toggled on or off.