Foxit PDF SDK
|
Inherits FoxitPDFSDKPython2._object.
Public Member Functions | |
def | MenuItemConfig () |
Constructor. | |
def | MenuItemConfig (menu_item_config) |
Constructor, with another menu item config object. More... | |
def | MenuItemConfig (name, user, parent, pos, pos_str, exec, enable, marked) |
Constructor, with parameters. More... | |
def | Set (name, user, parent, pos, pos_str, exec, enable, marked) |
Set values. More... | |
Static Public Attributes | |
enable = _swig_property(_fsdk.MenuItemConfig_enable_get, _fsdk.MenuItemConfig_enable_set) | |
(Only used by | |
marked = _swig_property(_fsdk.MenuItemConfig_marked_get, _fsdk.MenuItemConfig_marked_set) | |
(Only used by | |
name = _swig_property(_fsdk.MenuItemConfig_name_get, _fsdk.MenuItemConfig_name_set) | |
The language-independent name of the menu item. | |
parent = _swig_property(_fsdk.MenuItemConfig_parent_get, _fsdk.MenuItemConfig_parent_set) | |
The name of the parent menu item. Its submenu will have the new menu item added to it. | |
pos = _swig_property(_fsdk.MenuItemConfig_pos_get, _fsdk.MenuItemConfig_pos_set) | |
The position within the submenu to locate the new menu item. | |
pos_str = _swig_property(_fsdk.MenuItemConfig_pos_str_get, _fsdk.MenuItemConfig_pos_str_set) | |
(Only used by | |
user = _swig_property(_fsdk.MenuItemConfig_user_get, _fsdk.MenuItemConfig_user_set) | |
The user string (language-dependent name) to display as the menu item name. | |
This class represents menu item config.
def FoxitPDFSDKPython2.MenuItemConfig.MenuItemConfig | ( | name, | |
user, | |||
parent, | |||
pos, | |||
pos_str, | |||
exec, | |||
enable, | |||
marked | |||
) |
Constructor, with parameters.
[in] | name | The language-independent name of the menu item. |
[in] | user | The user string (language-dependent name) to display as the menu item name. |
[in] | parent | The name of the parent menu item. Its submenu will have the new menu item added to it. |
[in] | pos | The position within the submenu to locate the new menu item. |
[in] | pos_str | The string is a named item in the menu (a language-independent name of a menu item). |
[in] | exec | An expression string to evaluate when the menu item is selected by the user. |
[in] | enable | An expression string that is evaluated to determine whether to enable the menu item. |
[in] | marked | An expression string that determines whether the menu item has a check mark next to it. |
def FoxitPDFSDKPython2.MenuItemConfig.MenuItemConfig | ( | menu_item_config | ) |
Constructor, with another menu item config object.
[in] | menu_item_config | Another menu item config object. |
def FoxitPDFSDKPython2.MenuItemConfig.Set | ( | name, | |
user, | |||
parent, | |||
pos, | |||
pos_str, | |||
exec, | |||
enable, | |||
marked | |||
) |
Set values.
[in] | name | The language-independent name of the menu item. |
[in] | user | The user string (language-dependent name) to display as the menu item name. |
[in] | parent | The name of the parent menu item. Its submenu will have the new menu item added to it. |
[in] | pos | The position within the submenu to locate the new menu item. |
[in] | pos_str | The string is a named item in the menu (a language-independent name of a menu item). |
[in] | exec | An expression string to evaluate when the menu item is selected by the user. |
[in] | enable | An expression string that is evaluated to determine whether to enable the menu item. |
[in] | marked | An expression string that determines whether the menu item has a check mark next to it. |