blob: fd0edf4287c74adc925daff9ecc926b3317e4a02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
/** \file
* \brief Tabs Control
*
* See Copyright Notice in "iup.h"
*/
#ifndef __IUP_TABS_H
#define __IUP_TABS_H
#ifdef __cplusplus
extern "C" {
#endif
char* iupTabsGetTabOrientationAttrib(Ihandle* ih);
char* iupTabsGetTabTypeAttrib(Ihandle* ih);
char* iupTabsAttribGetStrId(Ihandle* ih, const char* name, int pos);
char* iupTabsGetPaddingAttrib(Ihandle* ih);
void iupTabsTestRemoveTab(Ihandle* ih, int pos);
int iupdrvTabsExtraDecor(Ihandle* ih);
int iupdrvTabsGetLineCountAttrib(Ihandle* ih);
void iupdrvTabsSetCurrentTab(Ihandle* ih, int pos);
int iupdrvTabsGetCurrentTab(Ihandle* ih);
void iupdrvTabsInitClass(Iclass* ic);
typedef enum
{
ITABS_TOP, ITABS_BOTTOM, ITABS_LEFT, ITABS_RIGHT
} ItabsType;
typedef enum
{
ITABS_HORIZONTAL, ITABS_VERTICAL
} ItabsOrientation;
/* Control context */
struct _IcontrolData
{
ItabsType type;
ItabsOrientation orientation;
int horiz_padding, vert_padding; /* tab title margin */
int is_multiline; /* used only in Windows */
};
#ifdef __cplusplus
}
#endif
#endif
|