From dc70b69502de6769c8fe109161f984494a0c00b8 Mon Sep 17 00:00:00 2001
From: Michael R Sweet
Date: Tue, 19 Jan 1999 20:53:39 +0000
Subject: Updated documentation with changes from Bill. Added new image files
for buttons.
git-svn-id: file:///fltk/svn/fltk/trunk@237 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
---
documentation/basics.html | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
(limited to 'documentation/basics.html')
diff --git a/documentation/basics.html b/documentation/basics.html
index 4de221c41..4b78f840b 100644
--- a/documentation/basics.html
+++ b/documentation/basics.html
@@ -121,7 +121,7 @@ program by closing the window or pressing the ESCape key.
arguments to the constructors are usually one of the following:
-Fl_Widget(boxtype, x, y, width, height)
+Fl_Widget(boxtype, x, y, width, height, label)
Fl_Widget(x, y, width, height)
Fl_Widget(width, height)
@@ -139,6 +139,11 @@ pixels.
The width and height parameters determine the size
of the widget or window in pixels. The maximum widget size is
typically governed by the underlying window system or hardware.
+label is a pointer to a character string to label the
+widget with or NULL. If not specified the label defaults to
+NULL. The label string must be in static storage (such as a
+string constant) because FLTK does not make a copy of it (it just uses
+the pointer).
Labels
All widgets support labels. In the case of window widgets, the label
is used for the label in the title bar. Our example program calls the
--
cgit v1.2.3