Class Tk::BWidget::ComboBox
In: tk/lib/tkextlib/bwidget/combobox.rb
Parent: Tk::BWidget::SpinBox

Methods

get_listbox   icursor   post   unpost  

Included Modules

Scrollable

Constants

TkCommandNames = ['ComboBox'.freeze].freeze
WidgetClassName = 'ComboBox'.freeze

Public Instance methods

[Source]

# File tk/lib/tkextlib/bwidget/combobox.rb, line 26
  def get_listbox(&b)
    win = window(tk_send_without_enc('getlistbox'))
    win.instance_eval(&b) if b
    win
  end

[Source]

# File tk/lib/tkextlib/bwidget/combobox.rb, line 32
  def icursor(idx)
    tk_send_without_enc('icursor', idx)
  end

[Source]

# File tk/lib/tkextlib/bwidget/combobox.rb, line 36
  def post
    tk_send_without_enc('post')
    self
  end

[Source]

# File tk/lib/tkextlib/bwidget/combobox.rb, line 41
  def unpost
    tk_send_without_enc('unpost')
    self
  end

[Validate]

ruby-doc.org is hosted and maintained by James Britt and Happy Camper Studios, a Ruby application development company in Phoenix, Arizona. The site was created in 2002 as part of the Ruby Documentation Project to promote the Ruby language and to help other Ruby hackers.

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.