![]() | ![]() | ![]() | Conglomerate Programmer's Reference Manual | ![]() |
---|
cong-ui-hooks —
GtkMenuItem* cong_menu_item_attach_callback_Document (GtkMenuItem *item, CongUICallback_Document callback, CongDocument *doc); void cong_menu_add_item (const gchar *parent_ui_path, GtkAction *action); void cong_ui_hook_file_import (GtkWindow *toplevel_window); void cong_ui_hook_file_export (CongDocument *doc, GtkWindow *toplevel_window); void cong_ui_hook_file_print_preview (CongDocument *doc, GtkWindow *toplevel_window); void cong_ui_hook_file_print (CongDocument *doc, GtkWindow *toplevel_window); void cong_ui_hook_edit_preferences (GtkWindow *toplevel_window); void cong_ui_hook_tree_new_sibling (CongDocument *doc, CongElementDescription *element_desc); void cong_ui_hook_tree_new_sub_element (CongDocument *doc, CongElementDescription *element_desc); void cong_ui_hook_tree_properties (CongDocument *doc, GtkWindow *parent_window); void cong_ui_hook_tree_cut (CongDocument *doc, GtkWindow *parent_window); void cong_ui_hook_tree_copy (CongDocument *doc, GtkWindow *parent_window); void cong_ui_hook_tree_paste_under (CongDocument *doc, GtkWindow *parent_window); void cong_ui_hook_tree_paste_before (CongDocument *doc, GtkWindow *parent_window); void cong_ui_hook_tree_paste_after (CongDocument *doc, GtkWindow *parent_window); void cong_ui_hook_tree_convert_to_comment (CongDocument *doc, GtkWindow *parent_window); void cong_ui_hook_tree_convert_from_comment (CongDocument *doc, GtkWindow *parent_window); gint toolbar_callback_open (GtkWidget *widget, gpointer data); gint toolbar_callback_new (GtkWidget *w, gpointer data); gint toolbar_callback_save (GtkWidget *w, gpointer data); gint toolbar_callback_cut (GtkWidget *w, gpointer data); gint toolbar_callback_copy (GtkWidget *w, gpointer data); gint toolbar_callback_paste (GtkWidget *w, gpointer data); void menu_callback_debug_error (gpointer callback_data, guint callback_action, GtkWidget *widget); void menu_callback_debug_document_types (gpointer callback_data, guint callback_action, GtkWidget *widget); void menu_callback_debug_transform_docbook_to_html (gpointer callback_data, guint callback_action, GtkWidget *widget); void menu_callback_debug_transform_docbook_to_xhtml (gpointer callback_data, guint callback_action, GtkWidget *widget); void menu_callback_debug_transform_docbook_to_html_help (gpointer callback_data, guint callback_action, GtkWidget *widget); void menu_callback_debug_transform_docbook_to_javahelp (gpointer callback_data, guint callback_action, GtkWidget *widget); void menu_callback_debug_transform_docbook_to_fo (gpointer callback_data, guint callback_action, GtkWidget *widget); void menu_callback_debug_preview_fo (gpointer callback_data, guint callback_action, GtkWidget *widget); void cong_gnome_print_render_xslfo (xmlDocPtr xml_doc, GnomePrintMaster *gpm); void menu_callback_debug_dtd (gpointer callback_data, guint callback_action, GtkWidget *widget); void menu_callback_debug_dialog (gpointer callback_data, guint callback_action, GtkWidget *widget); guint cong_menus_create_items (CongPrimaryWindow *primary_window); void editor_popup_show (GtkWidget *widget, GdkEventButton *bevent); void editor_popup_init (); void cong_ui_popup_init (CongDocument *doc, CongNodePtr node, GtkWindow *parent_window, CongPrimaryWindow *primary_window); char* tag_new_pick (); void open_document (GtkWindow *parent_window); gint save_document (CongDocument *doc, GtkWindow *parent_window); gint save_document_as (CongDocument *doc, GtkWindow *parent_window); char* pick_structural_tag (CongDispspec *ds); void open_document_do (const gchar *doc_name, GtkWindow *parent_window); void new_document (GtkWindow *parent_window); int gui_window_new_document_make (); GtkWidget* cong_gui_get_a_window (void); GtkWidget* cong_file_properties_dialog_new (CongDocument *doc, GtkWindow *parent_window);
GtkMenuItem* cong_menu_item_attach_callback_Document (GtkMenuItem *item, CongUICallback_Document callback, CongDocument *doc);
item : | |
callback : | |
doc : | |
Returns : |
void cong_menu_add_item (const gchar *parent_ui_path, GtkAction *action);
parent_ui_path : | |
action : |
void cong_ui_hook_file_import (GtkWindow *toplevel_window);
TODO: Write me
toplevel_window : |
void cong_ui_hook_file_export (CongDocument *doc, GtkWindow *toplevel_window);
Convert the document (doc
) to a different format. A dialog is
displayed that lists all the registered exporters for this document
type. If the user does not cancel then we check to see if a
filename was given; if it was not the user is returned to the
dialog, otherwise the chosen exporter is called.
Open issues include: how to inform the user of what is going on, and whether we allow the user to stop an exporter whilst it is processing.
doc : | |
toplevel_window : |
void cong_ui_hook_file_print_preview (CongDocument *doc, GtkWindow *toplevel_window);
TODO: Write me
doc : | |
toplevel_window : |
void cong_ui_hook_file_print (CongDocument *doc, GtkWindow *toplevel_window);
TODO: Write me
doc : | |
toplevel_window : |
void cong_ui_hook_edit_preferences (GtkWindow *toplevel_window);
Opens the Preferences dialog for Conglomerate
toplevel_window : |
void cong_ui_hook_tree_new_sibling (CongDocument *doc, CongElementDescription *element_desc);
TODO: Write me
doc : | |
element_desc : |
void cong_ui_hook_tree_new_sub_element (CongDocument *doc, CongElementDescription *element_desc);
TODO: Write me
doc : | |
element_desc : |
void cong_ui_hook_tree_properties (CongDocument *doc, GtkWindow *parent_window);
TODO: Write me
doc : | |
parent_window : |
void cong_ui_hook_tree_cut (CongDocument *doc, GtkWindow *parent_window);
TODO: Write me
doc : | |
parent_window : |
void cong_ui_hook_tree_copy (CongDocument *doc, GtkWindow *parent_window);
TODO: Write me
doc : | |
parent_window : |
void cong_ui_hook_tree_paste_under (CongDocument *doc, GtkWindow *parent_window);
TODO: Write me
doc : | |
parent_window : |
void cong_ui_hook_tree_paste_before (CongDocument *doc, GtkWindow *parent_window);
TODO: Write me
doc : | |
parent_window : |
void cong_ui_hook_tree_paste_after (CongDocument *doc, GtkWindow *parent_window);
TODO: Write me
doc : | |
parent_window : |
void cong_ui_hook_tree_convert_to_comment (CongDocument *doc, GtkWindow *parent_window);
doc : | |
parent_window : |
void cong_ui_hook_tree_convert_from_comment (CongDocument *doc, GtkWindow *parent_window);
doc : | |
parent_window : |
gint toolbar_callback_open (GtkWidget *widget, gpointer data);
TODO: Write me
widget : | |
data : | |
Returns : |
gint toolbar_callback_new (GtkWidget *w, gpointer data);
TODO: Write me
w : | |
data : | |
Returns : |
gint toolbar_callback_save (GtkWidget *w, gpointer data);
TODO: Write me
w : | |
data : | |
Returns : |
gint toolbar_callback_cut (GtkWidget *w, gpointer data);
w : | |
data : | |
Returns : |
gint toolbar_callback_copy (GtkWidget *w, gpointer data);
w : | |
data : | |
Returns : |
gint toolbar_callback_paste (GtkWidget *w, gpointer data);
w : | |
data : | |
Returns : |
void menu_callback_debug_error (gpointer callback_data, guint callback_action, GtkWidget *widget);
callback_data : | |
callback_action : | |
widget : |
void menu_callback_debug_document_types (gpointer callback_data, guint callback_action, GtkWidget *widget);
callback_data : | |
callback_action : | |
widget : |
void menu_callback_debug_transform_docbook_to_html (gpointer callback_data, guint callback_action, GtkWidget *widget);
callback_data : | |
callback_action : | |
widget : |
void menu_callback_debug_transform_docbook_to_xhtml (gpointer callback_data, guint callback_action, GtkWidget *widget);
callback_data : | |
callback_action : | |
widget : |
void menu_callback_debug_transform_docbook_to_html_help (gpointer callback_data, guint callback_action, GtkWidget *widget);
callback_data : | |
callback_action : | |
widget : |
void menu_callback_debug_transform_docbook_to_javahelp (gpointer callback_data, guint callback_action, GtkWidget *widget);
callback_data : | |
callback_action : | |
widget : |
void menu_callback_debug_transform_docbook_to_fo (gpointer callback_data, guint callback_action, GtkWidget *widget);
callback_data : | |
callback_action : | |
widget : |
void menu_callback_debug_preview_fo (gpointer callback_data, guint callback_action, GtkWidget *widget);
callback_data : | |
callback_action : | |
widget : |
void cong_gnome_print_render_xslfo (xmlDocPtr xml_doc, GnomePrintMaster *gpm);
xml_doc : | |
gpm : |
void menu_callback_debug_dtd (gpointer callback_data, guint callback_action, GtkWidget *widget);
callback_data : | |
callback_action : | |
widget : |
void menu_callback_debug_dialog (gpointer callback_data, guint callback_action, GtkWidget *widget);
callback_data : | |
callback_action : | |
widget : |
guint cong_menus_create_items (CongPrimaryWindow *primary_window);
TODO: Write me
primary_window : | |
Returns : |
void editor_popup_show (GtkWidget *widget, GdkEventButton *bevent);
TODO: Write me
widget : | |
bevent : |
void cong_ui_popup_init (CongDocument *doc, CongNodePtr node, GtkWindow *parent_window, CongPrimaryWindow *primary_window);
TODO: Write me
doc : | |
node : | |
parent_window : | |
primary_window : |
gint save_document (CongDocument *doc, GtkWindow *parent_window);
TODO: Write me
doc : | |
parent_window : | |
Returns : |
gint save_document_as (CongDocument *doc, GtkWindow *parent_window);
TODO: Write me
doc : | |
parent_window : | |
Returns : |
void open_document_do (const gchar *doc_name, GtkWindow *parent_window);
TODO: Write me
doc_name : | |
parent_window : |
GtkWidget* cong_file_properties_dialog_new (CongDocument *doc, GtkWindow *parent_window);
TODO: Write me
doc : | |
parent_window : | |
Returns : |
<< cong-edit-find-and-replace | CongXPathExpression >> |