Server IP : 184.107.3.203 / Your IP : 216.73.216.51 Web Server : Apache System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64 User : adminteladeoro ( 1015) PHP Version : 8.2.28 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/lib64/python2.7/Demo/tkinter/ttk/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
� ��^c @ s� d Z d d l Z d d l Z d d l Z d d l m Z d g Z i d d 6d d 6d d 6d d 6Z i Z d � Z d � Z d S( ss This demonstrates good part of the syntax accepted by theme_create. This is a translation of plastik.tcl to python. You will need the images used by the plastik theme to test this. The images (and other tile themes) can be retrived by doing: $ cvs -z3 -d:pserver:anonymous@tktable.cvs.sourceforge.net:/cvsroot/tktable co tile-themes To test this module you should do, for example: import Tkinter import plastik_theme root = Tkinter.Tk() plastik_theme.install(plastik_image_dir) ... Where plastik_image_dir contains the path to the images directory used by the plastik theme, something like: tile-themes/plastik/plastik i����N( t PhotoImaget installs #efefeft frames #aaaaaat disabledfgs #657a9et selectbgs #fffffft selectfgc C s� t j j | � } t j j | � s7 t d | � � n xW t j d | � D]B } t j j | � d } | d } t | d | d d �t | <qK Wd S( Ns( %r is not a directory, can't load imagess %s/*.gifi i����t filet formatt gif89( t ost patht expandusert isdirt Exceptiont globt splitR t imgs( t imgdirt ft imgt name( ( s6 /usr/lib64/python2.7/Demo/tkinter/ttk/plastik_theme.pyt _load_imgs% s c C s= t | � t j � } | j d d d i'