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)  

auxiliar.c File Reference
#include <sys/stat.h>
#include <string.h>
#include <glib.h>
#include <glib/gstdio.h>
#include <gtk/gtk.h>
#include "auxiliar.h"
#include "main.h"
Include dependency graph for auxiliar.c:

Go to the source code of this file.

Functions

GObject * get_obj (gchar *name)
 
GtkWidget * get_wg (gchar *name)
 
GtkWindow * get_win (gchar *name)
 
void set_wg_bg_color (GtkWidget *widget, gchar *bg_color)
 
void set_pixmap (gchar *widget, gchar *image)
 
void assert_user_dir ()
 
gint compare_string_function (gconstpointer a, gconstpointer b)
 

Variables

GtkBuilder * gui
 

Function Documentation

◆ assert_user_dir()

◆ compare_string_function()

gint compare_string_function ( gconstpointer  a,
gconstpointer  b 
)

Definition at line 120 of file auxiliar.c.

Referenced by keyb_get_layout_list_from_path().

◆ get_obj()

GObject* get_obj ( gchar *  name)

Definition at line 30 of file auxiliar.c.

References gui, and name.

Referenced by main_window_init().

◆ get_wg()

GtkWidget* get_wg ( gchar *  name)

Definition at line 40 of file auxiliar.c.

References gui, and name.

Referenced by adapt_comment(), adapt_draw_random_pattern(), basic_comment(), basic_draw_lesson(), basic_init_char_set(), cursor_advance(), cursor_get_char(), cursor_off(), cursor_on(), cursor_paint_char(), cursor_switch_off(), cursor_switch_on(), fluid_comment(), fluid_init(), hints_set_tips(), hints_update_from_button(), hints_update_from_char(), keyb_change_key(), keyb_create_virtual_keys(), keyb_edit_button(), keyb_intro_step(), keyb_mode_edit(), keyb_mode_get_name(), keyb_mode_hint(), keyb_mode_intro(), keyb_remove_user_layout(), keyb_set_combo_kbd(), keyb_set_combo_kbd_variant(), keyb_set_modified_status(), keyb_set_sensitive(), keyb_update_combos(), keyb_update_from_variant(), keyb_update_virtual_layout(), main_window_init(), on_button_about_clicked(), on_button_confirm_no_clicked(), on_button_confirm_yes_clicked(), on_button_filechooser_cancel_clicked(), on_button_filechooser_open_clicked(), on_button_hints_close_clicked(), on_button_kb_remove_clicked(), on_button_kb_save_clicked(), on_button_keyboard_cancel_clicked(), on_button_keyboard_close_clicked(), on_button_keyboard_hands_clicked(), on_button_other_apply_clicked(), on_button_other_cancel_clicked(), on_button_other_new_clicked(), on_button_other_paste_clicked(), on_button_other_remove_clicked(), on_button_stat_close_clicked(), on_button_stat_reset_clicked(), on_button_top10_close_clicked(), on_button_top10_expand_clicked(), on_button_top10_go_www_clicked(), on_button_top10_noexpand_clicked(), on_button_top10_publish_clicked(), on_button_top10_update_clicked(), on_button_tutor_back_clicked(), on_button_tutor_other_clicked(), on_button_tutor_show_keyb_clicked(), on_button_tutor_stat_clicked(), on_button_tutor_top10_clicked(), on_combobox_kbd_country_changed(), on_combobox_kbd_variant_changed(), on_combobox_keyboard_country_changed(), on_combobox_keyboard_variant_changed(), on_combobox_language_changed(), on_combobox_stat_module_changed(), on_combobox_stat_type_changed(), on_combobox_top10_language_changed(), on_dialog_confirm_show(), on_entry_custom_basic_lesson_activate(), on_entry_other_rename_changed(), on_eventbox_lesson_minus(), on_eventbox_lesson_plus(), on_eventbox_stat_minus(), on_eventbox_stat_plus(), on_fontbutton_tutor_font_set(), on_spinbutton_stat_lesson_value_changed(), on_text_tutor_realize(), on_toggle_shift1_toggled(), on_toggle_shift2_toggled(), on_togglebutton_edit_basic_lesson_toggled(), on_treeview_other_cursor_changed(), on_virtual_key_clicked(), on_virtual_key_grab_focus(), plot_draw_chart(), plot_initialize(), plot_pointer_update(), set_pixmap(), top10_global_publish(), top10_global_update(), top10_init(), top10_message(), top10_show_stats(), trans_change_language(), trans_set_combo_language(), tutor_calc_stats(), tutor_char_distribution_approved(), tutor_draw_paragraph(), tutor_init(), tutor_load_list_other(), tutor_message(), tutor_process_touch(), tutor_speak_string(), tutor_update_intro(), tutor_update_start(), and velo_comment().

◆ get_win()

◆ set_pixmap()

void set_pixmap ( gchar *  widget,
gchar *  image 
)

Definition at line 87 of file auxiliar.c.

References get_wg(), and main_path_data().

Referenced by hints_update_from_button(), hints_update_from_char(), and main_window_init().

◆ set_wg_bg_color()

void set_wg_bg_color ( GtkWidget *  widget,
gchar *  bg_color 
)

Definition at line 62 of file auxiliar.c.

Referenced by tutor_update_intro(), and tutor_update_start().

Variable Documentation

◆ gui

GtkBuilder* gui
extern

Variables

Definition at line 39 of file main.c.

Referenced by get_obj(), get_wg(), get_win(), main(), and main_gtkbuilder_translation_workaround().