MidgardWorkspace

MidgardWorkspace

Synopsis

#include <midgard/midgard.h>

                    MidgardWorkspace;
struct              MidgardWorkspaceClass;
MidgardWorkspace *  midgard_workspace_new               ();
const MidgardWorkspaceContext * midgard_workspace_get_context
                                                        (MidgardWorkspace *self);

Object Hierarchy

  GObject
   +----MidgardDBObject
         +----MidgardWorkspace

Implemented Interfaces

MidgardWorkspace implements MidgardWorkspaceStorage.

Properties

  "guid"                     gchar*                : Read
  "id"                       guint                 : Read
  "name"                     gchar*                : Read / Write
  "parent-workspace"         MidgardWorkspace*     : Read / Write / Construct Only
  "path"                     gchar*                : Read
  "up"                       guint                 : Read

Description

Details

MidgardWorkspace

typedef struct _MidgardWorkspace MidgardWorkspace;


struct MidgardWorkspaceClass

struct MidgardWorkspaceClass {
	MidgardDBObjectClass parent;
};


midgard_workspace_new ()

MidgardWorkspace *  midgard_workspace_new               ();

Simplified constructor.

Returns :

MidgardWorkspace instance

Since 10.05.5


midgard_workspace_get_context ()

const MidgardWorkspaceContext * midgard_workspace_get_context
                                                        (MidgardWorkspace *self);

self :

MidgardWorkspace instance

Returns :

MidgardWorkspaceContext self is in or NULL

Since 10.05.5

Property Details

The "guid" property

  "guid"                     gchar*                : Read

Default value: ""


The "id" property

  "id"                       guint                 : Read

Default value: 0


The "name" property

  "name"                     gchar*                : Read / Write

Default value: ""


The "parent-workspace" property

  "parent-workspace"         MidgardWorkspace*     : Read / Write / Construct Only


The "path" property

  "path"                     gchar*                : Read

Default value: ""


The "up" property

  "up"                       guint                 : Read

Default value: 0