Class: Qt::LineEdit

Inherits:
Object show all
Defined in:
lib/cosmos/gui/qt.rb

Instance Method Summary collapse

Instance Method Details

#setColors(foreground, background) ⇒ Object



421
422
423
# File 'lib/cosmos/gui/qt.rb', line 421

def setColors(foreground, background)
  setPalette(Cosmos.getPalette(foreground, background))
end

#text=(value) ⇒ Object



425
426
427
# File 'lib/cosmos/gui/qt.rb', line 425

def text=(value)
  setText(value)
end