From 4b8754ace4ce4974e7ef8a83f3c830d56aa7f1d0 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sat, 30 Jan 1999 17:30:09 +0000 Subject: Updated Fl_Browser documentation Added widget hierarchy to Appendix A. Fixed doubled-up fl_input and fl_choice links (names are not case sensitive...) Added FLUID tutorial from Craig P. Earls (none of the sources yet, just the docos and images) git-svn-id: file:///fltk/svn/fltk/trunk@258 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Browser.html | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) (limited to 'documentation/Fl_Browser.html') diff --git a/documentation/Fl_Browser.html b/documentation/Fl_Browser.html index cfd6c9ba8..26207eebf 100644 --- a/documentation/Fl_Browser.html +++ b/documentation/Fl_Browser.html @@ -50,39 +50,31 @@ subclass of Fl_Browser_.

- - - +
  • middleline
  • - -
    @@ -97,6 +89,8 @@ int, const char * = 0) the strdup() function. It may also be NULL to make a blank line. The void * argument is returned as the data() of the new item. +

    void Fl_Browser::bottomline(int n)

    +Scrolls the browser so the bottom line in the browser is n.

    void Fl_Browser::clear()

    Remove all the lines in the browser.

    uchar Fl_Browser::column_char() const @@ -170,6 +164,8 @@ string then this just clears the browser. This returns zero if there was any error in opening or reading the file, in which case errno is set to the system error. The data() of each line is set to NULL. +

    void Fl_Browser::middleline(int n)

    +Scrolls the browser so the middle line in the browser is n.

    void Fl_Browser::move(int to, int from)

    Line from is removed and reinserted at to; to is calculated after the line is removed. @@ -178,6 +174,7 @@ to NULL. The first form returns the current vertical scrollbar position, where 0 corresponds to the top. If there is not vertical scrollbar then this will always return 0. +

    The second form sets the vertical scrollbar position to p.

    void Fl_Browser::remove(int n)

    Remove line n and make the browser one line shorter.

    void Fl_Browser::show(int n)

    @@ -192,9 +189,8 @@ out of range it returns NULL.

    The second form sets the text for line n.

    int Fl_Browser::topline() const
    void Fl_Browser::topline(int n)

    - The first form returns the current top line in the browser. If there +The first form returns the current top line in the browser. If there is no vertical scrollbar then this will always return 1. -

    The second form sets the top line in the browser to n.

    -

    The second form sets the vertical scrollbar position to p.

    +

    The second form scrolls the browser so the top line in the browser is n.

    int Fl_Browser::visible(int n) const

    - Returns a non-zero value if line n is visible. \ No newline at end of file + Returns a non-zero value if line n is visible. -- cgit v1.2.3