GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
EZ_GetWidgetIntData(3) EZWGL Functions EZ_GetWidgetIntData(3)

EZ_SetWidgetIntData, EZ_SetWidgetPtrData, EZ_SetWidgetClientData, EZ_GetWidgetIntData, EZ_GetWidgetPtrData, EZ_GetWidgetClientData
- set/retrieve client data registered to a widget

#include <EZ.h>
void *EZ_SetWidgetIntData( EZ_Widget*widget, int idata) void *EZ_SetWidgetPtrData( EZ_Widget*widget, void *pdata) void *EZ_SetWidgetClientData( EZ_Widget*widget, int idata, void *pdata)
int EZ_GetWidgetIntData( EZ_Widget*widget) void *EZ_GetWidgetPtrData( EZ_Widget*widget) void *EZ_GetWidgetClientData( EZ_Widget*widget, int *i_ret, void **p_ret)

widget Specifies an EZ widget.
idata Specifies an integer.
pdata Specifies a generic pointer.
i_ret Specifies a return for the integer client data.
p_ret Specifies a return for the pointer client data.

The EZ_Widget data structure provides two fields for application to hook in application data to a widget. One is of type int and the other is of type void *.
EZ_SetWidgetIntData stores an integer in a widget.
EZ_SetWidgetPtrData stores a pointer in a widget.
EZ_SetWidgetClientData stores both the integer and the pointer client data. EZ_GetWidgetIntData returns the integer stored in a widget.
EZ_GetWidgetPtrData returns the pointer stored in a widget.
EZ_GetWidgetClientData returns both the integer and the pointer client data.

EZ_CreateWidget(3), EZ_AddEventHandler(3), EZ_AddWidgetCallBack(3)
EZWGL

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.