wxPdfDocument  1.4.0
Library for generating PDF documents from wxWidgets applications
Loading...
Searching...
No Matches
wxPdfRadioGroup Class Reference

#include <pdfform.h>

Inheritance diagram for wxPdfRadioGroup:
wxPdfIndirectObject

Public Member Functions

 wxPdfRadioGroup (int objectId, const wxString &groupName, int generationId=0)
 Constructor.
virtual ~wxPdfRadioGroup ()
 Destructor.
void Add (wxPdfRadioButton *radio)
 Add a button to the group.
wxString GetName ()
 Get name of the button group.
unsigned int GetCount ()
 Get the number of buttons in the group.
wxArrayPtrVoid GetKids ()
 Get the array of buttons in the group.
Public Member Functions inherited from wxPdfIndirectObject
 wxPdfIndirectObject (int objectId, int generationId)
 Constructor.
virtual ~wxPdfIndirectObject ()
 Destructor.
wxPdfObjectType GetType ()
 Get type of this object.
void SetType (wxPdfObjectType type)
 Set type of object.
int GetObjectId ()
 Get identifier of this object.
int GetGenerationId ()
 Get generation identifier of this object.

Detailed Description

Class representing radio button groups (for internal use only)

Constructor & Destructor Documentation

◆ wxPdfRadioGroup()

wxPdfRadioGroup::wxPdfRadioGroup ( int objectId,
const wxString & groupName,
int generationId = 0 )

Constructor.

Parameters
objectIdthe object number
groupNamename of the group
generationIdthe generation number

◆ ~wxPdfRadioGroup()

virtual wxPdfRadioGroup::~wxPdfRadioGroup ( )
virtual

Destructor.

Member Function Documentation

◆ Add()

void wxPdfRadioGroup::Add ( wxPdfRadioButton * radio)

Add a button to the group.

Parameters
radioPointer to the radio button to add

◆ GetCount()

unsigned int wxPdfRadioGroup::GetCount ( )
inline

Get the number of buttons in the group.

Returns
Button count

◆ GetKids()

wxArrayPtrVoid wxPdfRadioGroup::GetKids ( )
inline

Get the array of buttons in the group.

Returns
Array of child buttons

◆ GetName()

wxString wxPdfRadioGroup::GetName ( )
inline

Get name of the button group.

Returns
Group name

The documentation for this class was generated from the following file:
  • E:/github/wxpdfdoc-current/include/wx/pdfform.h