From a42ded75e297cedfcb448537e77d13350df0fe92 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 23 Nov 2004 19:47:52 +0000 Subject: Added the 2.0 Fl_Widget::copy_label() method to allow FLTK 1.x applications to have their label strings managed by FLTK (STR #630) Added Fl::delete_widget() method to safely delete widgets in callback methods (STR #629) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3917 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl.html | 11 +++++++++++ documentation/Fl_Widget.html | 16 ++++++++++++++-- documentation/common.html | 11 ++++++++++- documentation/index.html | 6 +++--- documentation/preface.html | 6 +++--- 5 files changed, 41 insertions(+), 9 deletions(-) (limited to 'documentation') diff --git a/documentation/Fl.html b/documentation/Fl.html index 5e34d8394..96791f3d3 100644 --- a/documentation/Fl.html +++ b/documentation/Fl.html @@ -49,6 +49,7 @@ state information and global methods for the current application.

  • copy
  • damage
  • default_atclose
  • +
  • delete_widget
  • display
  • dnd
  • dnd_text_ops
  • @@ -491,6 +492,16 @@ void damage(int x);

    void default_atclose(Fl_Window*,void*);

    +

    This is the default callback for window widgets. It hides the +window and then calls the default widget callback.

    + +

    void delete_widget(Fl_Widget*);

    + +

    Schedules a widget for deletion when it is safe to do so. Use +this method to delete a widget inside a callback function. When +deleting groups or windows, you must only delete the group or +window widget and not the individual child widgets.

    +

    void display(const char*);

    Sets the X display to use for all windows. Actually this just sets diff --git a/documentation/Fl_Widget.html b/documentation/Fl_Widget.html index f7e0e09e5..179693959 100644 --- a/documentation/Fl_Widget.html +++ b/documentation/Fl_Widget.html @@ -53,6 +53,7 @@ to call redraw() after these.