Atmel Software Framework

wtk_frame Struct Reference

Frame control struct.

This is the frame control struct. It contains references to the windows composing the frame, as well as non-window information required.

Structure fields are only internally accessible, only pointers to structure is needed externally.

Data Fields

char * caption
 Copy of caption string. More...
struct win_windowcontainer
 Container, ultimate widget parent. More...
struct win_windowcontents
 Contents, holds child widgets. More...
void * custom_data
 Data for applications and handlers. More...
wtk_frame_handler_t frame_handler
 Frame command event handler. More...
struct win_windowresize
 The resize handle window. More...
enum wtk_frame_state state
 Current state. More...

char* wtk_frame::caption

Copy of caption string.

Referenced by wtk_frame_create(), and wtk_frame_handler().

struct win_window* wtk_frame::container
struct win_window* wtk_frame::contents

Contents, holds child widgets.

Referenced by wtk_frame_as_parent(), wtk_frame_create(), wtk_handle_resize_release(), and wtk_resize_frame().

void* wtk_frame::custom_data

Data for applications and handlers.

Referenced by wtk_frame_create(), and wtk_frame_get_custom_data().

wtk_frame_handler_t wtk_frame::frame_handler

Frame command event handler.

Referenced by wtk_frame_create(), and wtk_frame_handler().

struct win_window* wtk_frame::resize