Class: Ruiby_dsl::HandlerContainer

Inherits:
Object
  • Object
show all
Defined in:
lib/ruiby_gtk/dsl/layouts.rb

Overview

mock class which can be push to layout stack : they accept some

specific type of commands

Instance Method Summary collapse

Instance Method Details

#accept?(t) ⇒ Boolean

Returns:

  • (Boolean)


42
43
44
# File 'lib/ruiby_gtk/dsl/layouts.rb', line 42

def accept?(t) 
  raise("no widget accepted here : #{self.class}") unless t==:handler 
end