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

class TkMenu

クラスの継承リスト: TkMenu < TkMenuEntryConfig < TkItemConfigMethod < TkUtil < TkTreatItemFont < TkItemFontOptkeys < TkItemConfigOptkeys < TkUtil < Tk::Wm < TkComm < TkUtil < TkEvent < TkWindow < TkObject < Tk < TkCore < TkComm < TkUtil < TkEvent < TkConfigMethod < TkUtil < TkTreatFont < TkBindCore < TkKernel < Object < Kernel < BasicObject
extend: TkMenuSpec

Abstract

特異メソッド

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

インスタンスメソッド

activate(index)
add(type, keys = nil)
add_cascade(keys = nil)
add_checkbutton(keys = nil)
add_command(keys = nil)
add_radiobutton(keys = nil)
add_separator(keys = nil)
clone_menu(*args)
delete(first, last = nil)
index(idx)
insert(index, type, keys = nil)
invoke(index)
menutype(index)
popup(x, y, index = nil)
post(x, y)
postcascade(index)
postcommand(cmd = Proc.new)
set_focus
tagid(id)
tearoffcommand(cmd = Proc.new)
unpost
yposition(index)

定数

TkCommandNames
WidgetClassName

Methods

Classes