Struct flo_ui::controllers::PopupController [] [src]

pub struct PopupController<ContentController: Controller> { /* fields omitted */ }

Controller that provides standard behaviour for popups. Supply this as a controller for a control that needs a popup. This will supply the popup container and suppress the popup UI while the popup is not visible.

Methods

impl<ContentController: Controller> PopupController<ContentController>
[src]

[src]

Creates a new popup controller.

Default settings are a size of 100,100, popup center, offset 8

[src]

Returns a modified controller with a different size

[src]

Returns a modified controller with a different direction

[src]

Returns a modified controller with a different offset

Trait Implementations

impl<ContentController: Controller> Controller for PopupController<ContentController>
[src]

[src]

Retrieves a Control representing the UI for this controller

[src]

Retrieves the viewmodel for this controller

[src]

Attempts to retrieve a sub-controller of this controller

[src]

Callback for when a control associated with this controller generates an action

[src]

Retrieves a resource manager containing the images used in the UI for this controller

[src]

Retrieves a resource manager containing the canvases used in the UI for this controller

[src]

Called just before an update is processed Read more

Auto Trait Implementations

impl<ContentController> Send for PopupController<ContentController>

impl<ContentController> Sync for PopupController<ContentController>