gcompletion.h File Reference

API published in:
API deprecated in:


#include <_ansi.h>
#include <glib/glist.h>

Go to the source code of this file.


Data Structures

struct   _GCompletion

Typedefs

typedef typedefG_BEGIN_DECLS
struct _GCompletion 
GCompletion
typedef gchar *(*  GCompletionFunc )(gpointer)
typedef gint(*  GCompletionStrncmpFunc )(const gchar *s1, const gchar *s2, gsize n)

Functions

IMPORT_C GCompletion g_completion_new (GCompletionFunc func)
IMPORT_C void  g_completion_add_items (GCompletion *cmp, GList *items)
IMPORT_C void  g_completion_remove_items (GCompletion *cmp, GList *items)
IMPORT_C void  g_completion_clear_items (GCompletion *cmp)
IMPORT_C GList g_completion_complete (GCompletion *cmp, const gchar *prefix, gchar **new_prefix)
IMPORT_C GList g_completion_complete_utf8 (GCompletion *cmp, const gchar *prefix, gchar **new_prefix)
IMPORT_C void  g_completion_set_compare (GCompletion *cmp, GCompletionStrncmpFunc strncmp_func)
IMPORT_C void  g_completion_free (GCompletion *cmp)

Typedef Documentation

typedef typedefG_BEGIN_DECLS struct _GCompletion GCompletion
 
typedef gchar*(* GCompletionFunc)(gpointer)
 
typedef gint(* GCompletionStrncmpFunc)(const gchar *s1, const gchar *s2, gsize n)
 

Function Documentation

IMPORT_C void g_completion_add_items GCompletion cmp,
GList items
 
IMPORT_C void g_completion_clear_items GCompletion cmp  ) 
 
IMPORT_C GList* g_completion_complete GCompletion cmp,
const gchar prefix,
gchar **  new_prefix
 
IMPORT_C GList* g_completion_complete_utf8 GCompletion cmp,
const gchar prefix,
gchar **  new_prefix
 
IMPORT_C void g_completion_free GCompletion cmp  ) 
 
IMPORT_C GCompletion* g_completion_new GCompletionFunc  func  ) 
 
IMPORT_C void g_completion_remove_items GCompletion cmp,
GList items
 
IMPORT_C void g_completion_set_compare GCompletion cmp,
GCompletionStrncmpFunc  strncmp_func
 

Copyright © Nokia Corporation 2001-2008
Back to top