Trait clutter::FlowLayoutExt [−][src]
pub trait FlowLayoutExt: 'static {}Show methods
fn get_column_spacing(&self) -> f32; fn get_column_width(&self) -> (f32, f32); fn get_homogeneous(&self) -> bool; fn get_orientation(&self) -> FlowOrientation; fn get_row_height(&self) -> (f32, f32); fn get_row_spacing(&self) -> f32; fn get_snap_to_grid(&self) -> bool; fn set_column_spacing(&self, spacing: f32); fn set_column_width(&self, min_width: f32, max_width: f32); fn set_homogeneous(&self, homogeneous: bool); fn set_orientation(&self, orientation: FlowOrientation); fn set_row_height(&self, min_height: f32, max_height: f32); fn set_row_spacing(&self, spacing: f32); fn set_snap_to_grid(&self, snap_to_grid: bool); fn get_property_max_column_width(&self) -> f32; fn set_property_max_column_width(&self, max_column_width: f32); fn get_property_max_row_height(&self) -> f32; fn set_property_max_row_height(&self, max_row_height: f32); fn get_property_min_column_width(&self) -> f32; fn set_property_min_column_width(&self, min_column_width: f32); fn get_property_min_row_height(&self) -> f32; fn set_property_min_row_height(&self, min_row_height: f32); fn connect_property_column_spacing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_homogeneous_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_max_column_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_max_row_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_min_column_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_min_row_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_orientation_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_row_spacing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_snap_to_grid_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
Required methods
fn get_column_spacing(&self) -> f32
[src]
Retrieves the spacing between columns
Returns
the spacing between columns of the FlowLayout
,
in pixels
fn get_column_width(&self) -> (f32, f32)
[src]
Retrieves the minimum and maximum column widths
min_width
return location for the minimum column width, or None
max_width
return location for the maximum column width, or None
fn get_homogeneous(&self) -> bool
[src]
fn get_orientation(&self) -> FlowOrientation
[src]
fn get_row_height(&self) -> (f32, f32)
[src]
Retrieves the minimum and maximum row heights
min_height
return location for the minimum row height, or None
max_height
return location for the maximum row height, or None
fn get_row_spacing(&self) -> f32
[src]
fn get_snap_to_grid(&self) -> bool
[src]
Retrieves the value of FlowLayout:snap-to-grid
property
Returns
true
if the self
is placing its children on a grid
fn set_column_spacing(&self, spacing: f32)
[src]
fn set_column_width(&self, min_width: f32, max_width: f32)
[src]
Sets the minimum and maximum widths that a column can have
min_width
minimum width of a column
max_width
maximum width of a column
fn set_homogeneous(&self, homogeneous: bool)
[src]
Sets whether the self
should allocate the same space for
each child
homogeneous
whether the layout should be homogeneous or not
fn set_orientation(&self, orientation: FlowOrientation)
[src]
Sets the orientation of the flow layout
The orientation controls the direction used to allocate the children: either horizontally or vertically. The orientation also controls the direction of the overflowing
orientation
the orientation of the layout
fn set_row_height(&self, min_height: f32, max_height: f32)
[src]
Sets the minimum and maximum heights that a row can have
min_height
the minimum height of a row
max_height
the maximum height of a row
fn set_row_spacing(&self, spacing: f32)
[src]
fn set_snap_to_grid(&self, snap_to_grid: bool)
[src]
Whether the self
should place its children on a grid.
snap_to_grid
true
if self
should place its children on a grid
fn get_property_max_column_width(&self) -> f32
[src]
Maximum width for each column in the layout, in pixels. If set to -1 the width will be the maximum child width
fn set_property_max_column_width(&self, max_column_width: f32)
[src]
Maximum width for each column in the layout, in pixels. If set to -1 the width will be the maximum child width
fn get_property_max_row_height(&self) -> f32
[src]
Maximum height for each row in the layout, in pixels. If set to -1 the width will be the maximum child height
fn set_property_max_row_height(&self, max_row_height: f32)
[src]
Maximum height for each row in the layout, in pixels. If set to -1 the width will be the maximum child height
fn get_property_min_column_width(&self) -> f32
[src]
Minimum width for each column in the layout, in pixels
fn set_property_min_column_width(&self, min_column_width: f32)
[src]
Minimum width for each column in the layout, in pixels
fn get_property_min_row_height(&self) -> f32
[src]
Minimum height for each row in the layout, in pixels
fn set_property_min_row_height(&self, min_row_height: f32)
[src]
Minimum height for each row in the layout, in pixels
fn connect_property_column_spacing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_homogeneous_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_max_column_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_max_row_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_min_column_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_min_row_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_orientation_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
fn connect_property_snap_to_grid_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<FlowLayout>> FlowLayoutExt for O
[src]
fn get_column_spacing(&self) -> f32
[src]
fn get_column_width(&self) -> (f32, f32)
[src]
fn get_homogeneous(&self) -> bool
[src]
fn get_orientation(&self) -> FlowOrientation
[src]
fn get_row_height(&self) -> (f32, f32)
[src]
fn get_row_spacing(&self) -> f32
[src]
fn get_snap_to_grid(&self) -> bool
[src]
fn set_column_spacing(&self, spacing: f32)
[src]
fn set_column_width(&self, min_width: f32, max_width: f32)
[src]
fn set_homogeneous(&self, homogeneous: bool)
[src]
fn set_orientation(&self, orientation: FlowOrientation)
[src]
fn set_row_height(&self, min_height: f32, max_height: f32)
[src]
fn set_row_spacing(&self, spacing: f32)
[src]
fn set_snap_to_grid(&self, snap_to_grid: bool)
[src]
fn get_property_max_column_width(&self) -> f32
[src]
fn set_property_max_column_width(&self, max_column_width: f32)
[src]
fn get_property_max_row_height(&self) -> f32
[src]
fn set_property_max_row_height(&self, max_row_height: f32)
[src]
fn get_property_min_column_width(&self) -> f32
[src]
fn set_property_min_column_width(&self, min_column_width: f32)
[src]
fn get_property_min_row_height(&self) -> f32
[src]
fn set_property_min_row_height(&self, min_row_height: f32)
[src]
fn connect_property_column_spacing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_homogeneous_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_max_column_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_max_row_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_min_column_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_min_row_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_orientation_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
fn connect_property_snap_to_grid_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId