本文整理汇总了Python中outwiker.core.application.Application.onPreferencesDialogCreate方法的典型用法代码示例。如果您正苦于以下问题:Python Application.onPreferencesDialogCreate方法的具体用法?Python Application.onPreferencesDialogCreate怎么用?Python Application.onPreferencesDialogCreate使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类outwiker.core.application.Application
的用法示例。
在下文中一共展示了Application.onPreferencesDialogCreate方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from outwiker.core.application import Application [as 别名]
# 或者: from outwiker.core.application.Application import onPreferencesDialogCreate [as 别名]
def __init__(self, *args, **kwds):
kwds["style"] = wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER | wx.THICK_FRAME
wx.Dialog.__init__(self, *args, **kwds)
self.__treeBook = wx.Treebook(self, -1)
self.__set_properties()
self.__do_layout()
# Страницы с настройками
self.__generalPage = None
self.__editorPage = None
self.__spellPage = None
self.__htmlRenderPage = None
self.__textPrintPage = None
self.__pluginsPage = None
self.__hotkeysPage = None
self.__htmlEditorPage = None
self.__iconsetPage = None
self.__tagsPage = None
self.__attachPage = None
self.__createPages()
Application.onPreferencesDialogCreate(self)
self.__loadAllOptions()
self.Center(wx.CENTRE_ON_SCREEN)
示例2: __init__
# 需要导入模块: from outwiker.core.application import Application [as 别名]
# 或者: from outwiker.core.application.Application import onPreferencesDialogCreate [as 别名]
def __init__(self, *args, **kwds):
kwds["style"] = wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER | wx.THICK_FRAME
wx.Dialog.__init__(self, *args, **kwds)
self.__treeBook = wx.Treebook(self, -1)
self.__do_layout()
Application.onPreferencesDialogCreate (self)
self.__expandAllPages()
self.__treeBook.SetSelection (0)
self.__loadAllOptions()
self.__set_properties()