Location:
eiklbbut.h
Link against:
eikcoctl.lib
CEikLabeledButton
Supported from 6.0
A command button with a label. A labelled button has no picture associated with it: it displays text only.
You can also assign a hotkey code to the button and choose whether the code is displayed on the button.
|
Defined in CEikLabeledButton
:
Animate()
, Button()
, CEikLabeledButton()
, ConstructFromResourceL()
, ConstructL()
, EPlainHotKey
, EShowHotKey
, GetColorUseListL()
, HandleResourceChange()
, HotKeyCode()
, InputCapabilities()
, Label()
, MinimumSize()
, OfferKeyEventL()
, PlainHotKey()
, SetContainerWindowL()
, SetDimmed()
, ShowsHotKey()
, TFlags
, UpdateHotKey()
, ~CEikLabeledButton()
Inherited from CBase
:
operator new()
Inherited from CCoeControl
:
ActivateGc()
,
ActivateL()
,
BackedUpWindow()
,
CapturesPointer()
,
ClaimPointerGrab()
,
CloseWindow()
,
ComponentControl()
,
ControlContext()
,
ControlEnv()
,
CopyControlContextFrom()
,
CountComponentControls()
,
CreateBackedUpWindowL()
,
CreateWindowL()
,
DeactivateGc()
,
DrawDeferred()
,
DrawNow()
,
DrawableWindow()
,
EnableDragEvents()
,
FocusChanged()
,
GetColor()
,
GetHelpContext()
,
GrabbingComponent()
,
HandleComponentControlsResourceChange()
,
HandlePointerBufferReadyL()
,
HandlePointerEventL()
,
HandleRedrawEvent()
,
HasBorder()
,
IgnoreEventsUntilNextPointerUp()
,
Index()
,
IsActivated()
,
IsBackedUp()
,
IsBeingDestroyed()
,
IsBlank()
,
IsDimmed()
,
IsFocused()
,
IsNonFocusing()
,
IsReadyToDraw()
,
IsVisible()
,
MakeVisible()
,
Observer()
,
OverrideColorL()
,
OwnsWindow()
,
Position()
,
PositionChanged()
,
PositionRelativeToScreen()
,
PrepareForFocusGainL()
,
PrepareForFocusLossL()
,
Rect()
,
RecursivelyMergedInputCapabilities()
,
ReportEventL()
,
ResetGc()
,
SetAdjacent()
,
SetAllowStrayPointers()
,
SetBlank()
,
SetCanDrawOutsideRect()
,
SetComponentsToInheritVisibility()
,
SetContainerWindow()
,
SetControlContext()
,
SetCornerAndSize()
,
SetCornerAndSizeL()
,
SetExtent()
,
SetExtentL()
,
SetExtentToWholeScreen()
,
SetExtentToWholeScreenL()
,
SetFocus()
,
SetFocusing()
,
SetGloballyCapturing()
,
SetNeighbor()
,
SetNonFocusing()
,
SetObserver()
,
SetPointerCapture()
,
SetPosition()
,
SetRect()
,
SetRectL()
,
SetSize()
,
SetSizeL()
,
SetSizeWithoutNotification()
,
SetSizeWithoutNotificationL()
,
Size()
,
SizeChanged()
,
SizeChangedL()
,
SystemGc()
,
Window()
Inherited from MCoeControlObserver
:
EEventInteractionRefused
,
EEventPrepareFocusTransition
,
EEventRequestCancel
,
EEventRequestExit
,
EEventRequestFocus
,
EEventStateChanged
,
HandleControlEventL()
,
TCoeEvent
CEikLabeledButton();
Begins construction. Sets the button to inherit the visibility of its owner.
void ConstructFromResourceL(TResourceReader& aReader);
Constructs a labelled button from resource. zz ? what type of resource?
|
void ConstructL(CEikCommandButtonBase* aButton,TInt aHotKeyCode,TInt aFlags);
Completes construction.
|
CEikCommandButtonBase* Button() const;
Gets a pointer to the button.
|
CEikLabel* Label() const;
Gets the button's label.
|
TCoeInputCapabilities InputCapabilities() const;
Gets the button's input capabilities. These are the key event types that the button will accept.
|
TInt HotKeyCode() const;
Gets the button's hotkey code.
|
TBool PlainHotKey() const;
Tests whether the button is set so that hotkeys for commands are not shown.
|
TBool ShowsHotKey() const;
Tests whether the button is set so that hotkeys for commands are shown.
|
void UpdateHotKey(TInt aKeyCode,TFlags aFlags);
Sets the button's hotkey code and flags to determine whether the hotkey code is displayed.
|
void SetDimmed(TBool aDimmed);
Sets the button's dimmed state. Dimming usually indicates user input is not accepted.
|
TSize MinimumSize();
Gets the minimum size required to display the button. This includes the space required to display the button's margins and label.
|
void GetColorUseListL(CArrayFix<TCoeColorUse>& aColorUseList) const;
Gets a list of logical colors used to draw the button, paired
with an explanation of how they are used. Appends the list to
aColorUseList
.
|
TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
Offers a key event to the button.
|
|
void HandleResourceChange(TInt aType);
Handles a change in the button's resources which are shared across the environment. Colours or fonts for example.
|
void SetContainerWindowL(const CCoeControl& aContainer);
Sets the button's containing window. Copies the containing
window and control context from aContainer
.
|
TFlags
Flags to control whether hotkeys are displayed on the button.
|