From 2ba819c6e72beead3fc34858a360bb460751f163 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 21 Oct 2002 18:05:28 +0000 Subject: Add missing documentation. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2681 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl.html | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/documentation/Fl.html b/documentation/Fl.html index 5123c5939..01e36e437 100644 --- a/documentation/Fl.html +++ b/documentation/Fl.html @@ -46,6 +46,7 @@ state information and global methods for the current application.

  • check
  • compose
  • compose_reset
  • +
  • copy
  • damage
  • default_atclose
  • display
  • @@ -452,6 +453,14 @@ The next call to Fl::compose() will start out in an initial state. In particular it will not set "del" to non-zero. This call is very fast so it is ok to call it many times and in many places. +

    void copy(const char *stuff, int len, int clipboard);

    + +

    Copies the data pointed to by stuff to the selection +(0) or primary (1) clipboard. The selection clipboard is used +for middle-mouse pastes and for drag-and-drop selections. The +primary clipboard is used for traditional copy/cut/paste +operations. +

    int damage();
    void damage(int x);

    @@ -493,12 +502,20 @@ prints the error message to stderr and returns.

    int event_alt();

    +

    Returns non-zero if the Alt key is pressed. +

    int event_button1();

    +

    Returns non-zero if button 1 is pressed. +

    int event_button2();

    +

    Returns non-zero if button 2 is pressed. +

    int event_button3();

    +

    Returns non-zero if button 3 is pressed. +

    int event_button();

    Returns which mouse button was pressed. This returns garbage if the @@ -507,6 +524,9 @@ event.

    int event_buttons();

    +

    Returns the button state bits; if non-zero, then at least one +button is pressed. +

    int event_clicks();

    The first form returns non-zero if the most recent FL_PUSH or @@ -520,8 +540,14 @@ later code does not think an item was double-clicked.

    int event_ctrl();

    +

    Returns non-zero if the Control key is pressed. +

    int event();

    +

    Returns the last event that was processed. This can be used +to determine if a callback is being done in response to a +keypress, mouse click, etc. +

    int event_inside(int,int,int,int);
    int event_inside(const Fl_Widget*);

    @@ -598,6 +624,8 @@ you paste a nul character.

    int event_shift();

    +

    Returns non-zero if the Shift key is pressed. +

    int event_state();
    int event_state(int i);

    @@ -999,7 +1027,7 @@ or the scheme resource under X11. copied to an internal buffer by FLTK (be careful if doing this in response to an FL_PASTE as this may be the same buffer returned by event_text()). The selection_owner() -widget is set to the passed owner (possibly sending +widget is set to the passed owner.

    Fl_Widget* selection_owner();
    void selection_owner(Fl_Widget*);

    -- cgit v1.2.3