From 2c61d60470b0583614437950066b2f63c4ac2782 Mon Sep 17 00:00:00 2001
From: Michael R Sweet
Date: Sun, 30 Sep 2001 20:25:36 +0000
Subject: Documentation updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
---
documentation/subclassing.html | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
(limited to 'documentation/subclassing.html')
diff --git a/documentation/subclassing.html b/documentation/subclassing.html
index 15bf6179f..ad2a1a6f0 100644
--- a/documentation/subclassing.html
+++ b/documentation/subclassing.html
@@ -164,7 +164,7 @@ Look through the header files for FL_RESERVED_TYPE to find an
unused number. If you make a subclass of Fl_Window
you must use FL_WINDOW + n (n must be in the
range 1 to 7).
-Handling Events
+
The virtual method int Fl_Widget::handle(int event) is called
to handle each event passed to the widget. It can:
@@ -173,7 +173,7 @@ to handle each event passed to the widget. It can:
if the widget needs to be redisplayed.
- Call
Fl_Widget::damage(n) if the widget needs a partial-update
-(assumming you provide support for this in your Fl_Widget::draw()
+(assuming you provide support for this in your Fl_Widget::draw()
method).
- Call
Fl_Widget::do_callback() if a callback should be generated.
@@ -226,7 +226,7 @@ int MyClass::handle(int event) {
You must return non-zero if your handle() method uses the
event. If you return zero it indicates to the parent widget that it can
try sending the event to another widget.
-Drawing the Widget
+
The draw() virtual method is called when FLTK wants you to
redraw your widget. It will be called if and only if damage()
is non-zero, and damage() will be cleared to zero after it
@@ -366,7 +366,7 @@ may be UTF-8) between applications:
It may be possible to cut/paste non-text data by using
--
cgit v1.2.3