aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-config.h
blob: 13b1d69f38ec267d3ffdfb66f2fa46f4a2eba7ce (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#ifndef _E_TABLE_CONFIG_H_
#define _E_TABLE_CONFIG_H_

#include <libgnome/gnome-defs.h>
#include <gal/e-table/e-table-sort-info.h>
#include <gal/e-table/e-table-specification.h>
#include <gal/widgets/gtk-combo-text.h>

BEGIN_GNOME_DECLS

#define E_TABLE_CONFIG_TYPE        (e_table_config_get_type ())
#define E_TABLE_CONFIG(o)          (GTK_CHECK_CAST ((o), E_TABLE_CONFIG_TYPE, ETableConfig))
#define E_TABLE_CONFIG_CLASS(k)    (GTK_CHECK_CLASS_CAST((k), E_TABLE_CONFIG_TYPE, ETableConfigClass))
#define E_IS_TABLE_CONFIG(o)       (GTK_CHECK_TYPE ((o), E_TABLE_CONFIG_TYPE))
#define E_IS_TABLE_CONFIG_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_CONFIG_TYPE))

typedef struct {
    GtkComboText *combo;
    GtkWidget    *frames;
    GtkWidget    *radio_ascending;
    GtkWidget    *radio_descending;
    GtkWidget    *view_check; /* Only for group dialog */
    guint         changed_id, toggled_id;
    void *e_table_config;
} ETableConfigSortWidgets; 


typedef struct {
    GtkObject parent;

    /*
     * Our various dialog boxes
     */
    GtkWidget *dialog_toplevel;
    GtkWidget *dialog_show_fields;
    GtkWidget *dialog_group_by;
    GtkWidget *dialog_sort;

    /*
     * The state we manipulate
     */
    ETableSpecification *source_spec;
    ETableState         *source_state, *state, *temp_state;

    GtkWidget *sort_label;
    GtkWidget *group_label;
    GtkWidget *fields_label;

    ETableConfigSortWidgets sort [4];
    ETableConfigSortWidgets group [4];

    /*
     * List of valid column names
     */
    GSList *column_names;
} ETableConfig;

typedef struct {
    GtkObjectClass parent_class;

    /* Signals */
    void        (*changed)        (ETableConfig *config);
} ETableConfigClass;

GtkType       e_table_config_get_type  (void);
ETableConfig *e_table_config_new       (const char          *header,
                    ETableSpecification *spec,
                    ETableState         *state);
ETableConfig *e_table_config_construct (ETableConfig        *etco,
                    const char          *header,
                    ETableSpecification *spec,
                    ETableState         *state);
void          e_table_config_raise     (ETableConfig        *config);

END_GNOME_DECLS

#endif /* _E_TABLE_CONFIG_H */
it/freebsd-ports-gnome/commit/shells?h=dependabot/npm_and_yarn/devel/electron4/files/lodash-4.17.19&id=d842249f719ed96f7d936de4f9dba4e64b8ca10a'>New port: shells/okshtobik2018-01-125-0/+31 * Set LLD_UNSAFE=yes that the port will continue to link with ld.bfdkrion2018-01-081-0/+1 * Update {BUILD,RUN}_DEPENDS: remove deprecated p5-Test-Blocksunpoet2018-01-061-5/+4 * Add LICENSEsunpoet2018-01-011-0/+4 * Deprecate ports broken for more than 6 monthsantoine2017-12-271-0/+2 * Remove BROKEN_sparc64 statement which was originally added in r397891 bydanfe2017-12-181-1/+0 * shells/fish: fix 2.7.0 build for arm and arm64asomers2017-12-131-0/+11 * shells/fish: Upgrade to 2.7.0asomers2017-12-125-65/+40 * comms/mlan3 shells/fish: annotate conflictsasomers2017-12-051-0/+2 * Convert Python ports to FLAVORS.mat2017-11-303-3/+3 * shells/xonsh: Update to 0.6.0dbaio2017-11-242-4/+4 * Update to version 6.0.1pawel2017-11-033-4/+8 * Provide an option to enable system-wide rc files.ehaupt2017-10-291-2/+8 * Fix diff -u completionbapt2017-10-022-0/+10 * xonsh is a Python-ish, BASHwards-looking shell language and command prompt.matthew2017-09-226-0/+54 * Update to upstream version R56briggs2017-09-102-5/+4 * Update to 0.5.9.1bdrewery2017-09-092-3/+7 * shells/fish: Upgrade to 2.6.0asomers2017-09-077-41/+82 * Update to 5.4.2bapt2017-08-313-6/+11 * - Fix LICENSE_PERMSamdmi32017-08-231-1/+2 * shells/mksh: Update to R56swills2017-08-182-7/+7 * Due to some timestamp issue zsh may need autoheader at build timebapt2017-08-101-1/+1 * Update to 5.4.1bapt2017-08-104-18/+19 * - Update The Glorious Glasgow Haskell Compiler to version 8.0.2tcberner2017-08-092-3/+4 * Update to 2.7sunpoet2017-07-024-38/+41 * Update devel/readline to 7.0 patch 3sunpoet2017-06-274-2/+4 * Update distinfo and unbreak this portsunpoet2017-06-112-3/+4 * shells/rc: Update to 1.7.4, Fix builddbaio2017-06-104-18/+20 * Mark some ports failing on armv6, for errors classified as "???",linimon2017-05-271-0/+2 * Revision bump of all ports with USE_GL after consolidation of mesa-libsrezny2017-05-231-0/+1 * New maintainer: schaiba@gmail.comriggs2017-05-211-1/+1 * - Update maintainer addressjoneum2017-05-161-1/+1 * - Broken checksum mismatchmiwi2017-05-131-0/+1 * - Fix READLINE optionak2017-05-061-1/+1 * Remove duplicate broken stanza for powerpc64. While here, reformat andlinimon2017-04-281-4/+2 * Update WWW, current URL is a permanent redirect.ehaupt2017-04-281-1/+1 * Make bash use of fdescfs use optional, disabled by default, and forced off whenehaupt2017-04-222-2/+6 * Return ports maintained by John Marino to the pool, he is no longer interested.rene2017-04-221-1/+1 * Update to 55sunpoet2017-04-143-7/+7 * Regular USE_GITHUB cleanup.mat2017-04-112-5/+2 * - Always accompany OSVERSION check with OPSYS checkamdmi32017-04-081-1/+1 * Fix bug in kldload completion (also reported upstream).des2017-03-302-0/+12 * Take in olivierd@'s commit bit on his request.rene2017-03-191-1/+1 * Update to version 6.0.0pawel2017-03-033-4/+5 * Default path includes the string %%LOCALBASE%%. This was intended to be replacedehaupt2017-03-012-15/+5 * - Fix LICENSEamdmi32017-02-251-3/+3 * Mark a few leaf ports broken on aarch64.linimon2017-02-251-1/+3 * Return the ports mistakenly reset to ports@ in r433856 to John Marino.rene2017-02-161-1/+1 * shells/fish: Upgrade to 2.5.0asomers2017-02-124-14/+43 * The late mount option is required for systems with a seperate boot partitionehaupt2017-02-111-2/+2 * Return ports maintained by John Marino to the pool, see r433827 for detailsrene2017-02-111-1/+1 * shells/fish: fix completions for pythonasomers2017-02-113-24/+19 * shells/ksh93: Fix build with gcc5marino2017-02-101-0/+20 * Fix two bugs in shells/fishasomers2017-02-093-15/+27 * shells/sparforte: upgrade version 2.0.1 => 2.0.2marino2017-02-082-4/+4 * shells/lshell: update to 0.9.18.20160916rm2017-02-076-21/+31 * shells/bash-completion:lme2017-02-053-4/+7 * Rectify licenseehaupt2017-02-031-1/+2 * Bump PORTREVISION for ports affected by the fix the last commit.mat2017-02-01