Ruby 2.1.0 リファレンスマニュアル > ライブラリ一覧 > tk/menuライブラリ > TkMenuクラス

class TkMenu


extend: TkMenuSpec

要約

目次

特異メソッド
new_menuspec
インスタンスメソッド
activate add add_cascade add_checkbutton add_command add_radiobutton add_separator clone_menu delete index insert invoke menutype popup post postcascade postcommand set_focus tagid tearoffcommand unpost yposition
定数
TkCommandNames WidgetClassName

特異メソッド

new_menuspec(menu_spec, parent = nil, tearoff = false, keys = nil)

[TODO]

インスタンスメソッド

activate(index)

[TODO]

add(type, keys = nil)

[TODO]

add_cascade(keys = nil)

[TODO]

add_checkbutton(keys = nil)

[TODO]

add_command(keys = nil)

[TODO]

add_radiobutton(keys = nil)

[TODO]

add_separator(keys = nil)

[TODO]

clone_menu(*args)

[TODO]

delete(first, last = nil)

[TODO]

index(idx)

[TODO]

insert(index, type, keys = nil)

[TODO]

invoke(index)

[TODO]

menutype(index)

[TODO]

popup(x, y, index = nil)

[TODO]

post(x, y)

[TODO]

postcascade(index)

[TODO]

postcommand(cmd = Proc.new)

[TODO]

set_focus

[TODO]

tagid(id)

[TODO]

tearoffcommand(cmd = Proc.new)

[TODO]

unpost

[TODO]

yposition(index)

[TODO]

定数

TkCommandNames

[TODO]

WidgetClassName

[TODO]

class TkMenu