From dc355ebb5477bd3c4374658d3db2a935ae3fb935 Mon Sep 17 00:00:00 2001
From: Michael R Sweet
Date: Sat, 13 Apr 2002 22:17:46 +0000
Subject: 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
---
documentation/Fl.html | 16 +++++++++++++---
documentation/osissues.html | 39 +++++++++++++++++++++++++++++++++++++++
2 files changed, 52 insertions(+), 3 deletions(-)
(limited to 'documentation')
diff --git a/documentation/Fl.html b/documentation/Fl.html
index 118204ced..3cefeda3f 100644
--- a/documentation/Fl.html
+++ b/documentation/Fl.html
@@ -50,6 +50,7 @@ state information and global methods for the current application.
default_atclose
display
dnd
+ dnd_text_ops
error
event
event_alt
@@ -417,9 +418,18 @@ and does nothing useful under WIN32.
-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 text.
+
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 text.
+
+
+
+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.
diff --git a/documentation/osissues.html b/documentation/osissues.html
index 6d23c7c03..29217d06d 100644
--- a/documentation/osissues.html
+++ b/documentation/osissues.html
@@ -366,6 +366,45 @@ window->icon((char *)p);
+X Resources
+
+When the Fl_Window::show(argc,
+argv) method is called, FLTK looks for the following X
+resources:
+
+
+
+ - background - The default background color
+ for widgets (color).
+
+
- dndTextOps - The default setting for
+ drag and drop text operations (boolean).
+
+
- foreground - The default foreground (label)
+ color for widgets (color).
+
+
- scheme - The default scheme to use
+ (string).
+
+
- selectBackground - The default selection
+ color for menus, etc. (color).
+
+
- Text.background - The default background
+ color for text fields (color).
+
+
- visibleFocus - The default setting for
+ visible keyboard focus on non-text widgets (boolean).
+
+
+
+Resources associated with the first window's Fl_Window::xclass()
+string are queried first, or if no class has been specified then
+the class "fltk" is used (e.g. fltk.background). If no
+match is found, a global search is done (e.g.
+*background).
+
The Windows (WIN32) Interface
The Windows interface provides access to the WIN32 GDI
--
cgit v1.2.3