libyui
|
#include <YDescribedItem.h>
Item class that has a (possibly multi-line) description text in addition to the normal label.
|
inline |
Constructor with the label, the description and optionally the selected state.
|
inline |
Constructor with the label, the description, the icon name and optionally the selected state.
|
inlinevirtual |
Destructor.
|
inline |
Return this item's description text. This is the (typically longer) subtext that the user sees in a dialog, so this will usually be a translated text.
|
inline |
Return 'true' if this item is enabled (which is the default). Items are only ever disabled if the application explicitly sets them to disabled.
Set this item's description text.
Set this item to enabled or disabled.
Notice that this only stores that status internally. To have any effect on an associated widget, use the widget's method to enable or disable an item (which will usually call this method internally at some point).