Class: KDE::InputDialog

Inherits:
Object show all
Defined in:
lib/ruber/kde_sugar.rb

Constant Summary collapse

DEFAULT =
{:value => '', :parent => nil, :validator => nil, :mask => '',
:whats_this => '', :completion_list => []}

Class Method Summary collapse

Class Method Details

.get_text(caption = '', label = '', args = {}) ⇒ Object



183
184
185
186
187
# File 'lib/ruber/kde_sugar.rb', line 183

def self.get_text caption = '', label = '', args = {}
  args = DEFAULT.merge args
  getText caption, label, args[:value], nil, args[:parent], args[:validator],
      args[:mask], args[:whats_this], args[:completion_list]
end