Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: eikbutb.h
Link against: eikcoctl.lib

Class TEikButtonCoordinator

TEikButtonCoordinator

Support

Supported from 6.0

Description

Button coordinator.

An instance of this class is used to coordinate groups of buttons on the screen in which only one may be set at one time. All buttons which should be coordinated in this way share the same button coordinator.

Defined in TEikButtonCoordinator:
EEikButtonLatches, EEikButtonReportsOnPointerDown, EEikButtonStaysClear, EEikButtonStaysSet, SetChosenButton(), TButtonBehavior, TEikButtonCoordinator()

See also:


Constructor


TEikButtonCoordinator()

TEikButtonCoordinator();

Description

Constructor.

Constructs and initialises a new TEikButtonCoordinator object.

[Top]


Setting the chosen button


SetChosenButton()

void SetChosenButton(CEikButtonBase* aChosenButton);

Description

Sets the chosen button in the button group. If aChosenButton is different from the current chosen button, the chosen button is set to CEikButtonBase::EClear and aChosenButton becomes the current chosen button.

Parameters

CEikButtonBase* aChosenButton

Sets aChosenButton to be the current chosen button in the group.

[Top]


Enumeration constants


Enum TButtonBehavior

enum TButtonBehavior;

Description

Determines button behaviour. These values may be bitwise-ORed to specify the behaviour of a button

EEikButtonStaysClear

The button will always stay clear.

EEikButtonStaysSet

The button will always stay set.

EEikButtonLatches

The button will latch.

EEikButtonReportsOnPointerDown

Specifies a button which reports a control event to its observer on just a pointer down rather than on a down followed by an up.