EikButtonGroupFactory::TCreationData Class Reference

#include <mw/eikbgfty.h>

Link against: eikcoctl.lib

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

Detailed Description

Defines information required to create a button group.

Member Attribute Documentation

iCommandObserver

MEikCommandObserver *iCommandObserver

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

iFlags

TUint iFlags

Flags for the button group.

iOrientation

CEikButtonGroupContainer::TOrientationiOrientation

Orientation of the new button group.

iParentWg

RWindowGroup *iParentWg

Parent window group. Not owned.

iResourceId

TInt iResourceId

A resource containing descriptions of buttons in the group.

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.

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.

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