Ide.SnippetStorage
Description: Reference for Ide.SnippetStorage

### Class

# IdeSnippetStorage

#### Description

    final class Ide.SnippetStorage : Ide.Object {
      /* No available fields */
    }

No description available.

#### Hierarchy

#### Ancestors

- IdeObject
- GObject

#### Implements

- GAsyncInitable

#### Constructors

###### ide_snippet_storage_new

No description available.

#### Functions

###### ide_snippet_storage_from_context

Gets the snippet storage for the context.

Available since: 3.32

#### Instance methods

###### ide_snippet_storage_add

No description available.

###### ide_snippet_storage_foreach

This will call `foreach` for every item that has been loaded.

Available since: 3.32

###### ide_snippet_storage_query

This will call `foreach` for every info that matches the query. This is useful when building autocompletion lists based on word prefixes.

Available since: 3.32

##### Methods inherited from IdeObject (28)

Please see IdeObject for a full list of methods.

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

##### Methods inherited from GAsyncInitable (3)

###### g_async_initable_init_async

Starts asynchronous initialization of the object implementing the interface. This must be done before any real use of the object after initial construction. If the object also implements `GInitable` you can optionally call `g_initable_init()` instead.

Available since: 2.22

###### g_async_initable_init_finish

Finishes asynchronous initialization and returns the result. See g_async_initable_init_async().

Available since: 2.22

###### g_async_initable_new_finish

Finishes the async construction for the various g_async_initable_new calls, returning the created object or `NULL` on error.

Available since: 2.22

#### Properties

##### Properties inherited from IdeObject (2)

###### Ide.Object:cancellable

The “cancellable” property is a `GCancellable` that can be used by operations that will be cancelled when the `IdeObject::destroy` signal is emitted on `self`.

Available since: 3.32

###### Ide.Object:parent

The parent `IdeObject`, if any.

Available since: 3.32

#### Signals

##### Signals inherited from IdeObject (1)

###### Ide.Object::destroy

The “destroy” signal is emitted when the object should destroy itself and cleanup any state that is no longer necessary. This happens when the object has been removed from the because it was requested to be destroyed, or because a parent object is being destroyed.

Available since: 3.32

##### Signals inherited from GObject (1)

###### GObject.Object::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct IdeSnippetStorageClass {
      IdeObjectClass parent_class;

    }

###### Class members

`parent_class` |
    IdeObjectClass
| No description available.