URL
https://opencores.org/ocsvn/phr/phr/trunk
[/] [phr/] [trunk/] [codigo/] [gui/] [xin/] [guiparent.py] - Diff between revs 332 and 337
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 332 |
Rev 337 |
Line 1... |
Line 1... |
#!/usr/bin/env python
|
#!/usr/bin/env python
|
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
# generated by wxGlade 0.6.5 on Mon Jun 9 21:21:26 2014
|
# generated by wxGlade 0.6.5 on Thu Jun 12 23:43:57 2014
|
|
|
import wx
|
import wx
|
|
|
# begin wxGlade: extracode
|
# begin wxGlade: extracode
|
# some extra code appended by maximiq
|
# some extra code appended by maximiq
|
Line 51... |
Line 51... |
# begin wxGlade: guiParent.__set_properties
|
# begin wxGlade: guiParent.__set_properties
|
self.SetTitle("PHR GUI")
|
self.SetTitle("PHR GUI")
|
_icon = wx.EmptyIcon()
|
_icon = wx.EmptyIcon()
|
_icon.CopyFromBitmap(wx.Bitmap("grafica/phr-gui.ico", wx.BITMAP_TYPE_ANY))
|
_icon.CopyFromBitmap(wx.Bitmap("grafica/phr-gui.ico", wx.BITMAP_TYPE_ANY))
|
self.SetIcon(_icon)
|
self.SetIcon(_icon)
|
|
self.SetBackgroundColour(wx.SystemSettings_GetColour(wx.SYS_COLOUR_3DFACE))
|
self.statusbar.SetStatusWidths([-1])
|
self.statusbar.SetStatusWidths([-1])
|
# statusbar fields
|
# statusbar fields
|
statusbar_fields = ["Listo"]
|
statusbar_fields = ["Listo"]
|
for i in range(len(statusbar_fields)):
|
for i in range(len(statusbar_fields)):
|
self.statusbar.SetStatusText(statusbar_fields[i], i)
|
self.statusbar.SetStatusText(statusbar_fields[i], i)
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.