Go to the source code of this file.
Functions | |
GtkWidget * | dict_new () |
Create a dictionoarry widget. More... | |
GtkWidget * | dict_new_from_file (const char *fn, const char *sep) |
Create a new dictionary widget from a file. More... | |
void | dict_add_words (GtkWidget *dict, int wnum, char ***words) |
Adds a dictionary to a CList widget of a dictionary. More... | |
void | dict_add_word (GtkWidget *dict, char **word) |
Adds a word in a dictionary widget. More... | |
void | gui_dict_open_cb () |
The callback called when Dictionary->Open... More... | |
void | gui_dict_close_cb () |
Closes the current page in the notebook. More... |
Definition in file gui_dict.h.
|
Adds a word in a dictionary widget. This is only a wrapper script to dict_add_words().
Definition at line 173 of file gui_dict.c. References dict_add_words(). |
|
Adds a dictionary to a CList widget of a dictionary. Adds the list of word pairs to the given widget. It updates the widget properties: dict_wnum (the number of words), dict_words (list to word pairs). It gets the CList from the dict_clist property of the widget.
Definition at line 149 of file gui_dict.c. Referenced by dict_add_word(), and dict_new_from_file(). |
|
Create a dictionoarry widget.
Definition at line 100 of file gui_dict.c. References dict_inpch(). Referenced by dict_new_from_file(). |
|
Create a new dictionary widget from a file.
Definition at line 188 of file gui_dict.c. References dict_add_words(), dict_get_words(), and dict_new(). Referenced by gui_dict_open2_cb(), and top_window_new(). |
|
Closes the current page in the notebook.
Definition at line 255 of file gui_dict.c. |
|
The callback called when Dictionary->Open... is selected. It creates a modal file selection dialog and connects a signal to its OK button to gui_dict_open2_cb() to handle the user request.
Definition at line 228 of file gui_dict.c. References gui_dict_open2_cb(). |