Python wx.TAB_TRAVERSAL Examples
The following are 30
code examples of wx.TAB_TRAVERSAL().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
wx
, or try the search function
.
Example #1
Source File: BasesEtc_Phoenix.py From wxGlade with MIT License | 6 votes |
def __init__(self, *args, **kwds): # begin wxGlade: MyPanelScrolled.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self.SetScrollRate(10, 10) sizer_1 = wx.BoxSizer(wx.VERTICAL) sizer_1.Add((0, 0), 0, 0, 0) self.SetSizer(sizer_1) sizer_1.Fit(self) self.Layout() # end wxGlade # end of class MyPanelScrolled
Example #2
Source File: toplevels_no_size_Phoenix.py From wxGlade with MIT License | 6 votes |
def __init__(self, *args, **kwds): # begin wxGlade: wxgMeasurementsByDayPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) __szr_main = wx.BoxSizer(wx.HORIZONTAL) self._LCTRL_days = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._LCTRL_days.SetMinSize((100, 100)) __szr_main.Add(self._LCTRL_days, 1, wx.EXPAND | wx.RIGHT, 5) self._LCTRL_days_copy = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._LCTRL_days_copy.SetMinSize((100, 100)) __szr_main.Add(self._LCTRL_days_copy, 1, wx.EXPAND | wx.RIGHT, 5) self.SetSizer(__szr_main) __szr_main.Fit(self) self.Layout() self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_day_selected, self._LCTRL_days) self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_day_selected, self._LCTRL_days_copy) # end wxGlade
Example #3
Source File: Issue_371.py From wxGlade with MIT License | 6 votes |
def __init__(self, *args, **kwds): # begin wxGlade: FrameMain.__init__ kwds["style"] = kwds.get("style", 0) | wx.DEFAULT_FRAME_STYLE wx.Frame.__init__(self, *args, **kwds) self.SetSize((985, 852)) self.SetTitle(_("Frame")) _icon = wx.NullIcon _icon.CopyFromBitmap(wx.ICON(icon)) self.SetIcon(_icon) sizer_top = wx.BoxSizer(wx.HORIZONTAL) self.panel_top = wx.Panel(self, wx.ID_ANY, style=wx.BORDER_STATIC | wx.TAB_TRAVERSAL) sizer_top.Add(self.panel_top, 1, wx.EXPAND, 0) self.SetSizer(sizer_top) self.Layout() # end wxGlade # end of class FrameMain
Example #4
Source File: BasesEtc_w_sizers_Phoenix.py From wxGlade with MIT License | 6 votes |
def __init__(self, *args, **kwds): # begin wxGlade: MyPanelScrolled.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self.SetSize((400, 300)) self.SetScrollRate(10, 10) sizer_1 = wx.BoxSizer(wx.VERTICAL) sizer_1.Add((0, 0), 0, 0, 0) self.SetSizer(sizer_1) self.Layout() # end wxGlade # end of class MyPanelScrolled
Example #5
Source File: BasesEtc_w_sizers_Phoenix.py From wxGlade with MIT License | 6 votes |
def __init__(self, *args, **kwds): # begin wxGlade: MyPanelWithBases.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL MyPanelBase.__init__(self, *args, **kwds) mypanelbases.MyPanelBase.__init__(self) self.SetSize((400, 300)) sizer_1 = wx.BoxSizer(wx.VERTICAL) sizer_1.Add((0, 0), 0, 0, 0) self.SetSizer(sizer_1) self.Layout() # end wxGlade # end of class MyPanelWithBases
Example #6
Source File: BasesEtc_w_sizers_Phoenix.py From wxGlade with MIT License | 6 votes |
def __init__(self, *args, **kwds): # begin wxGlade: MyPanel.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self.SetSize((400, 300)) sizer_1 = wx.BoxSizer(wx.VERTICAL) sizer_1.Add((0, 0), 0, 0, 0) self.SetSizer(sizer_1) self.Layout() # end wxGlade # end of class MyPanel
Example #7
Source File: PanelClass.py From wxGlade with MIT License | 6 votes |
def __init__(self, *args, **kwds): # begin wxGlade: DebugPanel.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self.SetFont(wx.Font(12, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_BOLD, 0, "")) sizer_2 = wx.StaticBoxSizer(wx.StaticBox(self, wx.ID_ANY, "sizer_2"), wx.VERTICAL) sizer_2.Add((0, 0), 0, 0, 0) self.SetSizer(sizer_2) self.Layout() # end wxGlade # end of class DebugPanel
Example #8
Source File: BasesEtc.py From wxGlade with MIT License | 6 votes |
def __init__(self, *args, **kwds): # begin wxGlade: MyPanelScrolled.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self.SetScrollRate(10, 10) sizer_1 = wx.BoxSizer(wx.VERTICAL) sizer_1.Add((0, 0), 0, 0, 0) self.SetSizer(sizer_1) sizer_1.Fit(self) self.Layout() # end wxGlade # end of class MyPanelScrolled
Example #9
Source File: BasesEtc.py From wxGlade with MIT License | 6 votes |
def __init__(self, *args, **kwds): # begin wxGlade: MyPanelWithBases.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL MyPanelBase.__init__(self, *args, **kwds) mypanelbases.MyPanelBase.__init__(self) sizer_1 = wx.BoxSizer(wx.VERTICAL) sizer_1.Add((0, 0), 0, 0, 0) self.SetSizer(sizer_1) sizer_1.Fit(self) self.Layout() # end wxGlade # end of class MyPanelWithBases
Example #10
Source File: BasesEtc.py From wxGlade with MIT License | 6 votes |
def __init__(self, *args, **kwds): # begin wxGlade: MyPanel.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) sizer_1 = wx.BoxSizer(wx.VERTICAL) sizer_1.Add((0, 0), 0, 0, 0) self.SetSizer(sizer_1) sizer_1.Fit(self) self.Layout() # end wxGlade # end of class MyPanel
Example #11
Source File: toplevels_no_size_Phoenix.py From wxGlade with MIT License | 6 votes |
def __init__(self, *args, **kwds): # begin wxGlade: wxgMeasurementsByDayPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) __szr_main = wx.BoxSizer(wx.HORIZONTAL) self.text_ctrl_1 = wx.TextCtrl(self, wx.ID_ANY, "") __szr_main.Add(self.text_ctrl_1, 0, 0, 0) self.text_ctrl_2 = wx.TextCtrl(self, wx.ID_ANY, "") __szr_main.Add(self.text_ctrl_2, 0, 0, 0) self.SetSizer(__szr_main) __szr_main.Fit(self) self.Layout() # end wxGlade # end of class wxgMeasurementsByDayPnl
Example #12
Source File: toplevels_no_size_Classic.py From wxGlade with MIT License | 6 votes |
def __init__(self, *args, **kwds): # begin wxGlade: wxgMeasurementsByDayPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) __szr_main = wx.BoxSizer(wx.HORIZONTAL) self.text_ctrl_1 = wx.TextCtrl(self, wx.ID_ANY, "") __szr_main.Add(self.text_ctrl_1, 0, 0, 0) self.text_ctrl_2 = wx.TextCtrl(self, wx.ID_ANY, "") __szr_main.Add(self.text_ctrl_2, 0, 0, 0) self.SetSizer(__szr_main) __szr_main.Fit(self) self.Layout() # end wxGlade # end of class wxgMeasurementsByDayPnl
Example #13
Source File: BasesEtc_Classic.py From wxGlade with MIT License | 6 votes |
def __init__(self, *args, **kwds): # begin wxGlade: MyPanelScrolled.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self.SetScrollRate(10, 10) sizer_1 = wx.BoxSizer(wx.VERTICAL) sizer_1.Add((0, 0), 0, 0, 0) self.SetSizer(sizer_1) sizer_1.Fit(self) self.Layout() # end wxGlade # end of class MyPanelScrolled
Example #14
Source File: BasesEtc_Classic.py From wxGlade with MIT License | 6 votes |
def __init__(self, *args, **kwds): # begin wxGlade: MyPanelWithBases.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL MyPanelBase.__init__(self, *args, **kwds) mypanelbases.MyPanelBase.__init__(self) sizer_1 = wx.BoxSizer(wx.VERTICAL) sizer_1.Add((0, 0), 0, 0, 0) self.SetSizer(sizer_1) sizer_1.Fit(self) self.Layout() # end wxGlade # end of class MyPanelWithBases
Example #15
Source File: BasesEtc_Classic.py From wxGlade with MIT License | 6 votes |
def __init__(self, *args, **kwds): # begin wxGlade: MyPanel.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) sizer_1 = wx.BoxSizer(wx.VERTICAL) sizer_1.Add((0, 0), 0, 0, 0) self.SetSizer(sizer_1) sizer_1.Fit(self) self.Layout() # end wxGlade # end of class MyPanel
Example #16
Source File: BasesEtc_Phoenix.py From wxGlade with MIT License | 6 votes |
def __init__(self, *args, **kwds): # begin wxGlade: MyPanelWithBases.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL MyPanelBase.__init__(self, *args, **kwds) mypanelbases.MyPanelBase.__init__(self) sizer_1 = wx.BoxSizer(wx.VERTICAL) sizer_1.Add((0, 0), 0, 0, 0) self.SetSizer(sizer_1) sizer_1.Fit(self) self.Layout() # end wxGlade # end of class MyPanelWithBases
Example #17
Source File: BasesEtc_Phoenix.py From wxGlade with MIT License | 6 votes |
def __init__(self, *args, **kwds): # begin wxGlade: MyPanel.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) sizer_1 = wx.BoxSizer(wx.VERTICAL) sizer_1.Add((0, 0), 0, 0, 0) self.SetSizer(sizer_1) sizer_1.Fit(self) self.Layout() # end wxGlade # end of class MyPanel
Example #18
Source File: BasesEtc_w_sizers_Classic.py From wxGlade with MIT License | 6 votes |
def __init__(self, *args, **kwds): # begin wxGlade: MyPanel.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self.SetSize((400, 300)) sizer_1 = wx.BoxSizer(wx.VERTICAL) sizer_1.Add((0, 0), 0, 0, 0) self.SetSizer(sizer_1) self.Layout() # end wxGlade # end of class MyPanel
Example #19
Source File: BasesEtc_w_sizers_Classic.py From wxGlade with MIT License | 6 votes |
def __init__(self, *args, **kwds): # begin wxGlade: MyPanelWithBases.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL MyPanelBase.__init__(self, *args, **kwds) mypanelbases.MyPanelBase.__init__(self) self.SetSize((400, 300)) sizer_1 = wx.BoxSizer(wx.VERTICAL) sizer_1.Add((0, 0), 0, 0, 0) self.SetSizer(sizer_1) self.Layout() # end wxGlade # end of class MyPanelWithBases
Example #20
Source File: BasesEtc_w_sizers_Classic.py From wxGlade with MIT License | 6 votes |
def __init__(self, *args, **kwds): # begin wxGlade: MyPanelScrolled.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self.SetSize((400, 300)) self.SetScrollRate(10, 10) sizer_1 = wx.BoxSizer(wx.VERTICAL) sizer_1.Add((0, 0), 0, 0, 0) self.SetSizer(sizer_1) self.Layout() # end wxGlade # end of class MyPanelScrolled
Example #21
Source File: GuiAbsBase.py From Crypter with GNU General Public License v3.0 | 6 votes |
def __init__( self, parent ): wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = u"Encrypted Files", pos = wx.DefaultPosition, size = wx.Size( 600,400 ), style = wx.DEFAULT_FRAME_STYLE|wx.TAB_TRAVERSAL ) self.SetSizeHints( wx.DefaultSize, wx.DefaultSize ) BodySizer = wx.BoxSizer( wx.VERTICAL ) self.m_panel4 = wx.Panel( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL ) TextCtrlSizer = wx.BoxSizer( wx.VERTICAL ) self.EncryptedFilesTextCtrl = wx.TextCtrl( self.m_panel4, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, wx.TE_DONTWRAP|wx.TE_MULTILINE|wx.TE_READONLY ) TextCtrlSizer.Add( self.EncryptedFilesTextCtrl, 1, wx.ALL|wx.EXPAND, 5 ) self.m_panel4.SetSizer( TextCtrlSizer ) self.m_panel4.Layout() TextCtrlSizer.Fit( self.m_panel4 ) BodySizer.Add( self.m_panel4, 1, wx.EXPAND |wx.ALL, 5 ) self.SetSizer( BodySizer ) self.Layout() self.Centre( wx.BOTH )
Example #22
Source File: NetworkEditor.py From OpenPLC_Editor with GNU General Public License v3.0 | 6 votes |
def _create_NetworkEditor(self, prnt): self.NetworkEditor = wx.Panel( id=-1, parent=prnt, pos=wx.Point(0, 0), size=wx.Size(0, 0), style=wx.TAB_TRAVERSAL) NetworkEditorTemplate._init_ctrls(self, self.NetworkEditor) main_sizer = wx.FlexGridSizer(cols=1, hgap=0, rows=1, vgap=0) main_sizer.AddGrowableCol(0) main_sizer.AddGrowableRow(0) main_sizer.AddWindow(self.NetworkNodes, 0, border=5, flag=wx.GROW | wx.ALL) self.NetworkEditor.SetSizer(main_sizer) return self.NetworkEditor
Example #23
Source File: ConfigEditor.py From OpenPLC_Editor with GNU General Public License v3.0 | 6 votes |
def _create_EthercatNodeEditor(self, prnt): self.EthercatNodeEditor = wx.Panel(prnt, style=wx.TAB_TRAVERSAL) main_sizer = wx.FlexGridSizer(cols=1, hgap=0, rows=2, vgap=5) main_sizer.AddGrowableCol(0) main_sizer.AddGrowableRow(1) variables_label = wx.StaticText(self.EthercatNodeEditor, label=_('Variable entries:')) main_sizer.AddWindow(variables_label, border=10, flag=wx.TOP | wx.LEFT | wx.RIGHT) self.NodeVariables = NodeVariablesSizer(self.EthercatNodeEditor, self.Controler) main_sizer.AddSizer(self.NodeVariables, border=10, flag=wx.GROW | wx.BOTTOM | wx.LEFT | wx.RIGHT) self.EthercatNodeEditor.SetSizer(main_sizer) return self.EthercatNodeEditor
Example #24
Source File: ConfigEditor.py From OpenPLC_Editor with GNU General Public License v3.0 | 6 votes |
def _create_ModuleLibraryEditor(self, prnt): self.ModuleLibraryEditor = wx.ScrolledWindow(prnt, style=wx.TAB_TRAVERSAL | wx.HSCROLL | wx.VSCROLL) self.ModuleLibraryEditor.Bind(wx.EVT_SIZE, self.OnResize) self.ModuleLibrarySizer = LibraryEditorSizer( self.ModuleLibraryEditor, self.Controler.GetModulesLibraryInstance(), [ ("ImportButton", "ImportESI", _("Import ESI file"), None), ("AddButton", "ImportDatabase", _("Add file from ESI files database"), self.OnAddButton), ("DeleteButton", "remove_element", _("Remove file from library"), None) ]) self.ModuleLibrarySizer.SetControlMinSize(wx.Size(0, 200)) self.ModuleLibraryEditor.SetSizer(self.ModuleLibrarySizer) return self.ModuleLibraryEditor
Example #25
Source File: local_display.py From Pigrow with GNU General Public License v3.0 | 6 votes |
def __init__( self, parent ): # Settings wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = "Pigrow Data Display", pos = wx.DefaultPosition, style = wx.DEFAULT_FRAME_STYLE|wx.TAB_TRAVERSAL ) self.Bind(wx.EVT_SIZE, self.resize_window) MainApp.display_panel = display_pnl(self) # Sizers main_sizer = wx.BoxSizer(wx.HORIZONTAL) main_sizer.Add(MainApp.display_panel, 0, wx.EXPAND) MainApp.window_sizer = wx.BoxSizer(wx.VERTICAL) MainApp.window_sizer.Add(main_sizer, 0, wx.EXPAND) #MainApp.window_sizer.Fit(self) self.SetSizer(MainApp.window_sizer) MainApp.window_self = self self.SetSizeHints( wx.DefaultSize, wx.DefaultSize ) self.Layout() self.Centre( wx.BOTH )
Example #26
Source File: wxpython_toggle.py From R421A08-rs485-8ch-relay-board with MIT License | 5 votes |
def __init__(self, parent, serial_port, address): # Create frame wx.Frame.__init__(self, parent, id=wx.ID_ANY, title=u'GUI example', pos=wx.DefaultPosition, size=wx.Size(275, 280), style=wx.DEFAULT_FRAME_STYLE | wx.TAB_TRAVERSAL) # Define variables self.m_relay_modbus = None self.m_relay_board = None self.m_statusBar = None # Create modbus and relay object self.CreateObjects(serial_port, address) # Create window self.CreateWindow(parent)
Example #27
Source File: BasesEtc_w_sizers_Classic.py From wxGlade with MIT License | 5 votes |
def __init__(self, *args, **kwds): # begin wxGlade: NotebookPageWithBases.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL NotebookPage.__init__(self, *args, **kwds) notebookpage.NotebookPage.__init__(self) self.Layout() # end wxGlade # end of class NotebookPageWithBases
Example #28
Source File: DirBrowseButton.py From EventGhost with GNU General Public License v2.0 | 5 votes |
def __init__( self, parent, id=-1, pos = wx.DefaultPosition, size = wx.DefaultSize, style = wx.TAB_TRAVERSAL, labelText = 'Select a directory:', buttonText = 'Browse', toolTip = 'Type directory name or browse to select', dialogTitle = '', startDirectory = '.', changeCallback = None, dialogClass = wx.DirDialog, newDirectory = False, name = 'dirBrowseButton' ): eg.FileBrowseButton.__init__( self, parent, id, pos, size, style, labelText, buttonText, toolTip, dialogTitle, startDirectory, changeCallback = changeCallback, name = name ) self.dialogClass = dialogClass self.newDirectory = newDirectory
Example #29
Source File: ConfigEditor.py From OpenPLC_Editor with GNU General Public License v3.0 | 5 votes |
def _create_EtherCATManagementEditor(self, prnt): self.EtherCATManagementEditor = wx.ScrolledWindow(prnt, style=wx.TAB_TRAVERSAL | wx.HSCROLL | wx.VSCROLL) self.EtherCATManagementEditor.Bind(wx.EVT_SIZE, self.OnResize) self.EtherCATManagermentEditor_Main_Sizer = wx.FlexGridSizer(cols=1, hgap=0, rows=2, vgap=5) self.EtherCATManagermentEditor_Main_Sizer.AddGrowableCol(0) self.EtherCATManagermentEditor_Main_Sizer.AddGrowableRow(0) self.EtherCATManagementTreebook = EtherCATManagementTreebook(self.EtherCATManagementEditor, self.Controler, self) self.EtherCATManagermentEditor_Main_Sizer.AddSizer(self.EtherCATManagementTreebook, border=10, flag=wx.GROW) self.EtherCATManagementEditor.SetSizer(self.EtherCATManagermentEditor_Main_Sizer) return self.EtherCATManagementEditor
Example #30
Source File: ConfigEditor.py From OpenPLC_Editor with GNU General Public License v3.0 | 5 votes |
def _create_MasterStateEditor(self, prnt): self.MasterStateEditor = wx.ScrolledWindow(prnt, style=wx.TAB_TRAVERSAL | wx.HSCROLL | wx.VSCROLL) self.MasterStateEditor.Bind(wx.EVT_SIZE, self.OnResize) self.MasterStateEditor_Panel_Main_Sizer = wx.FlexGridSizer(cols=1, hgap=0, rows=2, vgap=5) self.MasterStateEditor_Panel_Main_Sizer.AddGrowableCol(0) self.MasterStateEditor_Panel_Main_Sizer.AddGrowableRow(0) self.MasterStateEditor_Panel = MasterStatePanelClass(self.MasterStateEditor, self.Controler) self.MasterStateEditor_Panel_Main_Sizer.AddSizer(self.MasterStateEditor_Panel, border=10, flag=wx.GROW) self.MasterStateEditor.SetSizer(self.MasterStateEditor_Panel_Main_Sizer) return self.MasterStateEditor