MxToggle

MxToggle

Functions

Properties

gboolean active Read / Write

Types and Values

struct MxToggle
struct MxToggleClass

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── ClutterActor
            ╰── MxWidget
                ╰── MxToggle

Implemented Interfaces

MxToggle implements ClutterContainer, ClutterScriptable, ClutterAnimatable, AtkImplementorIface and MxStylable.

Description

Functions

mx_toggle_new ()

ClutterActor *
mx_toggle_new (void);

mx_toggle_set_active ()

void
mx_toggle_set_active (MxToggle *toggle,
                      gboolean active);

mx_toggle_get_active ()

gboolean
mx_toggle_get_active (MxToggle *toggle);

Types and Values

struct MxToggle

struct MxToggle;

The contents of this structure is private and should only be accessed using the provided API.


struct MxToggleClass

struct MxToggleClass {
  MxWidgetClass parent_class;

  /* padding for future expansion */
  void (*_padding_0) (void);
  void (*_padding_1) (void);
  void (*_padding_2) (void);
  void (*_padding_3) (void);
  void (*_padding_4) (void);
};

Property Details

The “active” property

  “active”                   gboolean

Whether the toggle switch is activated.

Flags: Read / Write

Default value: FALSE