class Fzeet::WindowMethods::Style

Public Class Methods

new(window) click to toggle source
# File lib/fzeet/windows/user/Window/WindowMethods.rb, line 76
def initialize(window) @window = window end

Public Instance Methods

<<(style) click to toggle source
# File lib/fzeet/windows/user/Window/WindowMethods.rb, line 78
def <<(style) @window.long[:style] = @window.long[:style] | Fzeet.constant(style, *@window.class::Prefix[:style]); self end
>>(style) click to toggle source
# File lib/fzeet/windows/user/Window/WindowMethods.rb, line 79
def >>(style) @window.long[:style] = @window.long[:style] & ~Fzeet.constant(style, *@window.class::Prefix[:style]); self end
toggle(what) click to toggle source
# File lib/fzeet/windows/user/Window/WindowMethods.rb, line 81
def toggle(what) send((@window.style?(what)) ? :>> : :<<, what); self end