Re: [fltk.general] double-click vs. click example

2012-03-07 Thread Edzard Egberts
> The thing is that when it's a double click you will first print 1 and > then 2. Could you post an example that prints "single" when it's a > single click and only prints "double" (without printing "single" as > well) when it's a double-click ? The thing is, that a double click really is meant a

[fltk.general] Regarding refreshing screen

2012-03-07 Thread Rajesh Kumar
Hi, In my application, in a single frame am taking choice boxes. When user selects item in one choice box, the related sub item should be automatically appeared in the next choice box. I am using fltk2.0 and ARM processor. I am redrawing the group every time. But the same is not happening. Can

Re: [fltk.general] double-click vs. click example

2012-03-07 Thread Greg Ercolano
>[..] > Seems like every possible combo of MM, DD, and > is claimed by some country or other: > > Y/M/D -- ISO 8601 "International Date" (China, Korea, Japan..) > D/M/Y -- India, Spain, much of the EU, AU, > M/D/Y -- US Well,

Re: [fltk.general] double-click vs. click example

2012-03-07 Thread Greg Ercolano
On 03/07/12 14:14, Ian MacArthur wrote: > Sure, there are a couple of ways to go about that, > but it turns out it's often not really that useful, > so there's no built-in way of doing it. Cool example; can I steal that for the cheat page ;) Perhaps can be integrated into the docs

Re: [fltk.general] double-click vs. click example

2012-03-07 Thread Ian MacArthur
On 7 Mar 2012, at 20:12, blue146 wrote: > The thing is that when it's a double click you will first print 1 and then 2. > Could you post an example that prints "single" when it's a single click and > only prints "double" (without printing "single" as well) when it's a > double-click ? > Sure

Re: [fltk.general] double-click vs. click example

2012-03-07 Thread Greg Ercolano
On 03/07/12 12:12, blue146 wrote: > The thing is that when it's a double click you will > first print 1 and then 2. Right, it counts the consecutive clicks. > Could you post an example that prints "single" when > it's a single click and only prints "double" > (without printing "single" as

Re: [fltk.general] double-click vs. click example

2012-03-07 Thread blue146
The thing is that when it's a double click you will first print 1 and then 2. Could you post an example that prints "single" when it's a single click and only prints "double" (without printing "single" as well) when it's a double-click ? > On 03/07/12 10:06, blue146 wrote: > > Can someone post

Re: [fltk.general] double-click vs. click example

2012-03-07 Thread Greg Ercolano
On 03/07/12 10:06, blue146 wrote: > Can someone post an example of a function that handles single-click events > and double-click events. It seems to be non-trivial task, and even though > many people may need it I could not find an example anywhere. You'd want to use: Fl::event_clicks(); in

[fltk.general] double-click vs. click example

2012-03-07 Thread blue146
Can someone post an example of a function that handles single-click events and double-click events. It seems to be non-trivial task, and even though many people may need it I could not find an example anywhere. ___ fltk mailing list fltk@easysw.com http