Interface

PhoshDBusDisplayConfig

since: 0

Description [src]

interface Phosh.DBusDisplayConfig : GObject.Object

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

Available since: 0

Prerequisite

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

Functions

phosh_dbus_display_config_interface_info

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

since: 0

phosh_dbus_display_config_override_properties

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

since: 0

Instance methods

phosh_dbus_display_config_call_apply_configuration

Asynchronously invokes the ApplyConfiguration() 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 phosh_dbus_display_config_call_apply_configuration_finish() to get the result of the operation.

since: 0

phosh_dbus_display_config_call_apply_configuration_finish

Finishes an operation started with phosh_dbus_display_config_call_apply_configuration().

since: 0

phosh_dbus_display_config_call_apply_configuration_sync

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

since: 0

phosh_dbus_display_config_call_apply_monitors_config

Asynchronously invokes the ApplyMonitorsConfig() 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 phosh_dbus_display_config_call_apply_monitors_config_finish() to get the result of the operation.

since: 0

phosh_dbus_display_config_call_apply_monitors_config_finish

Finishes an operation started with phosh_dbus_display_config_call_apply_monitors_config().

since: 0

phosh_dbus_display_config_call_apply_monitors_config_sync

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

since: 0

phosh_dbus_display_config_call_change_backlight

Asynchronously invokes the ChangeBacklight() 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 phosh_dbus_display_config_call_change_backlight_finish() to get the result of the operation.

since: 0

phosh_dbus_display_config_call_change_backlight_finish

Finishes an operation started with phosh_dbus_display_config_call_change_backlight().

since: 0

phosh_dbus_display_config_call_change_backlight_sync

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

since: 0

phosh_dbus_display_config_call_get_crtc_gamma

Asynchronously invokes the GetCrtcGamma() 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 phosh_dbus_display_config_call_get_crtc_gamma_finish() to get the result of the operation.

since: 0

phosh_dbus_display_config_call_get_crtc_gamma_finish

Finishes an operation started with phosh_dbus_display_config_call_get_crtc_gamma().

since: 0

phosh_dbus_display_config_call_get_crtc_gamma_sync

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

since: 0

phosh_dbus_display_config_call_get_current_state

Asynchronously invokes the GetCurrentState() 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 phosh_dbus_display_config_call_get_current_state_finish() to get the result of the operation.

since: 0

phosh_dbus_display_config_call_get_current_state_finish

Finishes an operation started with phosh_dbus_display_config_call_get_current_state().

since: 0

phosh_dbus_display_config_call_get_current_state_sync

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

since: 0

phosh_dbus_display_config_call_get_resources

Asynchronously invokes the GetResources() 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 phosh_dbus_display_config_call_get_resources_finish() to get the result of the operation.

since: 0

phosh_dbus_display_config_call_get_resources_finish

Finishes an operation started with phosh_dbus_display_config_call_get_resources().

since: 0

phosh_dbus_display_config_call_get_resources_sync

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

since: 0

phosh_dbus_display_config_call_set_crtc_gamma

Asynchronously invokes the SetCrtcGamma() 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 phosh_dbus_display_config_call_set_crtc_gamma_finish() to get the result of the operation.

since: 0

phosh_dbus_display_config_call_set_crtc_gamma_finish

Finishes an operation started with phosh_dbus_display_config_call_set_crtc_gamma().

since: 0

phosh_dbus_display_config_call_set_crtc_gamma_sync

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

since: 0

phosh_dbus_display_config_call_set_output_ctm

Asynchronously invokes the SetOutputCTM() 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 phosh_dbus_display_config_call_set_output_ctm_finish() to get the result of the operation.

since: 0

phosh_dbus_display_config_call_set_output_ctm_finish

Finishes an operation started with phosh_dbus_display_config_call_set_output_ctm().

since: 0

phosh_dbus_display_config_call_set_output_ctm_sync

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

since: 0

phosh_dbus_display_config_complete_apply_configuration

Helper function used in service implementations to finish handling invocations of the ApplyConfiguration() 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.

since: 0

phosh_dbus_display_config_complete_apply_monitors_config

Helper function used in service implementations to finish handling invocations of the ApplyMonitorsConfig() 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.

since: 0

phosh_dbus_display_config_complete_change_backlight

Helper function used in service implementations to finish handling invocations of the ChangeBacklight() 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.

since: 0

phosh_dbus_display_config_complete_get_crtc_gamma

Helper function used in service implementations to finish handling invocations of the GetCrtcGamma() 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.

since: 0

phosh_dbus_display_config_complete_get_current_state

Helper function used in service implementations to finish handling invocations of the GetCurrentState() 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.

since: 0

phosh_dbus_display_config_complete_get_resources

Helper function used in service implementations to finish handling invocations of the GetResources() 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.

since: 0

phosh_dbus_display_config_complete_set_crtc_gamma

Helper function used in service implementations to finish handling invocations of the SetCrtcGamma() 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.

since: 0

phosh_dbus_display_config_complete_set_output_ctm

Helper function used in service implementations to finish handling invocations of the SetOutputCTM() 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.

since: 0

phosh_dbus_display_config_emit_monitors_changed

Emits the MonitorsChanged” D-Bus signal.

since: 0

phosh_dbus_display_config_get_apply_monitors_config_allowed

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

since: 0

phosh_dbus_display_config_get_night_light_supported

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

since: 0

phosh_dbus_display_config_get_panel_orientation_managed

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

since: 0

phosh_dbus_display_config_get_power_save_mode

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

since: 0

phosh_dbus_display_config_set_apply_monitors_config_allowed

Sets the ApplyMonitorsConfigAllowed” D-Bus property to value.

since: 0

phosh_dbus_display_config_set_night_light_supported

Sets the NightLightSupported” D-Bus property to value.

since: 0

phosh_dbus_display_config_set_panel_orientation_managed

Sets the PanelOrientationManaged” D-Bus property to value.

since: 0

phosh_dbus_display_config_set_power_save_mode

Sets the PowerSaveMode” D-Bus property to value.

since: 0

Properties

Phosh.DBusDisplayConfig:apply-monitors-config-allowed

Represents the D-Bus property ApplyMonitorsConfigAllowed”.

since: 0

Phosh.DBusDisplayConfig:night-light-supported

Represents the D-Bus property NightLightSupported”.

since: 0

Phosh.DBusDisplayConfig:panel-orientation-managed

Represents the D-Bus property PanelOrientationManaged”.

since: 0

Phosh.DBusDisplayConfig:power-save-mode

Represents the D-Bus property PowerSaveMode”.

since: 0

Signals

Phosh.DBusDisplayConfig::handle-apply-configuration

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

since: 0

Phosh.DBusDisplayConfig::handle-apply-monitors-config

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

since: 0

Phosh.DBusDisplayConfig::handle-change-backlight

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

since: 0

Phosh.DBusDisplayConfig::handle-get-crtc-gamma

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

since: 0

Phosh.DBusDisplayConfig::handle-get-current-state

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

since: 0

Phosh.DBusDisplayConfig::handle-get-resources

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

since: 0

Phosh.DBusDisplayConfig::handle-set-crtc-gamma

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

since: 0

Phosh.DBusDisplayConfig::handle-set-output-ctm

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

since: 0

Phosh.DBusDisplayConfig::monitors-changed

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

since: 0

Interface structure

struct PhoshDBusDisplayConfigIface {
  GTypeInterface parent_iface;
  gboolean (* handle_apply_configuration) (
    PhoshDBusDisplayConfig* object,
    GDBusMethodInvocation* invocation,
    guint arg_serial,
    gboolean arg_persistent,
    GVariant* arg_crtcs,
    GVariant* arg_outputs
  );
  gboolean (* handle_apply_monitors_config) (
    PhoshDBusDisplayConfig* object,
    GDBusMethodInvocation* invocation,
    guint arg_serial,
    guint arg_method,
    GVariant* arg_logical_monitors,
    GVariant* arg_properties
  );
  gboolean (* handle_change_backlight) (
    PhoshDBusDisplayConfig* object,
    GDBusMethodInvocation* invocation,
    guint arg_serial,
    guint arg_output,
    gint arg_value
  );
  gboolean (* handle_get_crtc_gamma) (
    PhoshDBusDisplayConfig* object,
    GDBusMethodInvocation* invocation,
    guint arg_serial,
    guint arg_crtc
  );
  gboolean (* handle_get_current_state) (
    PhoshDBusDisplayConfig* object,
    GDBusMethodInvocation* invocation
  );
  gboolean (* handle_get_resources) (
    PhoshDBusDisplayConfig* object,
    GDBusMethodInvocation* invocation
  );
  gboolean (* handle_set_crtc_gamma) (
    PhoshDBusDisplayConfig* object,
    GDBusMethodInvocation* invocation,
    guint arg_serial,
    guint arg_crtc,
    GVariant* arg_red,
    GVariant* arg_green,
    GVariant* arg_blue
  );
  gboolean (* handle_set_output_ctm) (
    PhoshDBusDisplayConfig* object,
    GDBusMethodInvocation* invocation,
    guint arg_serial,
    guint arg_output,
    GVariant* arg_ctm
  );
  gboolean (* get_apply_monitors_config_allowed) (
    PhoshDBusDisplayConfig* object
  );
  gboolean (* get_night_light_supported) (
    PhoshDBusDisplayConfig* object
  );
  gboolean (* get_panel_orientation_managed) (
    PhoshDBusDisplayConfig* object
  );
  gint (* get_power_save_mode) (
    PhoshDBusDisplayConfig* object
  );
  void (* monitors_changed) (
    PhoshDBusDisplayConfig* object
  );
  
}

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

Interface members
parent_iface
GTypeInterface
 

The parent interface.

handle_apply_configuration
gboolean (* handle_apply_configuration) (
    PhoshDBusDisplayConfig* object,
    GDBusMethodInvocation* invocation,
    guint arg_serial,
    gboolean arg_persistent,
    GVariant* arg_crtcs,
    GVariant* arg_outputs
  )
 No description available.
handle_apply_monitors_config
gboolean (* handle_apply_monitors_config) (
    PhoshDBusDisplayConfig* object,
    GDBusMethodInvocation* invocation,
    guint arg_serial,
    guint arg_method,
    GVariant* arg_logical_monitors,
    GVariant* arg_properties
  )
 No description available.
handle_change_backlight
gboolean (* handle_change_backlight) (
    PhoshDBusDisplayConfig* object,
    GDBusMethodInvocation* invocation,
    guint arg_serial,
    guint arg_output,
    gint arg_value
  )
 No description available.
handle_get_crtc_gamma
gboolean (* handle_get_crtc_gamma) (
    PhoshDBusDisplayConfig* object,
    GDBusMethodInvocation* invocation,
    guint arg_serial,
    guint arg_crtc
  )
 No description available.
handle_get_current_state
gboolean (* handle_get_current_state) (
    PhoshDBusDisplayConfig* object,
    GDBusMethodInvocation* invocation
  )
 No description available.
handle_get_resources
gboolean (* handle_get_resources) (
    PhoshDBusDisplayConfig* object,
    GDBusMethodInvocation* invocation
  )
 No description available.
handle_set_crtc_gamma
gboolean (* handle_set_crtc_gamma) (
    PhoshDBusDisplayConfig* object,
    GDBusMethodInvocation* invocation,
    guint arg_serial,
    guint arg_crtc,
    GVariant* arg_red,
    GVariant* arg_green,
    GVariant* arg_blue
  )
 No description available.
handle_set_output_ctm
gboolean (* handle_set_output_ctm) (
    PhoshDBusDisplayConfig* object,
    GDBusMethodInvocation* invocation,
    guint arg_serial,
    guint arg_output,
    GVariant* arg_ctm
  )
 No description available.
get_apply_monitors_config_allowed
gboolean (* get_apply_monitors_config_allowed) (
    PhoshDBusDisplayConfig* object
  )
 No description available.
get_night_light_supported
gboolean (* get_night_light_supported) (
    PhoshDBusDisplayConfig* object
  )
 No description available.
get_panel_orientation_managed
gboolean (* get_panel_orientation_managed) (
    PhoshDBusDisplayConfig* object
  )
 No description available.
get_power_save_mode
gint (* get_power_save_mode) (
    PhoshDBusDisplayConfig* object
  )
 No description available.
monitors_changed
void (* monitors_changed) (
    PhoshDBusDisplayConfig* object
  )
 No description available.

Virtual methods

Phosh.DBusDisplayConfig.get_apply_monitors_config_allowed

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

since: 0

Phosh.DBusDisplayConfig.get_night_light_supported

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

since: 0

Phosh.DBusDisplayConfig.get_panel_orientation_managed

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

since: 0

Phosh.DBusDisplayConfig.get_power_save_mode

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

since: 0

Phosh.DBusDisplayConfig.handle_apply_configuration
No description available.

since: 0

Phosh.DBusDisplayConfig.handle_apply_monitors_config
No description available.

since: 0

Phosh.DBusDisplayConfig.handle_change_backlight
No description available.

since: 0

Phosh.DBusDisplayConfig.handle_get_crtc_gamma
No description available.

since: 0

Phosh.DBusDisplayConfig.handle_get_current_state
No description available.

since: 0

Phosh.DBusDisplayConfig.handle_get_resources
No description available.

since: 0

Phosh.DBusDisplayConfig.handle_set_crtc_gamma
No description available.

since: 0

Phosh.DBusDisplayConfig.handle_set_output_ctm
No description available.

since: 0

Phosh.DBusDisplayConfig.monitors_changed
No description available.

since: 0