class Tk::BWidget::LabelEntry

Constants

TkCommandNames
WidgetClassName

Public Instance Methods

entrybind(context, *args, &block) click to toggle source
# File lib/tkextlib/bwidget/labelentry.rb, line 42
def entrybind(context, *args, &block)
  # if args[0].kind_of?(Proc) || args[0].kind_of?(Method)
  if TkComm._callback_entry?(args[0]) || !block
    cmd = args.shift
  else
    cmd = block
  end
  _bind([path, 'bind'], context, cmd, *args)
  self
end
entrybind_append(context, *args, &block) click to toggle source
# File lib/tkextlib/bwidget/labelentry.rb, line 53
def entrybind_append(context, *args, &block)
  #if args[0].kind_of?(Proc) || args[0].kind_of?(Method)
  if TkComm._callback_entry?(args[0]) || !block
    cmd = args.shift
  else
    cmd = block
  end
  _bind_append([path, 'bind'], context, cmd, *args)
  self
end
entrybind_remove(*args) click to toggle source
# File lib/tkextlib/bwidget/labelentry.rb, line 64
def entrybind_remove(*args)
  _bind_remove([path, 'bind'], *args)
  self
end
entrybindinfo(*args) click to toggle source
# File lib/tkextlib/bwidget/labelentry.rb, line 69
def entrybindinfo(*args)
  _bindinfo([path, 'bind'], *args)
  self
end

Private Instance Methods

__font_optkeys() click to toggle source
Calls superclass method
# File lib/tkextlib/bwidget/labelentry.rb, line 37
def __font_optkeys
  super() << 'labelfont'
end
__strval_optkeys() click to toggle source
Calls superclass method Tk::Entry#__strval_optkeys
# File lib/tkextlib/bwidget/labelentry.rb, line 27
def __strval_optkeys
  super() << 'helptext' << 'insertbackground' << 'entryfg' << 'entrybg'
end
__tkvariable_optkeys() click to toggle source
Calls superclass method TkConfigMethod#__tkvariable_optkeys
# File lib/tkextlib/bwidget/labelentry.rb, line 32
def __tkvariable_optkeys
  super() << 'helpvar'
end