PhoshSettings

PhoshSettings — The settings menu

Functions

Properties

int drag-handle-offset Read
gboolean on-lockscreen Read / Write

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── PhoshSettings

Implemented Interfaces

PhoshSettings implements AtkImplementorIface and GtkBuildable.

Description

Functions

phosh_settings_new ()

GtkWidget *
phosh_settings_new (void);

phosh_settings_get_drag_handle_offset ()

gint
phosh_settings_get_drag_handle_offset (PhoshSettings *self);

Get the y coordinate from the top of the widget where dragging can start. E.g. we don't want drag to work on notifications as notifications need to scroll in vertical direction.

Parameters

self

The settings

 

Returns

The y coordinate at which dragging the surface can start.

Types and Values

PHOSH_TYPE_SETTINGS

#define PHOSH_TYPE_SETTINGS (phosh_settings_get_type())

PhoshSettings

typedef struct _PhoshSettings PhoshSettings;

Property Details

The “drag-handle-offset” property

  “drag-handle-offset”       int

Owner: PhoshSettings

Flags: Read

Allowed values: >= 0

Default value: 0


The “on-lockscreen” property

  “on-lockscreen”            gboolean

Owner: PhoshSettings

Flags: Read / Write

Default value: FALSE

Signal Details

The “setting-done” signal

void
user_function (PhoshSettings *phoshsettings,
               gpointer       user_data)

Flags: Run Last