| Class | Tk::BWidget::MainFrame |
| In: |
tk/lib/tkextlib/bwidget/mainframe.rb
|
| Parent: | TkWindow |
| TkCommandNames | = | ['MainFrame'.freeze].freeze |
| WidgetClassName | = | 'MainFrame'.freeze |
# File tk/lib/tkextlib/bwidget/mainframe.rb, line 42 def add_indicator(keys={}, &b) win = window(tk_send('addindicator', *hash_kv(keys))) win.instance_eval(&b) if b win end
# File tk/lib/tkextlib/bwidget/mainframe.rb, line 48 def add_toolbar(&b) win = window(tk_send('addtoolbar')) win.instance_eval(&b) if b win end
# File tk/lib/tkextlib/bwidget/mainframe.rb, line 54 def get_frame(&b) win = window(tk_send('getframe')) win.instance_eval(&b) if b win end
# File tk/lib/tkextlib/bwidget/mainframe.rb, line 60 def get_indicator(idx, &b) win = window(tk_send('getindicator', idx)) win.instance_eval(&b) if b win end
# File tk/lib/tkextlib/bwidget/mainframe.rb, line 66 def get_menu(menu_id, &b) win = window(tk_send('getmenu', menu_id)) win.instance_eval(&b) if b win end
# File tk/lib/tkextlib/bwidget/mainframe.rb, line 72 def get_toolbar(idx, &b) win = window(tk_send('gettoolbar', idx)) win.instance_eval(&b) if b win end
# File tk/lib/tkextlib/bwidget/mainframe.rb, line 78 def set_menustate(tag, state) tk_send('setmenustate', tag, state) self end
# File tk/lib/tkextlib/bwidget/mainframe.rb, line 83 def show_statusbar(name) tk_send('showstatusbar', name) self end
ruby-doc.org is a service of James Britt and Happy Camper Studios, a Ruby application development company in Phoenix, AZ.
Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.
For more information on the Ruby programming language, visit ruby-lang.org.
Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.