gok-output

Name

gok-output -- 

Synopsis



#define     OUTPUT_KEYSYM
#define     OUTPUT_KEYCODE
void        gok_output_delete_all           (GokOutput *pOutput);
GokOutput*  gok_output_new                  (gint Type,
                                             gchar *Name,
                                             AccessibleKeySynthType Flag);
GokOutput*  gok_output_new_from_xml         (xmlNode *pNode);
void        gok_output_send_to_system       (GokOutput *pOutput,
                                             gboolean bNoWordCompletion);

Description

Details

OUTPUT_KEYSYM

#define OUTPUT_KEYSYM 0


OUTPUT_KEYCODE

#define OUTPUT_KEYCODE 1


gok_output_delete_all ()

void        gok_output_delete_all           (GokOutput *pOutput);

Deletes the given GokOutput and other GokOutputs that are in its list.

pOutput :

Pointer to the GokOutput that you want deleted.


gok_output_new ()

GokOutput*  gok_output_new                  (gint Type,
                                             gchar *Name,
                                             AccessibleKeySynthType Flag);

Creates a new GokOutput and initializes it to the given values.

Type :

Type of output (e.g. keysym or keycode).

Name :

Keycode or Keysym string.

Flag :

Returns :

A pointer to the new GokOutput, NULL if not created.


gok_output_new_from_xml ()

GokOutput*  gok_output_new_from_xml         (xmlNode *pNode);

Creates a new GokOutput and initializes it from the given XML node.

pNode :

Pointer to the XML node.

Returns :

A pointer to the new GokOutput, NULL if not created.


gok_output_send_to_system ()

void        gok_output_send_to_system       (GokOutput *pOutput,
                                             gboolean bNoWordCompletion);

Sends the given GokOutput to the system. All other GokOutputs that are linked to this output are also sent.

pOutput :

Pointer to a GokOutput that will be sent to the system.

bNoWordCompletion :