diff options
author | Joel Bodenmann <joel@unormal.org> | 2014-01-07 01:24:54 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2014-01-07 01:24:54 +0100 |
commit | da13d31c6910a12fb6cb56717b24ffeb82ed2d68 (patch) | |
tree | ab7fa6c0b3a6fbfb9d95ac7cfb58d108d4b24e20 /include | |
parent | f3cbb02c3a9a199acfb04d543a8e160e83e00d49 (diff) | |
download | uGFX-da13d31c6910a12fb6cb56717b24ffeb82ed2d68.tar.gz uGFX-da13d31c6910a12fb6cb56717b24ffeb82ed2d68.tar.bz2 uGFX-da13d31c6910a12fb6cb56717b24ffeb82ed2d68.zip |
implemented button callback in frame widget
Diffstat (limited to 'include')
-rw-r--r-- | include/gwin/frame.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |