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: u32The column position of the control in the layout
row: u32The row position of the control in the layout
col_span: u32The number column this item should span. Should be 1 for single column item.
row_span: u32The 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
) -> GridLayoutItemInitialize a new grid layout item
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GridLayoutItemimpl !Send for GridLayoutItemimpl !Sync for GridLayoutItemimpl Unpin for GridLayoutItemimpl UnwindSafe for GridLayoutItem