Searched refs:ButtonPress (Results 1 - 25 of 113) sorted by relevance

12345

/macosx-10.10.1/tcl-105/tk/tk/library/ttk/
H A Dutils.tcl63 # Utility routine, used in <ButtonPress-1> bindings --
307 bind $bindtag <ButtonPress-4> "$callback -1"
308 bind $bindtag <ButtonPress-5> "$callback +1"
329 bind TtkScrollable <ButtonPress-4> { %W yview scroll -5 units }
330 bind TtkScrollable <ButtonPress-5> { %W yview scroll 5 units }
331 bind TtkScrollable <Shift-ButtonPress-4> { %W xview scroll -5 units }
332 bind TtkScrollable <Shift-ButtonPress-5> { %W xview scroll 5 units }
H A Dscale.tcl14 bind TScale <ButtonPress-1> { ttk::scale::Press %W %x %y }
18 bind TScale <ButtonPress-2> { ttk::scale::Jump %W %x %y }
22 bind TScale <ButtonPress-3> { ttk::scale::Jump %W %x %y }
54 # scale::Jump -- ButtonPress-2/3 binding for scale acts like
H A Dmenubutton.tcl24 # rely on the passive grab that occurs on <ButtonPress> events,
55 bind TMenubutton <ButtonPress-1> { ttk::menubutton::Pulldown %W }
59 bind TMenubutton <ButtonPress-1> \
H A Dscrollbar.tcl32 bind TScrollbar <ButtonPress-1> { ttk::scrollbar::Press %W %x %y }
36 bind TScrollbar <ButtonPress-2> { ttk::scrollbar::Jump %W %x %y }
106 # scrollbar::Jump -- ButtonPress-2 binding for scrollbars.
H A Dbutton.tcl14 # delivered to the widget which received the initial <ButtonPress>
28 bind TButton <ButtonPress-1> \
H A Dpanedwindow.tcl20 bind TPanedwindow <ButtonPress-1> { ttk::panedwindow::Press %W %x %y }
H A Dtreeview.tcl32 bind Treeview <ButtonPress-1> { ttk::treeview::Press %W %x %y }
33 bind Treeview <Double-ButtonPress-1> { ttk::treeview::DoubleClick %W %x %y }
45 bind Treeview <Shift-ButtonPress-1> \
47 bind Treeview <Control-ButtonPress-1> \
145 ## DoubleClick -- Double-ButtonPress-1 binding.
155 ## Press -- ButtonPress binding.
H A Dcombobox.tcl53 bind TCombobox <ButtonPress-1> { ttk::combobox::Press "" %W %x %y }
54 bind TCombobox <Shift-ButtonPress-1> { ttk::combobox::Press "s" %W %x %y }
55 bind TCombobox <Double-ButtonPress-1> { ttk::combobox::Press "2" %W %x %y }
56 bind TCombobox <Triple-ButtonPress-1> { ttk::combobox::Press "3" %W %x %y }
87 bind ComboboxPopdown <ButtonPress> \
111 ## Press $mode $x $y -- ButtonPress binding for comboboxes.
137 # If the initial ButtonPress event was handled by Entry binding,
H A Dentry.tcl51 # <Double-Shift-ButtonPress-1>, <Triple-Shift-ButtonPress-1>:
73 bind TEntry <ButtonPress-1> { ttk::entry::Press %W %x }
74 bind TEntry <Shift-ButtonPress-1> { ttk::entry::Shift-Press %W %x }
75 bind TEntry <Double-ButtonPress-1> { ttk::entry::Select %W %x word }
76 bind TEntry <Triple-ButtonPress-1> { ttk::entry::Select %W %x line }
83 bind TEntry <Control-ButtonPress-1> {
91 bind TEntry <ButtonPress-2> { ttk::entry::ScanMark %W %x }
342 ## Press -- ButtonPress-1 binding.
359 ## Shift-Press -- Shift-ButtonPress
[all...]
H A Dsizegrip.tcl37 bind TSizegrip <ButtonPress-1> { ttk::sizegrip::Press %W %X %Y }
/macosx-10.10.1/tcl-105/tcl_ext/bwidget/bwidget/
H A Ddragsite.tcl31 bind BwDrag1 <ButtonPress-1> {DragSite::_begin_drag press %W %s %X %Y}
33 bind BwDrag2 <ButtonPress-2> {DragSite::_begin_drag press %W %s %X %Y}
35 bind BwDrag3 <ButtonPress-3> {DragSite::_begin_drag press %W %s %X %Y}
H A Dcolor.tcl212 bind $fround <ButtonPress-1> [list SelectColor::_select_rgb $count]
213 bind $fcolor <ButtonPress-1> [list SelectColor::_select_rgb $count]
262 bind $c1 <ButtonPress-1> [list SelectColor::_select_hue_sat %x %y]
265 bind $c2 <ButtonPress-1> [list SelectColor::_select_value %x %y]
/macosx-10.10.1/tcl-105/tcl_ext/bwidget/bwidget/demo/
H A Dtree.tcl56 $tree bindText <ButtonPress-1> "DemoTree::select tree 1 $tree $list"
57 $tree bindText <Double-ButtonPress-1> "DemoTree::select tree 2 $tree $list"
58 $list bindText <ButtonPress-1> "DemoTree::select list 1 $tree $list"
59 $list bindText <Double-ButtonPress-1> "DemoTree::select list 2 $tree $list"
60 $list bindImage <Double-ButtonPress-1> "DemoTree::select list 2 $tree $list"
/macosx-10.10.1/tcl-105/tcl_ext/tklib/tklib/modules/controlwidget/
H A Drdial.tcl121 bind $win.c <ButtonPress-1> [list $self SetVar ovalue %x]
125 bind $win.c <Shift-ButtonPress-1> [list $self SetVar ovalue %x]
129 bind $win.c <Control-ButtonPress-1> [list $self SetVar ovalue %x]
135 bind $win.c <ButtonPress-1> [list $self SetVar ovalue %y]
139 bind $win.c <Shift-ButtonPress-1> [list $self SetVar ovalue %y]
143 bind $win.c <Control-ButtonPress-1> [list $self SetVar ovalue %y]
/macosx-10.10.1/tcl-105/tcl_ext/tklib/tklib/modules/tkpiechart/
H A Dpie.tcl182 $canvas bind canvasLabel($label) <ButtonPress-1>\
184 $canvas bind slice($slice) <ButtonPress-1>\
186 $canvas bind canvasLabel($label) <Control-ButtonPress-1>\
188 $canvas bind slice($slice) <Control-ButtonPress-1>\
190 $canvas bind canvasLabel($label) <Shift-ButtonPress-1>\
192 $canvas bind slice($slice) <Shift-ButtonPress-1>\
/macosx-10.10.1/ruby-106/ruby/ext/tk/sample/tkextlib/tile/
H A Drepeater.tcl40 bind Repeater <ButtonPress-1> { tile::Repeater::Press %W }
63 ## Press -- ButtonPress-1 binding.
/macosx-10.10.1/tcl-105/tcl_ext/snack/snack/demos/tcl/
H A Dplaylist.tcl67 bind .frame.list <Double-ButtonPress-1> Play
69 bind .frame.list <ButtonPress-1> {Select %y}
83 bind .panel.ss <ButtonPress-1> {set setdrag 0}
H A Dsnamp.tcl67 bind .frame.list <Double-ButtonPress-1> Play
69 bind .frame.list <ButtonPress-1> {Select %y}
83 bind .panel.ss <ButtonPress-1> {set setdrag 0}
/macosx-10.10.1/tcl-105/tcl_ext/tklib/tklib/examples/canvas/
H A Dcity.tcl45 bind .map <ButtonPress-2> {%W scan mark %x %y}
/macosx-10.10.1/tcl-105/tcl_ext/tktreectrl/tktreectrl/demos/
H A Dhelp.tcl97 bind DemoHelpContents <Double-ButtonPress-1> {
105 bind DemoHelpContents <ButtonPress-1> {
237 bind DemoHelpContents <Double-ButtonPress-1> {
245 bind DemoHelpContents <ButtonPress-1> {
H A Dwww-options.tcl104 bind DemoInternetOptions <Double-ButtonPress-1> {
107 bind DemoInternetOptions <ButtonPress-1> {
245 bind DemoInternetOptions <Double-ButtonPress-1> {
248 bind DemoInternetOptions <ButtonPress-1> {
/macosx-10.10.1/tcl-105/tk/tk/generic/ttk/
H A DttkTrack.c19 * The active element becomes "pressed" on <ButtonPress> events,
23 * TODO: Handle "chords" properly (e.g., <B1-ButtonPress-2>)
149 case ButtonPress:
/macosx-10.10.1/tcl-105/tcl_ext/tklib/tklib/modules/widget/
H A Dmentry.tcl172 bind TMenuEntry <ButtonPress-1> { ttk::menuentry::Pulldown %W %x %y }
176 bind TMenuEntry <ButtonPress-1> \
/macosx-10.10.1/tcl-105/tk/tk/generic/
H A DtkPointer.c111 case ButtonPress:
270 * Generate ButtonPress/ButtonRelease events based on the differences
278 type = ButtonPress;
281 * ButtonPress - Set restrict window if we aren't grabbed, or
372 tsdPtr->lastState = (type == ButtonPress)
/macosx-10.10.1/tcl-105/tk84/tk/generic/
H A DtkPointer.c117 case ButtonPress:
276 * Generate ButtonPress/ButtonRelease events based on the differences
284 type = ButtonPress;
287 * ButtonPress - Set restrict window if we aren't grabbed, or
380 tsdPtr->lastState = (type == ButtonPress)

Completed in 130 milliseconds

12345