[][src]Crate pushrod

pushrod is a GUI library for Rust.

Dependencies

Pushrod uses the following dependency:

This example is not tested
[dependencies.sdl2]
version = "^0.32"
features = ["ttf", "image"]

To use the crate in your project, add the following dependencies:

This example is not tested
[dependencies]
rust-pushrod = "^0.4"

This will pull in the latest version.

Core Components

pushrod::render is the core rendering components, containing the Widget base class, and drawing loop logic. pushrod::widgets is the extended Widget component library.

Modules

layouts

layouts is the core layout managers included with Pushrod.

render

render is the core rendering/event loop portion of Pushrod.

widgets

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

Macros

default_widget_properties

This macro is used by Widget implementations, which auto-injects getter code for the Widget's properties. Since all Widget implementations share these functions, and must implement them locally, this macro serves as a quick way to implement the same reused code automatically.