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::TOrientation iOrientation
RWindowGroup * iParentWg
TInt iResourceId
CEikButtonGroupContainer::TUse iUse

Constructor & Destructor Documentation

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

IMPORT_C TCreationData ( CEikButtonGroupContainer::TUse aUse,
MEikCommandObserver * aCommandObserver,
TInt aResourceId,
RWindowGroup * aParentWg,
TUint aFlags,
CEikButtonGroupContainer::TOrientation aOrientation
)

Constructor taking arguments required to create a button group.

Parameters

CEikButtonGroupContainer::TUse aUse The type of button group container.
MEikCommandObserver * aCommandObserver A command observer to be notified of commands on the container.
TInt aResourceId A resource containing descriptions of buttons in the group. This can be NULL if buttons are to be added dynamically.
RWindowGroup * aParentWg Parent window group.
TUint aFlags The button group's flags.
CEikButtonGroupContainer::TOrientation aOrientation The 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::TOrientation iOrientation

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::TUse iUse

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.