Trait IGridListBoxConcept

pub trait IGridListBoxConcept: Inherits<Object> + Inherits<GridListBoxConcept> {
Show 42 methods // Provided methods fn get_direction(&self) -> Result<GridDirection, Error> { ... } fn set_direction(&self, value: GridDirection) -> Result<(), Error> { ... } fn get_cell_width(&self) -> Result<f32, Error> { ... } fn set_cell_width(&self, value: f32) -> Result<(), Error> { ... } fn get_cell_height(&self) -> Result<f32, Error> { ... } fn set_cell_height(&self, value: f32) -> Result<(), Error> { ... } fn get_item_area_begin(&self) -> Result<f32, Error> { ... } fn set_item_area_begin(&self, value: f32) -> Result<(), Error> { ... } fn get_item_area_end(&self) -> Result<f32, Error> { ... } fn set_item_area_end(&self, value: f32) -> Result<(), Error> { ... } fn get_grid_list_box_recognition_threshold(&self) -> Result<f32, Error> { ... } fn set_grid_list_box_recognition_threshold( &self, value: f32, ) -> Result<(), Error> { ... } fn get_grid_list_box_minimum_number_of_touches(&self) -> Result<i32, Error> { ... } fn set_grid_list_box_minimum_number_of_touches( &self, value: i32, ) -> Result<(), Error> { ... } fn get_grid_list_box_maximum_number_of_touches(&self) -> Result<i32, Error> { ... } fn set_grid_list_box_maximum_number_of_touches( &self, value: i32, ) -> Result<(), Error> { ... } fn get_grid_list_box_sensitivity(&self) -> Result<f32, Error> { ... } fn set_grid_list_box_sensitivity(&self, value: f32) -> Result<(), Error> { ... } fn get_grid_list_box_sliding_acceleration_coefficient( &self, ) -> Result<f32, Error> { ... } fn set_grid_list_box_sliding_acceleration_coefficient( &self, value: f32, ) -> Result<(), Error> { ... } fn get_grid_list_box_sliding_drag_coefficient(&self) -> Result<f32, Error> { ... } fn set_grid_list_box_sliding_drag_coefficient( &self, value: f32, ) -> Result<(), Error> { ... } fn get_grid_list_box_dragging_acceleration_coefficient( &self, ) -> Result<f32, Error> { ... } fn set_grid_list_box_dragging_acceleration_coefficient( &self, value: f32, ) -> Result<(), Error> { ... } fn get_grid_list_box_dragging_drag_coefficient(&self) -> Result<f32, Error> { ... } fn set_grid_list_box_dragging_drag_coefficient( &self, value: f32, ) -> Result<(), Error> { ... } fn get_grid_list_box_dragging_impulse_factor(&self) -> Result<f32, Error> { ... } fn set_grid_list_box_dragging_impulse_factor( &self, value: f32, ) -> Result<(), Error> { ... } fn get_grid_list_box_swipe_distance(&self) -> Result<f32, Error> { ... } fn set_grid_list_box_swipe_distance(&self, value: f32) -> Result<(), Error> { ... } fn get_calculated_offset(&self) -> Result<f32, Error> { ... } fn set_calculated_offset(&self, value: f32) -> Result<(), Error> { ... } fn get_scroll_position(&self) -> Result<Vector2, Error> { ... } fn set_scroll_position(&self, value: Vector2) -> Result<(), Error> { ... } fn get_scroll_target_position(&self) -> Result<Vector2, Error> { ... } fn set_scroll_target_position(&self, value: Vector2) -> Result<(), Error> { ... } fn get_scroll_speed(&self) -> Result<Vector2, Error> { ... } fn set_scroll_speed(&self, value: Vector2) -> Result<(), Error> { ... } fn get_scrolling(&self) -> Result<bool, Error> { ... } fn set_scrolling(&self, value: bool) -> Result<(), Error> { ... } fn get_reversed_scrolling(&self) -> Result<bool, Error> { ... } fn set_reversed_scrolling(&self, value: bool) -> Result<(), Error> { ... }
}
Expand description

GridListBoxConcept provides the common properties and messages for the GridListBox2D and GridListBox3D nodes.

Provided Methods§

fn get_direction(&self) -> Result<GridDirection, Error>

fn set_direction(&self, value: GridDirection) -> Result<(), Error>

fn get_cell_width(&self) -> Result<f32, Error>

fn set_cell_width(&self, value: f32) -> Result<(), Error>

fn get_cell_height(&self) -> Result<f32, Error>

fn set_cell_height(&self, value: f32) -> Result<(), Error>

fn get_item_area_begin(&self) -> Result<f32, Error>

fn set_item_area_begin(&self, value: f32) -> Result<(), Error>

fn get_item_area_end(&self) -> Result<f32, Error>

fn set_item_area_end(&self, value: f32) -> Result<(), Error>

fn get_grid_list_box_recognition_threshold(&self) -> Result<f32, Error>

fn set_grid_list_box_recognition_threshold( &self, value: f32, ) -> Result<(), Error>

fn get_grid_list_box_minimum_number_of_touches(&self) -> Result<i32, Error>

fn set_grid_list_box_minimum_number_of_touches( &self, value: i32, ) -> Result<(), Error>

fn get_grid_list_box_maximum_number_of_touches(&self) -> Result<i32, Error>

fn set_grid_list_box_maximum_number_of_touches( &self, value: i32, ) -> Result<(), Error>

fn get_grid_list_box_sensitivity(&self) -> Result<f32, Error>

fn set_grid_list_box_sensitivity(&self, value: f32) -> Result<(), Error>

fn get_grid_list_box_sliding_acceleration_coefficient( &self, ) -> Result<f32, Error>

fn set_grid_list_box_sliding_acceleration_coefficient( &self, value: f32, ) -> Result<(), Error>

fn get_grid_list_box_sliding_drag_coefficient(&self) -> Result<f32, Error>

fn set_grid_list_box_sliding_drag_coefficient( &self, value: f32, ) -> Result<(), Error>

fn get_grid_list_box_dragging_acceleration_coefficient( &self, ) -> Result<f32, Error>

fn set_grid_list_box_dragging_acceleration_coefficient( &self, value: f32, ) -> Result<(), Error>

fn get_grid_list_box_dragging_drag_coefficient(&self) -> Result<f32, Error>

fn set_grid_list_box_dragging_drag_coefficient( &self, value: f32, ) -> Result<(), Error>

fn get_grid_list_box_dragging_impulse_factor(&self) -> Result<f32, Error>

fn set_grid_list_box_dragging_impulse_factor( &self, value: f32, ) -> Result<(), Error>

fn get_grid_list_box_swipe_distance(&self) -> Result<f32, Error>

fn set_grid_list_box_swipe_distance(&self, value: f32) -> Result<(), Error>

fn get_calculated_offset(&self) -> Result<f32, Error>

fn set_calculated_offset(&self, value: f32) -> Result<(), Error>

fn get_scroll_position(&self) -> Result<Vector2, Error>

fn set_scroll_position(&self, value: Vector2) -> Result<(), Error>

fn get_scroll_target_position(&self) -> Result<Vector2, Error>

fn set_scroll_target_position(&self, value: Vector2) -> Result<(), Error>

fn get_scroll_speed(&self) -> Result<Vector2, Error>

fn set_scroll_speed(&self, value: Vector2) -> Result<(), Error>

fn get_scrolling(&self) -> Result<bool, Error>

fn set_scrolling(&self, value: bool) -> Result<(), Error>

fn get_reversed_scrolling(&self) -> Result<bool, Error>

fn set_reversed_scrolling(&self, value: bool) -> Result<(), Error>

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.

Implementors§