module Metasm::Gui::WindowPos

Public Instance Methods

height() click to toggle source
# File metasm/gui/gtk.rb, line 544
def height; size[1] ; end
height=(nh) click to toggle source
# File metasm/gui/gtk.rb, line 545
def height=(nh); resize(size[0], nh); end
width() click to toggle source
# File metasm/gui/gtk.rb, line 542
def width; size[0] ; end
width=(nw) click to toggle source
# File metasm/gui/gtk.rb, line 543
def width=(nw); resize(nw, size[1]); end
x() click to toggle source
# File metasm/gui/gtk.rb, line 538
def x; position[0]; end
x=(nx) click to toggle source
# File metasm/gui/gtk.rb, line 539
def x=(nx); move(nx, position[1]); end
y() click to toggle source
# File metasm/gui/gtk.rb, line 540
def y; position[1]; end
y=(ny) click to toggle source
# File metasm/gui/gtk.rb, line 541
def y=(ny); move(position[0], ny); end