diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-02-25 11:47:09 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-02-25 11:47:09 +0100 |
commit | 882e55a50e8cfb79eb33bc88489c1767d3056f30 (patch) | |
tree | 5880e53260888d4a33dc91470f69402173384d62 /info | |
parent | m limitations (diff) | |
download | blueshift-882e55a50e8cfb79eb33bc88489c1767d3056f30.tar.gz blueshift-882e55a50e8cfb79eb33bc88489c1767d3056f30.tar.bz2 blueshift-882e55a50e8cfb79eb33bc88489c1767d3056f30.tar.xz |
doc output search functions
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | info/blueshift.texinfo | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/info/blueshift.texinfo b/info/blueshift.texinfo index 0555cf5..9b36be9 100644 --- a/info/blueshift.texinfo +++ b/info/blueshift.texinfo @@ -752,6 +752,40 @@ used. @end table +@code{Screens} and @code{Screen} provide a set +of functions for finding the output, and traversal +the CRTC and screen, a monitor is connected to: + +@table @code +@item find_by_crtc(index) +Matches outputs by CRTC index. If @code{index} +is @code{None}, it will find unused outputs. + +@item find_by_name(name) +Matches outputs by output name. + +@item find_by_size(widthmm, heightmm) +Matches outputs by physical size of the monitor. +@code{widthmm} and @code{heightmm} are the +monitor's physical width and heigth, respectively, +measured in millimetres. IF @code{widthmm} and +@code{heightmm} are @code{None} it will find +unused outputs and outputs whether the monitor's +size is unknown. + +@item find_by_connected(status) +Matches outputs that are known to be in used +(if @code{status} is @code{True}) or outputs +that are either unused or not known whether +they are used or not (if @code{status} is +@code{False}.) + +@end table + +These functions returns a list of matching +@code{Output}:s. The list is empty if non are +found. + @node Continuous mode @section Continuous mode |