Foxit PDF SDK
|
Inherits FoxitPDFSDKPython2._object.
Public Member Functions | |
def | MenuItemEx () |
Constructor. More... | |
def | Set (item_name, return_name, is_checked, is_enabled, sub_menu_item_array) |
Set values. More... | |
Static Public Attributes | |
is_checked = _swig_property(_fsdk.MenuItemEx_is_checked_get, _fsdk.MenuItemEx_is_checked_set) | |
A boolean value which indicates whether the menu item is to be marked as checked. More... | |
is_enabled = _swig_property(_fsdk.MenuItemEx_is_enabled_get, _fsdk.MenuItemEx_is_enabled_set) | |
A boolean value which indicates whether the menu item is to appear enabled or grayed out. More... | |
item_name = _swig_property(_fsdk.MenuItemEx_item_name_get, _fsdk.MenuItemEx_item_name_set) | |
The menu item name, which is the string to appear on the menu item. The value of "-" is reserved to draw a separator line in the menu. | |
return_name = _swig_property(_fsdk.MenuItemEx_return_name_get, _fsdk.MenuItemEx_return_name_set) | |
A string to be returned when the menu item is selected. The default is the value of item name. | |
sub_menu_item_array = _swig_property(_fsdk.MenuItemEx_sub_menu_item_array_get, _fsdk.MenuItemEx_sub_menu_item_array_set) | |
The sub menu item array. | |
This class represents menu item.
def FoxitPDFSDKPython2.MenuItemEx.MenuItemEx | ( | ) |
Constructor.
Constructor, with another menu item object.
Constructor, with parameters.
[in] | item_name | The menu item name, which is the string to appear on the menu item. |
[in] | return_name | A string to be returned when the menu item is selected. |
[in] | is_checked | A boolean value which indicates whether the menu item is to be marked as checked. |
[in] | is_enabled | A boolean value which indicates whether the menu item is to appear enabled or grayed out. |
[in] | sub_menu_item_array | The sub menu item array. |
[in] | menu_item | Another menu item object. |
def FoxitPDFSDKPython2.MenuItemEx.Set | ( | item_name, | |
return_name, | |||
is_checked, | |||
is_enabled, | |||
sub_menu_item_array | |||
) |
Set values.
[in] | item_name | The menu item name, which is the string to appear on the menu item. |
[in] | return_name | A string to be returned when the menu item is selected. |
[in] | is_checked | A boolean value which indicates whether the menu item is to be marked as checked. |
[in] | is_enabled | A boolean value which indicates whether the menu item is to appear enabled or grayed out. |
[in] | sub_menu_item_array | The sub menu item array. |
|
static |
A boolean value which indicates whether the menu item is to be marked as checked.
true means that the menu item is to be marked as checked, while false means that the menu item is not to be marked as checked.
|
static |
A boolean value which indicates whether the menu item is to appear enabled or grayed out.
true means that the menu item is to appear enabled, while false means that the menu item is to appear grayed out.