## fo-multi-switch

fo-multi-switch —

## Synopsis

    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);

## Object Hierarchy

      GObject
       +----FoObject
             +----FoNode
                   +----FoFo
                         +----FoMultiSwitch

## Implemented Interfaces

FoMultiSwitch implements FoNeutralIface.

## Properties

      "id"                   FoProperty           : Read
      "role"                 FoProperty           : Read
      "source-document"      FoProperty           : Read

## Description

## Details

### struct FoMultiSwitch

    struct FoMultiSwitch;

### struct FoMultiSwitchClass

    struct FoMultiSwitchClass;

### fo_multi_switch_new ()

    FoFo*       fo_multi_switch_new             (void);

Creates a new FoMultiSwitch initialized to default value.

Returns : | the new FoMultiSwitch

### fo_multi_switch_update_from_context ()

    void        fo_multi_switch_update_from_context
                                                (FoFo *fo,
                                                 FoContext *context);

`fo` : |
`context` : |

### fo_multi_switch_set_id ()

    void        fo_multi_switch_set_id          (FoMultiSwitch *fo_multi_switch,
                                                 FoPropertyId *new_id);

Sets the id property of `multi_switch` to `new_id`

`fo_multi_switch` : | The `FoMultiSwitch` object
`new_id` : | The new "id" property value

### fo_multi_switch_get_id ()

    FoPropertyId* fo_multi_switch_get_id        (FoMultiSwitch *fo_multi_switch);

Gets the id property of `multi_switch`

`fo_multi_switch` : | The `FoMultiSwitch` object
Returns : | The "id" property value

### fo_multi_switch_set_role ()

    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

### fo_multi_switch_get_role ()

    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

### fo_multi_switch_set_source_document ()

    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

### fo_multi_switch_get_source_document ()

    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

## Properties

"`id`" (FoProperty : Read) | Id property.
"`role`" (FoProperty : Read) | Role property.
"`source-document`" (FoProperty : Read) | Source Document property.