cong-glade

cong-glade

Synopsis

extern              CongDocument *global_glade_doc_ptr;
extern              CongNodePtr global_glade_node_ptr;
GladeXML *          cong_util_load_glade_file           (const gchar *filename,
                                                         const gchar *root,
                                                         CongDocument *doc,
                                                         CongNodePtr node);
GtkWidget *         create_cdata_editor                 (GladeXML *xml,
                                                         gchar *func_name,
                                                         gchar *name,
                                                         gchar *string1,
                                                         gchar *string2,
                                                         gint int1,
                                                         gint int2,
                                                         gpointer user_data);
GtkWidget *         create_enumeration_editor           (GladeXML *xml,
                                                         gchar *func_name,
                                                         gchar *name,
                                                         gchar *string1,
                                                         gchar *string2,
                                                         gint int1,
                                                         gint int2,
                                                         gpointer user_data);
GtkWidget *         create_lang_editor                  (GladeXML *xml,
                                                         gchar *func_name,
                                                         gchar *name,
                                                         gchar *string1,
                                                         gchar *string2,
                                                         gint int1,
                                                         gint int2,
                                                         gpointer user_data);
void                cong_bind_radio_button              (GtkRadioButton *radio_button,
                                                         CongDocument *doc,
                                                         CongNodePtr node,
                                                         xmlNs *ns_ptr,
                                                         const gchar *attribute_name,
                                                         const gchar *attribute_value);
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);

Description

Details

global_glade_doc_ptr

extern CongDocument *global_glade_doc_ptr;


global_glade_node_ptr

extern CongNodePtr global_glade_node_ptr;


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.

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

xml :

func_name :

name :

string1 :

string2 :

int1 :

int2 :

user_data :

Returns :


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);

xml :

func_name :

name :

string1 :

string2 :

int1 :

int2 :

user_data :

Returns :


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

xml :

func_name :

name :

string1 :

string2 :

int1 :

int2 :

user_data :

Returns :


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

radio_button :

doc :

node :

ns_ptr :

attribute_name :

attribute_value :


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

check_button :

doc :

node :

ns_ptr :

attribute_name :

attribute_value_unchecked :

attribute_value_checked :