diff options
Diffstat (limited to 'src/gwin/gcontainer.h')
-rw-r--r-- | src/gwin/gcontainer.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gwin/gcontainer.h b/src/gwin/gcontainer.h index 61852c7c..8159797c 100644 --- a/src/gwin/gcontainer.h +++ b/src/gwin/gcontainer.h @@ -79,6 +79,20 @@ extern "C" { * @api */ GHandle gwinGetSibling(GHandle gh); + + /** + * @brief Create a simple container. + * @return NULL if there is no resultant drawing area, otherwise a window handle. + * + * @param[in] g The GDisplay to display this window on + * @param[in] gb The GContainerObject structure to initialise. If this is NULL the structure is dynamically allocated. + * @param[in] pInit The initialisation parameters + * + * @api + */ + GHandle gwinGContainerCreate(GDisplay *g, GContainerObject *gw, const GWidgetInit *pInit); + #define gwinContainerCreate(gc, pInit) gwinGContainerCreate(GDISP, gc, pInit) + #ifdef __cplusplus } #endif |