EZ_WorkAreaClear(3)

NAME
EZ_WorkAreaClear, EZ_WorkAreaDeleteItem, EZ_WorkAreaDeleteItemUsingIdx, EZ_WorkAreaInsertItem, EZ_WorkAreaInsertItemAfter, EZ_WorkAreaInsertItemBefore, EZ_WorkAreaInsertItemUsingIdx, EZ_WorkAreaRearrange, EZ_WorkAreaSelectItem, EZ_WorkAreaSelectItemUsingIdx - work area editing functions

SYNOPSIS
#include <EZ.h>

void EZ_WorkAreaClear(EZ_Widget *warea)
void EZ_WorkAreaDeleteItem(EZ_Widget *warea, EZ_Item *item)
void EZ_WorkAreaDeleteItemUsingIdx(EZ_Widget *warea, int idx)
void EZ_WorkAreaInsertItem(EZ_Widget *warea, EZ_Item *item)
void EZ_WorkAreaInsertItemAfter(EZ_Widget *warea,
                         EZ_Item *item, EZ_Item *newitem)
void EZ_WorkAreaInsertItemBefore(EZ_Widget *warea,
                         EZ_Item *item, EZ_Item *newitem)
void EZ_WorkAreaInsertItemUsingIdx(EZ_Widget *warea,
                         EZ_Item *item, int idx)
void EZ_WorkAreaRearrange(EZ_Widget *warea)
void EZ_WorkAreaSelectItem(EZ_Widget *warea,
                         EZ_Item *item, int *location)
void EZ_WorkAreaSelectItemUsingIdx(EZ_Widget *warea,
                        int idx, int *location)

ARGUMENTS
warea Specifies a work area widget.

item Specifies a display item currently managed by warea.

newitem Specifies a new display item that is NOT currently managed by warea.

idx Specifies an index.

location Specifies an array of two integers or NULL.

DESCRIPTION

EZ_WorkAreaClear destroies all display items currently managed by warea and clears the display.

EZ_WorkAreaDeleteItem deletes the specified item.

EZ_WorkAreaDeleteItemUsingIdx deletes the item at the given position.

EZ_WorkAreaInsertItem inserts an item at the end of the list of items warea manages.

EZ_WorkAreaInsertItemAfter inserts newitem after item.

EZ_WorkAreaInsertItemBefore inserts newitem in front of item.

EZ_WorkAreaInsertItemUsingIdx inserts newitem at the specified position.

EZ_WorkAreaRearrange calls the geometry manager of warea to rearrange and redisplay the list of items it manages.

EZ_WorkAreaSelectItem sets the selection on the given item. If location is not NULL, the display will be adjusted so that the selected item be displayed at the given location.

EZ_WorkAreaSelectItemUsingIdx behaves the same as EZ_WorkAreaSelectItemUsingIdx, except it uses array index instead of using item directly.

SEE ALSO
EZ_GetWorkAreaSelection(3)