EikButtonGroupFactory::TCreationData Class Reference

class EikButtonGroupFactory::TCreationData

Defines information required to create a button group.

eikcoctl.lib

Public Member Functions
TCreationData(CEikButtonGroupContainer::TUse, MEikCommandObserver *, TInt, RWindowGroup *, TUint, CEikButtonGroupContainer::TOrientation)
Public Attributes
MEikCommandObserver *iCommandObserver
TUint iFlags
CEikButtonGroupContainer::TOrientationiOrientation
RWindowGroup *iParentWg
TInt iResourceId
CEikButtonGroupContainer::TUseiUse

Constructor & Destructor Documentation

TCreationData(CEikButtonGroupContainer::TUse, MEikCommandObserver *, TInt, RWindowGroup *, TUint, CEikButtonGroupContainer::TOrientation)

IMPORT_CTCreationData(CEikButtonGroupContainer::TUseaUse,
MEikCommandObserver *aCommandObserver,
TIntaResourceId,
RWindowGroup *aParentWg,
TUintaFlags,
CEikButtonGroupContainer::TOrientationaOrientation
)

Constructor taking arguments required to create a button group.

Parameters

CEikButtonGroupContainer::TUse aUseThe type of button group container.
MEikCommandObserver * aCommandObserverA command observer to be notified of commands on the container.
TInt aResourceIdA resource containing descriptions of buttons in the group. This can be NULL if buttons are to be added dynamically.
RWindowGroup * aParentWgParent window group.
TUint aFlagsThe button group's flags.
CEikButtonGroupContainer::TOrientation aOrientationThe button group's containers orientation. You need specify this only for devices that can layout their buttons either horizontally or vertically.

Member Data Documentation

MEikCommandObserver * iCommandObserver

MEikCommandObserver *iCommandObserver

The command observer to be notified of commands on the container. Not owned.

TUint iFlags

TUint iFlags

Flags for the button group.

CEikButtonGroupContainer::TOrientation iOrientation

CEikButtonGroupContainer::TOrientationiOrientation

Orientation of the new button group.

RWindowGroup * iParentWg

RWindowGroup *iParentWg

Parent window group. Not owned.

TInt iResourceId

TInt iResourceId

A resource containing descriptions of buttons in the group.

CEikButtonGroupContainer::TUse iUse

CEikButtonGroupContainer::TUseiUse

Container use type.

This member is used to specify to the system the general type of the button group that is required. The system then creates the appropriate button group for the specified type.