navit  0.5.1-trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups
widget Struct Reference

#include <gui_internal_widget.h>

Data Fields

enum widget_type type
 
struct graphics_gcbackground
 
struct graphics_gctext_background
 
struct graphics_gcforeground_frame
 
struct graphics_gcforeground
 
char * text
 
struct graphics_imageimg
 
void(* func )(struct gui_priv *priv, struct widget *widget, void *data)
 
enum gui_internal_reason reason
 
int datai
 
void * data
 
void(* data_free )(void *data)
 A function to deallocate data. More...
 
void(* wfree )(struct gui_priv *this_, struct widget *w)
 a function that will be called as the widget is being destroyed. This function can act as a destructor for the widget. It allows for on deallocation actions to be specified on a per widget basis. This function will call g_free on the widget (if required). More...
 
char * prefix
 
char * name
 
char * speech
 
char * command
 
struct pcoord c
 
struct item item
 
int selection_id
 
int state
 
struct point p
 
int wmin
 
int hmin
 
int w
 
int h
 
int textw
 
int texth
 
int font_idx
 
int bl
 
int br
 
int bt
 
int bb
 
int spx
 
int spy
 
int border
 
int packed
 
int cols
 
enum flags flags
 
int flags2
 
void * instance
 
int(* set_attr )(void *, struct attr *)
 
int(* get_attr )(void *, enum attr_type, struct attr *, struct attr_iter *)
 
void(* remove_cb )(void *, struct callback *cb)
 
struct callbackcb
 
struct attr on
 
struct attr off
 
int deflt
 
int is_on
 
int redraw
 
struct menu_datamenu_data
 
struct formform
 
GListchildren
 
struct widgetparent
 
struct scroll_buttonsscroll_buttons
 

Field Documentation

int widget::border
int widget::cols

The number of widgets to layout horizontally when doing a orientation_horizontal_vertical layout

Referenced by gui_internal_box_pack(), gui_internal_cmd_pois_selector(), and gui_internal_keyboard_do().

void* widget::data

Referenced by gui_internal_box_pack(), gui_internal_box_render(), gui_internal_button_attr_update(), gui_internal_button_font_new_with_callback(), gui_internal_call_linked_on_finish(), gui_internal_cmd_add_bookmark2(), gui_internal_cmd_add_bookmark_clicked(), gui_internal_cmd_add_bookmark_folder2(), gui_internal_cmd_add_bookmark_folder_clicked(), gui_internal_cmd_bookmarks(), gui_internal_cmd_enter_coord(), gui_internal_cmd_enter_coord_clicked(), gui_internal_cmd_formerdests(), gui_internal_cmd_keypress(), gui_internal_cmd_log(), gui_internal_cmd_log_clicked(), gui_internal_cmd_pois(), gui_internal_cmd_pois_filter(), gui_internal_cmd_pois_filter_do(), gui_internal_cmd_pois_item(), gui_internal_cmd_pois_more(), gui_internal_cmd_position(), gui_internal_cmd_position_do(), gui_internal_cmd_rename_bookmark(), gui_internal_cmd_rename_bookmark_clicked(), gui_internal_cmd_results_to_map(), gui_internal_cmd_return(), gui_internal_cmd_set_active_vehicle(), gui_internal_cmd_show_nmea_data(), gui_internal_cmd_show_satellite_status(), gui_internal_cmd_vehicle_settings(), gui_internal_compute_table_dimensions(), gui_internal_create_resultlist_entry(), gui_internal_find_widget(), gui_internal_gesture_do(), gui_internal_highlight(), gui_internal_highlight_do(), gui_internal_highlight_possible_keys(), gui_internal_html_submit(), gui_internal_html_submit_set(), gui_internal_keyboard_change(), gui_internal_keyboard_do(), gui_internal_keyboard_hide_native(), gui_internal_keyboard_show_native(), gui_internal_keynav_find_closest(), gui_internal_keynav_find_next(), gui_internal_keynav_find_prev(), gui_internal_keypress_do(), gui_internal_menu_data(), gui_internal_menu_render(), gui_internal_menu_reset_pack(), gui_internal_motion_cb(), gui_internal_populate_route_table(), gui_internal_prune_menu_count(), gui_internal_prune_menu_do(), gui_internal_search_idle(), gui_internal_set_data(), gui_internal_table_button_next(), gui_internal_table_button_prev(), gui_internal_table_hide_rows(), gui_internal_table_pack(), gui_internal_table_render(), gui_internal_top_bar(), gui_internal_widget_children_destroy(), gui_internal_widget_destroy(), gui_internal_widget_reset_pack(), gui_internal_widget_table_clear(), gui_internal_widget_table_new(), gui_internal_widget_table_set_top_row(), and gui_internal_widget_table_top_row().

int widget::flags2
int widget::font_idx
struct graphics_gc* widget::foreground_frame
struct form* widget::form
int widget::hmin
int widget::packed
struct scroll_buttons* widget::scroll_buttons
struct graphics_gc * widget::text_background
int widget::texth
int widget::w

Referenced by gui_internal_background_render(), gui_internal_box_pack(), gui_internal_box_render(), gui_internal_call_linked_on_finish(), gui_internal_cmd2_about(), gui_internal_cmd2_locale(), gui_internal_cmd2_network_info(), gui_internal_cmd2_pois(), gui_internal_cmd2_route_description(), gui_internal_cmd2_route_height_profile(), gui_internal_cmd2_setting_layout(), gui_internal_cmd2_setting_maps(), gui_internal_cmd2_setting_rules(), gui_internal_cmd2_setting_vehicle(), gui_internal_cmd_add_bookmark2(), gui_internal_cmd_add_bookmark_folder2(), gui_internal_cmd_bookmarks(), gui_internal_cmd_enter_coord(), gui_internal_cmd_formerdests(), gui_internal_cmd_log(), gui_internal_cmd_main_menu(), gui_internal_cmd_map_download(), gui_internal_cmd_map_download_do(), gui_internal_cmd_pois(), gui_internal_cmd_pois_filter(), gui_internal_cmd_pois_filter_do(), gui_internal_cmd_pois_more(), gui_internal_cmd_pois_selector(), gui_internal_cmd_position_do(), gui_internal_cmd_rename_bookmark(), gui_internal_cmd_rename_bookmark_clicked(), gui_internal_cmd_results_to_map(), gui_internal_cmd_show_nmea_data(), gui_internal_cmd_show_satellite_status(), gui_internal_cmd_view_attribute_details(), gui_internal_cmd_view_attributes(), gui_internal_compute_table_dimensions(), gui_internal_find_widget(), gui_internal_highlight_do(), gui_internal_html_text(), gui_internal_image_new(), gui_internal_image_render(), gui_internal_keyboard_do(), gui_internal_keyboard_key_data(), gui_internal_keyboard_show_native(), gui_internal_keynav_find_closest(), gui_internal_keynav_point(), gui_internal_keypress_do(), gui_internal_label_font_new(), gui_internal_label_new_abbrev(), gui_internal_label_render(), gui_internal_menu(), gui_internal_menu_vehicle_settings(), gui_internal_prune_menu_count(), gui_internal_resize(), gui_internal_search(), gui_internal_select_waypoint(), gui_internal_table_button_prev(), gui_internal_table_hide_rows(), gui_internal_table_pack(), gui_internal_table_render(), gui_internal_time_help(), gui_internal_top_bar(), and gui_internal_widget_reset_pack().

void(* widget::wfree)(struct gui_priv *this_, struct widget *w)

a function that will be called as the widget is being destroyed. This function can act as a destructor for the widget. It allows for on deallocation actions to be specified on a per widget basis. This function will call g_free on the widget (if required).

Referenced by gui_internal_cmd2_route_description(), gui_internal_keyboard_show_native(), and gui_internal_widget_destroy().

int widget::wmin

The documentation for this struct was generated from the following file: