mirror of
https://github.com/fltk/fltk.git
synced 2026-06-07 00:55:23 +08:00
Add Fl::dnd_text_ops() methods.
Fl_Input now conditionally supports DND out via run-time option. Fl_Input now clears selection if you click inside the selection when DND is turned on. Added support for scheme, dndTextOps, and visibleFocus resources under X11. Documented all X resources supported under X11... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2078 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+13
-3
@@ -50,6 +50,7 @@ state information and global methods for the current application.</P>
|
||||
<LI><A HREF="#Fl.default_atclose">default_atclose</A></LI>
|
||||
<LI><A HREF="#Fl.display">display</A></LI>
|
||||
<LI><A HREF="#Fl.dnd">dnd</A></LI>
|
||||
<LI><A HREF="#Fl.dnd_text_ops">dnd_text_ops</A></LI>
|
||||
<LI><A HREF="#Fl.error">error</A></LI>
|
||||
<LI><A HREF="#Fl.event">event</A></LI>
|
||||
<LI><A HREF="#Fl.event_alt">event_alt</A></LI>
|
||||
@@ -417,9 +418,18 @@ and does nothing useful under WIN32.
|
||||
|
||||
<H4><A NAME="Fl.dnd">int dnd();</A></H4>
|
||||
|
||||
<P>Initiate a Drag And Drop operation. The clipboard should be filled
|
||||
with relevant data before calling this method. FLTK will then initiate
|
||||
the system wide drag'n'drop handling. Dropped data will be marked as <i>text</i>.
|
||||
<P>Initiate a Drag And Drop operation. The clipboard should be
|
||||
filled with relevant data before calling this method. FLTK will
|
||||
then initiate the system wide drag and drop handling. Dropped data
|
||||
will be marked as <i>text</i>.
|
||||
|
||||
<H4><A NAME="Fl.dnd_text_ops">void dnd_text_ops(int d);<BR>
|
||||
int dnd_text_ops();</A></H4>
|
||||
|
||||
<P>Gets or sets whether drag and drop text operations are
|
||||
supported. This specifically affects whether selected text can
|
||||
be dragged from text fields or dragged within a text field as a
|
||||
cut/paste shortcut.
|
||||
|
||||
<H4><A NAME="Fl.error">void (*error)(const char*, ...);</A></H4>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user