Atspi.set_main_context
Description: Reference for Atspi.set_main_context

### Function

# Atspiset_main_context

since: 2.0

#### Declaration [src]

    void
    atspi_set_main_context (
      GMainContext* cnx
    )

#### Description [src]

Sets the main loop context that AT-SPI should assume is in use when setting an idle callback. This function should be called by application-side implementors (ie, at-spi2-atk) when it is desirable to re-enter the main loop.

Available since: 2.0

#### Parameters

`cnx`

  Type: `GMainContext`

  The `GMainContext` to use.

  The data is owned by the caller of the function.