diff options
| author | Greg Ercolano <erco@seriss.com> | 2010-12-10 07:49:22 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2010-12-10 07:49:22 +0000 |
| commit | 7457f0dcafa3d9f82acb9d1e802daa45ec917415 (patch) | |
| tree | c80008a88164a5d7f39441b515587e4c6ca0d45a /examples/table-as-container.cxx | |
| parent | 4525d46ed947b64cbdd30ad5af6d886c3b12cf1f (diff) | |
Added table-spreadsheet example.
Various example mods.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7994 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'examples/table-as-container.cxx')
| -rw-r--r-- | examples/table-as-container.cxx | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/examples/table-as-container.cxx b/examples/table-as-container.cxx index c86f00d3c..bc13db9a1 100644 --- a/examples/table-as-container.cxx +++ b/examples/table-as-container.cxx @@ -1,8 +1,18 @@ // // "$Id$" // -// Show how FLTK widgets can be parented by Fl_Table. +// Show how FLTK widgets can be parented by Fl_Table. -erco 03/30/2003 // +// Originally the 'widgettable.cxx' example program that came with +// erco's Fl_Table widget. Added to FLTK in 2010. +// +// This demonstrates how to use Fl_Table as a 'container' for FLTK +// widgets; one widget per cell. This isn't optimal for large tables, +// where it's better to make one instance of a widget, and move it to +// where it's needed. For an example of this, see the example program +// "table-simple-spreadsheet.cxx" +// +// Copyright 2010 Greg Ercolano. // Copyright 1998-2010 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or |
