[−][src]Struct fltk::table::TableRow
Creates a table row
Implementations
impl TableRow
[src]
pub fn set_type(&mut self, val: TableRowSelectMode)
[src]
Sets the type of the table row
pub fn get_type(&self) -> TableRowSelectMode
[src]
Gets the type of the table row
pub fn row_selected(&mut self, row: i32) -> bool
[src]
Returns whether a row was selected
pub fn select_row(
&mut self,
row: i32,
selection_flag: TableRowSelectFlag
) -> Result<(), FltkError>
[src]
&mut self,
row: i32,
selection_flag: TableRowSelectFlag
) -> Result<(), FltkError>
Selects a row
pub fn select_all_rows(&mut self, selection_flag: TableRowSelectFlag)
[src]
Selects all rows
Trait Implementations
impl Clone for TableRow
[src]
impl Debug for TableRow
[src]
impl Default for TableRow
[src]
impl GroupExt for TableRow
[src]
pub fn begin(&self)
[src]
pub fn end(&self)
[src]
pub fn clear(&mut self)
[src]
pub fn children(&self) -> u32
[src]
pub fn child(&self, idx: u32) -> Option<Box<dyn WidgetExt>>
[src]
pub fn find<W: WidgetExt>(&self, widget: &W) -> u32
[src]
pub fn add<W: WidgetExt>(&mut self, widget: &W)
[src]
pub fn insert<W: WidgetExt>(&mut self, widget: &W, index: u32)
[src]
pub fn remove<W: WidgetExt>(&mut self, widget: &W)
[src]
pub fn resizable<W: WidgetExt>(&self, widget: &W)
[src]
pub fn make_resizable(&mut self, val: bool)
[src]
impl IntoIterator for TableRow
[src]
type Item = Box<dyn WidgetExt>
The type of the elements being iterated over.
type IntoIter = IntoIter<Self::Item>
Which kind of iterator are we turning this into?
pub fn into_iter(self) -> Self::IntoIter
[src]
impl Send for TableRow
[src]
impl Sync for TableRow
[src]
impl TableExt for TableRow
[src]
pub fn clear(&mut self)
[src]
pub fn set_table_frame(&mut self, frame: FrameType)
[src]
pub fn table_frame(&self) -> FrameType
[src]
pub fn set_rows(&mut self, val: u32)
[src]
pub fn rows(&self) -> u32
[src]
pub fn set_cols(&mut self, val: u32)
[src]
pub fn cols(&self) -> u32
[src]
pub fn visible_cells(
&mut self,
r1: &mut i32,
r2: &mut i32,
c1: &mut i32,
c2: &mut i32
)
[src]
&mut self,
r1: &mut i32,
r2: &mut i32,
c1: &mut i32,
c2: &mut i32
)
pub fn is_interactive_resize(&self) -> bool
[src]
pub fn row_resize(&self) -> bool
[src]
pub fn set_row_resize(&mut self, flag: bool)
[src]
pub fn col_resize(&self) -> bool
[src]
pub fn set_col_resize(&mut self, flag: bool)
[src]
pub fn col_resize_min(&self) -> u32
[src]
pub fn set_col_resize_min(&mut self, val: u32)
[src]
pub fn row_resize_min(&self) -> u32
[src]
pub fn set_row_resize_min(&mut self, val: u32)
[src]
pub fn row_header(&self) -> bool
[src]
pub fn set_row_header(&mut self, flag: bool)
[src]
pub fn col_header(&self) -> bool
[src]
pub fn set_col_header(&mut self, flag: bool)
[src]
pub fn set_col_header_height(&mut self, height: i32)
[src]
pub fn col_header_height(&self) -> i32
[src]
pub fn set_row_header_width(&mut self, width: i32)
[src]
pub fn row_header_width(&self) -> i32
[src]
pub fn set_row_header_color(&mut self, val: Color)
[src]
pub fn row_header_color(&self) -> Color
[src]
pub fn set_col_header_color(&mut self, val: Color)
[src]
pub fn col_header_color(&self) -> Color
[src]
pub fn set_row_height(&mut self, row: i32, height: i32)
[src]
pub fn row_height(&self, row: i32) -> i32
[src]
pub fn set_col_width(&mut self, col: i32, width: i32)
[src]
pub fn col_width(&self, col: i32) -> i32
[src]
pub fn set_row_height_all(&mut self, height: i32)
[src]
pub fn set_col_width_all(&mut self, width: i32)
[src]
pub fn set_row_position(&mut self, row: i32)
[src]
pub fn set_col_position(&mut self, col: i32)
[src]
pub fn row_position(&self) -> i32
[src]
pub fn col_position(&self) -> i32
[src]
pub fn set_top_row(&mut self, row: i32)
[src]
pub fn top_row(&self) -> i32
[src]
pub fn is_selected(&self, r: i32, c: i32) -> bool
[src]
pub fn get_selection(
&self,
row_top: &mut i32,
col_left: &mut i32,
row_bot: &mut i32,
col_right: &mut i32
)
[src]
&self,
row_top: &mut i32,
col_left: &mut i32,
row_bot: &mut i32,
col_right: &mut i32
)
pub fn set_selection(
&mut self,
row_top: i32,
col_left: i32,
row_bot: i32,
col_right: i32
)
[src]
&mut self,
row_top: i32,
col_left: i32,
row_bot: i32,
col_right: i32
)
pub fn unset_selection(&mut self)
[src]
pub fn move_cursor_with_shift_select(
&mut self,
r: i32,
c: i32,
shiftselect: bool
) -> Result<(), FltkError>
[src]
&mut self,
r: i32,
c: i32,
shiftselect: bool
) -> Result<(), FltkError>
pub fn move_cursor(&mut self, r: i32, c: i32) -> Result<(), FltkError>
[src]
pub fn init_sizes(&mut self)
[src]
pub fn scrollbar_size(&self) -> u32
[src]
pub fn set_scrollbar_size(&mut self, new_size: u32)
[src]
pub fn set_tab_cell_nav(&mut self, val: u32)
[src]
pub fn tab_cell_nav(&self) -> u32
[src]
pub fn draw_cell<F: FnMut(TableContext, i32, i32, i32, i32, i32, i32) + 'static>(
&mut self,
cb: F
)
[src]
&mut self,
cb: F
)
pub fn draw_cell2<F: FnMut(&mut Self, TableContext, i32, i32, i32, i32, i32, i32) + 'static>(
&mut self,
cb: F
)
[src]
&mut self,
cb: F
)
pub unsafe fn draw_cell_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn callback_col(&self) -> i32
[src]
pub fn callback_row(&self) -> i32
[src]
pub fn callback_context(&self) -> TableContext
[src]
impl WidgetBase for TableRow
[src]
pub fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> TableRow
[src]
pub fn delete(mut wid: Self)
[src]
pub unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
pub unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
pub fn handle<F: FnMut(Event) -> bool + 'static>(&mut self, cb: F)
[src]
pub fn handle2<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
pub fn draw<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn draw2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
pub unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetExt for TableRow
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> CallbackTrigger
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(mut self: Self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(mut self: Self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(mut self: Self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(mut self: Self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(mut self: Self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(mut self: Self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(mut self: Self, x: i32, y: i32) -> Self
[src]
pub fn with_size(mut self: Self, width: i32, height: i32) -> Self
[src]
pub fn with_label(mut self: Self, title: &str) -> Self
[src]
pub fn with_align(mut self: Self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Clone + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub unsafe fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,