| Midgard2 Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
#include <midgard/midgard.h> struct MidgardObjectReference; struct MidgardObjectReferenceClass; MidgardObjectReference * midgard_object_reference_new (const gchar *id,const gchar *name,MidgardWorkspace *Workspace); MidgardWorkspace * midgard_object_reference_get_workspace (MidgardObjectReference *self,GError **error);
"id" gchar* : Read / Write / Construct Only "name" gchar* : Read / Write / Construct Only "workspace" MidgardWorkspace* : Read / Write / Construct Only
MidgardObjectReference * midgard_object_reference_new (const gchar *id,const gchar *name,MidgardWorkspace *Workspace);
|
object's identifier |
|
the name of the reference. [allow-none] |
|
MidgardWorkspace instance. [allow-none] |
Returns : |
new MidgardObjectReference |
Since 12.09
MidgardWorkspace * midgard_object_reference_get_workspace (MidgardObjectReference *self,GError **error);
|
MidgardObjectReference instance |
|
pointer to store returned error |
Returns : |
MidgardWorkspace instance or NULL. [transfer full]
|
Since 12.09