Class

PhoshTorchManager

since: 0

Description [src]

final class Phosh.TorchManager : Phosh.Manager
{
  /* No available fields */
}

Interacts with torch via UPower

PhoshTorchManager tracks the torch status and allows to set the brightness.

Available since: 0

Ancestors

Constructors

phosh_torch_manager_new
No description available.

since: 0

Instance methods

phosh_torch_manager_get_brightness
No description available.

since: 0

phosh_torch_manager_get_enabled
No description available.

since: 0

phosh_torch_manager_get_icon_name
No description available.

since: 0

phosh_torch_manager_get_max_brightness
No description available.

since: 0

phosh_torch_manager_get_present
No description available.

since: 0

phosh_torch_manager_get_scaled_brightness

Gets the current brightness as fraction between 0 (off) and 1 (maximum brightness)

since: 0

phosh_torch_manager_set_scaled_brightness

Sets the current brightness as fraction between 0 (off) and 1 (maximum brightness)

since: 0

phosh_torch_manager_toggle
No description available.

since: 0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Phosh.TorchManager:brightness
No description available.

since: 0

Phosh.TorchManager:enabled
No description available.

since: 0

Phosh.TorchManager:icon-name
No description available.

since: 0

Phosh.TorchManager:present
No description available.

since: 0

Signals

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.

unstable since: 2.0

Class structure

struct PhoshTorchManagerClass {
  PhoshManagerClass parent_class;
  
}
No description available.
Class members
parent_class: PhoshManagerClass
No description available.