Tiny Core Base > TCB Tips & Tricks

Fltk

(1/1)

roberts:
I have choosen very basic colors and gtk+ scheme when I embarked on deploying the fltk toolkit.
It does not have to be this plain. If you wish, change your .Xdefaults line for fltk as follows:

fltk*scheme: gtk+

to

fltk*scheme: plastic

mikshaw:
Full list of supported X resources
I've only used the colors and scheme, so I can't say how well the others work.

--- Code: ---    * 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).
    * tooltips - The default setting for tooltips (boolean).
    * 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).
--- End code ---

MikeLockmoore:
roberts already knows this, but for the other readers... you might discover flwm version 1.10 (in TC 2.4rc2) does not support the plastic FLTK scheme very well, at least if you try to set a non-standard titlebar color through the environment variable FLWM_TITLEBAR_COLOR.  
--
Mike Lockmoore

Navigation

[0] Message Index

Go to full version