class documentation
class SimpleSCardApp(wx.App):
Constructor: SimpleSCardApp(appname, apppanel, appstyle, appicon, ...)
The SimpleSCardApp class represents the smart card application. SimpleSCardApp is a subclass of wx.App.
Method | __init__ |
Constructor for simple smart card application. |
Method |
|
Create and display application frame. |
Instance Variable | appicon |
Undocumented |
Instance Variable | appname |
Undocumented |
Instance Variable | apppanel |
Undocumented |
Instance Variable | appstyle |
Undocumented |
Instance Variable | frame |
Undocumented |
Instance Variable | pos |
Undocumented |
Instance Variable | size |
Undocumented |
def __init__(self, appname='', apppanel=None, appstyle=TR_DEFAULT, appicon=None, pos=( -1, -1), size=( -1, -1)):
¶
Constructor for simple smart card application.
Parameters | |
appname | the application name |
apppanel | the application panel to display in the application frame |
appstyle | a combination of the following styles (bitwise or |)
|
appicon | the application icon file; the default is no icon |
pos | the application position as a (x,y) tuple; default is (-1,-1) |
size | the application window size as a (x,y) tuple; default is (-1,-1) Example: app = SimpleSCardApp( appname = 'A simple smartcard application', apppanel = testpanel.MyPanel, appstyle = TR_READER | TR_SMARTCARD, appicon = 'resources\mysmartcard.ico') |