AgsMachineSelector

AgsMachineSelector — machine radio buttons

Functions

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkBox
                        ╰── GtkVBox
                            ╰── AgsMachineSelector

Implemented Interfaces

AgsMachineSelector implements AtkImplementorIface, GtkBuildable, GtkOrientable and AgsConnectable.

Includes

#include <ags/X/editor/ags_machine_selector.h>

Description

The AgsMachineSelector enables you make choice of an AgsMachine.

Functions

ags_machine_selector_popup_add_index ()

void
ags_machine_selector_popup_add_index (AgsMachineSelector *machine_selector);


ags_machine_selector_popup_remove_index ()

void
ags_machine_selector_popup_remove_index
                               (AgsMachineSelector *machine_selector,
                                guint nth);


ags_machine_selector_popup_link_index ()

void
ags_machine_selector_popup_link_index (AgsMachineSelector *machine_selector,
                                       AgsMachine *machine);


ags_machine_selector_changed ()

void
ags_machine_selector_changed (AgsMachineSelector *machine_selector,
                              AgsMachine *machine);

Emitted as AgsMachineSelector modified.

Parameters

machine_selector

the AgsMachineSelector

 

machine

the selected AgsMachine

 

Since: 0.4


ags_machine_selector_popup_new ()

GtkMenu *
ags_machine_selector_popup_new (AgsMachineSelector *machine_selector);

Create a new AgsMachineSelectorPopup.

Parameters

machine_selector

the AgsMachineSelector

 

Returns

a new GtkMenu suitable for AgsMachineSelector

Since: 0.4


ags_machine_selector_new ()

AgsMachineSelector *
ags_machine_selector_new ();

Create a new AgsMachineSelector.

Returns

a new AgsMachineSelector

Since: 0.4

Types and Values

enum AgsMachineSelectorFlags

Members

AGS_MACHINE_SELECTOR_CONNECTED

   

AGS_MACHINE_SELECTOR_SHOW_REVERSE_MAPPING

   

AGS_MACHINE_SELECTOR_SHOW_SHIFT_PIANO

   

AGS_MACHINE_SELECTOR_NOTATION

   

AGS_MACHINE_SELECTOR_AUTOMATION

   

Signal Details

The “changed” signal

void
user_function (AgsMachineSelector *machine_selector,
               GObject            *machine,
               gpointer            user_data)

Flags: Run Last

Since: 0.4.2