GvaMuteButton

GvaMuteButton — Button for muting sound

Functions

Properties

gboolean muted Read / Write / Construct

Types and Values

struct GvaMuteButton

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── GtkButton
                        ╰── GvaMuteButton

Implemented Interfaces

GvaMuteButton implements AtkImplementorIface, GtkBuildable, GtkActionable and GtkActivatable.

Description

A GvaMuteButton toggles between a muted icon and a full volume icon.

Functions

gva_mute_button_new ()

GtkWidget *
gva_mute_button_new (void);

Creates a new GvaMuteButton.

Returns

a new GvaMuteButton


gva_mute_button_get_muted ()

gboolean
gva_mute_button_get_muted (GvaMuteButton *mute_button);

Returns the muted state of mute_button .

Parameters

mute_button

a GvaMuteButton

 

Returns

the muted state of mute_button


gva_mute_button_set_muted ()

void
gva_mute_button_set_muted (GvaMuteButton *mute_button,
                           gboolean muted);

Sets the muted state of mute_button to muted . The button's icon and tooltip will be updated appropriately.

Parameters

mute_button

a GvaMuteButton

 

muted

muted state

 

Types and Values

struct GvaMuteButton

struct GvaMuteButton;

Contains only private data that should be read and manipulated using the functions below.

Property Details

The “muted” property

  “muted”                    gboolean

Whether the button state is muted.

Owner: GvaMuteButton

Flags: Read / Write / Construct

Default value: FALSE