Layout :: icon - Icon definition
In order to decorate buttons, controls or data items in a list with icons, an icon might be set for the layout. The image displayed as decoration is, typically, the normal pixmap.
Return value: Icon data ( odabagui::Icon & )
Icon data defines three pixmaps for displaying images with different states.
Implementation overview
- Get icon definition from layout
Layout :: icon (  ) - Set or replace icon definition
Layout :: icon ( cIcon )
Implementation details
-
Get icon definition from layout
const odabagui::Icon & Layout  :: icon (  )
The function returns the icon definition from the layout. The icon definition is still owned by the layout. Thus, changing icon properties implicitly changes the layout, too.
to list
-
Set or replace icon definition
const odabagui::Icon & Layout  :: icon ( odabagui::Icon &cIcon )
The function sets or replaces the current icon definition with the icon definition passed in cIcon .
- cIcon
- Icon data
Icon data defines three pixmaps for displaying images with different states.
to list
- cIcon
- Icon data