[][src]Module pushrod::widgets

widgets is a core rendering library used by Pushrod, containing the default set of Widgets.

Modules

image_widget

This is an ImageWidget, which draws an Image in a clipped area.

progress_widget

This is a ProgressWidget, which draws a progress bar.

push_button_widget

This is a PushButtonWidget, which draws text in a Widget that can be clicked. It triggers an on_click callback when the button is clicked.

text_widget

This is a TextWidget, which draws text in a clipped area.

timer_widget

This is a TimerWidget, which times out after a specified duration, triggering a callback after the timeout is exceeded.

toggle_button_widget

This is a ToggleButtonWidget, which acts similar to a PushButtonWidget except that it triggers on_toggle callbacks when the state changes.