|
|
add menu-items
self.add_menuitem("edit_text", "Edit...")
self.add_menuitem("", "-")
self.add_menuitem("copy", "Copy")
self.add_menuitem("paste", "Paste")
self.add_menuitem("", "-")
self.add_menuitem("clear", "Clear")
add default menuitems
add settings groups
self.add_option(StringOption('Text', 'text_prefix',
self.text_prefix, 'Text-Prefix',
'The text/Pango-Markup to be placed before the text ...'))
self.add_option(StringOption('Text', 'text_suffix',
self.text_suffix, 'Text-Suffix',
'The text/Pango-Markup to be placed after the text ...'))
add hidden "note_text"-option (to save but not show in editor)
|