Module carbide_core::widget[][src]

Widgets are the core building blocks for every carbide user interface.

This module contains items related to the implementation of the Widget trait. It also re-exports all widgets (and their modules) that are provided by carbide.

Re-exports

pub use self::primitive::frame::*;
pub use self::primitive::h_stack::*;
pub use self::primitive::v_stack::*;
pub use self::primitive::image;
pub use self::primitive::image::Image;
pub use self::primitive::shape::oval;
pub use self::primitive::shape::oval::Oval;
pub use self::primitive::shape::polygon;
pub use self::primitive::shape::polygon::Polygon;
pub use self::primitive::shape::rectangle;
pub use self::primitive::shape::rectangle::Rectangle;
pub use self::primitive::text;
pub use self::primitive::text::Text;
pub use self::primitive::z_stack::*;
pub use self::primitive::widget::WidgetExt;
pub use self::primitive::spacer::Spacer;
pub use self::primitive::edge_insets::EdgeInsets;
pub use self::primitive::overlaid_layer::OverlaidLayer;
pub use self::primitive::scroll::Scroll;
pub use self::types::scroll_direction::ScrollDirection;
pub use self::types::scale_mode::ScaleMode;
pub use self::types::spacer_direction::SpacerDirection;
pub use self::primitive::shape::rounded_rectangle::RoundedRectangle;
pub use self::primitive::canvas::canvas::Canvas;
pub use self::primitive::canvas::context::Context;
pub use self::primitive::canvas::context::ContextAction;
pub use self::primitive::offset::Offset;
pub use carbide_core::window::TWindow;
pub use crate::Color;
pub use crate::Colorable;
pub use crate::Point;
pub use crate::Rect;
pub use crate::position::Dimensions;
pub use crate::position::Scalar;
pub use self::primitive::Widget;
pub use crate::state::global_state::GlobalState;
pub use crate::state::state::CommonState;
pub use self::common_widget::CommonWidget;
pub use crate::flags::Flags;
pub use crate::layout::basic_layouter::BasicLayouter;
pub use carbide_core::layout::Layout;
pub use carbide_core::layout::layouter::Layouter;
pub use self::widget_iterator::WidgetIter;
pub use self::widget_iterator::WidgetIterMut;
pub use self::render::ChildRender;
pub use crate::layout::layout::SingleChildLayout;
pub use crate::state::environment::Environment;
pub use carbide_core::state::state::StateExt;
pub use carbide_core::layout::CrossAxisAlignment;

Modules

common_widget
complex
control
old
primitive

Primitive widgets are special in that they are built into carbide's rendering logic.

render
types
widget_iterator

Type Definitions

Id