Interface

AtspiDBusMutterScreenCastStream

Description [src]

interface Atspi.DBusMutterScreenCastStream : GObject.Object

Abstract interface type for the D-Bus interface org.gnome.Mutter.ScreenCast.Stream.

Prerequisite

In order to implement DBusMutterScreenCastStream, your type must inherit fromGObject.

Functions

atspi_dbus_mutter_screen_cast_stream_interface_info

Gets a machine-readable description of the org.gnome.Mutter.ScreenCast.Stream D-Bus interface.

atspi_dbus_mutter_screen_cast_stream_override_properties

Overrides all GObject properties in the AtspiDBusMutterScreenCastStream interface for a concrete class. The properties are overridden in the order they are defined.

Instance methods

atspi_dbus_mutter_screen_cast_stream_call_start

Asynchronously invokes the Start() D-Bus method on proxy. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). You can then call atspi_dbus_mutter_screen_cast_stream_call_start_finish() to get the result of the operation.

atspi_dbus_mutter_screen_cast_stream_call_start_finish

Finishes an operation started with atspi_dbus_mutter_screen_cast_stream_call_start().

atspi_dbus_mutter_screen_cast_stream_call_start_sync

Synchronously invokes the Start() D-Bus method on proxy. The calling thread is blocked until a reply is received.

atspi_dbus_mutter_screen_cast_stream_complete_start

Helper function used in service implementations to finish handling invocations of the Start() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

atspi_dbus_mutter_screen_cast_stream_dup_parameters

Gets a copy of the Parameters” D-Bus property.

atspi_dbus_mutter_screen_cast_stream_emit_pipewire_stream_added

Emits the PipeWireStreamAdded” D-Bus signal.

atspi_dbus_mutter_screen_cast_stream_get_parameters

Gets the value of the Parameters” D-Bus property.

atspi_dbus_mutter_screen_cast_stream_set_parameters

Sets the Parameters” D-Bus property to value.

Properties

Atspi.DBusMutterScreenCastStream:parameters

Represents the D-Bus property Parameters”.

Signals

Atspi.DBusMutterScreenCastStream::handle-start

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

Atspi.DBusMutterScreenCastStream::pipewire-stream-added

On the client-side, this signal is emitted whenever the D-Bus signal PipeWireStreamAdded” is received.

Interface structure

struct AtspiDBusMutterScreenCastStreamIface {
  GTypeInterface parent_iface;
  gboolean (* handle_start) (
    AtspiDBusMutterScreenCastStream* object,
    GDBusMethodInvocation* invocation
  );
  GVariant* (* get_parameters) (
    AtspiDBusMutterScreenCastStream* object
  );
  void (* pipewire_stream_added) (
    AtspiDBusMutterScreenCastStream* object,
    guint arg_node_id
  );
  
}

Virtual table for the D-Bus interface org.gnome.Mutter.ScreenCast.Stream.

Interface members
parent_iface
GTypeInterface
 

The parent interface.

handle_start
gboolean (* handle_start) (
    AtspiDBusMutterScreenCastStream* object,
    GDBusMethodInvocation* invocation
  )
 No description available.
get_parameters
GVariant* (* get_parameters) (
    AtspiDBusMutterScreenCastStream* object
  )
 No description available.
pipewire_stream_added
void (* pipewire_stream_added) (
    AtspiDBusMutterScreenCastStream* object,
    guint arg_node_id
  )
 No description available.

Virtual methods

Atspi.DBusMutterScreenCastStream.get_parameters

Gets the value of the Parameters” D-Bus property.