File: org.gnome.Shell.Brightness.xml

package info (click to toggle)
gnome-shell 49.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 22,536 kB
  • sloc: javascript: 74,965; ansic: 66,151; xml: 1,797; sh: 919; python: 666; makefile: 51
file content (45 lines) | stat: -rw-r--r-- 1,159 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE node PUBLIC
'-//freedesktop//DTD D-BUS Object Introspection 1.0//EN'
'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'>
<!--
  SPDX-License-Identifier: GPL-3.0-or-later
-->
<node>

  <!--
      org.gnome.Shell.Brightness:
      @short_description: Brightness interface

      The interface used to give the shell brightness related information.
  -->
  <interface name="org.gnome.Shell.Brightness">

    <!--
        SetDimming:
        @enable: whether to enabled dimming

        Enable or disable screen dimming to save power.
    -->
    <method name="SetDimming">
      <arg type="b" direction="in" name="enable"/>
    </method>

    <!--
        SetAutoBrightnessTarget:
        @luminance: the target brightness

        This lets the auto brightness system tell the shell what the ideal
        relative brightness [0,1] is.
    -->
    <method name="SetAutoBrightnessTarget">
      <arg type="d" direction="in" name="target"/>
    </method>

    <!--
        HasBrightnessControl:
        If any display has brightness control.
    -->
    <property name="HasBrightnessControl" type="b" access="read"/>

  </interface>
</node>