arcadia 0.13.0 → 0.13.1
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 +7 -0
- data/README +19 -15
- data/bin/arc +0 -0
- data/conf/LC/en-UK.LANG +1 -1
- data/conf/LC/ru-RU.LANG +272 -0
- data/conf/theme-dark.conf +3 -3
- data/ext/ae-dir-projects/ae-dir-projects.rb +5 -5
- data/ext/ae-editor/ae-editor.rb +302 -178
- data/ext/ae-subprocess-inspector/ae-subprocess-inspector.rb +2 -2
- data/ext/ae-term/ae-term.rb +11 -2
- data/lib/a-commons.rb +49 -19
- data/lib/a-contracts.rb +13 -0
- data/lib/a-core.rb +139 -36
- data/lib/a-tkcommons.rb +23 -8
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/ArrowButton.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/BWidget.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/Button.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/ButtonBox.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/ComboBox.html +8 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/Dialog.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/DragSite.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/DropSite.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/DynamicHelp.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/Entry.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/Label.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/LabelEntry.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/LabelFrame.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/ListBox.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/MainFrame.html +28 -23
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/MessageDlg.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/NoteBook.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/PagesManager.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/PanedWindow.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/PanelFrame.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/PasswdDlg.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/ProgressBar.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/ProgressDlg.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/ScrollView.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/ScrollableFrame.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/ScrolledWindow.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/SelectColor.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/SelectFont.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/Separator.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/SpinBox.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/StatusBar.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/TitleFrame.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/Tree.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/Widget.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/contents.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/index.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/navtree.html +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/BWman/options.htm +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/CHANGES.txt +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/ChangeLog +59 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/LICENSE.txt +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/README.txt +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/arrow.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/bitmap.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/button.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/buttonbox.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/color.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/combobox.tcl +8 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/demo/basic.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/demo/bwidget.xbm +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/demo/demo.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/demo/dnd.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/demo/manager.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/demo/select.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/demo/tmpldlg.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/demo/tree.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/demo/x1.xbm +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/dialog.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/dragsite.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/dropsite.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/dynhelp.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/entry.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/font.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/bold.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/copy.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/cut.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/dragfile.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/dragicon.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/error.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/file.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/folder.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/hourglass.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/info.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/italic.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/minus.xbm +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/new.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/opcopy.xbm +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/open.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/openfold.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/oplink.xbm +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/opmove.xbm +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/overstrike.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/palette.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/passwd.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/paste.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/plus.xbm +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/print.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/question.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/redo.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/save.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/target.xbm +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/underline.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/undo.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/images/warning.gif +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/init.tcl +9 -8
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/label.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/labelentry.tcl +4 -1
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/labelframe.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/lang/da.rc +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/lang/de.rc +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/lang/en.rc +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/lang/es.rc +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/lang/fr.rc +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/lang/hu.rc +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/lang/nl.rc +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/lang/no.rc +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/lang/pl.rc +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/listbox.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/mainframe.tcl +110 -22
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/messagedlg.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/notebook.tcl +13 -3
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/pagesmgr.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/panedw.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/panelframe.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/passwddlg.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/pkgIndex.tcl +2 -3
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/progressbar.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/progressdlg.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/scrollframe.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/scrollview.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/scrollw.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/separator.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/spinbox.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/statusbar.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/tests/entry.test +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/titleframe.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/tree.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/utils.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/widget.tcl +15 -2
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/wizard.tcl +0 -0
- data/tcl/{bwidget-1.9.6 → bwidget-1.9.7}/xpm2image.tcl +90 -28
- metadata +146 -196
- data/tcl/fsdialog/de.msg +0 -30
- data/tcl/fsdialog/en.msg +0 -31
- data/tcl/fsdialog/fsdialog.tcl +0 -1783
- data/tcl/fsdialog/fsdlg-gif.tcl +0 -259
- data/tcl/fsdialog/fsdlg-png.tcl +0 -265
- data/tcl/fsdialog/sv.msg +0 -32
- data/tcl/fsdialog/tclIndex +0 -6
- data/tcl/ptwidgets-1.1.0/COPYRIGHT +0 -10
- data/tcl/ptwidgets-1.1.0/ChangeLog +0 -194
- data/tcl/ptwidgets-1.1.0/README +0 -50
- data/tcl/ptwidgets-1.1.0/common/stacktrace.tcl +0 -29
- data/tcl/ptwidgets-1.1.0/common/tokenframe.tcl +0 -200
- data/tcl/ptwidgets-1.1.0/doc/img/toggleswitch_off.png +0 -0
- data/tcl/ptwidgets-1.1.0/doc/img/toggleswitch_on.png +0 -0
- data/tcl/ptwidgets-1.1.0/doc/img/tokenentry.png +0 -0
- data/tcl/ptwidgets-1.1.0/doc/img/tokensearch_popup_example.png +0 -0
- data/tcl/ptwidgets-1.1.0/doc/img/tokensearch_popup_example2.png +0 -0
- data/tcl/ptwidgets-1.1.0/doc/img/wmarkentry.png +0 -0
- data/tcl/ptwidgets-1.1.0/doc/toggleswitch.html +0 -402
- data/tcl/ptwidgets-1.1.0/doc/tokenentry.html +0 -1366
- data/tcl/ptwidgets-1.1.0/doc/tokensearch.html +0 -1549
- data/tcl/ptwidgets-1.1.0/doc/wmarkentry.html +0 -634
- data/tcl/ptwidgets-1.1.0/library/toggleswitch.tcl +0 -432
- data/tcl/ptwidgets-1.1.0/library/tokenentry.tcl +0 -2208
- data/tcl/ptwidgets-1.1.0/library/tokensearch.tcl +0 -2488
- data/tcl/ptwidgets-1.1.0/library/wmarkentry.tcl +0 -630
- data/tcl/ptwidgets-1.1.0/pkgIndex.tcl +0 -10
- data/tcl/ptwidgets-1.1.0/test/Makefile +0 -3
- data/tcl/ptwidgets-1.1.0/test/run.tcl +0 -3
- data/tcl/ptwidgets-1.1.0/test/test.tcl +0 -89
- data/tcl/ptwidgets-1.1.0/test/toggleswitch.test +0 -562
- data/tcl/ptwidgets-1.1.0/test/tokenentry.test +0 -1023
- data/tcl/ptwidgets-1.1.0/test/tokensearch.test +0 -1023
- data/tcl/ptwidgets-1.1.0/test/wmarkentry.test +0 -1325
- data/tcl/themes/altTheme.tcl +0 -101
- data/tcl/themes/aquaTheme.tcl +0 -59
- data/tcl/themes/clamTheme.tcl +0 -140
- data/tcl/themes/classicTheme.tcl +0 -108
- data/tcl/themes/pkgIndex.tcl +0 -3
- data/tcl/themes/ttk.tcl +0 -176
- data/tcl/themes/vistaTheme.tcl +0 -224
- data/tcl/themes/winTheme.tcl +0 -80
- data/tcl/themes/xpTheme.tcl +0 -65
- data/tcl/tkfbox/folder.gif +0 -0
- data/tcl/tkfbox/textfile.gif +0 -0
- data/tcl/tkfbox/tkfbox.tcl +0 -1
- data/tcl/tkfbox/tkfbox.tcl~ +0 -1
- data/tcl/tkfbox/updir.xbm +0 -1
data/lib/a-tkcommons.rb
CHANGED
|
@@ -956,7 +956,11 @@ class TkBaseTitledFrame < TkFrame
|
|
|
956
956
|
end
|
|
957
957
|
|
|
958
958
|
def visible?
|
|
959
|
-
|
|
959
|
+
ret = false
|
|
960
|
+
begin
|
|
961
|
+
ret = TkWinfo.mapped?(self)
|
|
962
|
+
rescue Exception => e
|
|
963
|
+
end
|
|
960
964
|
end
|
|
961
965
|
end
|
|
962
966
|
|
|
@@ -1514,20 +1518,19 @@ class TkFloatTitledFrame < TkBaseTitledFrame
|
|
|
1514
1518
|
frame.place('height'=>-32)
|
|
1515
1519
|
borderwidth 2
|
|
1516
1520
|
relief 'groove'
|
|
1517
|
-
|
|
1518
|
-
@right_label = TkLabel.new(@top, Arcadia.style('titlelabel')){
|
|
1521
|
+
@left_label = TkLabel.new(@top, Arcadia.style('titlelabel')){
|
|
1519
1522
|
anchor 'w'
|
|
1520
|
-
}.
|
|
1521
|
-
#.
|
|
1522
|
-
|
|
1523
|
+
}.place('x'=>0, 'y'=>0,'relheight'=>1, 'relwidth'=>1 ,'width'=>-20)
|
|
1524
|
+
#.pack('fill'=>'x', 'side'=>'top')
|
|
1523
1525
|
@resizing_label=TkLabel.new(self, Arcadia.style('label')){
|
|
1524
1526
|
text '-'
|
|
1525
1527
|
image Arcadia.image_res(EXPAND_LIGHT_GIF)
|
|
1526
1528
|
}.pack('side'=> 'right','anchor'=> 's')
|
|
1527
|
-
start_moving(@
|
|
1529
|
+
start_moving(@left_label, self)
|
|
1528
1530
|
start_moving(frame, self)
|
|
1529
1531
|
start_resizing(@resizing_label, self)
|
|
1530
1532
|
@grabbed = false
|
|
1533
|
+
@event_loop = false
|
|
1531
1534
|
# frame.bind_append('KeyPress'){|e|
|
|
1532
1535
|
# p e.keysym
|
|
1533
1536
|
# case e.keysym
|
|
@@ -1540,7 +1543,7 @@ class TkFloatTitledFrame < TkBaseTitledFrame
|
|
|
1540
1543
|
end
|
|
1541
1544
|
|
|
1542
1545
|
def title(_text)
|
|
1543
|
-
@
|
|
1546
|
+
@left_label.text(_text)
|
|
1544
1547
|
end
|
|
1545
1548
|
|
|
1546
1549
|
def on_close=(_proc)
|
|
@@ -1552,6 +1555,10 @@ class TkFloatTitledFrame < TkBaseTitledFrame
|
|
|
1552
1555
|
end
|
|
1553
1556
|
|
|
1554
1557
|
def hide
|
|
1558
|
+
if @event_loop
|
|
1559
|
+
Arcadia.detach_listener(self, ArcadiaEvent)
|
|
1560
|
+
@event_loop = false
|
|
1561
|
+
end
|
|
1555
1562
|
@manager = TkWinfo.manager(self)
|
|
1556
1563
|
if @manager == 'place'
|
|
1557
1564
|
@x_place = TkPlace.info(self)['x']
|
|
@@ -1568,10 +1575,18 @@ class TkFloatTitledFrame < TkBaseTitledFrame
|
|
|
1568
1575
|
self
|
|
1569
1576
|
end
|
|
1570
1577
|
|
|
1578
|
+
def on_arcadia(_e)
|
|
1579
|
+
self.raise
|
|
1580
|
+
end
|
|
1581
|
+
|
|
1571
1582
|
def show
|
|
1572
1583
|
if @manager == 'place'
|
|
1573
1584
|
self.place('x'=>@x_place, 'y'=>@y_place, 'width'=>@width_place, 'height'=>@height_place)
|
|
1574
1585
|
end
|
|
1586
|
+
if @event_loop == false
|
|
1587
|
+
Arcadia.attach_listener(self, ArcadiaEvent)
|
|
1588
|
+
@event_loop = true
|
|
1589
|
+
end
|
|
1575
1590
|
self.raise
|
|
1576
1591
|
end
|
|
1577
1592
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -145,6 +145,7 @@
|
|
|
145
145
|
?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
|
|
146
146
|
</DD>
|
|
147
147
|
<DD><I>pathName</I> <A HREF="#get"><B>get</B></A></DD>
|
|
148
|
+
<DD><I>pathName</I> <A HREF="#getentry"><B>getentry</B></A></DD>
|
|
148
149
|
<DD><I>pathName</I> <A HREF="#getlistbox"><B>getlistbox</B></A></DD>
|
|
149
150
|
<DD><I>pathName</I> <A HREF="#getvalue"><B>getvalue</B></A></DD>
|
|
150
151
|
<DD><I>pathName</I> <A HREF="#icursor"><B>icursor</B></A>
|
|
@@ -315,6 +316,13 @@ Returns the current contents of the entry.
|
|
|
315
316
|
|
|
316
317
|
</DD></DL>
|
|
317
318
|
|
|
319
|
+
<DL><DT><A NAME="getentry"><I>pathName</I> <B>getentry</B></A>
|
|
320
|
+
</DT><DD>
|
|
321
|
+
|
|
322
|
+
Returns the path to the contained entry widget.
|
|
323
|
+
|
|
324
|
+
</DD></DL>
|
|
325
|
+
|
|
318
326
|
<DL><DT><A NAME="getlistbox"><I>pathName</I> <B>getlistbox</B></A>
|
|
319
327
|
</DT><DD>
|
|
320
328
|
|
|
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
|
|
@@ -22,21 +22,24 @@
|
|
|
22
22
|
</TR>
|
|
23
23
|
<TR>
|
|
24
24
|
<TD> -progressvar (see <B>-variable</B>)</TD>
|
|
25
|
+
</TR>
|
|
25
26
|
</TABLE></DD>
|
|
26
27
|
</DL>
|
|
27
28
|
<DL>
|
|
28
29
|
<DT><I><A HREF="#wso">WIDGET-SPECIFIC OPTIONS</A></I></DT>
|
|
29
30
|
<DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0>
|
|
30
31
|
<TR>
|
|
31
|
-
<TD> <A HREF="#-height">-height</A></TR>
|
|
32
|
-
<
|
|
32
|
+
<TD> <A HREF="#-height">-height</A></TD></TR>
|
|
33
|
+
<TR>
|
|
34
|
+
<TD> <A HREF="#-menu">-menu</A></TD>
|
|
33
35
|
</TR>
|
|
34
36
|
<TR>
|
|
35
|
-
<TD> <A HREF="#-separator">-separator</A></TR>
|
|
36
|
-
<
|
|
37
|
+
<TD> <A HREF="#-separator">-separator</A></TD></TR>
|
|
38
|
+
<TR>
|
|
39
|
+
<TD> <A HREF="#-textvariable">-textvariable</A></TD>
|
|
37
40
|
</TR>
|
|
38
41
|
<TR>
|
|
39
|
-
<TD> <A HREF="#-width">-width</A></TR>
|
|
42
|
+
<TD> <A HREF="#-width">-width</A></TD></TR>
|
|
40
43
|
<TD> <A HREF="#-sizegrip">-sizegrip</A></TR>
|
|
41
44
|
</TABLE></DD>
|
|
42
45
|
</DL>
|
|
@@ -83,10 +86,10 @@
|
|
|
83
86
|
MainFrame manage toplevel to have:<BR>
|
|
84
87
|
<UL>
|
|
85
88
|
<LI>simple menu creation, with automatic accelerator bindings and
|
|
86
|
-
<A HREF="DynamicHelp.html">DynamicHelp</A> association
|
|
87
|
-
<LI>one or more toolbars that user can hide
|
|
88
|
-
<LI>a status bar, displaying a user message or a menu description, and optionally a
|
|
89
|
-
<A HREF="ProgressBar.html">ProgressBar</A
|
|
89
|
+
<A HREF="DynamicHelp.html">DynamicHelp</A> association,</LI>
|
|
90
|
+
<LI>one or more toolbars that user can hide,</LI>
|
|
91
|
+
<LI>a status bar, displaying a user message or a menu description, and optionally a
|
|
92
|
+
<A HREF="ProgressBar.html">ProgressBar</A>.</LI>
|
|
90
93
|
</UL>
|
|
91
94
|
</P>
|
|
92
95
|
<BR><HR WIDTH="50%"><BR>
|
|
@@ -108,33 +111,35 @@ one cascade menu. It has the following form:
|
|
|
108
111
|
where <I>menuentries</I> is a list where each element describe one menu entry, which can be:
|
|
109
112
|
<UL>
|
|
110
113
|
<LI>for a separator:<BR>
|
|
111
|
-
{<B>separator</B>}
|
|
114
|
+
{<B>separator</B>}</LI>
|
|
112
115
|
<LI>for a command:<BR>
|
|
113
|
-
{<B>command</B> <I>menuname</I> ?<I>tags</I>? ?<I>description</I>? ?<I>accelerator</I>? ?<I>option</I> <I>value</I>? ...}
|
|
116
|
+
{<B>command</B> <I>menuname</I> ?<I>tags</I>? ?<I>description</I>? ?<I>accelerator</I>? ?<I>option</I> <I>value</I>? ...}</LI>
|
|
114
117
|
<LI>for a check button:<BR>
|
|
115
|
-
{<B>checkbutton</B> <I>menuname</I> ?<I>tags</I>? ?<I>description</I>? ?<I>accelerator</I>? ?<I>option</I> <I>value</I>? ...}
|
|
118
|
+
{<B>checkbutton</B> <I>menuname</I> ?<I>tags</I>? ?<I>description</I>? ?<I>accelerator</I>? ?<I>option</I> <I>value</I>? ...}</LI>
|
|
116
119
|
<LI>for a radio button:<BR>
|
|
117
|
-
{<B>radiobutton</B> <I>menuname</I> ?<I>tags</I>? ?<I>description</I>? ?<I>accelerator</I> ?<I>option</I> <I>value</I>? ...}
|
|
120
|
+
{<B>radiobutton</B> <I>menuname</I> ?<I>tags</I>? ?<I>description</I>? ?<I>accelerator</I> ?<I>option</I> <I>value</I>? ...}</LI>
|
|
118
121
|
<LI>for a cascade menu:<BR>
|
|
119
|
-
{<B>cascade</B> <I>menuname</I> <I>tags</I> <I>menuId</I> <I>tearoff</I> <I>menuentries</I>}
|
|
122
|
+
{<B>cascade</B> <I>menuname</I> <I>tags</I> <I>menuId</I> <I>tearoff</I> <I>menuentries</I>}</LI>
|
|
120
123
|
</UL>
|
|
121
124
|
where:
|
|
122
125
|
<UL>
|
|
123
126
|
<LI><I>menuname</I> is the name of the menu. If it contains a &, the following character
|
|
124
127
|
is automatically converted to the corresponding <B>-underline</B> option of <B>menu add</B>
|
|
125
|
-
command
|
|
128
|
+
command.</LI>
|
|
126
129
|
<LI><I>tags</I> is the tags list for the entry, used for enabling or disabling menu
|
|
127
|
-
entries with <B>MainFrame::setmenustate</B
|
|
130
|
+
entries with <B>MainFrame::setmenustate</B>.</LI>
|
|
128
131
|
<LI><I>menuId</I> is an id for the menu, from which you can get menu pathname with
|
|
129
|
-
<B>MainFrame::getmenu</B
|
|
130
|
-
<LI><I>tearoff</I> specifies if menu has tearoff entry
|
|
131
|
-
<LI><I>description</I> specifies a string for <A HREF=\"DynamicHelp.html\">DynamicHelp</A
|
|
132
|
+
<B>MainFrame::getmenu</B>.</LI>
|
|
133
|
+
<LI><I>tearoff</I> specifies if menu has tearoff entry.</LI>
|
|
134
|
+
<LI><I>description</I> specifies a string for <A HREF=\"DynamicHelp.html\">DynamicHelp</A>.</LI>
|
|
132
135
|
<LI><I>accelerator</I> specifies a key sequence. It is a list of two elements, where the first
|
|
133
|
-
is one of <B>Ctrl</B>, <B>Alt</B> or <B>
|
|
136
|
+
is one of <B>Shift</B>, <B>Ctrl</B>, <B>Alt</B>, <B>CtrlAlt</B>, <B>Cmd</B>, or <B>ShiftCmd</B>, and the second as letter
|
|
137
|
+
(see <A HREF="#-casesensitive">-casesensitive</A> option for interpretation), digit or
|
|
138
|
+
a special key name.
|
|
134
139
|
An accelerator string is build and corresponding binding set on the toplevel to invoke the
|
|
135
|
-
menu entry
|
|
140
|
+
menu entry.</LI>
|
|
136
141
|
<LI><I>option value</I> specifies additionnal options for the entry (see <B>menu add</B>
|
|
137
|
-
command)
|
|
142
|
+
command).</LI>
|
|
138
143
|
</UL>
|
|
139
144
|
Each value enclosed by ? are optional and defaulted to empty string, but must be
|
|
140
145
|
provided if one or more following options is not empty.
|
|
@@ -155,7 +160,7 @@ set descmenu {
|
|
|
155
160
|
{command "E&xit" {} "Exit the application" {} -command Menu::exit}
|
|
156
161
|
}
|
|
157
162
|
"&Options" {} {} 0 {
|
|
158
|
-
{checkbutton "Toolbar" {} "Show/hide toolbar" {}
|
|
163
|
+
{checkbutton "Toolbar" {} "Show/hide toolbar" {}
|
|
159
164
|
-variable Menu::_drawtoolbar
|
|
160
165
|
-command {$Menu::_mainframe showtoolbar toolbar $Menu::_drawtoolbar}
|
|
161
166
|
}
|
|
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,62 @@
|
|
|
1
|
+
2013-09-15 Harald Oehlmann <oehhar@users.sourceforge.net>
|
|
2
|
+
|
|
3
|
+
**** BWidget 1.9.7 tagged ****
|
|
4
|
+
|
|
5
|
+
2013-09-11 Harald Oehlmann <oehhar@users.sourceforge.net>
|
|
6
|
+
|
|
7
|
+
xpm2image.tcl: many issues fixed in xpm import
|
|
8
|
+
by Mattias Hembruch. Ticket [9a8b2ee42e]
|
|
9
|
+
|
|
10
|
+
2013-08-14 Harald Oehlmann <oehhar@users.sourceforge.net>
|
|
11
|
+
|
|
12
|
+
* notebook.tcl: cured error in _resize, that
|
|
13
|
+
data($p,width) is not (jet) present. Ticket [a4cbba655d].
|
|
14
|
+
|
|
15
|
+
2013-06-28 Harald Oehlmann <oehhar@users.sourceforge.net>
|
|
16
|
+
|
|
17
|
+
* mainframe.tcl: Included Patch [9f67a66609]
|
|
18
|
+
curing issues of Shift-Accellerators with Shift-Lock
|
|
19
|
+
on Mac. By Keith Nash, Ticket [83ce3e84e7].
|
|
20
|
+
|
|
21
|
+
2013-06-26 Harald Oehlmann <oehhar@users.sourceforge.net>
|
|
22
|
+
|
|
23
|
+
* mainframe.tcl: Reverted Patch [1977644]
|
|
24
|
+
(-casesensitive for accellerators). It has
|
|
25
|
+
issues with shift-lock.
|
|
26
|
+
|
|
27
|
+
2013-06-21 Harald Oehlmann <oehhar@users.sourceforge.net>
|
|
28
|
+
|
|
29
|
+
* labelentry.tcl: Bug fixed:
|
|
30
|
+
Methods from Tk entry widget restored [Bug 1002844].
|
|
31
|
+
|
|
32
|
+
* mainframe.tcl: Allow case sensitive accelerators
|
|
33
|
+
by new option -casesensitive.
|
|
34
|
+
Patch by cmard [Patch 1977644]
|
|
35
|
+
|
|
36
|
+
* mainframe.tcl: Allow new modifiers Shift, Cmd and ShiftCmd
|
|
37
|
+
for accelerators. Patch by K.J.Nash [Patch-83ce3e84e7]
|
|
38
|
+
|
|
39
|
+
* mainframe.tcl: When changing MainFrame -background, do
|
|
40
|
+
not change menu colors on Aqua.
|
|
41
|
+
Fix by Keith J.Nash [Bug-a81b7afc1e]
|
|
42
|
+
|
|
43
|
+
* init.tcl: Make loadable in save interpreter.
|
|
44
|
+
Fix by Keith J.Nash [Bug-4365a23bd3]
|
|
45
|
+
|
|
46
|
+
* combobox.tcl: Add method getentry to return entry
|
|
47
|
+
widget path for bind purposes.
|
|
48
|
+
Patch by Michael [Patch-2340355]
|
|
49
|
+
|
|
50
|
+
2013-01-09 Harald Oehlmann <oehhar@users.sourceforge.net>
|
|
51
|
+
|
|
52
|
+
* widget.tcl: Bug fixed:
|
|
53
|
+
Error 'invalid command name ".#BWidget.#ttk::entry"'
|
|
54
|
+
arises in themed mode when an Entry widget should get
|
|
55
|
+
focus by the tab key.
|
|
56
|
+
The temporary widget creation fails due to the "::" in
|
|
57
|
+
the command name of ttk widgets.
|
|
58
|
+
Any "::" is replaced by "__" [Bug 3599955].
|
|
59
|
+
|
|
1
60
|
2011-07-27 Harald Oehlmann <oehhar@users.sourceforge.net>
|
|
2
61
|
|
|
3
62
|
**** BWidget 1.9.6 tagged ****
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
# - ComboBox::setvalue
|
|
11
11
|
# - ComboBox::getvalue
|
|
12
12
|
# - ComboBox::clearvalue
|
|
13
|
+
# - ComboBox::getentrypath
|
|
13
14
|
# - ComboBox::_create_popup
|
|
14
15
|
# - ComboBox::_mapliste
|
|
15
16
|
# - ComboBox::_unmapliste
|
|
@@ -450,6 +451,13 @@ proc ComboBox::clearvalue { path } {
|
|
|
450
451
|
Entry::configure $path.e -text ""
|
|
451
452
|
}
|
|
452
453
|
|
|
454
|
+
# ----------------------------------------------------------------------------
|
|
455
|
+
# Command ComboBox::getentry
|
|
456
|
+
# ----------------------------------------------------------------------------
|
|
457
|
+
proc ComboBox::getentry { path } {
|
|
458
|
+
return $path.e
|
|
459
|
+
}
|
|
460
|
+
|
|
453
461
|
# ----------------------------------------------------------------------------
|
|
454
462
|
# Command ComboBox::_create_popup
|
|
455
463
|
# ----------------------------------------------------------------------------
|
|
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
|