xmlroff Reference Manual |
---|
fo-multi-switch —
struct FoMultiSwitch; struct FoMultiSwitchClass; FoFo* fo_multi_switch_new (void); void fo_multi_switch_update_from_context (FoFo *fo, FoContext *context); void fo_multi_switch_set_id (FoMultiSwitch *fo_multi_switch, FoPropertyId *new_id); FoPropertyId* fo_multi_switch_get_id (FoMultiSwitch *fo_multi_switch); void fo_multi_switch_set_role (FoMultiSwitch *fo_multi_switch, FoPropertyRole *new_role); FoPropertyRole* fo_multi_switch_get_role (FoMultiSwitch *fo_multi_switch); void fo_multi_switch_set_source_document (FoMultiSwitch *fo_multi_switch, FoPropertySourceDocument *new_source_document); FoPropertySourceDocument* fo_multi_switch_get_source_document (FoMultiSwitch *fo_multi_switch);
FoFo* fo_multi_switch_new (void);
Creates a new FoMultiSwitch initialized to default value.
Returns : | the new FoMultiSwitch |
void fo_multi_switch_update_from_context (FoFo *fo, FoContext *context);
fo : | |
context : |
void fo_multi_switch_set_id (FoMultiSwitch *fo_multi_switch, FoPropertyId *new_id);
Sets the
fo_multi_switch : | The FoMultiSwitch object |
new_id : | The new "id" property value |
FoPropertyId* fo_multi_switch_get_id (FoMultiSwitch *fo_multi_switch);
Gets the
fo_multi_switch : | The FoMultiSwitch object |
Returns : | The "id" property value |
void fo_multi_switch_set_role (FoMultiSwitch *fo_multi_switch, FoPropertyRole *new_role);
Sets the role property of multi_switch to new_role
fo_multi_switch : | The FoMultiSwitch object |
new_role : | The new "role" property value |
FoPropertyRole* fo_multi_switch_get_role (FoMultiSwitch *fo_multi_switch);
Gets the role property of multi_switch
fo_multi_switch : | The FoMultiSwitch object |
Returns : | The "role" property value |
void fo_multi_switch_set_source_document (FoMultiSwitch *fo_multi_switch, FoPropertySourceDocument *new_source_document);
Sets the source-document property of multi_switch to new_source_document
fo_multi_switch : | The FoMultiSwitch object |
new_source_document : | The new "source-document" property value |
FoPropertySourceDocument* fo_multi_switch_get_source_document (FoMultiSwitch *fo_multi_switch);
Gets the source-document property of multi_switch
fo_multi_switch : | The FoMultiSwitch object |
Returns : | The "source-document" property value |
"id" (FoProperty : Read) | Id property. |
"role" (FoProperty : Read) | Role property. |
"source-document" (FoProperty : Read) | Source Document property. |
<< fo-multi-property-set | fo-multi-toggle >> |