Trait ux::TableExt [−][src]
pub trait TableExt: 'static {}Show methods
pub fn child_get_column<P>(&self, child: &P) -> i32
where
P: Is<Actor>; pub fn child_get_column_span<P>(&self, child: &P) -> i32
where
P: Is<Actor>; pub fn child_get_row<P>(&self, child: &P) -> i32
where
P: Is<Actor>; pub fn child_get_row_span<P>(&self, child: &P) -> i32
where
P: Is<Actor>; pub fn child_get_x_align<P>(&self, child: &P) -> Align
where
P: Is<Actor>; pub fn child_get_x_expand<P>(&self, child: &P) -> bool
where
P: Is<Actor>; pub fn child_get_x_fill<P>(&self, child: &P) -> bool
where
P: Is<Actor>; pub fn child_get_y_align<P>(&self, child: &P) -> Align
where
P: Is<Actor>; pub fn child_get_y_expand<P>(&self, child: &P) -> bool
where
P: Is<Actor>; pub fn child_get_y_fill<P>(&self, child: &P) -> bool
where
P: Is<Actor>; pub fn child_set_column<P>(&self, child: &P, col: i32)
where
P: Is<Actor>; pub fn child_set_column_span<P>(&self, child: &P, span: i32)
where
P: Is<Actor>; pub fn child_set_row<P>(&self, child: &P, row: i32)
where
P: Is<Actor>; pub fn child_set_row_span<P>(&self, child: &P, span: i32)
where
P: Is<Actor>; pub fn child_set_x_align<P>(&self, child: &P, align: Align)
where
P: Is<Actor>; pub fn child_set_x_expand<P>(&self, child: &P, expand: bool)
where
P: Is<Actor>; pub fn child_set_x_fill<P>(&self, child: &P, fill: bool)
where
P: Is<Actor>; pub fn child_set_y_align<P>(&self, child: &P, align: Align)
where
P: Is<Actor>; pub fn child_set_y_expand<P>(&self, child: &P, expand: bool)
where
P: Is<Actor>; pub fn child_set_y_fill<P>(&self, child: &P, fill: bool)
where
P: Is<Actor>; pub fn get_actor_at(&self, row: u32, column: u32) -> Option<Actor>; pub fn get_column_count(&self) -> u32; pub fn get_column_spacing(&self) -> u32; pub fn get_row_count(&self) -> u32; pub fn get_row_spacing(&self) -> u32; pub fn insert_actor<P>(&self, actor: &P, row: u32, column: u32)
where
P: Is<Actor>; pub fn set_column_spacing(&self, spacing: u32); pub fn set_row_spacing(&self, spacing: u32); pub fn connect_property_column_count_notify<F>(
&self,
f: F
) -> SignalHandlerId
where
F: 'static + Fn(&Self); pub fn connect_property_column_spacing_notify<F>(
&self,
f: F
) -> SignalHandlerId
where
F: 'static + Fn(&Self); pub fn connect_property_row_count_notify<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self); pub fn connect_property_row_spacing_notify<F>(
&self,
f: F
) -> SignalHandlerId
where
F: 'static + Fn(&Self);
Required methods
pub fn child_get_column<P>(&self, child: &P) -> i32 where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_get_column_span<P>(&self, child: &P) -> i32 where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_get_row<P>(&self, child: &P) -> i32 where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_get_row_span<P>(&self, child: &P) -> i32 where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_get_x_align<P>(&self, child: &P) -> Align where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_get_x_expand<P>(&self, child: &P) -> bool where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_get_x_fill<P>(&self, child: &P) -> bool where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_get_y_align<P>(&self, child: &P) -> Align where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_get_y_expand<P>(&self, child: &P) -> bool where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_get_y_fill<P>(&self, child: &P) -> bool where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_set_column<P>(&self, child: &P, col: i32) where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_set_column_span<P>(&self, child: &P, span: i32) where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_set_row<P>(&self, child: &P, row: i32) where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_set_row_span<P>(&self, child: &P, span: i32) where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_set_x_align<P>(&self, child: &P, align: Align) where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_set_x_expand<P>(&self, child: &P, expand: bool) where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_set_x_fill<P>(&self, child: &P, fill: bool) where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_set_y_align<P>(&self, child: &P, align: Align) where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_set_y_expand<P>(&self, child: &P, expand: bool) where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_set_y_fill<P>(&self, child: &P, fill: bool) where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub 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.
pub 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
pub 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
pub 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
pub 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
pub fn insert_actor<P>(&self, actor: &P, row: u32, column: u32) where
P: Is<Actor>,
[src]
P: Is<Actor>,
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
pub 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.
pub 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.
pub fn connect_property_column_count_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
pub fn connect_property_column_spacing_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
pub fn connect_property_row_count_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
pub fn connect_property_row_spacing_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
Implementors
impl<O> TableExt for O where
O: Is<Table>,
[src]
impl<O> TableExt for O where
O: Is<Table>,
[src]pub fn child_get_column<P>(&self, child: &P) -> i32 where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_get_column_span<P>(&self, child: &P) -> i32 where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_get_row<P>(&self, child: &P) -> i32 where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_get_row_span<P>(&self, child: &P) -> i32 where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_get_x_align<P>(&self, child: &P) -> Align where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_get_x_expand<P>(&self, child: &P) -> bool where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_get_x_fill<P>(&self, child: &P) -> bool where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_get_y_align<P>(&self, child: &P) -> Align where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_get_y_expand<P>(&self, child: &P) -> bool where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_get_y_fill<P>(&self, child: &P) -> bool where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_set_column<P>(&self, child: &P, col: i32) where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_set_column_span<P>(&self, child: &P, span: i32) where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_set_row<P>(&self, child: &P, row: i32) where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_set_row_span<P>(&self, child: &P, span: i32) where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_set_x_align<P>(&self, child: &P, align: Align) where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_set_x_expand<P>(&self, child: &P, expand: bool) where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_set_x_fill<P>(&self, child: &P, fill: bool) where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_set_y_align<P>(&self, child: &P, align: Align) where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_set_y_expand<P>(&self, child: &P, expand: bool) where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub fn child_set_y_fill<P>(&self, child: &P, fill: bool) where
P: Is<Actor>,
[src]
P: Is<Actor>,
pub 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.
pub 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
pub 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
pub 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
pub 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
pub fn insert_actor<P>(&self, actor: &P, row: u32, column: u32) where
P: Is<Actor>,
[src]
P: Is<Actor>,
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
pub 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.
pub 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.
pub fn connect_property_column_count_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_column_spacing_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_row_count_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_row_spacing_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),