Foxit PDF SDK

Public Member Functions | Static Public Attributes | List of all members
FoxitPDFSDKPython3.WidgetChoiceOption Class Reference

Inherits FoxitPDFSDKPython3._object.

## Public Member Functions
def | WidgetChoiceOption ()
| Constructor.
def | WidgetChoiceOption (option)
| Constructor, with another choice option object. More...
def | WidgetChoiceOption (option_label, selected)
| Constructor, with parameters. 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_label | The displayed string value for the option.
  [in] | selected | true 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] | option | Another choice option object.

## Member Function Documentation

## ◆ Set()

def FoxitPDFSDKPython3.WidgetChoiceOption.Set | ( |  | option_label,
|  |  | selected
| ) |  |

Set value.

Parameters

  [in] | option_label | The displayed string value for the option.
  [in] | selected | true means the option is selected, and false means the option is not selected.

Returns
  None.