2008/12/23 w. szukalski <[email protected]>:
> Does anysoul know how the following:
>
> NAME
>       XtAppAddInput, XtRemoveInput - register and remove an input source
>
> SYNTAX
>       XtInputId XtAppAddInput(XtAppContext app_context, int source, XtPointer
>              condition, XtInputCallbackProc proc, XtPointer client_data);
>
>       void XtRemoveInput(XtInputId id);
>
>
>
> can be programmed in FLTK2 ?
>
> I suppose, I have to write:
>
>        add_fd(fd, condition, cb, cb_args);
>        remove_fd(fd, condition);
>
> with condition = (READ | WRITE | EXCEPT).
>
> But I am not sure.

Can you tell us what it is you are trying to do?  I do not think
getting the Xt intrinsics functions to play nice with fltk is going to
be that easy, but if you can tell us what you hope to achieve, there
are many other ways to get the same result that should be very
straightforward.

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to