Clapper.ThreadedObject.get_context

### Method

# Clapper ThreadedObjectget_context

#### Declaration [src]

    GMainContext*
    clapper_threaded_object_get_context (
      ClapperThreadedObject* threaded_object
    )

#### Description [src]

Get the `GMainContext` of the thread used by this object.

Useful when you want to invoke object thread to do some action in it from a different thread.

#### Return value

Type: `GMainContext`

A `GMainContext` of the object used thread.

The returned data is owned by the instance.