Blame data/dbus-interfaces/org.gnome.Shell.Screenshot.xml

Packit d345d1
Packit d345d1
'-//freedesktop//DTD D-BUS Object Introspection 1.0//EN'
Packit d345d1
'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'>
Packit d345d1
<node>
Packit d345d1
Packit d345d1
  
Packit d345d1
      org.gnome.Shell.Screenshot:
Packit d345d1
      @short_description: Screenshot interface
Packit d345d1
Packit d345d1
      The interface used to capture pictures of the screen contents.
Packit d345d1
  -->
Packit d345d1
  <interface name="org.gnome.Shell.Screenshot">
Packit d345d1
Packit d345d1
    
Packit d345d1
        Screenshot:
Packit d345d1
        @filename: The filename for the screenshot
Packit d345d1
        @include_cursor: Whether to include the cursor image or not
Packit d345d1
        @flash: Whether to flash the screen or not
Packit d345d1
        @success: whether the screenshot was captured
Packit d345d1
        @filename_used: the file where the screenshot was saved
Packit d345d1
Packit d345d1
        Takes a screenshot of the whole screen and saves it
Packit d345d1
        in @filename as png image, it returns a boolean
Packit d345d1
        indicating whether the operation was successful or not.
Packit d345d1
        @filename can either be an absolute path or a basename, in
Packit d345d1
        which case the screenshot will be saved in the $XDG_PICTURES_DIR
Packit d345d1
        or the home directory if it doesn't exist. The filename used
Packit d345d1
        to save the screenshot will be returned in @filename_used.
Packit d345d1
    -->
Packit d345d1
    <method name="Screenshot">
Packit d345d1
      <arg type="b" direction="in" name="include_cursor"/>
Packit d345d1
      <arg type="b" direction="in" name="flash"/>
Packit d345d1
      <arg type="s" direction="in" name="filename"/>
Packit d345d1
      <arg type="b" direction="out" name="success"/>
Packit d345d1
      <arg type="s" direction="out" name="filename_used"/>
Packit d345d1
    </method>
Packit d345d1
Packit d345d1
    
Packit d345d1
        ScreenshotWindow:
Packit d345d1
        @include_frame: Whether to include the frame or not
Packit d345d1
        @include_cursor: Whether to include the cursor image or not
Packit d345d1
        @flash: Whether to flash the window area or not
Packit d345d1
        @filename: The filename for the screenshot
Packit d345d1
        @success: whether the screenshot was captured
Packit d345d1
        @filename_used: the file where the screenshot was saved
Packit d345d1
Packit d345d1
        Takes a screenshot of the focused window (optionally omitting the frame)
Packit d345d1
        and saves it in @filename as png image, it returns a boolean
Packit d345d1
        indicating whether the operation was successful or not.
Packit d345d1
        @filename can either be an absolute path or a basename, in
Packit d345d1
        which case the screenshot will be saved in the $XDG_PICTURES_DIR
Packit d345d1
        or the home directory if it doesn't exist. The filename used
Packit d345d1
        to save the screenshot will be returned in @filename_used.
Packit d345d1
    -->
Packit d345d1
    <method name="ScreenshotWindow">
Packit d345d1
      <arg type="b" direction="in" name="include_frame"/>
Packit d345d1
      <arg type="b" direction="in" name="include_cursor"/>
Packit d345d1
      <arg type="b" direction="in" name="flash"/>
Packit d345d1
      <arg type="s" direction="in" name="filename"/>
Packit d345d1
      <arg type="b" direction="out" name="success"/>
Packit d345d1
      <arg type="s" direction="out" name="filename_used"/>
Packit d345d1
    </method>
Packit d345d1
Packit d345d1
    
Packit d345d1
        ScreenshotArea:
Packit d345d1
        @x: the X coordinate of the area to capture
Packit d345d1
        @y: the Y coordinate of the area to capture
Packit d345d1
        @width: the width of the area to capture
Packit d345d1
        @height: the height of the area to capture
Packit d345d1
        @flash: whether to flash the area or not
Packit d345d1
        @filename: the filename for the screenshot
Packit d345d1
        @success: whether the screenshot was captured
Packit d345d1
        @filename_used: the file where the screenshot was saved
Packit d345d1
Packit d345d1
        Takes a screenshot of the passed in area and saves it
Packit d345d1
        in @filename as png image, it returns a boolean
Packit d345d1
        indicating whether the operation was successful or not.
Packit d345d1
        @filename can either be an absolute path or a basename, in
Packit d345d1
        which case the screenshot will be saved in the $XDG_PICTURES_DIR
Packit d345d1
        or the home directory if it doesn't exist. The filename used
Packit d345d1
        to save the screenshot will be returned in @filename_used.
Packit d345d1
    -->
Packit d345d1
    <method name="ScreenshotArea">
Packit d345d1
      <arg type="i" direction="in" name="x"/>
Packit d345d1
      <arg type="i" direction="in" name="y"/>
Packit d345d1
      <arg type="i" direction="in" name="width"/>
Packit d345d1
      <arg type="i" direction="in" name="height"/>
Packit d345d1
      <arg type="b" direction="in" name="flash"/>
Packit d345d1
      <arg type="s" direction="in" name="filename"/>
Packit d345d1
      <arg type="b" direction="out" name="success"/>
Packit d345d1
      <arg type="s" direction="out" name="filename_used"/>
Packit d345d1
    </method>
Packit d345d1
Packit d345d1
    
Packit d345d1
        PickColor:
Packit d345d1
Packit d345d1
        Picks a color and returns the result.
Packit d345d1
Packit d345d1
        The @result vardict contains:
Packit d345d1
        <variablelist>
Packit d345d1
          <varlistentry>
Packit d345d1
            <term>color (ddd)</term>
Packit d345d1
            <listitem><para>The color, RGB values in the range [0,1].</para></listitem>
Packit d345d1
          </varlistentry>
Packit d345d1
        </variablelist>
Packit d345d1
    -->
Packit d345d1
    <method name="PickColor">
Packit d345d1
      <arg type="a{sv}" direction="out" name="result"/>
Packit d345d1
    </method>
Packit d345d1
Packit d345d1
    
Packit d345d1
        FlashArea:
Packit d345d1
        @x: the X coordinate of the area to flash
Packit d345d1
        @y: the Y coordinate of the area to flash
Packit d345d1
        @width: the width of the area to flash
Packit d345d1
        @height: the height of the area to flash
Packit d345d1
Packit d345d1
        Renders a flash spot effect in the specified rectangle of the screen.
Packit d345d1
    -->
Packit d345d1
    <method name="FlashArea">
Packit d345d1
      <arg type="i" direction="in" name="x"/>
Packit d345d1
      <arg type="i" direction="in" name="y"/>
Packit d345d1
      <arg type="i" direction="in" name="width"/>
Packit d345d1
      <arg type="i" direction="in" name="height"/>
Packit d345d1
    </method>
Packit d345d1
Packit d345d1
    
Packit d345d1
        SelectArea:
Packit d345d1
        @x: the X coordinate of the selected area
Packit d345d1
        @y: the Y coordinate of the selected area
Packit d345d1
        @width: the width of the selected area
Packit d345d1
        @height: the height of the selected area
Packit d345d1
Packit d345d1
        Interactively allows the user to select a rectangular area of
Packit d345d1
        the screen, and returns its coordinates.
Packit d345d1
    -->
Packit d345d1
    <method name="SelectArea">
Packit d345d1
      <arg type="i" direction="out" name="x"/>
Packit d345d1
      <arg type="i" direction="out" name="y"/>
Packit d345d1
      <arg type="i" direction="out" name="width"/>
Packit d345d1
      <arg type="i" direction="out" name="height"/>
Packit d345d1
    </method>
Packit d345d1
Packit d345d1
  </interface>
Packit d345d1
</node>