A smart table widget for fltk-rs. It aims to reduce the amount of boilerplate required to create a table. Usage [dependencies]fltk="1.2"fltk-table="0.1" Example usefltk::{app,enums,prelude::{GroupExt,WidgetExt},window,};usefltk_table::{SmartTable,TableOpts};fnmain(){letapp = app::...
A smart table widget for fltk-rs. Contribute to fltk-rs/fltk-table development by creating an account on GitHub.
"can", "em", "sub", "esc", "fs", "gs", "rs", "us"};static char* undobuffer;static int undobufferlength;static Fl_Text_Buffer* undowidget;static int undoat; // points after insertionstatic int undocut; // number of characters deleted there...
Test table size: 170×336mmMeasurement accuracy: ±2%Slider movement speed :(0-150) mm/min (adjustable)Slider stroke: 0-150mm (adjustable)Force range: 0-5NExternal dimensions: 500×335×220 mmPower supply: AC220V, 50Hz Configuration: Mainframe, speci...
A smart table widget for fltk-rs. Contribute to fltk-rs/fltk-table development by creating an account on GitHub.
20 changes: 20 additions & 0 deletions 20 src/lib.rs @@ -430,6 +430,16 @@ impl SmartTable { self.table.set_rows(self.table.rows()+1); } /// Append an empty row to your table pub fn append_empty_row(&mut self, val: &str) { let mut data = self.data.try_lock().unwrap...
pub fn Fl_Table_Row_clear_rows(self_: *mut Fl_Table_Row); } 10 changes: 10 additions & 0 deletions 10 fltk/src/table.rs Original file line numberDiff line numberDiff line change @@ -121,4 +121,14 @@ impl TableRow { pub fn select_all_rows(&mut self, selection_flag: TableRow...
A smart table widget for fltk-rs. Contribute to fltk-rs/fltk-table development by creating an account on GitHub.
description = "A smart table widget for fltk-rs"94 changes: 53 additions & 41 deletions 94 src/lib.rs @@ -207,7 +207,7 @@ impl SmartTable {/// Sets the tables options pub fn set_opts(&mut self, opts: TableOpts) { let mut data = self.data.lock().unwrap(); ...
SmartTable (via thefltk-table crate) Trees Tree TreeItem Drawing primitives (In the draw module) Surface types: Printer. ImageSurface. SvgFileSurface. GUI designer fltk-rs supports FLUID, the RAD wysiwyg designer for FLTK. Checkout thefl2rust crateandfl2rust template. ...