From da13d31c6910a12fb6cb56717b24ffeb82ed2d68 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Tue, 7 Jan 2014 01:24:54 +0100 Subject: implemented button callback in frame widget --- include/gwin/frame.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/gwin/frame.h b/include/gwin/frame.h index d5272ee6..34ba12ac 100644 --- a/include/gwin/frame.h +++ b/include/gwin/frame.h @@ -33,6 +33,7 @@ typedef struct GFrameObject { GWidgetObject w; + GListener gl; // internal listener for the buttons // These could probably be removed... I have to think harder later GHandle btnClose; GHandle btnMin; @@ -52,6 +53,8 @@ typedef struct GFrameObject { * * @note Possible flags are: GWIN_FRAME_BORDER, GWIN_FRAME_CLOSE_BTN, GWIN_FRAME_MINMAX_BTN. * Whether the close or the minimize maximize buttons are used, the boarder is automatically invoked. + * @note These frame buttons are processed internally. The close button will invoke a gwinDestroy() which will + * destroy the window itself and EVERY child it contains (also children of children). * * @api */ -- cgit v1.2.3