Class: Weechat::Window
Overview
Gettable properties
- buffer
-
The buffer currently shown in the window
- x
-
X position of the window in the terminal
- y
-
Y position of the window in the terminal
- width
-
Width of the window
- height
-
Height of the window
- width_pct
-
Width relative to the one of the parent window (0..100%)
- height_pct
-
Height relative to the one of the parent window (0..100%)
- first_line_displayed?
-
True if the first line of the displayed buffer is displayed on the screen
- scrolling?
-
True if the window is currently being scrolled
- scrolling_lines
-
Number of lines that are not being displayed (in the bottom direction)
The chat area
See Chat
Defined Under Namespace
Classes: Chat
Instance Attribute Summary collapse
-
#chat ⇒ Object
readonly
Returns the value of attribute chat.
Attributes included from Pointer
Class Method Summary collapse
- .current ⇒ Object
- .windows ⇒ Object (also: all)
Instance Method Summary collapse
-
#initialize(*args) ⇒ Window
constructor
A new instance of Window.
Methods included from Properties::ClassMethods
#apply_transformation, #init_properties, #known_integer_properties, #known_properties, #known_string_properties, #mappings, #rtransformations, #settable_properties, #transformations, #type
Methods included from Pointer
Constructor Details
Instance Attribute Details
#chat ⇒ Object (readonly)
Returns the value of attribute chat.
97 98 99 |
# File 'lib/weechat/window.rb', line 97 def chat @chat end |