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:
Michael R Sweet
2002-04-13 22:17:46 +00:00
parent 7f0c218c1c
commit dc355ebb54
8 changed files with 138 additions and 33 deletions
+39
View File
@@ -366,6 +366,45 @@ window->icon((char *)p);
</TR>
</TABLE></CENTER>
<H3>X Resources</H3>
<P>When the <A
HREF="Fl_Window.html#Fl_Window.show"><TT>Fl_Window::show(argc,
argv)</TT></A> method is called, FLTK looks for the following X
resources:
<UL>
<LI><TT>background</TT> - The default background color
for widgets (color).
<LI><TT>dndTextOps</TT> - The default setting for
drag and drop text operations (boolean).
<LI><TT>foreground</TT> - The default foreground (label)
color for widgets (color).
<LI><TT>scheme</TT> - The default scheme to use
(string).
<LI><TT>selectBackground</TT> - The default selection
color for menus, etc. (color).
<LI><TT>Text.background</TT> - The default background
color for text fields (color).
<LI><TT>visibleFocus</TT> - The default setting for
visible keyboard focus on non-text widgets (boolean).
</UL>
<P>Resources associated with the first window's <A
HREF="Fl_Window.html#Fl_Window.xclass"><TT>Fl_Window::xclass()</TT></A>
string are queried first, or if no class has been specified then
the class "fltk" is used (e.g. <TT>fltk.background</TT>). If no
match is found, a global search is done (e.g.
<TT>*background</TT>).
<H2>The Windows (WIN32) Interface</H2>
<P>The Windows interface provides access to the WIN32 GDI