| Conglomerate Programmer's Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
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);
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.
|
Datadir-relative path of the file, e.g. "conglomerate/glade/my-file.glade" |
|
The root widget to be created, or NULL for all of them |
|
The CongDocument to be available to custom widgets, or NULL |
|
The CongNodePtr to be available to custom widgets, or NULL |
Returns : |
a freshly-loaded GladeXML interface; client must unref it. |
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
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);
TODO: Write me
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
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