Update kilmer template to use sections
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
afd7aea857
commit
a35058f9f9
@ -1,3 +1,8 @@
|
|||||||
|
Wed Dec 29 11:07:07 2004 Dave Thomas <dave@pragprog.com>
|
||||||
|
|
||||||
|
* lib/rdoc/generators/template/html/kilmer.rb: Update to use new
|
||||||
|
sections.
|
||||||
|
|
||||||
Tue Dec 28 22:31:46 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Tue Dec 28 22:31:46 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* string.c (rb_str_justify): create buffer string after argument type
|
* string.c (rb_str_justify): create buffer string after argument type
|
||||||
@ -57,6 +62,7 @@ Mon Dec 27 14:36:20 2004 NAKAMURA Usaku <usa@ruby-lang.org>
|
|||||||
* process.c (NUM2RLIM, RLIM2NUM): Without SIZEOF_RLIM_T is not error.
|
* process.c (NUM2RLIM, RLIM2NUM): Without SIZEOF_RLIM_T is not error.
|
||||||
fixed: [ruby-dev:25346]
|
fixed: [ruby-dev:25346]
|
||||||
|
|
||||||
|
>>>>>>> 1.3892
|
||||||
Sun Dec 26 16:21:39 2004 Shugo Maeda <shugo@ruby-lang.org>
|
Sun Dec 26 16:21:39 2004 Shugo Maeda <shugo@ruby-lang.org>
|
||||||
|
|
||||||
* lib/net/imap.rb (Net::IMAP::PlainAuthenticator): added a new class
|
* lib/net/imap.rb (Net::IMAP::PlainAuthenticator): added a new class
|
||||||
|
@ -24,7 +24,7 @@ class Test1
|
|||||||
c = ip.commands()
|
c = ip.commands()
|
||||||
# 使用するコマンドに対応するオブジェクトは変数に入れておく.
|
# 使用するコマンドに対応するオブジェクトは変数に入れておく.
|
||||||
append, bind, button, destroy, incr, info, label, place, set, wm =
|
append, bind, button, destroy, incr, info, label, place, set, wm =
|
||||||
c.indexes(
|
c.values_at(
|
||||||
"append", "bind", "button", "destroy", "incr", "info", "label", "place",
|
"append", "bind", "button", "destroy", "incr", "info", "label", "place",
|
||||||
"set", "wm")
|
"set", "wm")
|
||||||
|
|
||||||
@ -136,7 +136,7 @@ class Test1
|
|||||||
|
|
||||||
# サンプルのためのウィジェットを生成する.
|
# サンプルのためのウィジェットを生成する.
|
||||||
def sample(ip, parent)
|
def sample(ip, parent)
|
||||||
bind, button, destroy, grid, toplevel, wm = ip.commands().indexes(
|
bind, button, destroy, grid, toplevel, wm = ip.commands().values_at(
|
||||||
"bind", "button", "destroy", "grid", "toplevel", "wm")
|
"bind", "button", "destroy", "grid", "toplevel", "wm")
|
||||||
|
|
||||||
## toplevel
|
## toplevel
|
||||||
@ -207,7 +207,7 @@ class Test1
|
|||||||
# parent: 親ウィジェット
|
# parent: 親ウィジェット
|
||||||
# title: toplevel ウィジェットのウインドウのタイトル
|
# title: toplevel ウィジェットのウインドウのタイトル
|
||||||
def inittoplevel(ip, parent, title)
|
def inittoplevel(ip, parent, title)
|
||||||
bind, button, destroy, toplevel, wm = ip.commands().indexes(
|
bind, button, destroy, toplevel, wm = ip.commands().values_at(
|
||||||
"bind", "button", "destroy", "toplevel", "wm")
|
"bind", "button", "destroy", "toplevel", "wm")
|
||||||
|
|
||||||
# 新しいウインドウを開くには, toplevel を使う.
|
# 新しいウインドウを開くには, toplevel を使う.
|
||||||
@ -229,7 +229,7 @@ class Test1
|
|||||||
|
|
||||||
# label のサンプル.
|
# label のサンプル.
|
||||||
def test_label(ip, parent)
|
def test_label(ip, parent)
|
||||||
button, global, label, pack = ip.commands().indexes(
|
button, global, label, pack = ip.commands().values_at(
|
||||||
"button", "global", "label", "pack")
|
"button", "global", "label", "pack")
|
||||||
t1, b1, cb = inittoplevel(ip, parent, "label")
|
t1, b1, cb = inittoplevel(ip, parent, "label")
|
||||||
|
|
||||||
@ -272,7 +272,7 @@ class Test1
|
|||||||
|
|
||||||
# button のサンプル.
|
# button のサンプル.
|
||||||
def test_button(ip, parent)
|
def test_button(ip, parent)
|
||||||
button, pack = ip.commands().indexes("button", "pack")
|
button, pack = ip.commands().values_at("button", "pack")
|
||||||
t1, b1, cb = inittoplevel(ip, parent, "button")
|
t1, b1, cb = inittoplevel(ip, parent, "button")
|
||||||
|
|
||||||
## button
|
## button
|
||||||
@ -290,7 +290,7 @@ class Test1
|
|||||||
|
|
||||||
# checkbutton のサンプル.
|
# checkbutton のサンプル.
|
||||||
def test_checkbutton(ip, parent)
|
def test_checkbutton(ip, parent)
|
||||||
checkbutton, global, pack = ip.commands().indexes(
|
checkbutton, global, pack = ip.commands().values_at(
|
||||||
"checkbutton", "global", "pack")
|
"checkbutton", "global", "pack")
|
||||||
t1, b1, cb = inittoplevel(ip, parent, "checkbutton")
|
t1, b1, cb = inittoplevel(ip, parent, "checkbutton")
|
||||||
|
|
||||||
@ -306,7 +306,7 @@ class Test1
|
|||||||
|
|
||||||
# radiobutton のサンプル.
|
# radiobutton のサンプル.
|
||||||
def test_radiobutton(ip, parent)
|
def test_radiobutton(ip, parent)
|
||||||
global, label, pack, radiobutton = ip.commands().indexes(
|
global, label, pack, radiobutton = ip.commands().values_at(
|
||||||
"global", "label", "pack", "radiobutton")
|
"global", "label", "pack", "radiobutton")
|
||||||
t1, b1, cb = inittoplevel(ip, parent, "radiobutton")
|
t1, b1, cb = inittoplevel(ip, parent, "radiobutton")
|
||||||
|
|
||||||
@ -330,7 +330,7 @@ class Test1
|
|||||||
|
|
||||||
# scale のサンプル.
|
# scale のサンプル.
|
||||||
def test_scale(ip, parent)
|
def test_scale(ip, parent)
|
||||||
global, pack, scale = ip.commands().indexes(
|
global, pack, scale = ip.commands().values_at(
|
||||||
"global", "pack", "scale")
|
"global", "pack", "scale")
|
||||||
t1, b1, cb = inittoplevel(ip, parent, "scale")
|
t1, b1, cb = inittoplevel(ip, parent, "scale")
|
||||||
|
|
||||||
@ -350,7 +350,7 @@ class Test1
|
|||||||
|
|
||||||
# entry のサンプル.
|
# entry のサンプル.
|
||||||
def test_entry(ip, parent)
|
def test_entry(ip, parent)
|
||||||
button, entry, global, pack = ip.commands().indexes(
|
button, entry, global, pack = ip.commands().values_at(
|
||||||
"button", "entry", "global", "pack")
|
"button", "entry", "global", "pack")
|
||||||
t1, b1, cb = inittoplevel(ip, parent, "entry")
|
t1, b1, cb = inittoplevel(ip, parent, "entry")
|
||||||
|
|
||||||
@ -369,7 +369,7 @@ class Test1
|
|||||||
|
|
||||||
# text のサンプル.
|
# text のサンプル.
|
||||||
def test_text(ip, parent)
|
def test_text(ip, parent)
|
||||||
button, pack, text = ip.commands().indexes(
|
button, pack, text = ip.commands().values_at(
|
||||||
"button", "pack", "text")
|
"button", "pack", "text")
|
||||||
t1, b1, cb = inittoplevel(ip, parent, "text")
|
t1, b1, cb = inittoplevel(ip, parent, "text")
|
||||||
|
|
||||||
@ -385,7 +385,7 @@ class Test1
|
|||||||
|
|
||||||
# raise/lower のサンプル.
|
# raise/lower のサンプル.
|
||||||
def test_raise(ip, parent)
|
def test_raise(ip, parent)
|
||||||
button, frame, lower, pack, raise = ip.commands().indexes(
|
button, frame, lower, pack, raise = ip.commands().values_at(
|
||||||
"button", "frame", "lower", "pack", "raise")
|
"button", "frame", "lower", "pack", "raise")
|
||||||
t1, b1, cb = inittoplevel(ip, parent, "raise/lower")
|
t1, b1, cb = inittoplevel(ip, parent, "raise/lower")
|
||||||
|
|
||||||
@ -408,7 +408,7 @@ class Test1
|
|||||||
# modal なウィジェットのサンプル.
|
# modal なウィジェットのサンプル.
|
||||||
def test_modal(ip, parent)
|
def test_modal(ip, parent)
|
||||||
button, frame, message, pack, tk_chooseColor, tk_getOpenFile,
|
button, frame, message, pack, tk_chooseColor, tk_getOpenFile,
|
||||||
tk_messageBox = ip.commands().indexes(
|
tk_messageBox = ip.commands().values_at(
|
||||||
"button", "frame", "message", "pack", "tk_chooseColor",
|
"button", "frame", "message", "pack", "tk_chooseColor",
|
||||||
"tk_getOpenFile", "tk_messageBox")
|
"tk_getOpenFile", "tk_messageBox")
|
||||||
# 最初に load されていないライブラリは ip.commands() に存在しないので,
|
# 最初に load されていないライブラリは ip.commands() に存在しないので,
|
||||||
@ -451,7 +451,7 @@ class Test1
|
|||||||
|
|
||||||
# menu のサンプル.
|
# menu のサンプル.
|
||||||
def test_menu(ip, parent)
|
def test_menu(ip, parent)
|
||||||
global, menu, menubutton, pack = ip.commands().indexes(
|
global, menu, menubutton, pack = ip.commands().values_at(
|
||||||
"global", "menu", "menubutton", "pack")
|
"global", "menu", "menubutton", "pack")
|
||||||
tk_optionMenu = TclTkLibCommand.new(ip, "tk_optionMenu")
|
tk_optionMenu = TclTkLibCommand.new(ip, "tk_optionMenu")
|
||||||
t1, b1, cb = inittoplevel(ip, parent, "menu")
|
t1, b1, cb = inittoplevel(ip, parent, "menu")
|
||||||
@ -498,7 +498,7 @@ class Test1
|
|||||||
# listbox のサンプル.
|
# listbox のサンプル.
|
||||||
def test_listbox(ip, parent)
|
def test_listbox(ip, parent)
|
||||||
clipboard, frame, grid, listbox, lower, menu, menubutton, pack, scrollbar,
|
clipboard, frame, grid, listbox, lower, menu, menubutton, pack, scrollbar,
|
||||||
selection = ip.commands().indexes(
|
selection = ip.commands().values_at(
|
||||||
"clipboard", "frame", "grid", "listbox", "lower", "menu", "menubutton",
|
"clipboard", "frame", "grid", "listbox", "lower", "menu", "menubutton",
|
||||||
"pack", "scrollbar", "selection")
|
"pack", "scrollbar", "selection")
|
||||||
t1, b1, cb = inittoplevel(ip, parent, "listbox")
|
t1, b1, cb = inittoplevel(ip, parent, "listbox")
|
||||||
@ -559,7 +559,7 @@ class Test1
|
|||||||
|
|
||||||
# canvas のサンプル.
|
# canvas のサンプル.
|
||||||
def test_canvas(ip, parent)
|
def test_canvas(ip, parent)
|
||||||
canvas, lower, pack = ip.commands().indexes("canvas", "lower", "pack")
|
canvas, lower, pack = ip.commands().values_at("canvas", "lower", "pack")
|
||||||
t1, b1, cb = inittoplevel(ip, parent, "canvas")
|
t1, b1, cb = inittoplevel(ip, parent, "canvas")
|
||||||
|
|
||||||
## canvas
|
## canvas
|
||||||
|
@ -139,6 +139,18 @@ END:methods
|
|||||||
</div>
|
</div>
|
||||||
ENDIF:methods
|
ENDIF:methods
|
||||||
|
|
||||||
|
|
||||||
|
START:sections
|
||||||
|
<div id="section">
|
||||||
|
IF:sectitle
|
||||||
|
<h2 class="section-title"><a name="%secsequence%">%sectitle%</a></h2>
|
||||||
|
IF:seccomment
|
||||||
|
<div class="section-comment">
|
||||||
|
%seccomment%
|
||||||
|
</div>
|
||||||
|
ENDIF:seccomment
|
||||||
|
ENDIF:sectitle
|
||||||
|
|
||||||
IF:attributes
|
IF:attributes
|
||||||
<table cellpadding=5 width="100%">
|
<table cellpadding=5 width="100%">
|
||||||
<tr><td class="tablesubtitle">Attributes</td></tr>
|
<tr><td class="tablesubtitle">Attributes</td></tr>
|
||||||
@ -168,6 +180,8 @@ ENDIF:classlist
|
|||||||
|
|
||||||
!INCLUDE! <!-- method descriptions -->
|
!INCLUDE! <!-- method descriptions -->
|
||||||
|
|
||||||
|
END:sections
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user