+
     h3  c                   s`    R t ^ RIt^ RIHt ^t^t^t^t^t]t	 ! R R]P                  4      tR# )a  Simple wxPython wxApp for smartcard.

__author__ = "gemalto https://www.gemalto.com/"

Copyright 2001-2012 gemalto
Author: Jean-Daniel Aussel, mailto:jean-daniel.aussel@gemalto.com

This file is part of pyscard.

pyscard is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.

pyscard is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with pyscard; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
N)SimpleSCardAppFramec                   s@   a  ] tR t^%t o RtRR]RRR3R ltR tRtV t	R# )SimpleSCardAppzhThe SimpleSCardApp class represents the smart card application.
SimpleSCardApp is a subclass of wx.App.
Z Nc                s    Wn         W n        W0n        W@n        WPn        W`n        \        P                  P                  V R4       R# )a  Constructor for simple smart card application.
@param appname: the application name
@param apppanel: the application panel to display in the application frame
@param appicon: the application icon file; the default is no icon
@param 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
@param pos: the application position as a (x,y) tuple; default is (-1,-1)
@param size: the application window size as a (x,y) tuple; default is (-1,-1)

    Example:
    C{app = SimpleSCardApp(
    appname = 'A simple smartcard application',
    apppanel = testpanel.MyPanel,
    appstyle = TR_READER | TR_SMARTCARD,
    appicon = 'resources\mysmartcard.ico')}
FN)	appnameapppanelappstyleappiconpossizewxApp__init__)selfr   r   r   r   r   r   s   &&&&&&&B/usr/lib64/python3.14/site-packages/smartcard/wx/SimpleSCardApp.pyr
   ZSimpleSCardApp.__init__*   s4    <   	
e$    c                s   \        V P                  V P                  V P                  V P                  V P
                  V P                  4      V n        V P                  P                  R4       V P                  V P                  4       R# )z%Create and display application frame.T)
r    r   r   r   r   r   r   frameZShowZSetTopWindow)r   s   &r   OnInitZSimpleSCardApp.OnInitP   s_    (LLMMMMLLHHII

 	

$**%r   )r   r   r   r   r   r   r   )r   )
Z__name__Z
__module__Z__qualname__Z__firstlineno____doc__
TR_DEFAULTr
   r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r   %   s.      $%L r   r   )r   r   Z smartcard.wx.SimpleSCardAppFramer    ZTR_SMARTCARDZ	TR_READERZTB_SMARTCARDZ	TB_READERZPANEL_APDUTRACERr   r	   r   ) r   r   <module>r      sA   0 
 @		 
8RVV 8r   