CtkVolumeButton

CtkVolumeButton — A button which pops up a volume control

Functions

Properties

gboolean use-symbolic Read / Write / Construct

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── CtkWidget
            ╰── CtkContainer
                ╰── CtkBin
                    ╰── CtkButton
                        ╰── CtkScaleButton
                            ╰── CtkVolumeButton

Implemented Interfaces

CtkVolumeButton implements AtkImplementorIface, CtkBuildable, CtkActionable, CtkActivatable and CtkOrientable.

Includes

#include <ctk/ctk.h>

Description

CtkVolumeButton is a subclass of CtkScaleButton that has been tailored for use as a volume control widget with suitable icons, tooltips and accessible labels.

Functions

ctk_volume_button_new ()

CtkWidget *
ctk_volume_button_new (void);

Creates a CtkVolumeButton, with a range between 0.0 and 1.0, with a stepping of 0.02. Volume values can be obtained and modified using the functions from CtkScaleButton.

Returns

a new CtkVolumeButton

Since: 2.12

Types and Values

struct CtkVolumeButton

struct CtkVolumeButton;

Property Details

The “use-symbolic” property

  “use-symbolic”             gboolean

Whether to use symbolic icons as the icons. Note that if the symbolic icons are not available in your installed theme, then the normal (potentially colorful) icons will be used.

Owner: CtkVolumeButton

Flags: Read / Write / Construct

Default value: TRUE

Since: 3.0