function must have two arguments; the widget created by this
function, and DATA.
+ The widget returned is actually a GtkScrolledWindow widget
+ that contains a GtkTreeView widget. You can get this
+ GtkTreeView widget by mim_config_get_tree_view () function.
+
gboolean mim_config_modified (GtkWidget *config)
The mim_config_modified () function checks if there are any
to save, FALSE is returned. The argument CONFIG must be what
created by mim_config_new ().
+GtkTreeView *mim_config_get_tree_view (GtkWidget *config)
+
+ The mim_config_get_tree_view () function returns the
+ GtkTreeView widget used in the widget created by
+ mim_config_new ().
+
(3-2) Compiling and Linking
As this package provides pkgconfig data, you can see compiler and
extern gboolean mim_config_modified (GtkWidget *config);
extern gboolean mim_config_revert (GtkWidget *config);
extern gboolean mim_config_save (GtkWidget *config);
+extern GtkTreeView *mim_config_get_tree_view (GtkWidget *config);
G_END_DECLS
gtk_tree_model_foreach (model, set_as_saved, config_status);
return TRUE;
}
+
+GtkTreeView *
+mim_config_get_tree_view (GtkWidget *config)
+{
+ GtkTreeView *tree;
+
+ tree = g_object_get_data (G_OBJECT (config), CONFIG_TREE_VIEW);
+ return tree;
+}