Ihandle Class Interface. More...
Data Structures | |
struct | Iclass_ |
Defines | |
#define | IUPAF_SAMEASSYSTEM ((char*)-1) |
Typedefs | |
typedef enum _InativeType | InativeType |
typedef enum _IchildType | IchildType |
typedef struct Iclass_ | Iclass |
typedef char *(* | IattribGetFunc )(Ihandle *ih) |
typedef char *(* | IattribGetIdFunc )(Ihandle *ih, int id) |
typedef char *(* | IattribGetId2Func )(Ihandle *ih, int id1, int id2) |
typedef int(* | IattribSetFunc )(Ihandle *ih, const char *value) |
typedef int(* | IattribSetIdFunc )(Ihandle *ih, int id, const char *value) |
typedef int(* | IattribSetId2Func )(Ihandle *ih, int id1, int id2, const char *value) |
typedef enum _IattribFlags | IattribFlags |
Enumerations | |
enum | _InativeType { IUP_TYPEVOID, IUP_TYPECONTROL, IUP_TYPECANVAS, IUP_TYPEDIALOG, IUP_TYPEIMAGE, IUP_TYPEMENU } |
enum | _IchildType { IUP_CHILDNONE, IUP_CHILDMANY } |
enum | _IattribFlags { IUPAF_DEFAULT = 0, IUPAF_NO_INHERIT = 1, IUPAF_NO_DEFAULTVALUE = 2, IUPAF_NO_STRING = 4, IUPAF_NOT_MAPPED = 8, IUPAF_HAS_ID = 16, IUPAF_READONLY = 32, IUPAF_WRITEONLY = 64, IUPAF_HAS_ID2 = 128, IUPAF_CALLBACK = 256, IUPAF_NO_SAVE = 512, IUPAF_NOT_SUPPORTED = 1024, IUPAF_IHANDLENAME = 2048 } |
Functions | |
Iclass * | iupClassNew (Iclass *ic_parent) |
void | iupClassRelease (Iclass *ic) |
int | iupClassMatch (Iclass *ic, const char *classname) |
void | iupClassRegisterAttribute (Iclass *ic, const char *name, IattribGetFunc get, IattribSetFunc set, const char *default_value, const char *system_default, int flags) |
void | iupClassRegisterAttributeId (Iclass *ic, const char *name, IattribGetIdFunc get, IattribSetIdFunc set, int flags) |
void | iupClassRegisterAttributeId2 (Iclass *ic, const char *name, IattribGetId2Func get, IattribSetId2Func set, int flags) |
void | iupClassRegisterGetAttribute (Iclass *ic, const char *name, IattribGetFunc *get, IattribSetFunc *set, const char **default_value, const char **system_default, int *flags) |
void | iupClassRegisterReplaceAttribFunc (Iclass *ic, const char *name, IattribGetFunc _get, IattribSetFunc _set) |
void | iupClassRegisterReplaceAttribDef (Iclass *ic, const char *name, const char *_default_value, const char *_system_default) |
void | iupClassRegisterReplaceAttribFlags (Iclass *ic, const char *name, int _flags) |
void | iupClassRegisterCallback (Iclass *ic, const char *name, const char *format) |
char * | iupClassCallbackGetFormat (Iclass *ic, const char *name) |
int | iupClassObjectCreate (Ihandle *ih, void **params) |
int | iupClassObjectMap (Ihandle *ih) |
void | iupClassObjectUnMap (Ihandle *ih) |
void | iupClassObjectDestroy (Ihandle *ih) |
Ihandle * | iupClassObjectGetInnerContainer (Ihandle *ih) |
void * | iupClassObjectGetInnerNativeContainerHandle (Ihandle *ih, Ihandle *child) |
void | iupClassObjectChildAdded (Ihandle *ih, Ihandle *child) |
void | iupClassObjectChildRemoved (Ihandle *ih, Ihandle *child) |
void | iupClassObjectLayoutUpdate (Ihandle *ih) |
void | iupClassObjectComputeNaturalSize (Ihandle *ih, int *w, int *h, int *children_expand) |
void | iupClassObjectSetChildrenCurrentSize (Ihandle *ih, int shrink) |
void | iupClassObjectSetChildrenPosition (Ihandle *ih, int x, int y) |
int | iupClassObjectDlgPopup (Ihandle *ih, int x, int y) |
int | iupClassObjectSetAttribute (Ihandle *ih, const char *name, const char *value, int *inherit) |
char * | iupClassObjectGetAttribute (Ihandle *ih, const char *name, char **def_value, int *inherit) |
int | iupClassObjectSetAttributeId (Ihandle *ih, const char *name, int id, const char *value) |
char * | iupClassObjectGetAttributeId (Ihandle *ih, const char *name, int id) |
int | iupClassObjectSetAttributeId2 (Ihandle *ih, const char *name, int id1, int id2, const char *value) |
char * | iupClassObjectGetAttributeId2 (Ihandle *ih, const char *name, int id1, int id2) |
void | iupClassObjectGetAttributeInfo (Ihandle *ih, const char *name, char **def_value, int *inherit) |
int | iupClassObjectAttribIsNotString (Ihandle *ih, const char *name) |
int | iupClassObjectCurAttribIsInherit (Iclass *ic) |
void | iupClassObjectEnsureDefaultAttributes (Ihandle *ih) |
int | iupClassAttribIsRegistered (Iclass *ic, const char *name) |
void | iupClassGetAttribNameInfo (Iclass *ic, const char *name, char **def_value, int *flags) |
See Copyright Notice in "iup.h"
#define IUPAF_SAMEASSYSTEM ((char*)-1) |
means that the default value is the same as the system default value, used only in iupClassRegisterAttribute