Foxit PDF SDK
FoxitPDFSDKPython3.WidgetChoiceOption Class Reference

Inherits FoxitPDFSDKPython3._object.

Public Member Functions

def WidgetChoiceOption ()
 Constructor.
 
def WidgetChoiceOption (option_label, selected)
 Constructor, with parameters. More...
 
def WidgetChoiceOption (option)
 Constructor, with another choice option object. More...
 
def Set (option_label, selected)
 Set value. More...
 

Static Public Attributes

 option_label = _fsdk.WidgetChoiceOption_option_label
 The displayed string value for the option.
 
 selected = _fsdk.WidgetChoiceOption_selected
 Used to indicate whether the option is selected or not.
 

Detailed Description

This class represents the data of an option in list box or combo box.

Constructor & Destructor Documentation

◆ WidgetChoiceOption() [1/2]

def FoxitPDFSDKPython3.WidgetChoiceOption.WidgetChoiceOption (   option_label,
  selected 
)

Constructor, with parameters.

Parameters
[in]option_labelThe displayed string value for the option.
[in]selectedtrue means the option is selected, and false means the option is not selected.

◆ WidgetChoiceOption() [2/2]

def FoxitPDFSDKPython3.WidgetChoiceOption.WidgetChoiceOption (   option)

Constructor, with another choice option object.

Parameters
[in]optionAnother choice option object.

Member Function Documentation

◆ Set()

def FoxitPDFSDKPython3.WidgetChoiceOption.Set (   option_label,
  selected 
)

Set value.

Parameters
[in]option_labelThe displayed string value for the option.
[in]selectedtrue means the option is selected, and false means the option is not selected.
Returns
None.