Interface

IdeSearchProvider

Description

interface Ide.SearchProvider : Ide.Object
No description available.

Prerequisite

In order to implement SearchProvider, your type must inherit fromIdeObject.

Implementations

Instance methods

ide_search_provider_dup_icon

Gets the icon for the provider, if any.

ide_search_provider_dup_title
No description available.

ide_search_provider_get_category
No description available.

ide_search_provider_load
No description available.

ide_search_provider_search_async
No description available.

ide_search_provider_search_finish

Completes a request to a search provider.

ide_search_provider_unload
No description available.

Interface structure

struct IdeSearchProviderInterface {
  GTypeInterface parent_interface;
  void (* load) (
    IdeSearchProvider* self
  );
  void (* unload) (
    IdeSearchProvider* self
  );
  void (* search_async) (
    IdeSearchProvider* self,
    const gchar* query,
    guint max_results,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  );
  GListModel* (* search_finish) (
    IdeSearchProvider* self,
    GAsyncResult* result,
    gboolean* truncated,
    GError** error
  );
  char* (* dup_title) (
    IdeSearchProvider* self
  );
  GIcon* (* dup_icon) (
    IdeSearchProvider* self
  );
  IdeSearchCategory (* get_category) (
    IdeSearchProvider* self
  );
  
}
No description available.
Interface members
parent_interface
GTypeInterface
 No description available.
load
void (* load) (
    IdeSearchProvider* self
  )
 No description available.
unload
void (* unload) (
    IdeSearchProvider* self
  )
 No description available.
search_async
void (* search_async) (
    IdeSearchProvider* self,
    const gchar* query,
    guint max_results,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  )
 No description available.
search_finish
GListModel* (* search_finish) (
    IdeSearchProvider* self,
    GAsyncResult* result,
    gboolean* truncated,
    GError** error
  )
 No description available.
dup_title
char* (* dup_title) (
    IdeSearchProvider* self
  )
 No description available.
dup_icon
GIcon* (* dup_icon) (
    IdeSearchProvider* self
  )
 No description available.
get_category
IdeSearchCategory (* get_category) (
    IdeSearchProvider* self
  )
 No description available.

Virtual methods

Ide.SearchProvider.dup_icon

Gets the icon for the provider, if any.

Ide.SearchProvider.dup_title
No description available.

Ide.SearchProvider.get_category
No description available.

Ide.SearchProvider.load
No description available.

Ide.SearchProvider.search_async
No description available.

Ide.SearchProvider.search_finish

Completes a request to a search provider.

Ide.SearchProvider.unload
No description available.