AgsTurtleManager

AgsTurtleManager — Singleton pattern to organize turtles

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTurtleManager

Includes

#include <ags/lib/ags_turtle_manager.h>

Description

The AgsTurtleManager keeps track of your turtles.

Functions

ags_turtle_manager_find ()

GObject *
ags_turtle_manager_find (AgsTurtleManager *turtle_manager,
                         gchar *filename);

Find filename in turtle_manager .

Parameters

turtle_manager

the AgsTurtleManager

 

filename

the filename as string

 

Since: 1.0.0


ags_turtle_manager_add ()

void
ags_turtle_manager_add (AgsTurtleManager *turtle_manager,
                        GObject *turtle);

Adds turtle to turtle_manager .

Parameters

turtle_manager

the AgsTurtleManager

 

turtle

the AgsTurtle

 

Since: 1.0.0


ags_turtle_manager_get_instance ()

AgsTurtleManager *
ags_turtle_manager_get_instance ();

Get instance of AgsTurtleManager.

Returns

the AgsTurtleManager

Since: 1.0.0


ags_turtle_manager_new ()

AgsTurtleManager *
ags_turtle_manager_new ();

Creates an AgsTurtleManager

Returns

a new AgsTurtleManager

Since: 1.0.0


AGS_IS_TURTLE_MANAGER()

#define AGS_IS_TURTLE_MANAGER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_TURTLE_MANAGER))

AGS_TURTLE_MANAGER()

#define AGS_TURTLE_MANAGER(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TURTLE_MANAGER, AgsTurtleManager))

AGS_TURTLE_MANAGER_CLASS()

#define AGS_TURTLE_MANAGER_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_TURTLE_MANAGER, AgsTurtleManagerClass))

AGS_TURTLE_MANAGER_GET_CLASS()

#define AGS_TURTLE_MANAGER_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_TURTLE_MANAGER, AgsTurtleManagerClass))

ags_turtle_manager_get_type ()

GType
ags_turtle_manager_get_type (void);

Types and Values

AGS_TYPE_TURTLE_MANAGER

#define AGS_TYPE_TURTLE_MANAGER                (ags_turtle_manager_get_type())

struct AgsTurtleManager

struct AgsTurtleManager;

struct AgsTurtleManagerClass

struct AgsTurtleManagerClass {
  GObjectClass object;
};