On Wed, 10 Feb 1999, Daniel Naber wrote:

DN> Asger Alstrup Nielsen wrote:
DN> 
DN> > change this.  Try "xev" and see if there is an appropriately discriminated
DN> 
DN> It only tells me about button press and release, not about doubleclicks
DN> and such.
DN> 
DN> My favourite editor (nedit) manually checks for a doubleclick using the
DN> time since the last click (I just looked that up). Perhaps that's
DN> necessary.
DN> 
DN> BTW, I noticed doubleclicking in the filedialog quite often fails, because
DN> you need to click so fast. To my mind, a 'slower' doubleclick should be enough
DN> (but I don't know how to change it).

Hi.

A (ggrep == gnu grep)

0:ibm:fred> ggrep -A1 -B1 -i dblclick /usr/include/forms.h

gives

    FL_RETURN_ALWAYS = 3,
    FL_RETURN_DBLCLICK
};
----------
    FL_DRAWLABEL,
    FL_DBLCLICK,                /* double click            */
    FL_TRPLCLICK,               /* triple click            */
----------
#define fl_draw_object_outside_label fl_draw_object_label_outside
#define  fl_set_object_dblclick(ob, timeout)  (ob)->click_timeout = (timeout);
FL_EXPORT void fl_set_object_geometry(FL_OBJECT *, FL_Coord, FL_Coord,
----------
                                        FL_Coord *, FL_Coord *);
FL_EXPORT void fl_set_browser_dblclick_callback(FL_OBJECT *,
                                                FL_CALLBACKPTR, long);

so there seems to be some double(and triple) click handling in
XForms. Maybe thats a starting point (I have no experience in
XForms...)

Fred


Fred Hucht, Institute of Theoretical Physics, University of Duisburg, Germany
Email: [EMAIL PROTECTED]               http://www.thp.Uni-Duisburg.DE/
"Der Koerper der algebraischen Zahlen ist kein algebraischer Zahlkoerper"
(E. Landau, Zahlentheorie (1927), Satz 718)

Reply via email to