arcadia 0.13.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/{README → README.md} +60 -53
- data/conf/LC/en-UK.LANG +10 -4
- data/conf/arcadia.conf +221 -83
- data/conf/arcadia.res.rb +165 -175
- data/conf/theme-dark.conf +1 -1
- data/conf/theme-dark.res.rb +0 -123
- data/ext/ae-breakpoints/ae-breakpoints.rb +4 -3
- data/ext/ae-dir-projects/ae-dir-projects.conf +27 -1
- data/ext/ae-dir-projects/ae-dir-projects.rb +120 -70
- data/ext/ae-editor/ae-editor.conf +2 -2
- data/ext/ae-editor/ae-editor.rb +610 -303
- data/ext/ae-file-history/ae-file-history.rb +60 -39
- data/ext/ae-output/ae-output.rb +52 -27
- data/ext/ae-ruby-debug/ae-ruby-debug.conf +3 -1
- data/ext/ae-ruby-debug/ae-ruby-debug.rb +18 -11
- data/ext/ae-search-in-files/ae-search-in-files.conf +2 -2
- data/ext/ae-search-in-files/ae-search-in-files.rb +124 -77
- data/ext/ae-shell/ae-shell.conf +1 -1
- data/ext/ae-shell/ae-shell.rb +18 -81
- data/ext/ae-subprocess-inspector/ae-subprocess-inspector.rb +78 -81
- data/ext/ae-term/ae-term.rb +9 -7
- data/lib/a-commons.rb +125 -17
- data/lib/a-contracts.rb +6 -2
- data/lib/a-core.rb +441 -405
- data/lib/a-tkcommons.rb +1237 -45
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/ArrowButton.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/BWidget.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/Button.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/ButtonBox.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/ComboBox.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/Dialog.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/DragSite.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/DropSite.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/DynamicHelp.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/Entry.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/Label.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/LabelEntry.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/LabelFrame.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/ListBox.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/MainFrame.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/MessageDlg.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/NoteBook.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/PagesManager.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/PanedWindow.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/PanelFrame.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/PasswdDlg.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/ProgressBar.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/ProgressDlg.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/ScrollView.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/ScrollableFrame.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/ScrolledWindow.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/SelectColor.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/SelectFont.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/Separator.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/SpinBox.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/StatusBar.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/TitleFrame.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/Tree.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/Widget.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/contents.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/index.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/navtree.html +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/BWman/options.htm +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/CHANGES.txt +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/ChangeLog +65 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/LICENSE.txt +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/README.txt +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/arrow.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/bitmap.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/button.tcl +0 -2
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/buttonbox.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/color.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/combobox.tcl +40 -16
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/demo/basic.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/demo/bwidget.xbm +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/demo/demo.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/demo/dnd.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/demo/manager.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/demo/select.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/demo/tmpldlg.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/demo/tree.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/demo/x1.xbm +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/dialog.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/dragsite.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/dropsite.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/dynhelp.tcl +3 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/entry.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/font.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/bold.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/copy.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/cut.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/dragfile.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/dragicon.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/error.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/file.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/folder.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/hourglass.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/info.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/italic.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/minus.xbm +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/new.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/opcopy.xbm +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/open.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/openfold.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/oplink.xbm +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/opmove.xbm +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/overstrike.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/palette.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/passwd.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/paste.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/plus.xbm +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/print.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/question.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/redo.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/save.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/target.xbm +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/underline.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/undo.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/images/warning.gif +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/init.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/label.tcl +0 -2
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/labelentry.tcl +0 -3
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/labelframe.tcl +0 -2
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/lang/da.rc +1 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/lang/de.rc +1 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/lang/en.rc +1 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/lang/es.rc +1 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/lang/fr.rc +1 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/lang/hu.rc +1 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/lang/nl.rc +1 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/lang/no.rc +59 -58
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/lang/pl.rc +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/listbox.tcl +17 -4
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/mainframe.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/messagedlg.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/notebook.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/pagesmgr.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/panedw.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/panelframe.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/passwddlg.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/pkgIndex.tcl +2 -2
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/progressbar.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/progressdlg.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/scrollframe.tcl +6 -6
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/scrollview.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/scrollw.tcl +1 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/separator.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/spinbox.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/statusbar.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/tests/entry.test +2 -2
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/titleframe.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/tree.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/utils.tcl +0 -0
- data/tcl/bwidget-1.9.8/widget-old.tcl +1651 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/widget.tcl +64 -36
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/wizard.tcl +0 -0
- data/tcl/{bwidget-1.9.7 → bwidget-1.9.8}/xpm2image.tcl +0 -0
- metadata +196 -195
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,3 +1,68 @@
|
|
1
|
+
2014-09-10 Harald Oehlmann <oehhar@users.sourceforge.net>
|
2
|
+
|
3
|
+
**** BWidget 1.9.8 tagged ****
|
4
|
+
|
5
|
+
2014-09-05 Harald Oehlmann <oehhar@users.sourceforge.net>
|
6
|
+
|
7
|
+
widget.tcl: Widget::which errors when option not present.
|
8
|
+
Ticket [397db23424]
|
9
|
+
|
10
|
+
2014-05-21 Harald Oehlmann <oehhar@users.sourceforge.net>
|
11
|
+
|
12
|
+
widget.tcl: Don't invoke unqualified upvar in callers
|
13
|
+
scope. Patch by Adrian Medrano Calvo. Ticket [046fa04231]
|
14
|
+
|
15
|
+
widget.tcl: Don't double creation of temporary widget for
|
16
|
+
default values retrieval. Use result of _get_tkwidget_options
|
17
|
+
instead. By Adrian Medrano Calvo. Ticket [393b67ab19]
|
18
|
+
|
19
|
+
widget.tcl: New procedure Widget::which (as in [namespace which]),
|
20
|
+
that returns the fully qualified name for a widget option or
|
21
|
+
widget variable. By Adrian Medrano Calvo. Ticket [a8705e5fd9]
|
22
|
+
|
23
|
+
widget.tcl: Remove unneeded upvar. By Adrian Medrano Calvo.
|
24
|
+
Ticket [43f93e0a97]
|
25
|
+
|
26
|
+
widget.tcl et al: remove apparently unused procedure
|
27
|
+
Widget::syncoptions and all calls. By Adrian Medrano Calvo.
|
28
|
+
Ticket [3c2b8eafc6]
|
29
|
+
|
30
|
+
|
31
|
+
2013-12-13 Harald Oehlmann <oehhar@users.sourceforge.net>
|
32
|
+
|
33
|
+
scrollframe.tcl: Make -constrainedwidth 1 and
|
34
|
+
-constrainedheight 1 work together.
|
35
|
+
Patch by Simon Bachmann. Ticket [2fa44401d5]
|
36
|
+
|
37
|
+
2013-10-17 Harald Oehlmann <oehhar@users.sourceforge.net>
|
38
|
+
widget.tcl: Remove temporary widget.
|
39
|
+
By Wolfgang S. Kechel. Ticket [6cd041bcc1]
|
40
|
+
|
41
|
+
2013-10-15 Harald Oehlmann <oehhar@users.sourceforge.net>
|
42
|
+
combobox.tcl: Themed ComboBox color specifications
|
43
|
+
are honored. By Wolfgang S. Kechel. Ticket [6c6704e40f]
|
44
|
+
|
45
|
+
2013-10-14 Harald Oehlmann <oehhar@users.sourceforge.net>
|
46
|
+
combobox.tcl: Fails in themed mode with "unknown
|
47
|
+
option -bg". Patch solves this but listbox items
|
48
|
+
are white on white when "-foreground" is specified.
|
49
|
+
By Wolfgang S. Kechel. Ticket [6632134ce9]
|
50
|
+
|
51
|
+
listbox.tcl: Update on option -deltay added.
|
52
|
+
Set x0 to 2 to make highlight work and look nice for
|
53
|
+
listbox with image.
|
54
|
+
Take image into account to show selection.
|
55
|
+
By Wolfgang S. Kechel. Ticket [ff1787af9c]
|
56
|
+
|
57
|
+
scrollw.tcl: Raise scrolled window if it is below in
|
58
|
+
the window hierarchy. By Wolfgang S. Kechel.
|
59
|
+
Ticket [ff1787af9c]
|
60
|
+
|
61
|
+
2013-10-07 Harald Oehlmann <oehhar@users.sourceforge.net>
|
62
|
+
dynhelp.tcl: Sometimes the tooltip does not occur under
|
63
|
+
gnome/metacity on ubuntu. By Wolfgang S. Kechel.
|
64
|
+
Ticket [a588d2f800]
|
65
|
+
|
1
66
|
2013-09-15 Harald Oehlmann <oehhar@users.sourceforge.net>
|
2
67
|
|
3
68
|
**** BWidget 1.9.7 tagged ****
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -10,7 +10,7 @@
|
|
10
10
|
# - ComboBox::setvalue
|
11
11
|
# - ComboBox::getvalue
|
12
12
|
# - ComboBox::clearvalue
|
13
|
-
# - ComboBox::
|
13
|
+
# - ComboBox::getentry
|
14
14
|
# - ComboBox::_create_popup
|
15
15
|
# - ComboBox::_mapliste
|
16
16
|
# - ComboBox::_unmapliste
|
@@ -61,8 +61,6 @@ namespace eval ComboBox {
|
|
61
61
|
}
|
62
62
|
}
|
63
63
|
|
64
|
-
Widget::syncoptions ComboBox Entry .e {-text {}}
|
65
|
-
|
66
64
|
::bind BwComboBox <FocusIn> [list after idle {BWidget::refocus %W %W.e}]
|
67
65
|
::bind BwComboBox <Destroy> [list ComboBox::_destroy %W]
|
68
66
|
|
@@ -300,10 +298,13 @@ proc ComboBox::configure { path args } {
|
|
300
298
|
# is shown it'll get the actual colors anyway
|
301
299
|
if {[winfo exists $path.shell.listb]} {
|
302
300
|
$path.shell.listb configure \
|
303
|
-
|
304
|
-
|
301
|
+
-bg [_getbg $path] \
|
302
|
+
-fg [_getfg $path]
|
303
|
+
if {![Widget::theme]} {
|
304
|
+
$path.shell.listb configure \
|
305
305
|
-selectbackground [Widget::cget $path -selectbackground] \
|
306
306
|
-selectforeground [Widget::cget $path -selectforeground]
|
307
|
+
}
|
307
308
|
}
|
308
309
|
|
309
310
|
return $res
|
@@ -458,6 +459,29 @@ proc ComboBox::getentry { path } {
|
|
458
459
|
return $path.e
|
459
460
|
}
|
460
461
|
|
462
|
+
proc ComboBox::_getfg {path} {
|
463
|
+
# First try to retrieve option
|
464
|
+
set fg [Widget::cget $path -foreground];
|
465
|
+
if { 0 == [string length $fg] && [Widget::theme] } {
|
466
|
+
# fall back to style settings when not configured for widget
|
467
|
+
return [::ttk::style lookup TEntry -foreground];
|
468
|
+
}
|
469
|
+
return $fg;
|
470
|
+
}
|
471
|
+
proc ComboBox::_getbg {path} {
|
472
|
+
if {[Widget::theme]} {
|
473
|
+
# First try to retrieve option
|
474
|
+
set bg [Widget::cget $path -background];
|
475
|
+
if {0 == [string length $bg]} {
|
476
|
+
# fall back to style settings when not configured for widget
|
477
|
+
return [::ttk::style lookup TEntry -backround];
|
478
|
+
}
|
479
|
+
} else {
|
480
|
+
# fetch the entrybg resource value
|
481
|
+
set bg [Widget::cget $path -entrybg]
|
482
|
+
}
|
483
|
+
return $bg;
|
484
|
+
}
|
461
485
|
# ----------------------------------------------------------------------------
|
462
486
|
# Command ComboBox::_create_popup
|
463
487
|
# ----------------------------------------------------------------------------
|
@@ -504,16 +528,16 @@ proc ComboBox::_create_popup { path } {
|
|
504
528
|
set listb [ListBox $shell.listb \
|
505
529
|
-relief flat -borderwidth 0 -highlightthickness 0 \
|
506
530
|
-selectmode single -selectfill 1 -autofocus 0 -height $h \
|
507
|
-
-font [Widget::cget $path -font]
|
508
|
-
-bg [
|
509
|
-
-fg [
|
531
|
+
-font [Widget::cget $path -font] \
|
532
|
+
-bg [_getbg $path] \
|
533
|
+
-fg [_getfg $path]]
|
510
534
|
} else {
|
511
535
|
set listb [ListBox $shell.listb \
|
512
536
|
-relief flat -borderwidth 0 -highlightthickness 0 \
|
513
537
|
-selectmode single -selectfill 1 -autofocus 0 -height $h \
|
514
538
|
-font [Widget::cget $path -font] \
|
515
|
-
-bg [
|
516
|
-
-fg [
|
539
|
+
-bg [_getbg $path] \
|
540
|
+
-fg [_getfg $path] \
|
517
541
|
-selectbackground [Widget::cget $path -selectbackground] \
|
518
542
|
-selectforeground [Widget::cget $path -selectforeground]]
|
519
543
|
}
|
@@ -536,8 +560,8 @@ proc ComboBox::_create_popup { path } {
|
|
536
560
|
-exportselection false \
|
537
561
|
-font [Widget::cget $path -font] \
|
538
562
|
-height $h \
|
539
|
-
-bg [
|
540
|
-
-fg [
|
563
|
+
-bg [_getbg $path] \
|
564
|
+
-fg [_getfg $path] \
|
541
565
|
-listvariable [Widget::varForOption $path -values]]
|
542
566
|
} else {
|
543
567
|
set listb [listbox $shell.listb \
|
@@ -545,8 +569,8 @@ proc ComboBox::_create_popup { path } {
|
|
545
569
|
-exportselection false \
|
546
570
|
-font [Widget::cget $path -font] \
|
547
571
|
-height $h \
|
548
|
-
-bg [
|
549
|
-
-fg [
|
572
|
+
-bg [_getbg $path] \
|
573
|
+
-fg [_getfg $path] \
|
550
574
|
-selectbackground [Widget::cget $path -selectbackground] \
|
551
575
|
-selectforeground [Widget::cget $path -selectforeground] \
|
552
576
|
-listvariable [Widget::varForOption $path -values]]
|
@@ -609,8 +633,8 @@ proc ComboBox::_recreate_popup { path } {
|
|
609
633
|
$listb configure \
|
610
634
|
-height $h \
|
611
635
|
-font [Widget::cget $path -font] \
|
612
|
-
-bg [
|
613
|
-
-fg [
|
636
|
+
-bg [_getbg $path] \
|
637
|
+
-fg [_getfg $path]
|
614
638
|
if {![Widget::theme]} {
|
615
639
|
$listb configure \
|
616
640
|
-selectbackground [Widget::cget $path -selectbackground] \
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -24,9 +24,6 @@ namespace eval LabelEntry {
|
|
24
24
|
|
25
25
|
Widget::addmap LabelEntry "" :cmd {-background {}}
|
26
26
|
|
27
|
-
Widget::syncoptions LabelEntry Entry .e {-text {}}
|
28
|
-
Widget::syncoptions LabelEntry LabelFrame .labf {-label -text -underline {}}
|
29
|
-
|
30
27
|
::bind BwLabelEntry <FocusIn> [list focus %W.labf]
|
31
28
|
::bind BwLabelEntry <Destroy> [list LabelEntry::_destroy %W]
|
32
29
|
}
|
@@ -33,8 +33,6 @@ namespace eval LabelFrame {
|
|
33
33
|
Widget::addmap LabelFrame "" :cmd {-background {}}
|
34
34
|
Widget::addmap LabelFrame "" .f {-background {} -relief {} -borderwidth {}}
|
35
35
|
|
36
|
-
Widget::syncoptions LabelFrame Label .l {-text {} -underline {}}
|
37
|
-
|
38
36
|
bind BwLabelFrame <FocusIn> [list Label::setfocus %W.l]
|
39
37
|
bind BwLabelFrame <Destroy> [list LabelFrame::_destroy %W]
|
40
38
|
}
|