AgsWindow

AgsWindow — The window object.

Functions

Types and Values

Includes

#include <ags/X/ags_window.h>

Description

AgsWindow is a composite toplevel widget.

Functions

AGS_MACHINE_COUNTER()

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


ags_window_find_machine_counter ()

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

Returns


ags_window_increment_machine_counter ()

void
ags_window_increment_machine_counter (AgsWindow *window,
                                      GType machine_type);


ags_window_decrement_machine_counter ()

void
ags_window_decrement_machine_counter (AgsWindow *window,
                                      GType machine_type);


ags_machine_counter_alloc ()

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

Returns


ags_window_new ()

AgsWindow *
ags_window_new (GObject *ags_main);

Creates an AgsWindow

Parameters

ags_main

the application object.

 

Returns

a new AgsWindow

Since 0.3

Types and Values

enum AgsWindowFlags

Members

AGS_WINDOW_READY

   

AGS_WINDOW_LOADING

   

AGS_WINDOW_SAVING

   

AGS_WINDOW_TERMINATING

   

struct AgsMachineCounter

struct AgsMachineCounter {
  gchar *version;
  gchar *build_id;

  GType machine_type;
  guint counter;
};