cong-glade

cong-glade

Functions

Types and Values

extern CongDocument * global_glade_doc_ptr
extern CongNodePtr global_glade_node_ptr

Description

Functions

cong_util_load_glade_file ()

GladeXML *
cong_util_load_glade_file (const gchar *filename,
                           const gchar *root,
                           CongDocument *doc,
                           CongNodePtr node);

Convenience function for loading interfaces using libglade.

Converts the filename from a datadir-relative path to an installed path internally, and sets up the CongDocument and node pointers (if any) so that custom widgets can wire themselves up properly.

Parameters

filename

Datadir-relative path of the file, e.g. "conglomerate/glade/my-file.glade"

 

root

The root widget to be created, or NULL for all of them

 

doc

The CongDocument to be available to custom widgets, or NULL

 

node

The CongNodePtr to be available to custom widgets, or NULL

 

Returns

a freshly-loaded GladeXML interface; client must unref it.


create_cdata_editor ()

GtkWidget *
create_cdata_editor (GladeXML *xml,
                     gchar *func_name,
                     gchar *name,
                     gchar *string1,
                     gchar *string2,
                     gint int1,
                     gint int2,
                     gpointer user_data);

TODO: Write me


create_enumeration_editor ()

GtkWidget *
create_enumeration_editor (GladeXML *xml,
                           gchar *func_name,
                           gchar *name,
                           gchar *string1,
                           gchar *string2,
                           gint int1,
                           gint int2,
                           gpointer user_data);


create_lang_editor ()

GtkWidget *
create_lang_editor (GladeXML *xml,
                    gchar *func_name,
                    gchar *name,
                    gchar *string1,
                    gchar *string2,
                    gint int1,
                    gint int2,
                    gpointer user_data);

TODO: Write me


cong_bind_radio_button ()

void
cong_bind_radio_button (GtkRadioButton *radio_button,
                        CongDocument *doc,
                        CongNodePtr node,
                        xmlNs *ns_ptr,
                        const gchar *attribute_name,
                        const gchar *attribute_value);

TODO: Write me


cong_bind_check_button ()

void
cong_bind_check_button (GtkCheckButton *check_button,
                        CongDocument *doc,
                        CongNodePtr node,
                        xmlNs *ns_ptr,
                        const gchar *attribute_name,
                        const gchar *attribute_value_unchecked,
                        const gchar *attribute_value_checked);

TODO: Write me

Types and Values

global_glade_doc_ptr

extern CongDocument *global_glade_doc_ptr;


global_glade_node_ptr

extern CongNodePtr global_glade_node_ptr;