smartcard :: wx :: SimpleSCardApp :: SimpleSCardApp :: Class SimpleSCardApp
[hide private]
[frames] | no frames]

Class SimpleSCardApp

source code


The SimpleSCardApp class represents the smart card application. SimpleSCardApp is a subclass of wx.App.

Nested Classes [hide private]

Inherited from wx._core.App: outputWindowClass

Instance Methods [hide private]
PyApp
__init__(self, appname='', apppanel=None, appstyle=1, appicon=None, pos=(-1, -1), size=(-1, -1))
Constructor for simple smart card application.
source code
 
OnInit(self)
Create and display application frame.
source code

Inherited from wx._core.App: Destroy, MainLoop, OnPreInit, RedirectStdio, RestoreStdio, SetOutputWindowAttributes, SetTopWindow, __del__

Inherited from wx._core.PyApp: AppendPendingEventHandler, DelayPendingEventHandler, DeletePendingEvents, Dispatch, Exit, ExitMainLoop, FilterEvent, GetAppDisplayName, GetAppName, GetAssertMode, GetCallFilterEvent, GetClassName, GetExitOnFrameDelete, GetLayoutDirection, GetMainLoop, GetPrintMode, GetTopWindow, GetTraits, GetUseBestVisual, GetVendorDisplayName, GetVendorName, HasPendingEvents, IsActive, IsScheduledForDestruction, MacHideApp, Pending, ProcessIdle, ProcessPendingEvents, RemovePendingEventHandler, ResumeProcessingOfPendingEvents, SafeYield, SafeYieldFor, ScheduleForDestruction, SetAppDisplayName, SetAppName, SetAssertMode, SetCallFilterEvent, SetClassName, SetExitOnFrameDelete, SetNativeTheme, SetPrintMode, SetUseBestVisual, SetVendorDisplayName, SetVendorName, SuspendProcessingOfPendingEvents, WakeUpIdle, Yield, __swig_destroy__

Inherited from wx._core.PyApp (private): _BootstrapApp, _setCallbackInfo

Inherited from wx._core.EvtHandler: AddPendingEvent, Bind, Connect, Disconnect, GetEvtHandlerEnabled, GetNextHandler, GetPreviousHandler, IsUnlinked, ProcessEvent, ProcessEventLocally, QueueEvent, SafelyProcessEvent, SetEvtHandlerEnabled, SetNextHandler, SetPreviousHandler, Unbind, Unlink

Inherited from wx._core.EvtHandler (private): _setOORInfo

Inherited from wx._core.Object: IsSameAs, __repr__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]

Inherited from wx._core.App: Get

Inherited from wx._core.PyApp: GetComCtl32Version, GetMacAboutMenuItemId, GetMacExitMenuItemId, GetMacHelpMenuTitleName, GetMacPreferencesMenuItemId, GetMacSupportPCMenuShortcuts, GetShell32Version, GetTraitsIfExists, IsDisplayAvailable, IsMainLoopRunning, SetMacAboutMenuItemId, SetMacExitMenuItemId, SetMacHelpMenuTitleName, SetMacPreferencesMenuItemId, SetMacSupportPCMenuShortcuts

Properties [hide private]

Inherited from wx._core.PyApp: Active, AppDisplayName, AppName, AssertMode, ClassName, ExitOnFrameDelete, LayoutDirection, PrintMode, TopWindow, Traits, UseBestVisual, VendorDisplayName, VendorName, thisown

Inherited from wx._core.EvtHandler: EvtHandlerEnabled, NextHandler, PreviousHandler

Inherited from object: __class__

Method Details [hide private]

__init__(self, appname='', apppanel=None, appstyle=1, appicon=None, pos=(-1, -1), size=(-1, -1))
(Constructor)

source code 

Constructor for simple smart card application.

Parameters:
  • appname - the application name
  • apppanel - the application panel to display in the application frame
  • appicon - the application icon file; the default is no icon
  • appstyle - a combination of the following styles (bitwise or |)
    • TR_SMARTCARD: display a smartcard tree panel
    • TR_READER: display a reader tree panel
    • TB_SMARTCARD: display a smartcard toolbar
    • TB_SMARTCARD: display a reader toolbar
    • PANEL_APDUTRACER: display an APDU tracer panel
    • default is TR_DEFAULT = TR_SMARTCARD
  • pos - the application position as a (x,y) tupple; 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')

Returns: PyApp
Overrides: object.__init__