Class: Message

Inherits:
Object show all
Defined in:
lib/ruiby_gtk/ruiby_default_dialog.rb,
lib/ruiby_gtk/ruiby_default_dialog3.rb

Overview

common dialog to be use for direct call in none Ruiby context classe :

Message.alert("ddde",'eee')

Defined Under Namespace

Classes: Embbeded

Class Method Summary collapse

Class Method Details

.alert(*txt) ⇒ Object



149
# File 'lib/ruiby_gtk/ruiby_default_dialog.rb', line 149

def self.alert(*txt) Embbeded.new.alert(*txt) end

.ask(*txt) ⇒ Object



151
# File 'lib/ruiby_gtk/ruiby_default_dialog.rb', line 151

def self.ask(*txt)   Embbeded.new.ask(*txt)   end

.error(*txt) ⇒ Object



150
# File 'lib/ruiby_gtk/ruiby_default_dialog.rb', line 150

def self.error(*txt) Embbeded.new.error(*txt) end

.prompt(txt, value = "") ⇒ Object



152
# File 'lib/ruiby_gtk/ruiby_default_dialog.rb', line 152

def self.prompt(txt,value="")  Embbeded.new.alert(*txt) end