Namespace
Methods
- A
- C
- D
- G
- I
- M
- P
- R
- S
- T
Included Modules
Constants
TkCommandNames | = | ['NoteBook'.freeze].freeze |
WidgetClassName | = | 'NoteBook'.freeze |
Instance Public methods
add(page, &b)
Link
compute_size()
Link
delete(page, destroyframe=None)
Link
get_frame(page, &b)
Link
get_page(page)
Link
index(page)
Link
insert(index, page, keys={}, &b)
Link
# File ext/tk/lib/tkextlib/bwidget/notebook.rb, line 128 def insert(index, page, keys={}, &b) win = window(tk_send('insert', index, tagid(page), *hash_kv(keys))) if b if TkCore::WITH_RUBY_VM ### Ruby 1.9 !!!! win.instance_exec(self, &b) else win.instance_eval(&b) end end win end
move(page, index)
Link
pages(first=None, last=None)
Link
raise(page=nil)
Link
see(page)
Link
tabbind(context, *args)
Link
def tabbind(*args)
_bind_for_event_class(Event_for_Tabs, [path, 'bindtabs'], *args)
self
end
# File ext/tk/lib/tkextlib/bwidget/notebook.rb, line 53 def tabbind(context, *args) #if args[0].kind_of?(Proc) || args[0].kind_of?(Method) if TkComm._callback_entry?(args[0]) || !block_given? cmd = args.shift else cmd = Proc.new end _bind_for_event_class(Event_for_Tabs, [path, 'bindtabs'], context, cmd, *args) self end
tabbind_append(context, *args)
Link
def #tabbind_append(*args)
_bind_append_for_event_class(Event_for_Tabs, [path, 'bindtabs'], *args)
self
end
# File ext/tk/lib/tkextlib/bwidget/notebook.rb, line 69 def tabbind_append(context, *args) #if args[0].kind_of?(Proc) || args[0].kind_of?(Method) if TkComm._callback_entry?(args[0]) || !block_given? cmd = args.shift else cmd = Proc.new end _bind_append_for_event_class(Event_for_Tabs, [path, 'bindtabs'], context, cmd, *args) self end
tabbind_remove(*args)
Link
tabbindinfo(*args)
Link