WSGuiAppData Struct Reference
[GUI]

struct which contains all components of application More...


Data Fields

HildonProgram * ws_gui_hildon_program
 handle to hildon program
HildonWindow * ws_gui_hildon_window
 handle to hildon window
gchar * welcome_note
 welcome note
GtkWidget * ws_gui_html
 translation (html) area
GtkWidget * ws_gui_hpane
 pane; it allows to divide window into two separate panels
HildonFindToolbar * ws_gui_hildon_find_toolbar
 find toolbar (placed at the bottom of the window)
GtkToolItem * ws_gui_toobar_button_close
 close button at the find toolbar
GtkToolItem * ws_gui_toobar_button_back
 back button at the find toolbar (history navigator)
GtkToolItem * ws_gui_toobar_button_forward
 next button at the find toolbar (history navigator)
GtkToolItem * ws_gui_toobar_button_stop
 stop butoon at the find toolbar (allows to stop searching)
GtkToolItem * ws_gui_toobar_button_start
 stop butoon at the find toolbar (allows to stop searching)
GtkWidget * ws_gui_banner_list_searching
 banner, displays message that searching is in progress
GtkWidget * ws_gui_banner_caching
 banner, displays message that caching is in progress
GtkWidget * ws_gui_banner_translation_loading
 banner, displays message that translation is loading
gboolean caching_flag
 flag; used when caching is being performed
gboolean loading
gboolean stop_clicked
GtkWidget * ws_gui_banner_extracting
GtkToolItem * ws_gui_toobar_button_hide
 button hide, allows to hide/show words list with button placed at find toolbar
GtkWidget * ws_gui_scrolledwindow_right
 right scrolledwindow (placed in right pane), necessary to provide scrollbars)
GtkWidget * ws_gui_scrolledwindow_left
 scrollwindow (placed in left pane), necessary to provide scrollbars)
GtkWidget * ws_gui_list_vbox
GtkWidget * ws_gui_list_hbox
GtkWidget * ws_gui_list_label
GtkWidget * ws_gui_list_eventbox
GtkWidget * ws_gui_list_image
gchar * ws_gui_html_source
 string which contains html content (translation of word)
GtkAdjustment * ws_gui_vadj
 vertical adjustment of left scrolledwindow (necessary to provide navigation (kardware keys) inside words list)
GtkAdjustment * ws_gui_hadj
 horizontal adjustment of left scrolledwindow (necessary to provide navigation (kardware keys) inside words list)
gdouble v_delta
 variable used for moving vertical scrollbar in words list
gdouble v_new_value
 variable used for moving vertical scrollbar in words list
gdouble h_delta
 variable used for moving horizontal scrollbar in words list
gdouble h_new_value
 variable used for moving horizontal scrollbar in words list
gdouble cur_vadj
 current vertical adjustment of vertical scrollbar in words list
gdouble prev_vadj
 previous vertical adjustment of vertical scrollbar in words list
gdouble cur_hadj
 current vertical adjustment of horizontal scrollbar in words list
gdouble prev_hadj
 previous vertical adjustment of horizontal scrollbar in words list
GArray * ws_gui_history
 words history
GArray * ws_gui_history_list
GArray * ws_gui_history_iter
GArray * ws_gui_history_bookmarks
gboolean history_flag
gint ws_gui_history_cur_pos
 current position in words history array
WSGuiMenuws_gui_menu
 structure responsible for menus
WSGuiListws_gui_w_list
 structure responsible for words list
gboolean ws_gui_banner_flag
 flag; used for notifing if searching is in progress and banner has to be displaying
gboolean ws_gui_full_screen_flag
 flag; used for informing if fullscreen mode is active
gboolean ws_gui_double_click
 flag; necessary to recognize double click
gboolean ws_gui_sel_flag
 flag; used to identify selected text
WSDBusDatadbus_data
 DBUS declaration.
GtkWidget * ws_message_dialog
 message dialogs; used for informing user about errors
GSList * directories
 list consist of directories previously read from gconf
GSList * directories_last
 list consist of directories previously read from gconf
GConfClient * client
 variable necessary to read from gconf
GtkClipboard * ws_gui_clipboard
 application clipboard (available outside the application as well)
GtkClipboard * ws_gui_clipboard_primary
PangoFontDescription * p
 schema, which allows to format text on widgets
GtkWidget * licence_dialog
 variable necessary to create license dialog
GTimer * timer
 timer, counts how long user press button (stylus)
GArray * bookmarks_list
 array wchich contains bookmarked words
gboolean bookmark_on
 flag which switch beetween bookmark and normal mode
gchar * word_book
 word added to the bookmarks
gchar * translation_book
 translation of the word added to bookmarks
gboolean bookmark_avail
 flag, denpends on availablity of bookmarks module
gboolean bookmark_mode
 flag, shows either bookmarks mode is on or off
gchar * last_word
 stores last choosen word on the words list (necessary for bookmarks)
GString * raw_translation
 stores current translation, if user wants to add it to bookmarks
gchar * last_searched
gchar * last_searched_in_book
gdouble zoom
gboolean html_flag
gboolean no_words_found
gboolean first_run


Detailed Description

struct which contains all components of application

here are placed all components of main window, toolbar, structures responsible for menus and variables responsible for adjustments, words history, banners, message dialogs and everything what user can see and use

Definition at line 208 of file ws_gui.h.


Field Documentation

HildonProgram* WSGuiAppData::ws_gui_hildon_program

handle to hildon program

Definition at line 209 of file ws_gui.h.

Referenced by ws_gui_create_window().


The documentation for this struct was generated from the following file:
Generated on Fri Jan 11 14:30:18 2008 for mDictionary Project by  doxygen 1.5.1