diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-09-30 20:25:36 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-09-30 20:25:36 +0000 |
| commit | 2c61d60470b0583614437950066b2f63c4ac2782 (patch) | |
| tree | f32ab07a4acdbfca9f3389ec851dc5c4b9e09653 /documentation/Fl_Widget.html | |
| parent | eb9a83b3483608286be0a9ead6b98938d21370f3 (diff) | |
Documentation updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Fl_Widget.html')
| -rw-r--r-- | documentation/Fl_Widget.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/documentation/Fl_Widget.html b/documentation/Fl_Widget.html index 3729f9872..9d3d5545d 100644 --- a/documentation/Fl_Widget.html +++ b/documentation/Fl_Widget.html @@ -21,7 +21,7 @@ <H3>Description</H3> <TT>Fl_Widget</TT> is the base class for all widgets in FLTK. You can't create one of these because the constructor is not public. However you -can <A href="#subclassing">subclass</A> it. +can <A href="subclassing.html#subclassing">subclass</A> it. <P>All "property" accessing methods, such as <TT>color()</TT>, <TT> parent()</TT>, or <TT>argument()</TT> are implemented as trivial inline functions and thus are as fast and small as accessing fields in a @@ -95,16 +95,16 @@ to call <TT>redraw()</TT> after these. </P> </TD></TR> </TABLE> </CENTER> -<H4>Fl_Widget::Fl_Widget(int x, int y, int w, int h, const char* -label=0);</H4> +<H4><A NAME="Fl_Widget.Fl_Widget">Fl_Widget::Fl_Widget(int x, int y, int w, int h, const char* +label=0);</A></H4> This is the protected constructor for an Fl_Widget, but all derived widgets have a matching public constructor. It takes a value for x(), y(), w(), h(), and an optional value for label(). -<H4>virtual Fl_Widget::~Fl_Widget();</H4> +<H4><A NAME="Fl_Widget.~Fl_Widget">virtual Fl_Widget::~Fl_Widget();</A></H4> Destroying single widgets is not very common. It is your responsibility to either remove() them from any enclosing group, or to destroy that group <I>immediately</I> after destroying the children. -<H4>uchar Fl_Widget::type() const;</H4> +<H4><A NAME="Fl_Widget.type">uchar Fl_Widget::type() const;</A></H4> This value is used for Forms compatability and to simulate RTTI. <H4><A name=Fl_Widget.x>short Fl_Widget::x() const</A> <BR><A name=Fl_Widget.y>short Fl_Widget::y() const</A> @@ -161,7 +161,7 @@ the widget. const char*) <BR> uchar Fl_Widget::labeltype() const <BR> void Fl_Widget::labeltype(Fl_Labeltype)</A></H4> - A <A href=#LabelTypes><TT>labeltype</TT></A> identifies a routine that + A <A href="common.html#labeltypes"><TT>labeltype</TT></A> identifies a routine that draws the label of the widget. This can be used for special effects such as emboss, or to use the <TT>label()</TT> pointer as another form of data such as a bitmap. The value <TT>FL_NORMAL_LABEL</TT> prints @@ -275,7 +275,7 @@ FL_DEACTIVATE</TT> to the widget if <tt>active_r()</tt> is true. <A name=Fl_Widget.set_output>void Fl_Widget::set_output()</A></BR> <A name=Fl_Widget.clear_output>void Fl_Widget::clear_output()</A></H4> <tt>output()</tt> means the same as <tt>!active()</tt> except it does -not change how the widget is drawn. The widget will not recieve any +not change how the widget is drawn. The widget will not receive any events. This is useful for making scrollbars or buttons that work as displays rather than input devices. @@ -284,9 +284,9 @@ displays rather than input devices. This is the same as <TT>(active() && visible() && !output())</TT> but is faster. <H4><A name=Fl_Widget.redraw>void Fl_Widget::redraw()</A></H4> - Mark the widget as needing its <TT>draw()</TT> routine called. + Mark the widget as needing its <A HREF="subclassing.html#draw"><TT>draw()</TT></A> routine called. <H4><A name=Fl_Widget.damage>uchar Fl_Widget::damage() const</A></H4> - Non-zero if <TT>draw()</TT> needs to be called. Actually this is a + Non-zero if <A HREF="subclassing.html#draw"><TT>draw()</TT></A> needs to be called. Actually this is a bit field that the widget subclass can use to figure out what parts to draw. <H4><A name=Fl_Widget.parent>Fl_Widget *Fl_Widget::parent() const</A></H4> |
