2003-07-31 16:52:40 -04:00
|
|
|
|
#
|
|
|
|
|
# text (basic facilities) widget demo (called by 'widget')
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# toplevel widget <20><>¸<EFBFBD>ߤ<EFBFBD><DFA4><EFBFBD><EFBFBD>к<EFBFBD><D0BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
if defined?($text_demo) && $text_demo
|
|
|
|
|
$text_demo.destroy
|
|
|
|
|
$text_demo = nil
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
# demo <20>Ѥ<EFBFBD> toplevel widget <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
$text_demo = TkToplevel.new {|w|
|
|
|
|
|
title("Text Demonstration - Basic Facilities")
|
|
|
|
|
iconname("text")
|
|
|
|
|
positionWindow(w)
|
|
|
|
|
}
|
|
|
|
|
|
2003-08-02 17:39:23 -04:00
|
|
|
|
# version check
|
|
|
|
|
if ((Tk::TK_VERSION.split('.').collect{|n| n.to_i} <=> [8,4]) < 0)
|
|
|
|
|
undo_support = false
|
|
|
|
|
else
|
|
|
|
|
undo_support = true
|
|
|
|
|
end
|
|
|
|
|
|
2003-07-31 16:52:40 -04:00
|
|
|
|
# frame <20><><EFBFBD><EFBFBD>
|
|
|
|
|
TkFrame.new($text_demo) {|frame|
|
|
|
|
|
TkButton.new(frame) {
|
|
|
|
|
text 'λ<><CEBB>'
|
|
|
|
|
command proc{
|
|
|
|
|
tmppath = $text_demo
|
|
|
|
|
$text_demo = nil
|
|
|
|
|
tmppath.destroy
|
|
|
|
|
}
|
|
|
|
|
}.pack('side'=>'left', 'expand'=>'yes')
|
|
|
|
|
|
|
|
|
|
TkButton.new(frame) {
|
|
|
|
|
text '<27><><EFBFBD><EFBFBD><EFBFBD>ɻ<EFBFBD><C9BB><EFBFBD>'
|
|
|
|
|
command proc{showCode 'text'}
|
|
|
|
|
}.pack('side'=>'left', 'expand'=>'yes')
|
|
|
|
|
}.pack('side'=>'bottom', 'fill'=>'x', 'pady'=>'2m')
|
|
|
|
|
|
|
|
|
|
# text <20><><EFBFBD><EFBFBD>
|
|
|
|
|
TkText.new($text_demo){|t|
|
|
|
|
|
# <20><><EFBFBD><EFBFBD>
|
|
|
|
|
relief 'sunken'
|
|
|
|
|
bd 2
|
|
|
|
|
setgrid 1
|
|
|
|
|
height 30
|
|
|
|
|
TkScrollbar.new($text_demo) {|s|
|
|
|
|
|
pack('side'=>'right', 'fill'=>'y')
|
|
|
|
|
command proc{|*args| t.yview(*args)}
|
|
|
|
|
t.yscrollcommand proc{|first,last| s.set first,last}
|
|
|
|
|
}
|
|
|
|
|
pack('expand'=>'yes', 'fill'=>'both')
|
|
|
|
|
|
|
|
|
|
# <20>ƥ<EFBFBD><C6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2003-08-02 17:39:23 -04:00
|
|
|
|
insert('0.0', <<EOT)
|
2003-07-31 16:52:40 -04:00
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD>Υ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɥ<EFBFBD><EFBFBD>ϥƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> widget <EFBFBD>Ǥ<EFBFBD><EFBFBD><EFBFBD>1<EFBFBD>Ԥޤ<EFBFBD><EFBFBD>Ϥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD>Υƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD>ɽ
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Խ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>뤳<EFBFBD>Ȥ<EFBFBD><EFBFBD>Ǥ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʲ<EFBFBD><EFBFBD>ϥƥ<EFB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EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>Meta-<EFBFBD>Хå<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
<EFBFBD><EFBFBD>¦<EFBFBD><EFBFBD>ñ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Meta-D <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>κ<EFBFBD>¦<EFBFBD><EFBFBD>ñ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-K <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뤫<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤǤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΰ<EFBFBD><EFBFBD>֤˲<EFBFBD><EFBFBD><EFBFBD>
|
2003-08-02 17:39:23 -04:00
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʤ<EFBFBD><EFBFBD>ä<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>#{
|
|
|
|
|
if undo_support
|
|
|
|
|
undo_text = "Control-z <20>ϺǸ<CFBA><C7B8>˹Ԥä<D4A4><C3A4>ѹ<EFBFBD><D1B9>μ<EFBFBD><CEBC><EFBFBD><EFBFBD>ä<EFBFBD>(undo)<29><><EFBFBD>Ԥ<EFBFBD><D4A4><EFBFBD>"
|
|
|
|
|
case $tk_platform['platform']
|
|
|
|
|
when "unix", "macintosh"
|
|
|
|
|
undo_text << "Control-Shift-z"
|
|
|
|
|
else # 'windows'
|
|
|
|
|
undo_text << "Control-y"
|
|
|
|
|
end
|
|
|
|
|
undo_text << "<EFBFBD><EFBFBD>undo<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><EFBFBD>κ<EFBFBD>Ŭ<EFBFBD><EFBFBD>(redo)<29><><EFBFBD>Ԥ<EFBFBD><D4A4>ޤ<EFBFBD><DEA4><EFBFBD>"
|
|
|
|
|
else
|
|
|
|
|
""
|
|
|
|
|
end
|
|
|
|
|
}
|
|
|
|
|
|
2003-07-31 16:52:40 -04:00
|
|
|
|
|
|
|
|
|
8. <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɥ<EFBFBD><EFBFBD>Υꥵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> widget <EFBFBD><EFBFBD> "setGrid" <EFBFBD><EFBFBD><EFBFBD>ץ<EFBFBD><EFBFBD><EFBFBD><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