Struct egui::containers::CentralPanel [−][src]
pub struct CentralPanel { /* fields omitted */ }
A panel that covers the remainder of the screen, i.e. whatever area is left after adding other panels.
CentralPanel
should be added after all other panels.
Any Window
s and Area
s will cover the CentralPanel
.
egui::CentralPanel::default().show(ctx, |ui| { ui.label("Hello World!"); });
Implementations
impl CentralPanel
[src]
impl CentralPanel
[src]impl CentralPanel
[src]
impl CentralPanel
[src]Trait Implementations
impl Default for CentralPanel
[src]
impl Default for CentralPanel
[src]fn default() -> CentralPanel
[src]
fn default() -> CentralPanel
[src]Returns the “default value” for a type. Read more