ui.h File Reference

Common user interface related functions for the GTK+ frontend of cdebconf (header). More...

#include <gtk/gtk.h>
#include "frontend.h"
#include "question.h"

Include dependency graph for ui.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

gboolean fe_gtk_create_main_window (struct frontend *fe)
 Create the main window.
void fe_gtk_destroy_main_window (struct frontend *fe)
 Destroy the main window.
void fe_gtk_update_frontend_title (struct frontend *fe)
 Update the title on top of the frontend window.
void fe_gtk_show_buttons (struct frontend *fe)
 Show buttons in the main window.
void fe_gtk_show_target_box (struct frontend *fe)
 Show the target box.
void fe_gtk_empty_target_box (struct frontend *fe)
 Remove every widgets inside the target box.


Detailed Description

Common user interface related functions for the GTK+ frontend of cdebconf (header).

Definition in file ui.h.


Function Documentation

gboolean fe_gtk_create_main_window ( struct frontend *  fe  ) 

Create the main window.

When the main window is destroyed (e.g. by user closing it) handle_closed_main_window() will be called.

Parameters:
fe cdebconf frontend
Returns:
FALSE in case of errors

Definition at line 294 of file ui.c.

References create_main_widgets(), handle_closed_main_window(), and frontend_data::window.

Referenced by fe_gtk_initialize().

void fe_gtk_destroy_main_window ( struct frontend *  fe  ) 

Destroy the main window.

Parameters:
fe cdebconf frontend

Definition at line 367 of file ui.c.

References frontend_data::window.

Referenced by fe_gtk_shutdown().

void fe_gtk_empty_target_box ( struct frontend *  fe  ) 

Remove every widgets inside the target box.

Parameters:
fe cdebconf frontend
See also:
frontend_data::target_box

Definition at line 576 of file ui.c.

References frontend_data::target_box.

Referenced by fe_gtk_go().

void fe_gtk_show_buttons ( struct frontend *  fe  ) 

Show buttons in the main window.

Parameters:
fe cdebconf frontend

Definition at line 513 of file ui.c.

References frontend_data::action_box.

Referenced by fe_gtk_go().

void fe_gtk_show_target_box ( struct frontend *  fe  ) 

Show the target box.

Parameters:
fe cdebconf frontend
See also:
frontend_data::target_box

Definition at line 564 of file ui.c.

References frontend_data::target_box.

Referenced by fe_gtk_go().

void fe_gtk_update_frontend_title ( struct frontend *  fe  ) 

Update the title on top of the frontend window.

Parameters:
fe cdebconf frontend

Definition at line 549 of file ui.c.

References frontend_data::title.

Referenced by fe_gtk_di_run_dialog(), and fe_gtk_set_title().


Generated on Sat Jul 7 23:41:42 2007 for fe_gtk by  doxygen 1.5.1