aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-tree-table-adapter.h
blob: 34e38c1fb7a22ce992c978c8136d37369ad091ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#ifndef _E_TREE_TABLE_ADAPTER_H_
#define _E_TREE_TABLE_ADAPTER_H_

#include <gtk/gtkobject.h>
#include <gal/e-table/e-table-model.h>
#include <gal/e-table/e-tree-model.h>

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#define E_TREE_TABLE_ADAPTER_TYPE        (e_tree_table_adapter_get_type ())
#define E_TREE_TABLE_ADAPTER(o)          (GTK_CHECK_CAST ((o), E_TREE_TABLE_ADAPTER_TYPE, ETreeTableAdapter))
#define E_TREE_TABLE_ADAPTER_CLASS(k)    (GTK_CHECK_CLASS_CAST((k), E_TREE_TABLE_ADAPTER_TYPE, ETreeTableAdapterClass))
#define E_IS_TREE_TABLE_ADAPTER(o)       (GTK_CHECK_TYPE ((o), E_TREE_TABLE_ADAPTER_TYPE))
#define E_IS_TREE_TABLE_ADAPTER_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TREE_TABLE_ADAPTER_TYPE))

typedef struct ETreeTableAdapterPriv ETreeTableAdapterPriv;

typedef struct {
    ETableModel  base;

    ETreeTableAdapterPriv *priv;
} ETreeTableAdapter;

typedef struct {
    ETableModelClass parent_class;
} ETreeTableAdapterClass;

GtkType      e_tree_table_adapter_get_type                   (void);
ETableModel *e_tree_table_adapter_new                        (ETreeModel        *source);
ETableModel *e_tree_table_adapter_construct                  (ETreeTableAdapter *ets,
                                  ETreeModel        *source);

gboolean     e_tree_table_adapter_node_is_expanded           (ETreeTableAdapter *etta,
                                  ETreePath          path);
void         e_tree_table_adapter_node_set_expanded          (ETreeTableAdapter *etta,
                                  ETreePath          path,
                                  gboolean           expanded);
void         e_tree_table_adapter_node_set_expanded_recurse  (ETreeTableAdapter *etta,
                                  ETreePath          path,
                                  gboolean           expanded);
void         e_tree_table_adapter_root_node_set_visible      (ETreeTableAdapter *etta,
                                  gboolean           visible);
ETreePath    e_tree_table_adapter_node_at_row                (ETreeTableAdapter *etta,
                                  int                row);
int          e_tree_table_adapter_row_of_node                (ETreeTableAdapter *etta,
                                  ETreePath          path);
gboolean     e_tree_table_adapter_root_node_is_visible       (ETreeTableAdapter *etta);

void         e_tree_table_adapter_show_node                  (ETreeTableAdapter *etta,
                                  ETreePath          path);

void         e_tree_table_adapter_save_expanded_state        (ETreeTableAdapter *etta,
                                  const char        *filename);
void         e_tree_table_adapter_load_expanded_state        (ETreeTableAdapter *etta,
                                  const char        *filename);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* _E_TREE_TABLE_ADAPTER_H_ */
0 or greater insteadMartin Wilke2008-04-301-2/+0 * Remove this port due to ridiculous license restrictions.Michael Johnson2008-04-091-1/+0 * Add ion3Michael Johnson2008-04-091-0/+1 * Stumpwm is a tiling, keyboard driven X11 Window Manager written entirely in0Alejandro Pulver2008-03-121-0/+1 * Ratmen is a simple program for displaying a menu in a window. On selection isAlejandro Pulver2008-03-121-0/+1 * 2007-10-28 x11-wm/wmDeskGuide: Version branch long since retiredMartin Wilke2008-02-281-1/+0 * Third party tiling algorithms, configurations and scripts to xmonad.Alejandro Pulver2008-02-201-0/+1 * This is a port of FVWM-Crystal. FVWM-Crystal aims to create an easy to use,Alejandro Pulver2008-02-171-0/+1 * Deorbit `x11-wm/wmii-devel' in favor of updated `x11-wm/wmii'.Alexey Dokuchaev2008-01-291-1/+0 * Obmenu is a menu editor designed for Openbox. It's easy to use, allowingDoug Barton2007-12-191-0/+1 * The absolute best that can be said here is that the license is somewhatAde Lovett2007-12-121-1/+0 * Hook x11-wm/compiz-fusion to the build.Florent Thoumie2007-10-301-0/+1 * XMonad is a tiling window manager written in Haskell for X.Volker Stolz2007-10-291-0/+1 * - Sort category MakefilesAndrew Pantyukhin2007-10-061-2/+2 * awesome is a tiling window manager initialy based on a dwm codeMartin Wilke2007-09-281-0/+1 * 2007-09-15 x11-wm/obtuner: broken with recent Openbox and the project is not ...Martin Wilke2007-09-181-1/+0 * Nickleby is a window manager for those of us who live our lives insideThomas Abthorpe2007-09-101-0/+1 * A fully featured Python/GTK based settings manager for the CompizConfig systemFrank J. Laszlo2007-09-071-0/+1 * Python bindings for the compizconfig libraryFrank J. Laszlo2007-09-071-0/+1 * The gconf backend for CompizConfig. It uses theFrank J. Laszlo2007-09-071-0/+1 * Libcompizconfig is an alternative configuration system forFrank J. Laszlo2007-09-071-0/+1 * Add compiz-fusion-plugins-unsupported, the unsupported set of plugins forFlorent Thoumie2007-08-231-1/+2 * Add compiz-fusion-plugins-extra, the extra set of plugins for Compiz fusion.Florent Thoumie2007-08-231-0/+1 * Add compiz-fusion-plugins-main, the main set of plugins for Compiz.Florent Thoumie2007-08-231-0/+1 * Unsupported plugins for beryl.Martin Wilke2007-06-121-0/+1 * Repocopied x11-wm/ion-3ds to x11-wm/ion-3 since there are now releasePhilip Paeps2007-06-101-1/+1 * - Welcome X.org 7.2 \o/.Florent Thoumie2007-05-201-0/+10 * The x11-wm/fluxbox-devel has been merged into x11-wm/fluxbox and removeJeremy Messenger2007-03-201-1/+0 * - Add port x11-wm/wmii-devel - Hg tip of wmii developmentAndrew Pantyukhin2007-03-091-0/+1 * add missing xfce portsOliver Lehmann2007-01-231-1/+0 * 2007-01-15 x11-wm/wmi: This port is unsupported by the author. Please use x1...Martin Wilke2007-01-171-1/+0 * Remove expired leaf ports:Vasil Dimov2006-12-121-1/+0 * AZDock is a dock for EtoileDirk Meyer2006-11-251-0/+1 * Azalea is a GNUstep window mamager,Dirk Meyer2006-11-251-0/+1 * Remove expired ports:Vasil Dimov2006-11-091-1/+0 * Add e17-utils 20060719, various supplementary utilities for e17 windowVanilla I. Shu2006-09-101-0/+1 * Add dwm 0.5, a dynamic, small, fast and simple window manager.Emanuel Haupt2006-07-301-0/+1 * Remove expired leaf ports:Vasil Dimov2006-07-041-1/+0 * Remove x11-wm/libepplet, merge into x11-wm/epplet.Vanilla I. Shu2006-06-031-1/+0 * x11-wm/sawfish2 -> x11-wm/sawfishJeremy Messenger2006-05-291-1/+1 * Add obtuner 0.3, configurator for Openbox with keybinding andRoman Bogorodskiy2006-05-091-0/+1 * Add gcompmgr.Jean-Yves Lefort2006-02-181-0/+1 * JWM is a window manager for the X11 Window System. JWM is written in C and usesPav Lucistnik2005-12-291-0/+1 * Add transset-df.Jean-Yves Lefort2005-10-171-0/+1 * Remove broken x11-wm/rox-pager port.Jimmy Olgeni2005-07-301-1/+0 * Ion (based on PWM) is a new kind of window manager that brings aPav Lucistnik2005-07-201-0/+1 * - Move pager ports from misc/ to sysutils/Pav Lucistnik2005-07-101-0/+1 * Connect to enlightenment-devel.Vanilla I. Shu2005-06-161-0/+1 * Add wmii, a lightweight window manager.Alexey Dokuchaev2005-06-021-0/+1 * Remove this port.Adam Weinberger2005-05-231-1/+0 * Add kompmgr, a utility need to enable XComposite support in KDE.Michael Nottebrock2005-03-211-0/+1 * Add waimea-devel, a highly customizable window manager with vector-basedAlexey Dokuchaev2005-03-031-0/+1 * As previously announced, remove ports that have reached their expiry date,Kris Kennaway2005-02-191-1/+0 * remove xfce4-menueditor since it is now included in xfce4-desktopOliver Lehmann2005-01-311-1/+0 * TinyWM is a ridiculously tiny window manager implemented in nearly as fewPav Lucistnik2005-01-161-0/+1 * Add skippy-xdMichael Johnson2005-01-121-0/+1 * New port: xcompmgr, a sample compositing manager which can do translucentEric Anholt2004-12-241-0/+1 * - Move x11-wm/fbdesk to x11 category, to improve consistency (idesk portPav Lucistnik2004-10-251-1/+0 * Add fbcmd, an utility which provides some functions to the 'core' of fluxboxPav Lucistnik2004-10-201-0/+1 * Add enlightenment-docs, it's some data files of E doc viewer.Vanilla I. Shu2004-08-251-0/+1 * Add peksystray, a system tray "notification area" dockapp similar to thePav Lucistnik2004-08-171-0/+1 * Start QT2 deorbit by removing expired ports.Tilman Keskinoz2004-07-231-1/+0 * Add orion, a window manager written in Scheme.Erwin Lansing2004-07-181-0/+1 * Add devilspie 0.4, a window manipulation tool.Thierry Thomas2004-06-151-0/+1 * - Populate new category x11-themes with some candidates from x11-wmPav Lucistnik2004-06-021-8/+0 * After repocopy from x11-wm/ion, add ion-2, a tiling tabbed window managerPav Lucistnik2004-05-301-0/+1 * Add expocity 2.6.2, a metacity spin-off with Expose(tm)-like features.Volker Stolz2004-05-261-0/+1 * Add skippy 0.4.1,Kirill Ponomarev2004-05-171-0/+1 * Add wmi 7, a window manager designed to be like Ion and LarsWM.Pete Fritchman2004-05-091-0/+1 * Remove category pkg/COMMENT files in favour of a COMMENT variable in theKris Kennaway2004-04-021-0/+2 * Repocopy x11-wm/Makefile to x11/MakefilePav Lucistnik2004-03-301-1/+0 * Add the fbpager, a desktop pager for the fluxboxSergey A. Osokin2004-03-291-0/+1 * new port of kahakai, a scriptable window manager based on waimeaTrevor Johnson2004-03-111-0/+1 * Remove ion-devel. It was once repocopied from ion, but neverErwin Lansing2004-03-041-1/+0 * Add missing ion-develErwin Lansing2004-03-041-0/+1 * Add ede 1.0.1,Kirill Ponomarev2004-02-291-0/+1 * Add tpager, a really tiny pager for EWMH compliant WMs.Pav Lucistnik2004-02-141-0/+1 * Retire mosfet-liquid. The project is dead and now broken with KDE 3.2Tilman Keskinoz2004-02-131-1/+0 * Add selectwm 0.4, a GTK application to let you select a window managerPete Fritchman2004-01-301-0/+1 * Add rox-pager, a workspace pager for the ROX desktop.Jimmy Olgeni2004-01-251-0/+1 * Add xfce4-menueditor 0.90, menu Editor for the XFce desktop environment.Alex Dupre2004-01-221-0/+1 * Add treewm, a window manager that tries to implement a new concept. In additi...Pav Lucistnik2004-01-121-0/+1 * New port: x11-wm/wmconfig, X window manager menu generation toolEdwin Groothuis2004-01-031-0/+1 * Add xfce4-session 0.1.1, a session managerSergei Kolobov2003-12-131-0/+1 * Add aquaosk.Mark Linimon2003-11-211-0/+1 * add genmenu 1.0.4Ying-Chieh Liao2003-11-101-0/+1 * new port of badwmTrevor Johnson2003-10-241-0/+1 * new port of ObConfTrevor Johnson2003-10-141-0/+1