## 3.3 Icons

An Icon is a toplevel frame invisible by your window manager. It behave very similar to a regular frame except that it responds to button inputs. Button1 press-drag-release moves an icon around.

To create an icon widget, use `EZ_CreateWidget` with type `EZ_WIDGET_ICON` and parent `NULL`, or use the next function.

`EZ_Widget *EZ_CreateIcon(void)`

There is an experimental support for using shaped windows on icons. To use this feature, you must complete the following two tasks before displaying the icon.

- Set a xpm label for your icon. The xpm label must contains a valid mask.

- Enable the shaped window attribute on your icon by using the `EZ_SHAPED_WINDOW` configuration option.

The shaped window will not work if your X server does not support the shaped window extention.

HTML Documentation Maintainance:`Arturo Espinosa <arturo@nuclecu.unam.mx>`