Trait IGridLayoutConcept
pub trait IGridLayoutConcept: Inherits<Object> + Inherits<GridLayoutConcept> {
Show 14 methods
// Provided methods
fn get_direction(&self) -> Result<GridDirection, Error> { ... }
fn set_direction(&self, value: GridDirection) -> Result<(), Error> { ... }
fn get_column_definitions(&self) -> Result<KanziString, Error> { ... }
fn set_column_definitions(
&self,
value: impl AsRef<KanziStr>,
) -> Result<(), Error> { ... }
fn get_row_definitions(&self) -> Result<KanziString, Error> { ... }
fn set_row_definitions(
&self,
value: impl AsRef<KanziStr>,
) -> Result<(), Error> { ... }
fn get_column(&self) -> Result<i32, Error> { ... }
fn set_column(&self, value: i32) -> Result<(), Error> { ... }
fn get_column_span(&self) -> Result<i32, Error> { ... }
fn set_column_span(&self, value: i32) -> Result<(), Error> { ... }
fn get_row(&self) -> Result<i32, Error> { ... }
fn set_row(&self, value: i32) -> Result<(), Error> { ... }
fn get_row_span(&self) -> Result<i32, Error> { ... }
fn set_row_span(&self, value: i32) -> Result<(), Error> { ... }
}Expand description
Base class for the Grid Layout nodes.
Grid Layout nodes arrange their items in a grid of cells. The grid node contains the definition for grid: the number and size of rows and columns. The grid items contain the coordinates of their cell, and the number of cells the item spans.
Provided Methods§
fn get_direction(&self) -> Result<GridDirection, Error>
fn get_direction(&self) -> Result<GridDirection, Error>
See: DIRECTION_PROPERTY
fn set_direction(&self, value: GridDirection) -> Result<(), Error>
fn set_direction(&self, value: GridDirection) -> Result<(), Error>
See: DIRECTION_PROPERTY
fn get_column_definitions(&self) -> Result<KanziString, Error>
fn get_column_definitions(&self) -> Result<KanziString, Error>
fn get_row_definitions(&self) -> Result<KanziString, Error>
fn get_row_definitions(&self) -> Result<KanziString, Error>
fn get_column(&self) -> Result<i32, Error>
fn get_column(&self) -> Result<i32, Error>
See: COLUMN_PROPERTY
fn set_column(&self, value: i32) -> Result<(), Error>
fn set_column(&self, value: i32) -> Result<(), Error>
See: COLUMN_PROPERTY
fn get_column_span(&self) -> Result<i32, Error>
fn get_column_span(&self) -> Result<i32, Error>
See: COLUMN_SPAN_PROPERTY
fn set_column_span(&self, value: i32) -> Result<(), Error>
fn set_column_span(&self, value: i32) -> Result<(), Error>
See: COLUMN_SPAN_PROPERTY
fn get_row(&self) -> Result<i32, Error>
fn get_row(&self) -> Result<i32, Error>
See: ROW_PROPERTY
fn get_row_span(&self) -> Result<i32, Error>
fn get_row_span(&self) -> Result<i32, Error>
See: ROW_SPAN_PROPERTY
fn set_row_span(&self, value: i32) -> Result<(), Error>
fn set_row_span(&self, value: i32) -> Result<(), Error>
See: ROW_SPAN_PROPERTY
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.