Trait components::TableExt [−][src]
pub trait TableExt: 'static {}Show methods
fn child_get_column<P: Is<Actor>>(&self, child: &P) -> i32; fn child_get_column_span<P: Is<Actor>>(&self, child: &P) -> i32; fn child_get_row<P: Is<Actor>>(&self, child: &P) -> i32; fn child_get_row_span<P: Is<Actor>>(&self, child: &P) -> i32; fn child_get_x_align<P: Is<Actor>>(&self, child: &P) -> Align; fn child_get_x_expand<P: Is<Actor>>(&self, child: &P) -> bool; fn child_get_x_fill<P: Is<Actor>>(&self, child: &P) -> bool; fn child_get_y_align<P: Is<Actor>>(&self, child: &P) -> Align; fn child_get_y_expand<P: Is<Actor>>(&self, child: &P) -> bool; fn child_get_y_fill<P: Is<Actor>>(&self, child: &P) -> bool; fn child_set_column<P: Is<Actor>>(&self, child: &P, col: i32); fn child_set_column_span<P: Is<Actor>>(&self, child: &P, span: i32); fn child_set_row<P: Is<Actor>>(&self, child: &P, row: i32); fn child_set_row_span<P: Is<Actor>>(&self, child: &P, span: i32); fn child_set_x_align<P: Is<Actor>>(&self, child: &P, align: Align); fn child_set_x_expand<P: Is<Actor>>(&self, child: &P, expand: bool); fn child_set_x_fill<P: Is<Actor>>(&self, child: &P, fill: bool); fn child_set_y_align<P: Is<Actor>>(&self, child: &P, align: Align); fn child_set_y_expand<P: Is<Actor>>(&self, child: &P, expand: bool); fn child_set_y_fill<P: Is<Actor>>(&self, child: &P, fill: bool); fn get_actor_at(&self, row: u32, column: u32) -> Option<Actor>; fn get_column_count(&self) -> u32; fn get_column_spacing(&self) -> u32; fn get_row_count(&self) -> u32; fn get_row_spacing(&self) -> u32; fn insert_actor<P: Is<Actor>>(&self, actor: &P, row: u32, column: u32); fn set_column_spacing(&self, spacing: u32); fn set_row_spacing(&self, spacing: u32); fn connect_property_column_count_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_column_spacing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_row_count_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_row_spacing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
Required methods
fn child_get_column<P: Is<Actor>>(&self, child: &P) -> i32
[src]
fn child_get_column_span<P: Is<Actor>>(&self, child: &P) -> i32
[src]
fn child_get_row<P: Is<Actor>>(&self, child: &P) -> i32
[src]
fn child_get_row_span<P: Is<Actor>>(&self, child: &P) -> i32
[src]
fn child_get_x_align<P: Is<Actor>>(&self, child: &P) -> Align
[src]
fn child_get_x_expand<P: Is<Actor>>(&self, child: &P) -> bool
[src]
fn child_get_x_fill<P: Is<Actor>>(&self, child: &P) -> bool
[src]
fn child_get_y_align<P: Is<Actor>>(&self, child: &P) -> Align
[src]
fn child_get_y_expand<P: Is<Actor>>(&self, child: &P) -> bool
[src]
fn child_get_y_fill<P: Is<Actor>>(&self, child: &P) -> bool
[src]
fn child_set_column<P: Is<Actor>>(&self, child: &P, col: i32)
[src]
fn child_set_column_span<P: Is<Actor>>(&self, child: &P, span: i32)
[src]
fn child_set_row<P: Is<Actor>>(&self, child: &P, row: i32)
[src]
fn child_set_row_span<P: Is<Actor>>(&self, child: &P, span: i32)
[src]
fn child_set_x_align<P: Is<Actor>>(&self, child: &P, align: Align)
[src]
fn child_set_x_expand<P: Is<Actor>>(&self, child: &P, expand: bool)
[src]
fn child_set_x_fill<P: Is<Actor>>(&self, child: &P, fill: bool)
[src]
fn child_set_y_align<P: Is<Actor>>(&self, child: &P, align: Align)
[src]
fn child_set_y_expand<P: Is<Actor>>(&self, child: &P, expand: bool)
[src]
fn child_set_y_fill<P: Is<Actor>>(&self, child: &P, fill: bool)
[src]
fn get_actor_at(&self, row: u32, column: u32) -> Option<Actor>
[src]
get_actor_at: @table: a #Table @row: the row to look into @column: the column to look into
Get an actor at a given position in @table.
Return value: (transfer none): the #Actor a the given position, or None.
fn get_column_count(&self) -> u32
[src]
get_column_count: @table: A #Table
Retrieve the current number of columns in @table
Returns: the number of columns
fn get_column_spacing(&self) -> u32
[src]
get_column_spacing: @table: a #Table
Gets the amount of spacing between columns.
Returns: the spacing between columns in device units
fn get_row_count(&self) -> u32
[src]
get_row_count: @table: A #Table
Retrieve the current number rows in the @table
Returns: the number of rows
fn get_row_spacing(&self) -> u32
[src]
get_row_spacing: @table: a #Table
Gets the amount of spacing between rows.
Returns: the spacing between rows in device units
fn insert_actor<P: Is<Actor>>(&self, actor: &P, row: u32, column: u32)
[src]
insert_actor: @table: a #Table @actor: the child to insert @row: the row to place the child into @column: the column to place the child into
Insert an actor at the specified row and column
Note, column and rows numbers start from zero
fn set_column_spacing(&self, spacing: u32)
[src]
insert_actor_with_properties: @table: a #Table @actor: the child #Actor @row: the row to place the child into @column: the column to place the child into @first_property_name: name of the first property to set @…: value for the first property, followed optionally by more name/value pairs terminated with None.
Add an actor into at the specified row and column, with additional child properties to set.
set_column_spacing: @table: a #Table @spacing: spacing in pixels
Sets the amount of spacing between columns.
fn set_row_spacing(&self, spacing: u32)
[src]
set_row_spacing: @table: a #Table @spacing: spacing in pixels
Sets the amount of spacing between rows.
fn connect_property_column_count_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_column_spacing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_row_count_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_row_spacing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: Is<Table>> TableExt for O
[src]
impl<O: Is<Table>> TableExt for O
[src]fn child_get_column<P: Is<Actor>>(&self, child: &P) -> i32
[src]
fn child_get_column_span<P: Is<Actor>>(&self, child: &P) -> i32
[src]
fn child_get_row<P: Is<Actor>>(&self, child: &P) -> i32
[src]
fn child_get_row_span<P: Is<Actor>>(&self, child: &P) -> i32
[src]
fn child_get_x_align<P: Is<Actor>>(&self, child: &P) -> Align
[src]
fn child_get_x_expand<P: Is<Actor>>(&self, child: &P) -> bool
[src]
fn child_get_x_fill<P: Is<Actor>>(&self, child: &P) -> bool
[src]
fn child_get_y_align<P: Is<Actor>>(&self, child: &P) -> Align
[src]
fn child_get_y_expand<P: Is<Actor>>(&self, child: &P) -> bool
[src]
fn child_get_y_fill<P: Is<Actor>>(&self, child: &P) -> bool
[src]
fn child_set_column<P: Is<Actor>>(&self, child: &P, col: i32)
[src]
fn child_set_column_span<P: Is<Actor>>(&self, child: &P, span: i32)
[src]
fn child_set_row<P: Is<Actor>>(&self, child: &P, row: i32)
[src]
fn child_set_row_span<P: Is<Actor>>(&self, child: &P, span: i32)
[src]
fn child_set_x_align<P: Is<Actor>>(&self, child: &P, align: Align)
[src]
fn child_set_x_expand<P: Is<Actor>>(&self, child: &P, expand: bool)
[src]
fn child_set_x_fill<P: Is<Actor>>(&self, child: &P, fill: bool)
[src]
fn child_set_y_align<P: Is<Actor>>(&self, child: &P, align: Align)
[src]
fn child_set_y_expand<P: Is<Actor>>(&self, child: &P, expand: bool)
[src]
fn child_set_y_fill<P: Is<Actor>>(&self, child: &P, fill: bool)
[src]
fn get_actor_at(&self, row: u32, column: u32) -> Option<Actor>
[src]
get_actor_at: @table: a #Table @row: the row to look into @column: the column to look into
Get an actor at a given position in @table.
Return value: (transfer none): the #Actor a the given position, or None.
fn get_column_count(&self) -> u32
[src]
get_column_count: @table: A #Table
Retrieve the current number of columns in @table
Returns: the number of columns
fn get_column_spacing(&self) -> u32
[src]
get_column_spacing: @table: a #Table
Gets the amount of spacing between columns.
Returns: the spacing between columns in device units
fn get_row_count(&self) -> u32
[src]
get_row_count: @table: A #Table
Retrieve the current number rows in the @table
Returns: the number of rows
fn get_row_spacing(&self) -> u32
[src]
get_row_spacing: @table: a #Table
Gets the amount of spacing between rows.
Returns: the spacing between rows in device units
fn insert_actor<P: Is<Actor>>(&self, actor: &P, row: u32, column: u32)
[src]
insert_actor: @table: a #Table @actor: the child to insert @row: the row to place the child into @column: the column to place the child into
Insert an actor at the specified row and column
Note, column and rows numbers start from zero
fn set_column_spacing(&self, spacing: u32)
[src]
insert_actor_with_properties: @table: a #Table @actor: the child #Actor @row: the row to place the child into @column: the column to place the child into @first_property_name: name of the first property to set @…: value for the first property, followed optionally by more name/value pairs terminated with None.
Add an actor into at the specified row and column, with additional child properties to set.
set_column_spacing: @table: a #Table @spacing: spacing in pixels
Sets the amount of spacing between columns.
fn set_row_spacing(&self, spacing: u32)
[src]
set_row_spacing: @table: a #Table @spacing: spacing in pixels
Sets the amount of spacing between rows.
fn connect_property_column_count_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_column_spacing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_row_count_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_row_spacing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId