26 #ifndef _GWIN_TABSET_H
27 #define _GWIN_TABSET_H
34 #define GEVENT_GWIN_TABSET (GEVENT_GWIN_CTRL_FIRST+5)
43 #if GWIN_NEED_WIDGET && GWIN_WIDGET_TAGS
55 #define GWIN_TABSET_BORDER 0x00000001
58 typedef struct GTabsetObject {
80 #define gwinTabsetCreate(fo, pInit, flags) gwinGTabsetCreate(GDISP, fo, pInit, flags);
104 #define gwinTabsetDeleteTab(gh) gwinDestroy(gh)
160 #define gwinTabsetGetTitle(gh) gwinGetText(gh)
210 #if GDISP_NEED_IMAGE || defined(__DOXYGEN__)
gI16 gCoord
The type for a coordinate or length on the screen.
void gwinTabsetDraw_Transparent(GWidgetObject *gw, void *param)
Renders the tabset but leaves the client area transparent.
void gwinTabsetDraw_Std(GWidgetObject *gw, void *param)
The default rendering function for the tabset widget.
void gwinTabsetDraw_Image(GWidgetObject *gw, void *param)
Renders the tabset and uses the specified image for the client area.
struct GEventGWinTabset GEventGWinTabset
A Tabset Event.
GHandle gwinGTabsetCreate(GDisplay *g, GTabsetObject *fo, GWidgetInit *pInit, gU32 flags)
Create a tabset widget.
GHandle gwinTabsetAddTab(GHandle gh, const char *title, gBool useAlloc)
Add a tab-page to the tabset.
void gwinTabsetSetTab(GHandle gh)
Set the active tab in a tabset.
int gwinTabsetCountTabs(GHandle gh)
Count the number of tabs in the tabset.
GHandle gwinTabsetGetTabByTitle(GHandle gh, const char *title)
Get the GHandle of a tab based on its title.
void gwinTabsetSetTitle(GHandle gh, const char *title, gBool useAlloc)
Set the title of a tab-page.
GHandle gwinTabsetGetTabByIndex(GHandle gh, int index)
Get the GHandle of a tab based on its position.
A window object structure.