![]() | ![]() | ![]() | [Insert name here] Reference Manual |
---|
interface —
GtkWidget* create_main_window (void); GtkWidget* create_menubar (GtkWidget *win); GtkWidget* create_gkdebconf_image (gchar *iname); void show_about_window (GtkWidget *main_window, gchar *msg, gchar *iname); void gk_dialog (GtkMessageType type, gchar *msg, ...); void set_description (GtkWidget *text, gchar *pkg); void gtk_list_store_set_strings (GtkListStore *store, GList *cflist); void list_item_selected (GtkTreeSelection *selection, gpointer data); void cf_select (GtkTreeSelection *selection, gpointer data); GtkWidget* gk_splash (void); void about_cb (GtkWidget *w, gpointer data); void gk_dialog_for_gconf (gchar *key, gchar *format, ...);
GtkWidget* create_main_window (void);
This function create the main window: fills package names and order them by sections fills desciptions fills frontends
Returns : | Pointer to the window created |
GtkWidget* create_menubar (GtkWidget *win);
Check if the last frontend should be remembered and what is it
win: | The window where the menubar will be |
Returns : | A widget with a menu bar filled. |
GtkWidget* create_gkdebconf_image (gchar *iname);
iname: | The file name that contains the image. |
Returns : | A widget with the image in. |
void show_about_window (GtkWidget *main_window, gchar *msg, gchar *iname);
This funcion just show about windows under main window. And on close back focus to main window.
main_window: | |
msg: | The about message. |
iname: | The file name that contains the image. |
void gk_dialog (GtkMessageType type, gchar *msg, ...);
Shows 'msg' in a dialog box with an OK button This function is to be a helper for functions needing to display some information to the user
type: | Type of the message. |
msg: | |
...: |
void set_description (GtkWidget *text, gchar *pkg);
text: | the gtk_text_view where description will be showed. |
pkg: | The package description. |
void gtk_list_store_set_strings (GtkListStore *store, GList *cflist);
store: | The gtkListStore Object that will be filled. |
cflist: |
void list_item_selected (GtkTreeSelection *selection, gpointer data);
Section list selection callback.
selection: | GtkTreeSelection that will receive data. |
data: | Glist with data that will be loaded on selection. |
void cf_select (GtkTreeSelection *selection, gpointer data);
Finds package from list with g_list_find_custom and selects package desciption from pkgdesc_list
selection: | GtkTreeSelection that will receive data. |
data: | Glist with data that will be loaded on selection. |
GtkWidget* gk_splash (void);
Show gkdebonf splash image and a laber under the image showing status.
Returns : |
<< config |