diff options
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/Fl.html | 16 | ||||
| -rw-r--r-- | documentation/osissues.html | 39 |
2 files changed, 52 insertions, 3 deletions
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.</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> 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); </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 |
