Method: Muby::Style#affect

Defined in:
lib/muby/style.rb

#affect(window) ⇒ Object

Affect the window, either overwriting its style or adding to it.



93
94
95
96
97
98
99
# File 'lib/muby/style.rb', line 93

def affect(window)
  if @toAdd
    window.wattron(to_int(window))
  else
    window.wattrset(to_int(window))
  end
end