From 7457f0dcafa3d9f82acb9d1e802daa45ec917415 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Fri, 10 Dec 2010 07:49:22 +0000 Subject: Added table-spreadsheet example. Various example mods. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7994 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- examples/table-as-container.cxx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'examples/table-as-container.cxx') 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 -- cgit v1.2.3