AgsMidiPreferences

AgsMidiPreferences — A composite widget to do midi related preferences

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkBox
                ╰── AgsMidiPreferences

Implemented Interfaces

AgsMidiPreferences implements GtkAccessible, GtkBuildable, GtkConstraintTarget, GtkOrientable, AgsConnectable and AgsApplicable.

Includes

#include <ags/app/ags_midi_preferences.h>

Description

AgsMidiPreferences enables you to make preferences of sequencer, midi channels, samplerate and buffer size.

Functions

ags_midi_preferences_get_sequencer_editor ()

GList *
ags_midi_preferences_get_sequencer_editor
                               (AgsMidiPreferences *midi_preferences);

Get line member of midi_preferences .

Parameters

midi_preferences

the AgsMidi_Preferences

 

Returns

the GList containing AgsSequencerEditor

Since: 4.0.0


ags_midi_preferences_add_sequencer_editor ()

void
ags_midi_preferences_add_sequencer_editor
                               (AgsMidiPreferences *midi_preferences,
                                AgsSequencerEditor *sequencer_editor);

Add sequencer_editor to midi_preferences .

Parameters

midi_preferences

the AgsMidi_Preferences

 

sequencer_editor

the AgsSequencerEditor

 

x

the x position

 

y

the y position

 

width

the width

 

height

the height

 

Since: 4.0.0


ags_midi_preferences_remove_sequencer_editor ()

void
ags_midi_preferences_remove_sequencer_editor
                               (AgsMidiPreferences *midi_preferences,
                                AgsSequencerEditor *sequencer_editor);

Remove sequencer_editor from midi_preferences .

Parameters

midi_preferences

the AgsMidi_Preferences

 

sequencer_editor

the AgsSequencerEditor

 

Since: 4.0.0


ags_midi_preferences_new ()

AgsMidiPreferences *
ags_midi_preferences_new ();

Create a new instance of AgsMidiPreferences

Returns

the new AgsMidiPreferences

Since: 3.0.0


AGS_IS_MIDI_PREFERENCES()

#define AGS_IS_MIDI_PREFERENCES(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MIDI_PREFERENCES))

AGS_IS_MIDI_PREFERENCES_CLASS()

#define AGS_IS_MIDI_PREFERENCES_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_MIDI_PREFERENCES))

AGS_MIDI_PREFERENCES()

#define AGS_MIDI_PREFERENCES(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MIDI_PREFERENCES, AgsMidiPreferences))

AGS_MIDI_PREFERENCES_CLASS()

#define AGS_MIDI_PREFERENCES_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MIDI_PREFERENCES, AgsMidiPreferencesClass))

AGS_MIDI_PREFERENCES_GET_CLASS()

#define AGS_MIDI_PREFERENCES_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_MIDI_PREFERENCES, AgsMidiPreferencesClass))

ags_midi_preferences_get_type ()

GType
ags_midi_preferences_get_type (void);

Types and Values

AGS_TYPE_MIDI_PREFERENCES

#define AGS_TYPE_MIDI_PREFERENCES                (ags_midi_preferences_get_type())

struct AgsMidiPreferences

struct AgsMidiPreferences;

struct AgsMidiPreferencesClass

struct AgsMidiPreferencesClass {
  GtkBoxClass box;
};