klavaro  3.13
About: Klavaro is a touch typing tutor program.
  Fossies Dox: klavaro-3.13.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

callbacks.h
Go to the documentation of this file.
1 /**************************************************************************/
2 /* Klavaro - a flexible touch typing tutor */
3 /* Copyright (C) 2005-2021 Felipe Emmanuel Ferreira de Castro */
4 /* */
5 /* This file is part of Klavaro, which is a free software: you can */
6 /* redistribute it and/or modify it under the terms of the GNU General */
7 /* Public License as published by the Free Software Foundation, either */
8 /* version 3 of the License, or (at your option) any later version. */
9 /* */
10 /* Klavaro is distributed in the hope that it will be useful, */
11 /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
12 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
13 /* GNU General Public License for more details (in the file COPYING). */
14 /* You should have received a copy of the GNU General Public License */
15 /* along with Klavaro. If not, see <https://www.gnu.org/licenses/> */
16 /**************************************************************************/
17 
18 #include <gtkdatabox.h>
19 
20 #define TEXTMAXLEN 8000
21 
22 void callbacks_shield_set (gboolean state);
23 
24 
25 void on_button_basic_clicked (GtkButton *button, gpointer user_data);
26 
27 void on_button_adapt_clicked (GtkButton *button, gpointer user_data);
28 
29 void on_button_velo_clicked (GtkButton *button, gpointer user_data);
30 
31 void on_button_fluid_clicked (GtkButton *button, gpointer user_data);
32 
33 
34 void on_virtual_key_clicked (GtkButton * button, gpointer user_data);
35 
36 void on_virtual_key_changed (GtkEditable *edit, gpointer user_data);
37 
38 void on_virtual_key_grab_focus (GtkWidget *wg, gpointer user_data);
39 
40 void on_virtual_key_focus_out (GtkWidget *wg, gpointer user_data);
41 
42 
43 gboolean on_entry_mesg_focus_out_event (GtkWidget * widget, GdkEventFocus * event, gpointer user_data);
44 
45 void on_entry_mesg_grab_focus (GtkWidget * widget, gpointer user_data);
46 
47 void on_entry_mesg_activate (GtkEntry * entry, gpointer user_data);
48 
49 void on_entry_mesg_delete_text (GtkEditable * editable, gint start_pos, gint end_pos, gpointer user_data);
50 
51 void on_entry_mesg_insert_text (GtkEditable * editable, gchar * new_text, gint new_text_length, gpointer position, gpointer user_data);
52 
53 void on_entry_mesg_preedit_changed (GtkEntry * entry, gchar * preedit, gpointer user_data);
54 
55 gboolean on_entry_mesg_drag_drop (GtkWidget * widget, GdkDragContext * drag_context, gint x, gint y, guint time, gpointer user_data);
56 
57 
58 void on_combobox_stat_module_changed (GtkComboBox *cmb, gpointer user_data);
59 
60 void on_combobox_stat_type_changed (GtkComboBox *cmb, gpointer user_data);
61 
62 void on_button_confirm_yes_clicked (GtkButton *button, gpointer user_data);
63 
64 void on_button_other_apply_clicked (GtkButton *button, gpointer user_data);
65 
66 void on_databox_hovered (GtkDatabox *dbox, GdkEventMotion *event, gpointer user_data);
67 
68 
69 void window_restore (gchar *who);
70 
71 void window_save (gchar *who);
72 
73 
void on_databox_hovered(GtkDatabox *dbox, GdkEventMotion *event, gpointer user_data)
Definition: callbacks.c:1507
void on_virtual_key_focus_out(GtkWidget *wg, gpointer user_data)
void on_virtual_key_grab_focus(GtkWidget *wg, gpointer user_data)
Definition: callbacks.c:1113
void on_button_velo_clicked(GtkButton *button, gpointer user_data)
Definition: callbacks.c:86
void on_button_confirm_yes_clicked(GtkButton *button, gpointer user_data)
Definition: callbacks.c:1216
void on_entry_mesg_activate(GtkEntry *entry, gpointer user_data)
Definition: callbacks.c:683
gboolean on_entry_mesg_focus_out_event(GtkWidget *widget, GdkEventFocus *event, gpointer user_data)
Definition: callbacks.c:661
void on_entry_mesg_insert_text(GtkEditable *editable, gchar *new_text, gint new_text_length, gpointer position, gpointer user_data)
Definition: callbacks.c:718
void on_virtual_key_changed(GtkEditable *edit, gpointer user_data)
Definition: callbacks.c:1137
void on_button_fluid_clicked(GtkButton *button, gpointer user_data)
Definition: callbacks.c:93
void on_combobox_stat_type_changed(GtkComboBox *cmb, gpointer user_data)
Definition: callbacks.c:1449
gboolean on_entry_mesg_drag_drop(GtkWidget *widget, GdkDragContext *drag_context, gint x, gint y, guint time, gpointer user_data)
Definition: callbacks.c:792
void on_button_other_apply_clicked(GtkButton *button, gpointer user_data)
Definition: callbacks.c:1545
void on_button_adapt_clicked(GtkButton *button, gpointer user_data)
Definition: callbacks.c:79
void on_entry_mesg_delete_text(GtkEditable *editable, gint start_pos, gint end_pos, gpointer user_data)
Definition: callbacks.c:706
void callbacks_shield_set(gboolean state)
Definition: callbacks.c:57
void on_entry_mesg_grab_focus(GtkWidget *widget, gpointer user_data)
Definition: callbacks.c:672
void on_virtual_key_clicked(GtkButton *button, gpointer user_data)
Definition: callbacks.c:1125
void window_restore(gchar *who)
Definition: callbacks.c:1831
void on_combobox_stat_module_changed(GtkComboBox *cmb, gpointer user_data)
Definition: callbacks.c:1376
void window_save(gchar *who)
Definition: callbacks.c:1862
void on_button_basic_clicked(GtkButton *button, gpointer user_data)
Definition: callbacks.c:72
void on_entry_mesg_preedit_changed(GtkEntry *entry, gchar *preedit, gpointer user_data)
Definition: callbacks.c:760
GtkWidget * entry
Definition: keyboard.c:52
gfloat x[50+1]
Definition: plot.c:52
gfloat y[50+1]
Definition: plot.c:53