Gtk.Volume_Button

Entities

Tagged Types

Access Types

Constants

Subprograms

Generic Instantiations

Description

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

"+"

function "+"
  (Widget : access Gtk_Volume_Button_Record'Class)
return Gtk.Actionable.Gtk_Actionable
Parameters
Widget
Return Value

"+"

function "+"
  (Widget : access Gtk_Volume_Button_Record'Class)
return Gtk.Activatable.Gtk_Activatable
Parameters
Widget
Return Value

"+"

function "+"
  (Widget : access Gtk_Volume_Button_Record'Class)
return Gtk.Buildable.Gtk_Buildable
Parameters
Widget
Return Value

"+"

function "+"
  (Widget : access Gtk_Volume_Button_Record'Class)
return Gtk.Orientable.Gtk_Orientable
Parameters
Widget
Return Value

"-"

function "-"
  (Interf : Gtk.Actionable.Gtk_Actionable)
return Gtk_Volume_Button
Parameters
Interf
Return Value

"-"

function "-"
  (Interf : Gtk.Activatable.Gtk_Activatable)
return Gtk_Volume_Button
Parameters
Interf
Return Value

"-"

function "-"
  (Interf : Gtk.Buildable.Gtk_Buildable)
return Gtk_Volume_Button
Parameters
Interf
Return Value

"-"

function "-"
  (Interf : Gtk.Orientable.Gtk_Orientable)
return Gtk_Volume_Button
Parameters
Interf
Return Value

Do_Set_Related_Action

procedure Do_Set_Related_Action
   (Self   : not null access Gtk_Volume_Button_Record;
    Action : not null access Gtk.Action.Gtk_Action_Record'Class)
Parameters
Self
Action

Get_Action_Name

function Get_Action_Name
   (Self : not null access Gtk_Volume_Button_Record) return UTF8_String
Parameters
Self
Return Value

Get_Action_Target_Value

function Get_Action_Target_Value
   (Self : not null access Gtk_Volume_Button_Record)
    return Glib.Variant.Gvariant
Parameters
Self
Return Value

Get_Orientation

function Get_Orientation
   (Self : not null access Gtk_Volume_Button_Record)
    return Gtk.Enums.Gtk_Orientation
Parameters
Self
Return Value

Get_Related_Action

function Get_Related_Action
   (Self : not null access Gtk_Volume_Button_Record)
    return Gtk.Action.Gtk_Action
Parameters
Self
Return Value

Get_Type

function Get_Type return Glib.GType
Return Value

Get_Use_Action_Appearance

function Get_Use_Action_Appearance
   (Self : not null access Gtk_Volume_Button_Record) return Boolean
Parameters
Self
Return Value

Gtk_New

procedure Gtk_New (Widget : out Gtk_Volume_Button)

Creates a Gtk.Volume_Button.Gtk_Volume_Button, 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.Scale_Button.Gtk_Scale_Button. Since: gtk+ 2.12 Initialize does nothing if the object was already created with another call to Initialize* or G_New.

Parameters
Widget

Gtk_Volume_Button

type Gtk_Volume_Button is access all Gtk_Volume_Button_Record'Class;

Gtk_Volume_Button_New

function Gtk_Volume_Button_New return Gtk_Volume_Button

Creates a Gtk.Volume_Button.Gtk_Volume_Button, 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.Scale_Button.Gtk_Scale_Button. Since: gtk+ 2.12

Return Value

Gtk_Volume_Button_Record

type Gtk_Volume_Button_Record is new Gtk_Scale_Button_Record with null record;

Implements_Gtk_Actionable

package Implements_Gtk_Actionable is new Glib.Types.Implements
  (Gtk.Actionable.Gtk_Actionable, Gtk_Volume_Button_Record, Gtk_Volume_Button);

Implements_Gtk_Activatable

package Implements_Gtk_Activatable is new Glib.Types.Implements
  (Gtk.Activatable.Gtk_Activatable, Gtk_Volume_Button_Record, Gtk_Volume_Button);

Implements_Gtk_Buildable

package Implements_Gtk_Buildable is new Glib.Types.Implements
  (Gtk.Buildable.Gtk_Buildable, Gtk_Volume_Button_Record, Gtk_Volume_Button);

Implements_Gtk_Orientable

package Implements_Gtk_Orientable is new Glib.Types.Implements
  (Gtk.Orientable.Gtk_Orientable, Gtk_Volume_Button_Record, Gtk_Volume_Button);

Initialize

procedure Initialize
   (Widget : not null access Gtk_Volume_Button_Record'Class)

Creates a Gtk.Volume_Button.Gtk_Volume_Button, 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.Scale_Button.Gtk_Scale_Button. Since: gtk+ 2.12 Initialize does nothing if the object was already created with another call to Initialize* or G_New.

Parameters
Widget

Set_Action_Name

procedure Set_Action_Name
   (Self        : not null access Gtk_Volume_Button_Record;
    Action_Name : UTF8_String := "")
Parameters
Self
Action_Name

Set_Action_Target_Value

procedure Set_Action_Target_Value
   (Self         : not null access Gtk_Volume_Button_Record;
    Target_Value : Glib.Variant.Gvariant)
Parameters
Self
Target_Value

Set_Detailed_Action_Name

procedure Set_Detailed_Action_Name
   (Self                 : not null access Gtk_Volume_Button_Record;
    Detailed_Action_Name : UTF8_String)
Parameters
Self
Detailed_Action_Name

Set_Orientation

procedure Set_Orientation
   (Self        : not null access Gtk_Volume_Button_Record;
    Orientation : Gtk.Enums.Gtk_Orientation)
Parameters
Self
Orientation

Set_Related_Action

procedure Set_Related_Action
   (Self   : not null access Gtk_Volume_Button_Record;
    Action : not null access Gtk.Action.Gtk_Action_Record'Class)
Parameters
Self
Action

Set_Use_Action_Appearance

procedure Set_Use_Action_Appearance
   (Self           : not null access Gtk_Volume_Button_Record;
    Use_Appearance : Boolean)
Parameters
Self
Use_Appearance

Sync_Action_Properties

procedure Sync_Action_Properties
   (Self   : not null access Gtk_Volume_Button_Record;
    Action : access Gtk.Action.Gtk_Action_Record'Class)
Parameters
Self
Action

Use_Symbolic_Property

Use_Symbolic_Property : constant Glib.Properties.Property_Boolean;

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.