MxItemFactory

MxItemFactory

Functions

Types and Values

Object Hierarchy

    GInterface
    ╰── MxItemFactory

Description

Functions

mx_item_factory_create ()

ClutterActor *
mx_item_factory_create (MxItemFactory *factory);

Create an item

Parameters

factory

A MxItemFactory

 

Returns

the new item.

[transfer full]

Types and Values

MxItemFactory

typedef struct _MxItemFactory MxItemFactory;

This is an opaque structure whose members cannot be directly accessed.


struct MxItemFactoryIface

struct MxItemFactoryIface {
  /* vfuncs, not signals */
  ClutterActor *(* create) (MxItemFactory *factory);
};

Interface for creating custom items

Members

create ()

virtual function called when creating a new item