Searched full:tix (Results 1 – 25 of 130) sorted by relevance
123456
7 # For Tix, see http://tix.sourceforge.net9 # This is a demo program of some of the Tix widgets available in Python.10 # If you have installed Python & Tix properly, you can execute this as15 import os, os.path, sys, Tix33 self.useBalloons = Tix.StringVar()59 w = Tix.Frame(top, bd=2, relief=RAISED)60 file = Tix.Menubutton(w, text='File', underline=0, takefocus=0)61 help = Tix.Menubutton(w, text='Help', underline=0, takefocus=0)64 fm = Tix.Menu(file, tearoff=0)66 hm = Tix.Menu(help, tearoff=0)[all …]
3 Installing Tix.py6 0) To use Tix.py, you need Tcl/Tk (V8.3.3), Tix (V8.1.1) and Python (V2.1.1).7 Tix.py has been written and tested on an Intel Pentium running RH Linux 5.210 Older versions, e.g. Tix 4.1 and Tk 8.0, might also work.12 There is nothing OS-specific in Tix.py itself so it should work on13 any machine with Tix and Python installed. You can get Tcl and Tk14 from http://dev.scriptics.com and Tix from http://tix.sourceforge.net.16 1) Build and install Tcl/Tk 8.3. Build and install Tix 8.1.17 Ensure that Tix is properly installed by running tixwish and executing19 for all three. We recommend tcl8.3.3 for this release of Tix.py.[all …]
1 About Tix.py4 Tix.py is based on an idea of Jean-Marc Lugrin (lugrin@ms.com) who wrote5 pytix (another Python-Tix marriage). Tix widgets are an attractive and6 useful extension to Tk. See http://tix.sourceforge.net7 for more details about Tix and how to get it.11 2) Tix widgets are represented by classes in Python. Sub-widgets
1 :mod:`Tix` --- Extension widgets for Tk4 .. module:: Tix9 .. index:: single: Tix11 The :mod:`Tix` (Tk Interface Extension) module provides an additional rich set13 far from complete. The :mod:`Tix` library provides most of the commonly needed16 :mod:`Tix` also includes many more widgets that are generally useful in a wide27 :mod:`Tix` has been renamed to :mod:`tkinter.tix` in Python 3. The33 `Tix Homepage <http://tix.sourceforge.net/>`_34 The home page for :mod:`Tix`. This includes links to additional documentation37 `Tix Man Pages <http://tix.sourceforge.net/dist/current/man/>`_[all …]
1 :mod:`tkinter.tix` --- Extension widgets for Tk4 .. module:: tkinter.tix9 **Source code:** :source:`Lib/tkinter/tix.py`11 .. index:: single: Tix19 The :mod:`tkinter.tix` (Tk Interface Extension) module provides an additional21 they are far from complete. The :mod:`tkinter.tix` library provides most of the25 :mod:`tkinter.tix` also includes many more widgets that are generally useful in36 `Tix Homepage <https://tix.sourceforge.net/>`_37 The home page for :mod:`Tix`. This includes links to additional documentation40 `Tix Man Pages <https://tix.sourceforge.net/dist/current/man/>`_[all …]
5 # Tix Demonstration Program8 # executed from the Tix demo program "tixwidgets.py": it must have a16 import Tix21 top = Tix.Frame(w, bd=1, relief=Tix.RAISED)23 demo_month = Tix.StringVar()24 demo_year = Tix.StringVar()33 a = Tix.ComboBox(top, label="Month: ", dropdown=1,46 b = Tix.ComboBox(top, label="Year: ", dropdown=0,50 a.pack(side=Tix.TOP, anchor=Tix.W)51 b.pack(side=Tix.TOP, anchor=Tix.W)[all …]
5 # Tix Demonstration Program8 # executed from the Tix demo program "tixwidgets.py": it must have a16 import Tix24 prefix = Tix.OptionName(w)31 w.option_add(prefix+'*TixControl*label.anchor', Tix.E)37 nb = Tix.NoteBook(w, name='nb', ipadx=6, ipady=6)48 nb.pack(expand=1, fill=Tix.BOTH, padx=5, pady=5 ,side=Tix.TOP)57 f = Tix.Frame(tab)58 common = Tix.Frame(tab)60 f.pack(side=Tix.LEFT, padx=2, pady=2, fill=Tix.BOTH, expand=1)[all …]
5 # Tix Demonstration Program8 # executed from the Tix demo program "tixwidgets.py": it must have a18 import Tix35 group = Tix.LabelEntry(w, label='Newsgroup:', options='entry.width 25')37 pane = Tix.PanedWindow(w, orientation='vertical')41 list = Tix.ScrolledListBox(p1)44 text = Tix.ScrolledText(p2)48 list.listbox.insert(Tix.END, " 12324 Re: Tkinter is good for your health")49 list.listbox.insert(Tix.END, "+ 12325 Re: Tkinter is good for your health")50 …list.listbox.insert(Tix.END, "+ 12326 Re: Tix is even better for your health (Was: Tkinter is good…[all …]
5 # Tix Demonstration Program8 # executed from the Tix demo program "tixwidget": it must have a19 import Tix39 top = Tix.Frame( w, relief=Tix.RAISED, bd=1)44 top.a = Tix.ScrolledHList(top, options='hlist.columns 3 hlist.header 1' )45 top.a.pack( expand=1, fill=Tix.BOTH, padx=10, pady=10, side=Tix.TOP)54 boldfont=hlist.tk.call('tix','option','get','bold_font')58 style['header'] = Tix.DisplayStyle(Tix.TEXT, refwindow=hlist,59 anchor=Tix.CENTER, padx=8, pady=2, font = boldfont )61 hlist.header_create(0, itemtype=Tix.TEXT, text='Name',[all …]
5 # Tix Demonstration Program8 # executed from the Tix demo program "tixwidgets.py": it must have a21 import Tix37 demo_maker = Tix.StringVar()38 demo_thrust = Tix.DoubleVar()39 demo_num_engines = Tix.IntVar()44 top = Tix.Frame(w, bd=1, relief=Tix.RAISED)52 a = Tix.Control(top, label='Number of Engines: ', integer=1,56 b = Tix.Control(top, label='Thrust: ', integer=0,61 c = Tix.Control(top, label='Engine Maker: ', value='P&W',[all …]
5 # Tix Demonstration Program8 # executed from the Tix demo program "tixwidgets.py": it must have a16 import Tix24 demo_opt_from = Tix.StringVar()25 demo_opt_to = Tix.StringVar()27 top = Tix.Frame(w, bd=1, relief=Tix.RAISED)29 from_file = Tix.OptionMenu(top, label="From File Format : ",33 to_file = Tix.OptionMenu(top, label="To File Format : ",50 from_file.pack(side=Tix.TOP, anchor=Tix.W, pady=3, padx=6)51 to_file.pack(side=Tix.TOP, anchor=Tix.W, pady=3, padx=6)[all …]
5 # Tix Demonstration Program8 # executed from the Tix demo program "tixwidgets.py": it must have a17 import Tix, os20 top = Tix.Frame(w, relief=Tix.RAISED, bd=1)21 tree = Tix.Tree(top, options='separator "/"')22 tree.pack(expand=1, fill=Tix.BOTH, padx=10, pady=10, side=Tix.LEFT)29 box = Tix.ButtonBox(w, orientation=Tix.HORIZONTAL)32 box.pack(side=Tix.BOTTOM, fill=Tix.X)33 top.pack(side=Tix.TOP, fill=Tix.BOTH, expand=1)40 tree.hlist.add(dir, itemtype=Tix.IMAGETEXT, text=text,[all …]
5 # Tix Demonstration Program8 # executed from the Tix demo program "tixwidgets.py": it must have a15 import Tix22 top = Tix.Frame(w, relief=Tix.RAISED, bd=1)23 …but = Tix.Button(top, text='Press the right mouse button over this button or its surrounding area')24 but.pack(expand=1, fill=Tix.BOTH, padx=50, pady=50)26 p = Tix.PopupMenu(top, title='Popup Test')40 m1 = Tix.Menu(p.menu)44 but.pack(side=Tix.TOP, padx=40, pady=50)46 box = Tix.ButtonBox(w, orientation=Tix.HORIZONTAL)[all …]
5 # Tix Demonstration Program8 # executed from the Tix demo program "tixwidgets.py": it must have a16 import Tix36 top = Tix.Frame( w, relief=Tix.RAISED, bd=1)41 top.a = Tix.ScrolledHList(top)42 top.a.pack( expand=1, fill=Tix.BOTH, padx=10, pady=10, side=Tix.TOP)71 f=Tix.Frame(hlist, name='sep%d' % count, height=2, width=150,72 bd=2, relief=Tix.SUNKEN )74 hlist.add_child( itemtype=Tix.WINDOW,75 window=f, state=Tix.DISABLED )[all …]
5 # Tix Demonstration Program8 # executed from the Tix demo program "tixwidgets.py": it must have a18 import Tix23 top = Tix.Label(w, padx=20, pady=10, bd=1, relief=Tix.RAISED,24 … anchor=Tix.CENTER, text='This dialog box is\n a demonstration of the\n tixButtonBox widget')33 box = Tix.ButtonBox(w, orientation=Tix.HORIZONTAL)38 box.pack(side=Tix.BOTTOM, fill=Tix.X)39 top.pack(side=Tix.TOP, fill=Tix.BOTH, expand=1)42 root = Tix.Tk()
5 # Tix Demonstration Program8 # executed from the Tix demo program "tixwidgets.py": it must have a18 import Tix35 status = Tix.Label(w, width=40, relief=Tix.SUNKEN, bd=1)36 status.pack(side=Tix.BOTTOM, fill=Tix.Y, padx=2, pady=1)39 button1 = Tix.Button(w, text='Something Unexpected',41 button2 = Tix.Button(w, text='Something Else Unexpected')43 button1.pack(side=Tix.TOP, expand=1)44 button2.pack(side=Tix.TOP, expand=1)48 b = Tix.Balloon(w, statusbar=status)[all …]
5 # Tix Demonstration Program8 # executed from the Tix demo program "tixwidgets.py": it must have a18 import Tix147 w.img0 = Tix.Image('pixmap', data=network_pixmap)149 w.img0 = Tix.Image('bitmap', data=network_bitmap)150 w.img1 = Tix.Image('pixmap', data=hard_disk_pixmap)152 w.img1 = Tix.Image('bitmap', data=hard_disk_bitmap)154 hdd = Tix.Button(w, padx=4, pady=1, width=120)155 net = Tix.Button(w, padx=4, pady=1, width=120)162 # The tk.calls should be methods in Tix ...[all …]
5 # Tix Demonstration Program8 # executed from the Tix demo program "tixwidgets.py": it must have a19 import Tix, os, copy40 # bg = root.tk.eval('tix option get bg')43 top = Tix.Frame( w, relief=RAISED, bd=1)49 top.dir = Tix.DirList(top)55 top.btn = Tix.Button(top, text = " >> ", pady = 0)61 top.ent = Tix.LabelEntry(top, label="Installation Directory:",68 font = self.root.tk.eval('tix option get fixed_font')78 # top.ent.entry.insert(0,'tix'+repr(self))[all …]
5 # Tix Demonstration Program8 # executed from the Tix demo program "tixwidgets.py": it must have a19 import Tix, os, copy40 # bg = root.tk.eval('tix option get bg')43 top = Tix.Frame( w, relief=RAISED, bd=1)49 top.dir = Tix.DirTree(top)55 top.btn = Tix.Button(top, text = " >> ", pady = 0)61 top.ent = Tix.LabelEntry(top, label="Installation Directory:",82 box = Tix.ButtonBox (w, orientation='horizontal')116 root=Tix.Tk()
19 TIX_DIR = abspath("tix%d.%d.%d" % (TIX_MAJOR, TIX_MINOR, TIX_PATCH))34 tix = have_args("tix")35 if not(tcl) and not(tk) and not(tix):36 tcl = tk = tix = True65 if tix:
18 tix = import_helper.import_module('tkinter.tix', deprecated=True) variable26 self.root = tix.Tk()29 self.fail('Tix should always be available on Windows')30 self.skipTest('Tix not available')
1 # Tix.py -- Tix widget wrappers.3 # For Tix, see http://tix.sourceforge.net12 # The Tix widgets are represented by a class hierarchy in python with proper33 'The Tix Tk extension is unmaintained, and the tkinter.tix wrapper module'79 """The tix commands provide access to miscellaneous elements80 of Tix's internal state and the Tix application context.90 """Tix maintains a list of directories under which99 return self.tk.call('tix', 'addbitmapdir', directory)106 return self.tk.call('tix', 'cget', option)109 """Query or modify the configuration options of the Tix application[all …]
1 # Tix.py -- Tix widget wrappers.3 # For Tix, see http://tix.sourceforge.net12 # The Tix widgets are represented by a class hierarchy in python with proper32 raise ImportError, "This version of Tix.py requires Tk 4.0 or higher"76 """The tix commands provide access to miscellaneous elements77 of Tix's internal state and the Tix application context.87 """Tix maintains a list of directories under which96 return self.tk.call('tix', 'addbitmapdir', directory)103 return self.tk.call('tix', 'cget', option)106 """Query or modify the configuration options of the Tix application[all …]
17 TIX = "tix-8.4.0" variable21 TIX = "Tix8.4.2" variable62 # TIX65 os.chdir(os.path.join(ROOT, TIX, "win"))
14 # TixSourceTag: 'tix-8.4.3.6'39 displayName: 'Check out Tix sources'54 … & "$(msbuild)" PCbuild\tix.vcxproj "@msbuild.rsp" /p:Platform=Win32 /p:tcltkDir="$(OutDir)\win32"60 … & "$(msbuild)" PCbuild\tix.vcxproj "@msbuild.rsp" /p:Platform=x64 /p:tcltkDir="$(OutDir)\amd64"66 … & "$(msbuild)" PCbuild\tix.vcxproj "@msbuild.rsp" /p:Platform=ARM64 /p:tcltkDir="$(OutDir)\arm64"