mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-09 22:58:28 +02:00
CComponentsHeader: add member getContextBtnObject()
Allow access directly to methods and properties of context button object.
Origin commit data
------------------
Commit: bed36eab33
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-11 (Sun, 11 May 2014)
This commit is contained in:
@@ -151,6 +151,9 @@ class CComponentsHeader : public CComponentsForm
|
|||||||
///existing buttons are removed
|
///existing buttons are removed
|
||||||
virtual void setContextButton(const int& buttons){removeContextButtons(); addContextButton(buttons);};
|
virtual void setContextButton(const int& buttons){removeContextButtons(); addContextButton(buttons);};
|
||||||
|
|
||||||
|
///gets the embedded context button object, so it's possible to get access directly to its methods and properties
|
||||||
|
virtual CComponentsIconForm* getContextBtnObject() { return cch_btn_obj;};
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
CC_BTN_HELP = 0x02,
|
CC_BTN_HELP = 0x02,
|
||||||
|
Reference in New Issue
Block a user