fltk::Widget | +----fltk::Item
#include <fltk/Item.h>
It's draw() method is designed to appear correctly inside menus and browsers, despite inconsistencies in the designs of these things on Windows. By default it does not erase it's background and assumes that if fltk::SELECTED is set in the flags it should use the selected_label_color(). You can change this by setting box() or the colors in the style, or by overriding the draw() method, but if you do so you will probably have to limit your widget to either menus or browsers, but not both.
The browser draws the focus dotted box and the hierarchy indicators, and the shortcut key assigments in menus is drawn by the menu code. You cannot turn these off or modify them, unfortunately I was unable to get these into the child widgets and still replicate the standard Windows UI appearance.
Currently you can set type() to fltk::Item::TOGGLE to get a checkmark on the left and fltk::Item::RADIO to make it a radio button. This may change in future versions however and you may need to use a subclass for this.
In a multi-browser, the selected() indicates if the widget is currently selected.