Re: XForms: info function for buttons

From: Jens Thoms Toerring (Jens.Toerring@physik.fu-berlin.de)
Date: Tue May 06 2003 - 06:12:17 EDT

  • Next message: Walter Spierings: "Re: XForms: info function for buttons"

    # To subscribers of the xforms list from Jens Thoms Toerring <Jens.Toerring@physik.fu-berlin.de> :

    On Tue, May 06, 2003 at 10:46:34AM +0200, Walter Spierings wrote:
    > # To subscribers of the xforms list from Walter Spierings <Walter@holoprint.com> :
    >
    > I'm working on program with lots of small buttons using Xforms
    > Now i want to make an info function for the users of
    > the program, when they put there mouse above a
    > button there must appear a message with the
    > function of the button.
    >
    > Does anyone have advise for me on how i can do this
    > with XForms.

    The function

        fl_set_object_helper( FL_OBJECT *ob, const char *tip )

    should be exactly what you're looking for. The first argument is the
    address of the object representing the button, the second the string
    to be displayed when the mouse hovers over the button for some time.

                                         Regards, Jens

    -- 
          _  _____  _____
         | ||_   _||_   _|        Jens.Toerring@physik.fu-berlin.de
      _  | |  | |    | |
     | |_| |  | |    | |          http://www.physik.fu-berlin.de/~toerring
      \___/ens|_|homs|_|oerring
    _________________________________________________
    To unsubscribe, send the message "unsubscribe" to
    xforms-request@bob.usuhs.mil   or see
    http://bob.usuhs.mil/mailserv/xforms.html
    XForms Home Page: http://world.std.com/~xforms
    List Archive: http://bob.usuhs.mil/mailserv/list-archives/
    Development: http://savannah.nongnu.org/files/?group=xforms
    



    This archive was generated by hypermail 2b29 : Tue May 06 2003 - 06:12:52 EDT