### Class

# Phosh ScreenshotManager

#### Description [src]

    final class Phosh.ScreenshotManager : Phosh.DBusScreenshotSkeleton
      implements Gio.DBusInterface, Phosh.DBusScreenshot {
      /* No available fields */
    }

Screenshot interaction

The `PhoshScreenshotManager` is responsible for taking screenshots.

#### Ancestors

- PhoshDBusScreenshotSkeleton
- GDBusInterfaceSkeleton
- GObject

#### Implements

- GDBusInterface
- PhoshDBusScreenshot

#### Constructors

###### phosh_screenshot_manager_new

No description available.

#### Instance methods

###### phosh_screenshot_manager_take_screenshot

Initiate a screenshot of all outputs or the given area. If `copy_to_clipboard` is `TRUE` the screenshot is also copied to the clipboard.

##### Methods inherited from GDBusInterfaceSkeleton (13)

###### g_dbus_interface_skeleton_export

Exports `interface_` at `object_path` on `connection`.

###### g_dbus_interface_skeleton_flush

If `interface_` has outstanding changes, request for these changes to be emitted immediately.

###### g_dbus_interface_skeleton_get_connection

Gets the first connection that `interface_` is exported on, if any.

###### g_dbus_interface_skeleton_get_connections

Gets a list of the connections that `interface_` is exported on.

###### g_dbus_interface_skeleton_get_flags

Gets the `GDBusInterfaceSkeletonFlags` that describes what the behavior of `interface_`.

###### g_dbus_interface_skeleton_get_info

Gets D-Bus introspection information for the D-Bus interface implemented by `interface_`.

###### g_dbus_interface_skeleton_get_object_path

Gets the object path that `interface_` is exported on, if any.

###### g_dbus_interface_skeleton_get_properties

Gets all D-Bus properties for `interface_`.

###### g_dbus_interface_skeleton_get_vtable

Gets the interface vtable for the D-Bus interface implemented by `interface_`. The returned function pointers should expect `interface_` itself to be passed as `user_data`.

###### g_dbus_interface_skeleton_has_connection

Checks if `interface_` is exported on `connection`.

###### g_dbus_interface_skeleton_set_flags

Sets flags describing what the behavior of `skeleton` should be.

###### g_dbus_interface_skeleton_unexport

Stops exporting `interface_` on all connections it is exported on.

###### g_dbus_interface_skeleton_unexport_from_connection

Stops exporting `interface_` on `connection`.

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

##### Methods inherited from GDBusInterface (4)

###### g_dbus_interface_dup_object

Gets the `GDBusObject` that `interface_` belongs to, if any.

###### g_dbus_interface_get_info

Gets D-Bus introspection information for the D-Bus interface implemented by `interface_`.

###### g_dbus_interface_get_object

Gets the `GDBusObject` that `interface_` belongs to, if any.

###### g_dbus_interface_set_object

Sets the `GDBusObject` for `interface_` to `object`.

##### Methods inherited from PhoshDBusScreenshot (24)

Please see PhoshDBusScreenshot for a full list of methods.

#### Properties

##### Properties inherited from GDBusInterfaceSkeleton (1)

###### Gio.DBusInterfaceSkeleton:g-flags

Flags from the `GDBusInterfaceSkeletonFlags` enumeration.

#### Signals

##### Signals inherited from GDBusInterfaceSkeleton (1)

###### GDBusInterfaceSkeleton::g-authorize-method

Emitted when a method is invoked by a remote caller and used to determine if the method call is authorized.

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

##### Signals inherited from PhoshDBusScreenshot (6)

###### PhoshDBusScreenshot::handle-flash-area

Signal emitted when a remote caller is invoking the FlashArea() D-Bus method.

###### PhoshDBusScreenshot::handle-pick-color

Signal emitted when a remote caller is invoking the PickColor() D-Bus method.

###### PhoshDBusScreenshot::handle-screenshot

Signal emitted when a remote caller is invoking the Screenshot() D-Bus method.

###### PhoshDBusScreenshot::handle-screenshot-area

Signal emitted when a remote caller is invoking the ScreenshotArea() D-Bus method.

###### PhoshDBusScreenshot::handle-screenshot-window

Signal emitted when a remote caller is invoking the ScreenshotWindow() D-Bus method.

###### PhoshDBusScreenshot::handle-select-area

Signal emitted when a remote caller is invoking the SelectArea() D-Bus method.

#### Class structure

    struct PhoshScreenshotManagerClass {
      PhoshDBusScreenshotSkeletonClass parent_class;

    }

No description available.

###### Class members

`parent_class: PhoshDBusScreenshotSkeletonClass`

  No description available.