Struct native_windows_gui::GridLayoutItem [−][src]
pub struct GridLayoutItem { pub col: u32, pub row: u32, pub col_span: u32, pub row_span: u32, // some fields omitted }
Expand description
A control item in a GridLayout
Fields
col: u32
The column position of the control in the layout
row: u32
The row position of the control in the layout
col_span: u32
The number column this item should span. Should be 1 for single column item.
row_span: u32
The number row this item should span. Should be 1 for single row item.
Implementations
pub fn new<W: Into<ControlHandle>>(
c: W,
col: u32,
row: u32,
col_span: u32,
row_span: u32
) -> GridLayoutItem
pub fn new<W: Into<ControlHandle>>(
c: W,
col: u32,
row: u32,
col_span: u32,
row_span: u32
) -> GridLayoutItem
Initialize a new grid layout item
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GridLayoutItem
impl !Send for GridLayoutItem
impl !Sync for GridLayoutItem
impl Unpin for GridLayoutItem
impl UnwindSafe for GridLayoutItem