|
Public Types |
enum | TMenuType { EMenuOptions = 0,
EMenuContext = 1,
EMenuEdit = 2,
EMenuOptionsNoTaskSwapper = 3
} |
Public Member Functions |
| DECLARE_TYPE_ID (0x101F4106) struct SCursor |
| Specifies the menu item within the menu pane.
|
IMPORT_C | ~CEikMenuBar () |
| Destructor.
|
IMPORT_C | CEikMenuBar () |
| C++ default constructor.
|
IMPORT_C TKeyResponse | OfferKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) |
| From CCoeControl .
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
| From CCoeControl .
|
IMPORT_C void | Draw (const TRect &aRect) const |
| From CCoeControl .
|
IMPORT_C void | ConstructL (MEikMenuObserver *aMenuObserver, TInt aHotKeyResourceId=0, TInt aMenuTitleResourceId=0) |
| Second phase constructor for a menu bar.
|
IMPORT_C void | ConstructFromResourceL (TResourceReader &aReader) |
| Second phase constructor for a menu bar which builds the menu bar from the given resource file.
|
IMPORT_C void | ChangeMenuBarL (TInt aHotKeyResourceId=0, TInt aMenuTitleResourceId=0, TInt aDisplayNow=ETrue) |
| Not implemented.
|
IMPORT_C CEikHotKeyTable * | SetHotKeyTable (CEikHotKeyTable *aHotKeyTable) |
| Not implemented!
|
IMPORT_C void | SetMenuTitleResourceId (TInt aMenuTitleResourceId) |
| Sets the menu’s resource ID.
|
IMPORT_C void | SetContextMenuTitleResourceId (TInt aMenuTitleResourceId) |
IMPORT_C void | SetMenuTitleArray (CTitleArray *aTitleArray) |
| Not implemented.
|
IMPORT_C void | SetTitleArrayOwnedExternally (TBool aOwnedExternally) |
| Not implemented.
|
IMPORT_C SCursor | SetMenuCursor (const SCursor &aCursor) |
| Sets the cursor to the specifed menu pane and menu item.
|
IMPORT_C void | StopDisplayingMenuBar () |
| Stops displaying the menu bar.
|
IMPORT_C void | TryDisplayMenuBarL () |
| Displays the menu bar.
|
IMPORT_C void | TryDisplayContextMenuBarL () |
IMPORT_C void | TryDisplayMenuBarWithoutFepMenusL () |
| If the menu is not already displayed, this function displays the menu bar without fep menu and allows the user to make a selection.
|
IMPORT_C void | MoveHighlightToL (TInt aNewSelectedTitle, TInt aNewSelectedItem=0) |
| Not implemented.
|
IMPORT_C void | DrawItem (TInt aItem) const |
| Not implemented.
|
CEikHotKeyTable * | HotKeyTable () const |
| Gets a pointer to the menu’s hot key table.
|
IMPORT_C TInt | SelectedTitle () |
| Gets the index of the menu pane selected by the cursor.
|
IMPORT_C TInt | SelectedItem () |
| Gets the index of the menu item selected by the cursor.
|
virtual IMPORT_C void | FindCommandIdInResourceL (TInt aCommandId, TInt &aPaneindex, TInt &aItemindex) |
| Searches for the menu item that corresponds to the specified command.
|
IMPORT_C CEikMenuPane * | MenuPane () |
| Gets a menu pane resource.
|
IMPORT_C void | ReduceRect (TRect &aRect) const |
| If the menu bar is visible, removes the menu bar height from the top of aRect and returns the new rectangle in a new value of aRect .
|
IMPORT_C CTitleArray * | TitleArray () |
| Gets array of information about the menu bar titles.
|
IMPORT_C void | SetEditMenuObserver (MEikMenuObserver *aEditMenuObserver) |
| Sets menu observer interface.
|
IMPORT_C void | RemoveEditMenuObserver (MEikMenuObserver *aEditMenuObserver) |
| Sets the menu observer interface to NULL .
|
IMPORT_C TBool | IsDisplayed () |
| Allows the client to determine if the menubar instance is displayed.
|
IMPORT_C void | SetMenuType (TMenuType aMenuType) |
| Sets type of the menu.
|
virtual IMPORT_C void | GetColorUseListL (CArrayFix< TCoeColorUse > &aColorUseList) const |
| From CCoeControl .
|
virtual IMPORT_C void | HandleResourceChange (TInt aType) |
| From CCoeControl .
|
Friends |
class | CEikMenuPaneTitle |
class | CEikMenuBarExtension |
Data Structures |
class | CTitleArray |
| This class enables construction, and destruction of an array of information about menu bar titles. More...
|
struct | SPosition |