![]() |
![]() |
![]() |
Conglomerate Programmer's Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
CongApp * cong_app_singleton (void); void cong_app_construct_singleton (int argc, char *argv[]); void cong_app_destroy_singleton (void); int cong_app_post_init_hack (CongApp *app); gchar * cong_app_get_clipboard_xml_source (CongApp *app, GdkAtom selection, CongDocument *target_doc); void cong_app_set_clipboard_from_xml_fragment (CongApp *app, GdkAtom selection, const gchar *xml_fragment, CongDocument *source_doc); GnomeProgram * cong_app_get_gnome_program (CongApp *app); GtkTooltips * cong_app_get_tooltips (CongApp *app); CongFont * cong_app_get_font (CongApp *app, CongFontRole role); CongPluginManager * cong_app_get_plugin_manager (CongApp *app); CongDispspecRegistry * cong_app_get_dispspec_registry (CongApp *app); GConfClient * cong_app_get_gconf_client (CongApp *app); const GList * cong_app_get_language_list (CongApp *app);
CongApp * cong_app_singleton (void);
Returns : |
the singleton instance of CongApp |
void cong_app_construct_singleton (int argc, char *argv[]);
Construct the singleton instance of CongApp
|
|
|
int cong_app_post_init_hack (CongApp *app);
TODO: Write me
|
|
Returns : |
gchar * cong_app_get_clipboard_xml_source (CongApp *app, GdkAtom selection, CongDocument *target_doc);
This function interrogates the appropriate clipboard and attempts to get the content in the best possible format for the target document. It may attempt to do conversions, for example, converting <li> elements into <listitem> when pasting HTML into a DocBook document.
|
the CongApp |
|
should be either GDK_SELECTION_CLIPBOARD or GDK_SELECTION_PRIMARY |
|
the CongDocument into which the source is to be pasted |
Returns : |
void cong_app_set_clipboard_from_xml_fragment (CongApp *app, GdkAtom selection, const gchar *xml_fragment, CongDocument *source_doc);
This function takes the XML source and attempts to place it into the appropriate clipboard. It will attempt to make it available in a number of formats, and in the best possible way for each format. It may attempt to do conversions when it does this, e.g. generating pretty versions of bulleted lists for text, or converting to an HTML representation where appropriate.
The XML form of the source is not converted, but is wrapped in an <xml-fragment> top-level element and given a DOCTYPE declaration if available in the source document. So it should be well-formed, but not valid. Haven't yet specified what happens to entities.
|
the CongApp |
|
should be either GDK_SELECTION_CLIPBOARD or GDK_SELECTION_PRIMARY |
|
a fragment of XML source |
|
the CongDocument from which the source has been cut |
GnomeProgram * cong_app_get_gnome_program (CongApp *app);
TODO: Write me
|
|
Returns : |
GtkTooltips * cong_app_get_tooltips (CongApp *app);
TODO: Write me
|
|
Returns : |
CongFont * cong_app_get_font (CongApp *app, CongFontRole role);
TODO: Write me
|
|
|
|
Returns : |
CongPluginManager * cong_app_get_plugin_manager (CongApp *app);
TODO: Write me
|
|
Returns : |
CongDispspecRegistry * cong_app_get_dispspec_registry (CongApp *app);
TODO: Write me
|
|
Returns : |
GConfClient * cong_app_get_gconf_client (CongApp *app);
TODO: Write me
|
|
Returns : |
const GList * cong_app_get_language_list (CongApp *app);
TODO: Write me
|
|
Returns : |