Gtk.VolumeButton

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Actionable Gtk.Actionable GObject.GInterface->Gtk.Actionable Gtk.Activatable Gtk.Activatable GObject.GInterface->Gtk.Activatable Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.Orientable Gtk.Orientable GObject.GInterface->Gtk.Orientable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Button Gtk.Button Gtk.Actionable->Gtk.Button Gtk.Activatable->Gtk.Button Gtk.Bin Gtk.Bin Gtk.Bin->Gtk.Button Gtk.Buildable->Gtk.Widget Gtk.ScaleButton Gtk.ScaleButton Gtk.Button->Gtk.ScaleButton Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.Orientable->Gtk.ScaleButton Gtk.VolumeButton Gtk.VolumeButton Gtk.ScaleButton->Gtk.VolumeButton Gtk.Widget->Gtk.Container

Example

../_images/VolumeButton.png
Subclasses:

None

Methods

Inherited:

Gtk.ScaleButton (9), Gtk.Button (29), Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Actionable (5), Gtk.Activatable (6), Gtk.Orientable (2)

Structs:

Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)

class

new ()

Virtual Methods

Inherited:

Gtk.ScaleButton (1), Gtk.Button (6), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10), Gtk.Actionable (4), Gtk.Activatable (2)

Properties

Inherited:

Gtk.ScaleButton (4), Gtk.Button (9), Gtk.Container (3), Gtk.Widget (39), Gtk.Actionable (2), Gtk.Activatable (2), Gtk.Orientable (1)

Name

Type

Flags

Short Description

use-symbolic

bool

r/w/c/en

Whether to use symbolic icons

Style Properties

Inherited:

Gtk.Button (7), Gtk.Widget (17)

Signals

Inherited:

Gtk.ScaleButton (3), Gtk.Button (6), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Fields

Inherited:

Gtk.ScaleButton (3), Gtk.Button (6), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Type

Access

Description

parent

Gtk.ScaleButton

r

Class Details

class Gtk.VolumeButton(*args, **kwargs)
Bases:

Gtk.ScaleButton

Abstract:

No

Structure:

Gtk.VolumeButtonClass

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

classmethod new()[source]
Returns:

a new Gtk.VolumeButton

Return type:

Gtk.Widget

Creates a Gtk.VolumeButton, 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 Gtk.ScaleButton.

New in version 2.12.

Property Details

Gtk.VolumeButton.props.use_symbolic
Name:

use-symbolic

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE, CONSTRUCT, EXPLICIT_NOTIFY

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.

New in version 3.0.