# File tk/lib/tkextlib/blt/win_printer.rb, line 19
def self.enum(attribute)
simplelist(tk_call('::blt::printer', 'enum', attribute))
end
# File tk/lib/tkextlib/blt/win_printer.rb, line 23
def self.names(pat=None)
simplelist(tk_call('::blt::printer', 'names', pat))
end
# File tk/lib/tkextlib/blt/win_printer.rb, line 37
def close
tk_call('::blt::print', 'close', @printer_id)
self
end
# File tk/lib/tkextlib/blt/win_printer.rb, line 41
def get_attrs(var)
tk_call('::blt::print', 'getattrs', @printer_id, var)
var
end
# File tk/lib/tkextlib/blt/win_printer.rb, line 45
def set_attrs(var)
tk_call('::blt::print', 'setattrs', @printer_id, var)
self
end
# File tk/lib/tkextlib/blt/win_printer.rb, line 49
def snap(win)
tk_call('::blt::print', 'snap', @printer_id, win)
self
end
Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.
If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.
If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.
If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.