FLTK logo

Re: The Fl_Input drag and drop ?

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: The Fl_Input drag and drop ? matthiasm Oct 17, 2007  
 
On Oct 16, 2007, at 10:28 AM, <lucas.sanner-GANU6spQydw@public.gmane.org>  
<lucas.sanner-GANU6spQydw@public.gmane.org> wrote:

> Is it possible to cancel the drag and drop mechanism (the small  
> 'plus' sign) in an Fl_Input widget ?
> Is there a way to get a classical selection instead ?

The selection inf Fl_Input IMHO is "classic", meaning that you can  
drag out a selection simply by clicking into an unselected area.  
Clicking and dragging from a selected area does initiate a DND event,  
but isn't that the classic way for text based widgets in any GUI?

Anyway, overriding the handle(int) function and replacing the code  
that handles clicks into selected areas will work.

----
http://robowerk.com/
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.