frontend_data Struct Reference

A structure holding specific data of the GTK+ frontend. More...

#include <fe_data.h>

Collaboration diagram for frontend_data:

Collaboration graph
[legend]

Data Fields

GtkWidget * window
 Main window of the frontend.
GtkWidget * title
 Label used to display frontend's title.
progress_dataprogress_data
 Internal data of the handler of progress commands.
settersetters
 Start of the single linked list of "setter" functions ran after users have validated their choice.
GtkWidget * action_box
 Container for main buttons.
GtkWidget * target_box
 Container for either the questions widgets or the progress widgets.
GThread * event_listener
 Event listener thread.
int answer
 Answer to the current debconf command.
GCond * answer_cond
 Allow non-blocking wait on the frontend answer.
GMutex * answer_mutex
 Lock around the frontend answer.
GHashTable * plugins
 Associates question type and plugins.
di_datadi_data
 Internal data for specific handling related to the debian-installer.

Detailed Description

A structure holding specific data of the GTK+ frontend.

It is normally accessed by the "data" field of "struct frontend".

Definition at line 52 of file fe_data.h.


Field Documentation

GtkWidget* frontend_data::title

Label used to display frontend's title.

See also:
fe_gtk_update_frontend_title()

fe_gtk_set_title()

Definition at line 62 of file fe_data.h.

Referenced by create_label_title(), destroy_frontend_data(), and fe_gtk_update_frontend_title().

struct progress_data* frontend_data::progress_data

Internal data of the handler of progress commands.

See also:
progress.c

Definition at line 68 of file fe_data.h.

Referenced by destroy_progress(), fe_gtk_go(), fe_gtk_hide_progress(), fe_gtk_progress_info(), fe_gtk_progress_set(), fe_gtk_progress_start(), fe_gtk_progress_stop(), fe_gtk_show_progress(), init_progress(), and update_progress_bar().

struct setter* frontend_data::setters

Start of the single linked list of "setter" functions ran after users have validated their choice.

See also:
struct setter

Definition at line 75 of file fe_data.h.

Referenced by call_setters(), fe_gtk_progress_start(), fe_gtk_register_setter(), and free_setters().

GThread* frontend_data::event_listener

Event listener thread.

See also:
create_event_listener_thread()

Definition at line 87 of file fe_data.h.

Referenced by create_event_listener_thread(), and fe_gtk_shutdown().

int frontend_data::answer

Answer to the current debconf command.

This is used by both GO and progress handlers to synchronize the frontend on user input.

See also:
fe_gtk_get_answer()

fe_gtk_set_answer()

Definition at line 97 of file fe_data.h.

Referenced by fe_gtk_get_answer(), fe_gtk_go(), fe_gtk_progress_info(), fe_gtk_progress_set(), fe_gtk_set_answer(), and wait_answer().

GCond* frontend_data::answer_cond

Allow non-blocking wait on the frontend answer.

See also:
frontend_data::answer

wait_answer()

Definition at line 104 of file fe_data.h.

Referenced by create_frontend_data(), fe_gtk_set_answer(), and wait_answer().

GMutex* frontend_data::answer_mutex

Lock around the frontend answer.

See also:
frontend_data::answer

Definition at line 110 of file fe_data.h.

Referenced by create_frontend_data(), fe_gtk_get_answer(), fe_gtk_set_answer(), and wait_answer().

GHashTable* frontend_data::plugins

Associates question type and plugins.

This table also serves as a cache, preventing us to load the same plugins again and again.

See also:
find_external_handler()

Definition at line 119 of file fe_data.h.

Referenced by create_frontend_data(), destroy_frontend_data(), and find_external_handler().

struct di_data* frontend_data::di_data

Internal data for specific handling related to the debian-installer.

See also:
di.c

Definition at line 126 of file fe_data.h.

Referenced by fe_gtk_di_run_dialog(), fe_gtk_di_setup(), and fe_gtk_di_shutdown().


The documentation for this struct was generated from the following file:
Generated on Sat Jul 7 23:41:42 2007 for fe_gtk by  doxygen 1.5.1