Data Structures | Defines | Typedefs | Enumerations | Functions

## iup_class.h File Reference

Ihandle Class Interface. More...

Include dependency graph for iup_class.h:
This graph shows which files directly or indirectly include this file:

### 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, IUP_TYPEOTHER }
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, IUPAF_IHANDLE = 4096
}

### Functions

IUP_SDK_API Iclass * | iupClassNew (Iclass *ic_parent)
IUP_SDK_API void | iupClassRelease (Iclass *ic)
IUP_SDK_API int | iupClassMatch (Iclass *ic, const char *classname)
IUP_SDK_API void | iupClassRegisterAttribute (Iclass *ic, const char *name, IattribGetFunc get, IattribSetFunc set, const char *default_value, const char *system_default, int flags)
IUP_SDK_API void | iupClassRegisterAttributeId (Iclass *ic, const char *name, IattribGetIdFunc get, IattribSetIdFunc set, int flags)
IUP_SDK_API void | iupClassRegisterAttributeId2 (Iclass *ic, const char *name, IattribGetId2Func get, IattribSetId2Func set, int flags)
IUP_SDK_API void | iupClassRegisterGetAttribute (Iclass *ic, const char *name, IattribGetFunc *get, IattribSetFunc *set, const char **default_value, const char **system_default, int *flags)
IUP_SDK_API void | iupClassRegisterReplaceAttribFunc (Iclass *ic, const char *name, IattribGetFunc _get, IattribSetFunc _set)
IUP_SDK_API void | iupClassRegisterReplaceAttribDef (Iclass *ic, const char *name, const char *_default_value, const char *_system_default)
IUP_SDK_API void | iupClassRegisterReplaceAttribFlags (Iclass *ic, const char *name, int _flags)
IUP_SDK_API void | iupClassRegisterCallback (Iclass *ic, const char *name, const char *format)
IUP_SDK_API char * | iupClassCallbackGetFormat (Iclass *ic, const char *name)
IUP_SDK_API int | iupClassObjectCreate (Ihandle *ih, void **params)
IUP_SDK_API int | iupClassObjectMap (Ihandle *ih)
IUP_SDK_API void | iupClassObjectUnMap (Ihandle *ih)
IUP_SDK_API void | iupClassObjectDestroy (Ihandle *ih)
IUP_SDK_API void * | iupClassObjectGetInnerNativeContainerHandle (Ihandle *ih, Ihandle *child)
IUP_SDK_API void | iupClassObjectChildAdded (Ihandle *ih, Ihandle *child)
IUP_SDK_API void | iupClassObjectChildRemoved (Ihandle *ih, Ihandle *child, int pos)
IUP_SDK_API void | iupClassObjectLayoutUpdate (Ihandle *ih)
IUP_SDK_API void | iupClassObjectComputeNaturalSize (Ihandle *ih, int *w, int *h, int *children_expand)
IUP_SDK_API void | iupClassObjectSetChildrenCurrentSize (Ihandle *ih, int shrink)
IUP_SDK_API void | iupClassObjectSetChildrenPosition (Ihandle *ih, int x, int y)
IUP_SDK_API int | iupClassObjectDlgPopup (Ihandle *ih, int x, int y)
IUP_SDK_API int | iupClassObjectHasDlgPopup (Ihandle *ih)
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 | iupClassObjectAttribIsIhandle (Ihandle *ih, const char *name)
IUP_SDK_API int | iupClassObjectAttribIsCallback (Ihandle *ih, const char *name)
int | iupClassObjectAttribCanCopy (Ihandle *ih, const char *name)
int | iupClassObjectCurAttribIsInherit (Iclass *ic)
void | iupClassObjectEnsureDefaultAttributes (Ihandle *ih)
void | iupClassUpdate (Iclass *ic)
int | iupClassAttribIsRegistered (Iclass *ic, const char *name)
void | iupClassGetAttribNameInfo (Iclass *ic, const char *name, char **def_value, int *flags)
int | iupClassIsGlobalDefault (const char *name, int colors)
IUP_SDK_API void | iupClassInfoGetDesc (Iclass *ic, Ihandle *ih, const char *attrib_name)
IUP_SDK_API void | iupClassInfoShowHelp (const char *className)

### Detailed Description

See Copyright Notice in "iup.h"

### Define Documentation

#define IUPAF_SAMEASSYSTEM ((char*)-1)

means that the default value is the same as the system default value, used only in iupClassRegisterAttribute