Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Related Pages

Enums: Various Flags and Enumerations used in EWL

Provides bitmasks, flags, and other enumerations for use by widgets in EWL. More...

Typedefs

typedef enum Ewl_Callback_Type Ewl_Callback_Type
 This defines the various types of callbacks that can be hooked up for each widget.

typedef enum Ewl_Event_Notify Ewl_Event_Notify
 Flags for the callbacks to indicate interception or notification of the parent.

typedef enum Ewl_Orientation Ewl_Orientation
 The orientation enum is used in a few widgets to specify whether the widget should be laid out in a horizontal or vertical fashion.


Enumerations

enum  Ewl_Callback_Type {
  EWL_CALLBACK_EXPOSE,
  EWL_CALLBACK_REALIZE,
  EWL_CALLBACK_UNREALIZE,
  EWL_CALLBACK_SHOW,
  EWL_CALLBACK_HIDE,
  EWL_CALLBACK_DESTROY,
  EWL_CALLBACK_DELETE_WINDOW,
  EWL_CALLBACK_CONFIGURE,
  EWL_CALLBACK_REPARENT,
  EWL_CALLBACK_KEY_DOWN,
  EWL_CALLBACK_KEY_UP,
  EWL_CALLBACK_MOUSE_DOWN,
  EWL_CALLBACK_MOUSE_UP,
  EWL_CALLBACK_MOUSE_MOVE,
  EWL_CALLBACK_MOUSE_WHEEL,
  EWL_CALLBACK_FOCUS_IN,
  EWL_CALLBACK_FOCUS_OUT,
  EWL_CALLBACK_SELECT,
  EWL_CALLBACK_DESELECT,
  EWL_CALLBACK_CLICKED,
  EWL_CALLBACK_DOUBLE_CLICKED,
  EWL_CALLBACK_HILITED,
  EWL_CALLBACK_VALUE_CHANGED,
  EWL_CALLBACK_STATE_CHANGED,
  EWL_CALLBACK_APPEARANCE_CHANGED,
  EWL_CALLBACK_WIDGET_ENABLE,
  EWL_CALLBACK_WIDGET_DISABLE,
  EWL_CALLBACK_PASTE,
  EWL_CALLBACK_MAX
}
enum  Ewl_Flags {
  EWL_FLAG_ALIGN_CENTER = ETOX_ALIGN_CENTER,
  EWL_FLAG_ALIGN_LEFT = ETOX_ALIGN_LEFT,
  EWL_FLAG_ALIGN_RIGHT = ETOX_ALIGN_RIGHT,
  EWL_FLAG_ALIGN_TOP = ETOX_ALIGN_TOP,
  EWL_FLAG_ALIGN_BOTTOM = ETOX_ALIGN_BOTTOM,
  EWL_FLAG_FILL_NONE = 0,
  EWL_FLAG_FILL_HSHRINK = 0x1000,
  EWL_FLAG_FILL_VSHRINK = 0x2000,
  EWL_FLAG_FILL_SHRINK,
  EWL_FLAG_FILL_HFILL = 0x4000,
  EWL_FLAG_FILL_VFILL = 0x8000,
  EWL_FLAG_FILL_FILL = EWL_FLAG_FILL_HFILL | EWL_FLAG_FILL_VFILL,
  EWL_FLAG_FILL_ALL = EWL_FLAG_FILL_FILL | EWL_FLAG_FILL_SHRINK
}
 A variety of flags that affect layout, visibility, scheduling and properties of objects. More...


Detailed Description

Provides bitmasks, flags, and other enumerations for use by widgets in EWL.


Enumeration Type Documentation

enum Ewl_Callback_Type
 

Enumeration values:
EWL_CALLBACK_EXPOSE  Triggered when the window needs redrawing.
EWL_CALLBACK_REALIZE  Event when a widget is first drawn.
EWL_CALLBACK_UNREALIZE  When a widget is no longer drawn.
EWL_CALLBACK_SHOW  A widget has been marked visible.
EWL_CALLBACK_HIDE  A widget is marked hidden.
EWL_CALLBACK_DESTROY  The widget is freed.
EWL_CALLBACK_DELETE_WINDOW  The window is being closed.
EWL_CALLBACK_CONFIGURE  The object is being resized.
EWL_CALLBACK_REPARENT  A widget has been placed in a container.
EWL_CALLBACK_KEY_DOWN  A key was pressed down.
EWL_CALLBACK_KEY_UP  A key was released.
EWL_CALLBACK_MOUSE_DOWN  Mouse was pressed down.
EWL_CALLBACK_MOUSE_UP  Mouse was released.
EWL_CALLBACK_MOUSE_MOVE  Mouse was moved.
EWL_CALLBACK_MOUSE_WHEEL  Mouse wheel scrolled.
EWL_CALLBACK_FOCUS_IN  Mouse was placed over the widget.
EWL_CALLBACK_FOCUS_OUT  Mouse was moved away from the widget.
EWL_CALLBACK_SELECT  Widget was selected by mouse or key.
EWL_CALLBACK_DESELECT  Widget was deselected by mouse or key.
EWL_CALLBACK_CLICKED  Mouse was pressed and released on a widget.
EWL_CALLBACK_DOUBLE_CLICKED  Mouse was clicked twice quickly.
EWL_CALLBACK_HILITED  Mouse is over the widget.
EWL_CALLBACK_VALUE_CHANGED  Value in widget changed.
EWL_CALLBACK_STATE_CHANGED  Alter the state of the appearance.
EWL_CALLBACK_APPEARANCE_CHANGED  Theme key of widget changed.
EWL_CALLBACK_WIDGET_ENABLE  Widget has been re-enabled.
EWL_CALLBACK_WIDGET_DISABLE  Widget no longer takes input.
EWL_CALLBACK_PASTE  Data is ready to be pasted.
EWL_CALLBACK_MAX  Flag to indicate last value.

enum Ewl_Flags
 

A variety of flags that affect layout, visibility, scheduling and properties of objects.

Enumeration values:
EWL_FLAG_ALIGN_CENTER  Center align bit.
EWL_FLAG_ALIGN_LEFT  Left align bit.
EWL_FLAG_ALIGN_RIGHT  Right align bit.
EWL_FLAG_ALIGN_TOP  Top align bit.
EWL_FLAG_ALIGN_BOTTOM  Bottom align bit.
EWL_FLAG_FILL_NONE  Do not fill or shrink in any direction.
EWL_FLAG_FILL_HSHRINK  Horizontally shrink bit.
EWL_FLAG_FILL_VSHRINK  Horizontally shrink bit.
EWL_FLAG_FILL_SHRINK  Shrink bit.
EWL_FLAG_FILL_HFILL  Horizontal fill bit.
EWL_FLAG_FILL_VFILL  Vertical fill bit.
EWL_FLAG_FILL_FILL  Fill bit.
EWL_FLAG_FILL_ALL  Shrunk and fill bit.