grim/guifications1
Clone
Summary
Browse
Changes
Graph
close this branch since the hg conversion opened it again (this was the original branch name from my initial cvs import back in 2003)
grim
2010-12-15, Gary Kramlich
8b1160fe3870
close this branch since the hg conversion opened it again (this was the original branch name from my initial cvs import back in 2003)
#ifndef __GRIM_DIR_TREE_VIEW__
#define __GRIM_DIR_TREE_VIEW__
#include
<glib.h>
#include
<glib-object.h>
#include
<gtk/gtktreeview.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/* __cplusplus */
#define GRIM_TYPE_DIR_TREE_VIEW (grim_dir_tree_view_get_type ())
#define GRIM_DIR_TREE_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GRIM_TYPE_DIR_TREE_VIEW, GrimDirTreeView))
#define GRIM_DIR_TREE_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GRIM_TYPE_DIR_TREE_VIEW, GrimDirTreeViewClass))
#define GRIM_IS_DIR_TREE_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GRIM_TYPE_DIR_TREE_VIEW))
#define GRIM_IS_DIR_TREE_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GRIM_TYPE_DIR_TREE_VIEW))
#define GRIM_DIR_TREE_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GRIM_TYPE_DIR_TREE_VIEW, GrimDirTreeViewClass))
typedef
struct
_GrimDirTreeView
GrimDirTreeView
;
typedef
struct
_GrimDirTreeViewClass
GrimDirTreeViewClass
;
struct
_GrimDirTreeView
{
GtkTreeView
tree_view
;
GtkTreeStore
*
store
;
gboolean
show_hidden
;
};
struct
_GrimDirTreeViewClass
{
GtkTreeViewClass
parent_class
;
};
/* creators */
GType
grim_dir_tree_view_get_type
(
void
);
GtkWidget
*
grim_dir_tree_view_new
(
void
);
/* Accessors */
const
gchar
*
grim_dir_tree_view_get_path
(
GrimDirTreeView
*
dir_tree_view
);
gboolean
grim_dir_tree_view_set_path
(
GrimDirTreeView
*
dir_tree_view
,
const
gchar
*
path
);
void
grim_dir_tree_view_set_show_hidden
(
GrimDirTreeView
*
dir_tree_view
,
gboolean
value
);
gboolean
grim_dir_tree_view_get_show_hidden
(
GrimDirTreeView
*
dir_tree_view
);
#ifdef __cplusplus
}
#endif
/* __cplusplus */
#endif
/* __GTK_DIR_TREE_VIEW__ */