class Fzeet::WindowMethods::ExStyle
Public Class Methods
new(window)
click to toggle source
# File lib/fzeet/windows/user/Window/WindowMethods.rb, line 85 def initialize(window) @window = window end
Public Instance Methods
<<(xstyle)
click to toggle source
# File lib/fzeet/windows/user/Window/WindowMethods.rb, line 87 def <<(xstyle) @window.long[:exstyle] = @window.long[:exstyle] | Fzeet.constant(xstyle, *@window.class::Prefix[:xstyle]); self end
>>(xstyle)
click to toggle source
# File lib/fzeet/windows/user/Window/WindowMethods.rb, line 88 def >>(xstyle) @window.long[:exstyle] = @window.long[:exstyle] & ~Fzeet.constant(xstyle, *@window.class::Prefix[:xstyle]); self end
toggle(what)
click to toggle source
# File lib/fzeet/windows/user/Window/WindowMethods.rb, line 90 def toggle(what) send((@window.xstyle?(what)) ? :>> : :<<, what); self end