[][src]Function orbtk_widgets::switch

pub fn switch(ctx: WidgetContainer<'_>) -> SwitchCtx<'_>

Gets a context wrapper to access the properties of the widget.