class CEikAutoMenuTitle : public CBase |
A menu title that will be added to a standard resource-constructed menu bar.
If added to the CEikAutoMenuTitleArray stored by CEikonEnv during standard application start up, the menu pane specified will appear in all applications. The menu observer passed in is notified of any events on such menu panes in preference to the usual observer (C<MyApp>AppUi).
Public Member Functions | |
---|---|
~CEikAutoMenuTitle() | |
IMPORT_C CEikAutoMenuTitle * | NewLC(TTitlePos, const TDesC &, MEikAutoMenuObserver &, TInt, CGulIcon *) |
Private Member Functions | |
---|---|
CEikAutoMenuTitle(TTitlePos, const TDesC &, MEikAutoMenuObserver &, TInt, CGulIcon *) |
Public Member Enumerations | |
---|---|
enum | TTitlePos { EStart, EEnd } |
Public Attributes | |
---|---|
CGulIcon * | iIcon |
MEikAutoMenuObserver & | iMenuObserver |
TInt | iMenuPaneResourceId |
TTitlePos | iPos |
TBuf< ENominalTextLength > | iText |
CEikAutoMenuTitle | ( | TTitlePos | aPos, |
const TDesC & | aText, | ||
MEikAutoMenuObserver & | aMenuObserver, | ||
TInt | aMenuPaneResourceId, | ||
CGulIcon * | aIcon | ||
) | [private] |
TTitlePos aPos | |
const TDesC & aText | |
MEikAutoMenuObserver & aMenuObserver | |
TInt aMenuPaneResourceId | |
CGulIcon * aIcon |
IMPORT_C CEikAutoMenuTitle * | NewLC | ( | TTitlePos | aPos, |
const TDesC & | aText, | |||
MEikAutoMenuObserver & | aMenuObserver, | |||
TInt | aMenuPaneResourceId = 0, | |||
CGulIcon * | aIcon = NULL | |||
) | [static] |
TTitlePos aPos | |
const TDesC & aText | |
MEikAutoMenuObserver & aMenuObserver | |
TInt aMenuPaneResourceId = 0 | |
CGulIcon * aIcon = NULL |
Specifies the position of a menu title in a menu.
If an array of menu titles holds more than one menu title that is specified for the start or end of a menu, the menu titles are placed in the same order as that in which they appear in the array. This means the first menu title specified with EStart in an array will be the first on a menu bar and the last EEnd will be the last on a menu bar.
EStart |
The menu title is placed first in a menu. |
EEnd |
The menu title is placed last in a menu. |