heraia/trunk/libheraia/plugin_list.c File Reference

#include <libheraia.h>

Include dependency graph for plugin_list.c:

Go to the source code of this file.

Functions

static gboolean delete_plw_window_event (GtkWidget *widget, GdkEvent *event, gpointer data)
static void destroy_plw_window (GtkWidget *widget, GdkEvent *event, gpointer data)
static void plw_close_clicked (GtkWidget *widget, gpointer data)
static void plw_refresh_clicked (GtkWidget *widget, gpointer data)
static void mw_cmi_plw_toggle (GtkWidget *widget, gpointer data)
static void pn_treeview_selection_changed_cb (GtkTreeSelection *selection, gpointer data)
static void plugin_list_window_connect_signals (heraia_window_t *main_window)
static void init_plugin_name_tv (heraia_window_t *main_window)
static void print_plugin_basics (GtkTextView *textview, heraia_plugin_t *plugin)
static void print_plugin_interface (GtkTextView *textview, heraia_plugin_t *plugin)
static void print_plugin_filter_structure (GtkTextView *textview, heraia_plugin_t *plugin)
static void print_plugin_functions (GtkTextView *textview, heraia_plugin_t *plugin)
static void print_plugin_info_structure (GtkTextView *textview, heraia_plugin_t *plugin)
static void print_plugin_extra_structure (GtkTextView *textview, heraia_plugin_t *plugin)
static void print_plugin_state (GtkTextView *textview, heraia_plugin_t *plugin)
void plugin_list_window_init_interface (heraia_window_t *main_window)


Function Documentation

static gboolean delete_plw_window_event ( GtkWidget *  widget,
GdkEvent *  event,
gpointer  data 
) [static]

Signal handler called when the user closes the window

Definition at line 49 of file plugin_list.c.

References plw_close_clicked().

Referenced by plugin_list_window_connect_signals().

Here is the call graph for this function:

static void destroy_plw_window ( GtkWidget *  widget,
GdkEvent *  event,
gpointer  data 
) [static]

Definition at line 56 of file plugin_list.c.

References plw_close_clicked().

Referenced by plugin_list_window_connect_signals().

Here is the call graph for this function:

static void init_plugin_name_tv ( heraia_window_t main_window  )  [static]

the function to init the first treeview (plugin names)

Definition at line 440 of file plugin_list.c.

References heraia_get_widget(), heraia_plugin_t::info, log_message(), xml_t::main, plugin_info_t::name, heraia_window_t::plugins_list, PNTV_COLUMN_NAME, PNTV_N_COLUMNS, and heraia_window_t::xmls.

Referenced by plugin_list_window_init_interface(), and plw_refresh_clicked().

Here is the call graph for this function:

static void mw_cmi_plw_toggle ( GtkWidget *  widget,
gpointer  data 
) [static]

When the toggle button 'Liste des plugins' is toggled !

Definition at line 90 of file plugin_list.c.

References heraia_get_widget(), xml_t::main, move_and_show_dialog_box(), all_window_prop_t::plugin_list, record_and_hide_dialog_box(), heraia_window_t::win_prop, and heraia_window_t::xmls.

Referenced by plugin_list_window_connect_signals().

Here is the call graph for this function:

static void plugin_list_window_connect_signals ( heraia_window_t main_window  )  [static]

void plugin_list_window_init_interface ( heraia_window_t main_window  ) 

the function to init the plugin_list_window interface

Definition at line 489 of file plugin_list.c.

References init_plugin_name_tv(), and plugin_list_window_connect_signals().

Referenced by init_heraia_plugin_system().

Here is the call graph for this function:

static void plw_close_clicked ( GtkWidget *  widget,
gpointer  data 
) [static]

Closing the window effectively

Definition at line 64 of file plugin_list.c.

References heraia_get_widget(), xml_t::main, all_window_prop_t::plugin_list, record_and_hide_dialog_box(), heraia_window_t::win_prop, and heraia_window_t::xmls.

Referenced by delete_plw_window_event(), destroy_plw_window(), and plugin_list_window_connect_signals().

Here is the call graph for this function:

static void plw_refresh_clicked ( GtkWidget *  widget,
gpointer  data 
) [static]

Refreshing the window effectively

Definition at line 77 of file plugin_list.c.

References heraia_get_widget(), init_plugin_name_tv(), kill_text_from_textview(), xml_t::main, and heraia_window_t::xmls.

Referenced by plugin_list_window_connect_signals().

Here is the call graph for this function:

static void pn_treeview_selection_changed_cb ( GtkTreeSelection *  selection,
gpointer  data 
) [static]

static void print_plugin_basics ( GtkTextView *  textview,
heraia_plugin_t plugin 
) [static]

adds to the textview the relevant informations about the plugin basics !

Definition at line 282 of file plugin_list.c.

References add_text_to_textview(), plugin_info_t::api_version, heraia_plugin_t::filename, heraia_plugin_t::handle, heraia_plugin_t::info, and heraia_plugin_t::path.

Referenced by pn_treeview_selection_changed_cb().

Here is the call graph for this function:

static void print_plugin_extra_structure ( GtkTextView *  textview,
heraia_plugin_t plugin 
) [static]

adds to the textview the relevant informations about the plugin extra structure !

Definition at line 312 of file plugin_list.c.

References add_text_to_textview(), and heraia_plugin_t::extra.

Referenced by pn_treeview_selection_changed_cb().

Here is the call graph for this function:

static void print_plugin_filter_structure ( GtkTextView *  textview,
heraia_plugin_t plugin 
) [static]

adds to the textview the relevant informations about the plugin filter structure !

Definition at line 223 of file plugin_list.c.

References add_text_to_textview(), plugin_filter_t::export, heraia_plugin_t::filter, and plugin_filter_t::import.

Referenced by pn_treeview_selection_changed_cb().

Here is the call graph for this function:

static void print_plugin_functions ( GtkTextView *  textview,
heraia_plugin_t plugin 
) [static]

adds to the textview the relevant informations about the plugin functions !

Definition at line 184 of file plugin_list.c.

References add_text_to_textview(), heraia_plugin_t::init_proc, heraia_plugin_t::quit_proc, heraia_plugin_t::refresh_proc, and heraia_plugin_t::run_proc.

Referenced by pn_treeview_selection_changed_cb().

Here is the call graph for this function:

static void print_plugin_info_structure ( GtkTextView *  textview,
heraia_plugin_t plugin 
) [static]

static void print_plugin_interface ( GtkTextView *  textview,
heraia_plugin_t plugin 
) [static]

adds to the textview the relevant informations about the plugin interface (xml) !

Definition at line 256 of file plugin_list.c.

References add_text_to_textview(), heraia_plugin_t::cmi_entry, and heraia_plugin_t::xml.

Referenced by pn_treeview_selection_changed_cb().

Here is the call graph for this function:

static void print_plugin_state ( GtkTextView *  textview,
heraia_plugin_t plugin 
) [static]

adds to the textview the relevant informations about the plugin state !

Definition at line 330 of file plugin_list.c.

References add_text_to_textview(), PLUGIN_STATE_EXITING, PLUGIN_STATE_INITIALIZING, PLUGIN_STATE_LOADED, PLUGIN_STATE_NEW, PLUGIN_STATE_NONE, PLUGIN_STATE_RUNNING, and heraia_plugin_t::state.

Referenced by pn_treeview_selection_changed_cb().

Here is the call graph for this function:


Generated on Sat Jan 17 20:57:50 2009 for Heraia by  doxygen 1.5.6