AgsWindow

AgsWindow — The window object.

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── GtkWindow
                        ╰── GtkApplicationWindow
                            ╰── AgsWindow

Includes

#include <ags/app/ags_window.h>

Description

AgsWindow is a composite toplevel widget. It contains the menubar, the machine rack and the notation editor.

Functions

AGS_MACHINE_COUNTER()

#define AGS_MACHINE_COUNTER(ptr) ((AgsMachineCounter *)(ptr))

ags_window_standard_machine_counter_alloc ()

GList *
ags_window_standard_machine_counter_alloc
                               ();

Keep track of count of machines. Allocates a GList of well known machines.

Returns

a new GList containing AgsMachineCounter for know machines

Since: 3.0.0


ags_window_find_machine_counter ()

AgsMachineCounter *
ags_window_find_machine_counter (AgsWindow *window,
                                 GType machine_type);

Keep track of count of machines. Lookup window's counter.

Parameters

window

the AgsWindow

 

machine_type

the machine type

 

Returns

an AgsMachineCounter

Since: 3.0.0


ags_window_increment_machine_counter ()

void
ags_window_increment_machine_counter (AgsWindow *window,
                                      GType machine_type);

Keep track of count of machines. Increment window's counter.

Parameters

window

the AgsWindow

 

machine_type

the machine type

 

Since: 3.0.0


ags_window_decrement_machine_counter ()

void
ags_window_decrement_machine_counter (AgsWindow *window,
                                      GType machine_type);

Keep track of count of machines. Decrement window's counter.

Parameters

window

the AgsWindow

 

machine_type

the machine type

 

Since: 3.0.0


ags_machine_counter_alloc ()

AgsMachineCounter *
ags_machine_counter_alloc (gchar *version,
                           gchar *build_id,
                           GType machine_type,
                           guint initial_value);

Keep track of count of machines.

Parameters

version

the machine's version

 

build_id

the machine's build id

 

machine_type

the machine type

 

initial_value

initialize counter

 

Returns

an AgsMachineCounter

Since: 3.0.0


ags_window_load_add_menu_ladspa ()

void
ags_window_load_add_menu_ladspa (AgsWindow *window,
                                 GMenu *menu);

Load add menu LADSPA.

Parameters

window

the AgsWindow

 

menu

the GMenu

 

Since: 3.18.0


ags_window_load_add_menu_dssi ()

void
ags_window_load_add_menu_dssi (AgsWindow *window,
                               GMenu *menu);

Load add menu DSSI.

Parameters

window

the AgsWindow

 

menu

the GMenu

 

Since: 3.18.0


ags_window_load_add_menu_lv2 ()

void
ags_window_load_add_menu_lv2 (AgsWindow *window,
                              GMenu *menu);

Load add menu LV2.

Parameters

window

the AgsWindow

 

menu

the GMenu

 

Since: 3.18.0


ags_window_load_add_menu_vst3 ()

void
ags_window_load_add_menu_vst3 (AgsWindow *window,
                               GMenu *menu);

Load add menu VST3.

Parameters

window

the AgsWindow

 

menu

the GMenu

 

Since: 3.18.0


ags_window_load_add_menu_live_dssi ()

void
ags_window_load_add_menu_live_dssi (AgsWindow *window,
                                    GMenu *menu);

ags_window_load_add_menu_live_lv2 ()

void
ags_window_load_add_menu_live_lv2 (AgsWindow *window,
                                   GMenu *menu);

ags_window_load_add_menu_live_vst3 ()

void
ags_window_load_add_menu_live_vst3 (AgsWindow *window,
                                    GMenu *menu);

ags_window_show_error ()

void
ags_window_show_error (AgsWindow *window,
                       gchar *message);

ags_window_load_file_timeout ()

gboolean
ags_window_load_file_timeout (AgsWindow *window);

Load file.

Parameters

window

the AgsWindow

 

Returns

TRUE if proceed with redraw, otherwise FALSE

Since: 3.0.0


ags_window_new ()

AgsWindow *
ags_window_new ();

Creates an AgsWindow

Returns

a new AgsWindow

Since: 3.0.0

Types and Values

enum AgsWindowFlags

Members

AGS_WINDOW_CONNECTED

   

AGS_WINDOW_READY

   

AGS_WINDOW_LOADING

   

AGS_WINDOW_SAVING

   

AGS_WINDOW_TERMINATING

   

struct AgsMachineCounter

struct AgsMachineCounter {
  gchar *version;
  gchar *build_id;

  GType machine_type;
  gchar *filename;
  gchar *effect;

  guint counter;
};