/aosp_15_r20/external/python/cpython2/Demo/tix/ |
D | tixwidgets.py | 7 # For Tix, see http://tix.sourceforge.net 9 # 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 as 15 import os, os.path, sys, Tix 33 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 …]
|
D | INSTALL.txt | 3 Installing Tix.py 6 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.2 10 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 on 13 any machine with Tix and Python installed. You can get Tcl and Tk 14 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 executing 19 for all three. We recommend tcl8.3.3 for this release of Tix.py. [all …]
|
D | README.txt | 1 About Tix.py 4 Tix.py is based on an idea of Jean-Marc Lugrin ([email protected]) who wrote 5 pytix (another Python-Tix marriage). Tix widgets are an attractive and 6 useful extension to Tk. See http://tix.sourceforge.net 7 for more details about Tix and how to get it. 11 2) Tix widgets are represented by classes in Python. Sub-widgets
|
/aosp_15_r20/external/python/cpython2/Doc/library/ |
D | tix.rst | 1 :mod:`Tix` --- Extension widgets for Tk 4 .. module:: Tix 9 .. index:: single: Tix 11 The :mod:`Tix` (Tk Interface Extension) module provides an additional rich set 13 far from complete. The :mod:`Tix` library provides most of the commonly needed 16 :mod:`Tix` also includes many more widgets that are generally useful in a wide 27 :mod:`Tix` has been renamed to :mod:`tkinter.tix` in Python 3. The 33 `Tix Homepage <http://tix.sourceforge.net/>`_ 34 The home page for :mod:`Tix`. This includes links to additional documentation 37 `Tix Man Pages <http://tix.sourceforge.net/dist/current/man/>`_ [all …]
|
/aosp_15_r20/external/python/cpython3/Doc/library/ |
D | tkinter.tix.rst | 1 :mod:`tkinter.tix` --- Extension widgets for Tk 4 .. module:: tkinter.tix 9 **Source code:** :source:`Lib/tkinter/tix.py` 11 .. index:: single: Tix 19 The :mod:`tkinter.tix` (Tk Interface Extension) module provides an additional 21 they are far from complete. The :mod:`tkinter.tix` library provides most of the 25 :mod:`tkinter.tix` also includes many more widgets that are generally useful in 36 `Tix Homepage <https://tix.sourceforge.net/>`_ 37 The home page for :mod:`Tix`. This includes links to additional documentation 40 `Tix Man Pages <https://tix.sourceforge.net/dist/current/man/>`_ [all …]
|
/aosp_15_r20/external/python/cpython2/Demo/tix/samples/ |
D | NoteBook.py | 5 # Tix Demonstration Program 8 # executed from the Tix demo program "tixwidgets.py": it must have a 16 import Tix 24 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 …]
|
D | ComboBox.py | 5 # Tix Demonstration Program 8 # executed from the Tix demo program "tixwidgets.py": it must have a 16 import Tix 21 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 …]
|
D | SHList2.py | 5 # Tix Demonstration Program 8 # executed from the Tix demo program "tixwidget": it must have a 19 import Tix 39 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 …]
|
D | PanedWin.py | 5 # Tix Demonstration Program 8 # executed from the Tix demo program "tixwidgets.py": it must have a 18 import Tix 35 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 …]
|
D | Control.py | 5 # Tix Demonstration Program 8 # executed from the Tix demo program "tixwidgets.py": it must have a 21 import Tix 37 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 …]
|
D | OptMenu.py | 5 # Tix Demonstration Program 8 # executed from the Tix demo program "tixwidgets.py": it must have a 16 import Tix 24 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 …]
|
D | SHList1.py | 5 # Tix Demonstration Program 8 # executed from the Tix demo program "tixwidgets.py": it must have a 16 import Tix 36 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 …]
|
D | Tree.py | 5 # Tix Demonstration Program 8 # executed from the Tix demo program "tixwidgets.py": it must have a 17 import Tix, os 20 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 …]
|
D | PopMenu.py | 5 # Tix Demonstration Program 8 # executed from the Tix demo program "tixwidgets.py": it must have a 15 import Tix 22 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 …]
|
D | CmpImg.py | 5 # Tix Demonstration Program 8 # executed from the Tix demo program "tixwidgets.py": it must have a 18 import Tix 147 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 …]
|
D | BtnBox.py | 5 # Tix Demonstration Program 8 # executed from the Tix demo program "tixwidgets.py": it must have a 18 import Tix 23 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()
|
D | Balloon.py | 5 # Tix Demonstration Program 8 # executed from the Tix demo program "tixwidgets.py": it must have a 18 import Tix 35 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 …]
|
D | DirList.py | 5 # Tix Demonstration Program 8 # executed from the Tix demo program "tixwidgets.py": it must have a 19 import Tix, os, copy 40 # 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 …]
|
D | DirTree.py | 5 # Tix Demonstration Program 8 # executed from the Tix demo program "tixwidgets.py": it must have a 19 import Tix, os, copy 40 # 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()
|
/aosp_15_r20/external/python/cpython3/Lib/tkinter/ |
D | tix.py | 1 # Tix.py -- Tix widget wrappers. 3 # For Tix, see http://tix.sourceforge.net 12 # The Tix widgets are represented by a class hierarchy in python with proper 33 'The Tix Tk extension is unmaintained, and the tkinter.tix wrapper module' 79 """The tix commands provide access to miscellaneous elements 80 of Tix's internal state and the Tix application context. 90 """Tix maintains a list of directories under which 99 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 …]
|
/aosp_15_r20/external/python/cpython2/Lib/lib-tk/ |
D | Tix.py | 1 # Tix.py -- Tix widget wrappers. 3 # For Tix, see http://tix.sourceforge.net 12 # The Tix widgets are represented by a class hierarchy in python with proper 32 raise ImportError, "This version of Tix.py requires Tk 4.0 or higher" 76 """The tix commands provide access to miscellaneous elements 77 of Tix's internal state and the Tix application context. 87 """Tix maintains a list of directories under which 96 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 …]
|
/aosp_15_r20/hardware/google/gfxstream/third-party/astc-encoder/Source/ |
D | astcenc_ideal_endpoints_and_weights.cpp | 157 unsigned int tix = pi.texels_of_partition[i][j]; in compute_ideal_colors_and_weights_1_comp() local 158 float value = data_vr[tix]; in compute_ideal_colors_and_weights_1_comp() 184 unsigned int tix = pi.texels_of_partition[i][j]; in compute_ideal_colors_and_weights_1_comp() local 185 float value = (data_vr[tix] - lowvalue) * scale; in compute_ideal_colors_and_weights_1_comp() 188 ei.weights[tix] = value; in compute_ideal_colors_and_weights_1_comp() 189 ei.weight_error_scale[tix] = length_squared * error_weight; in compute_ideal_colors_and_weights_1_comp() 190 assert(!astc::isnan(ei.weight_error_scale[tix])); in compute_ideal_colors_and_weights_1_comp() 284 unsigned int tix = pi.texels_of_partition[i][j]; in compute_ideal_colors_and_weights_2_comp() local 285 vfloat4 point = vfloat2(data_vr[tix], data_vg[tix]); in compute_ideal_colors_and_weights_2_comp() 287 ei.weights[tix] = param; in compute_ideal_colors_and_weights_2_comp() [all …]
|
D | astcenc_decompress_symbolic.cpp | 312 int tix = pi.texels_of_partition[i][j]; in decompress_symbolic_block() local 313 vint4 weight = select(vint4(plane1_weights[tix]), vint4(plane2_weights[tix]), plane2_mask); in decompress_symbolic_block() 317 blk.data_r[tix] = colorf.lane<0>(); in decompress_symbolic_block() 318 blk.data_g[tix] = colorf.lane<1>(); in decompress_symbolic_block() 319 blk.data_b[tix] = colorf.lane<2>(); in decompress_symbolic_block() 320 blk.data_a[tix] = colorf.lane<3>(); in decompress_symbolic_block() 469 unsigned int tix = pi.texels_of_partition[i][j]; in compute_symbolic_block_difference_1plane() local 471 vint4(plane1_weights[tix])); in compute_symbolic_block_difference_1plane() 474 vfloat4 oldColor = blk.texel(tix); in compute_symbolic_block_difference_1plane()
|
/aosp_15_r20/external/python/cpython2/PC/VC6/ |
D | build_tkinter.py | 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 = True 65 if tix:
|
/aosp_15_r20/external/rust/android-crates-io/crates/crossbeam-queue/src/ |
D | array_queue.rs | 432 let tix = tail & (self.one_lap - 1); in len() localVariable 434 return if hix < tix { in len() 435 tix - hix in len() 436 } else if hix > tix { in len() 437 self.cap - hix + tix in len() 456 let tix = tail & (self.one_lap - 1); in drop() localVariable 458 let len = if hix < tix { in drop() 459 tix - hix in drop() 460 } else if hix > tix { in drop() 461 self.cap - hix + tix in drop()
|