grim/guifications1
Clone
Summary
Browse
Changes
Graph
hmmm cleanup or new code.. more cleanup
2003-12-29, grim
6262e0b52b3f
hmmm cleanup or new code.. more cleanup
/*
Guifications - The notification plugin to end all notification plugins!
Copyright (C) 2003 Gary Kramlich
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#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__ */