/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ #ifndef _E_TABLE_MODEL_H_ #define _E_TABLE_MODEL_H_ #include #define E_TABLE_MODEL_TYPE (e_table_model_get_type ()) #define E_TABLE_MODEL(o) (GTK_CHECK_CAST ((o), E_TABLE_MODEL_TYPE, ETableModel)) #define E_TABLE_MODEL_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_MODEL_TYPE, ETableModelClass)) #define E_IS_TABLE_MODEL(o) (GTK_CHECK_TYPE ((o), E_TABLE_MODEL_TYPE)) #define E_IS_TABLE_MODEL_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_MODEL_TYPE)) typedef struct { GtkObject base; guint frozen : 1; } ETableModel; typedef struct { GtkObjectClass parent_class; /* * Virtual methods */ int (*column_count) (ETableModel *etm); int (*row_count) (ETableModel *etm); void *(*value_at) (ETableModel *etm, int col, int row); void (*set_value_at) (ETableModel *etm, int col, int row, const void *value); gboolean (*is_cell_editable) (ETableModel *etm, int col, int row); /* Allocate a copy of the given value. */ void *(*duplicate_value) (ETableModel *etm, int col, const void *value); /* Free an allocated value. */ void (*free_value) (ETableModel *etm, int col, void *value); /* Return an allocated empty value. */ void *(*initialize_value) (ETableModel *etm, int col); /* Return TRUE if value is equivalent to an empty cell. */ gboolean (*value_is_empty) (ETableModel *etm, int col, const void *value); void (*thaw) (ETableModel *etm); /* * Signals */ /* * These all come after the change has been made. * Major structural changes: model_changed * Changes only in a row: row_changed * Only changes in a cell: cell_changed * A row inserted: row_inserted * A row deleted: row_deleted */ void (*model_changed) (ETableModel *etm); void (*model_row_changed) (ETableModel *etm, int row); void (*model_cell_changed) (ETableModel *etm, int col, int row); void (*model_row_inserted) (ETableModel *etm, int row); void (*model_row_deleted) (ETableModel *etm, int row); } ETableModelClass; GtkType e_table_model_get_type (void); int e_table_model_column_count (ETableModel *e_table_model); const char *e_table_model_column_name (ETableModel *e_table_model, int col); int e_table_model_row_count (ETableModel *e_table_model); void *e_table_model_value_at (ETableModel *e_table_model, int col, int row); void e_table_model_set_value_at (ETableModel *e_table_model, int col, int row, const void *value); gboolean e_table_model_is_cell_editable (ETableModel *e_table_model, int col, int row); void *e_table_model_duplicate_value (ETableModel *e_table_model, int col, const void *value); void e_table_model_free_value (ETableModel *e_table_model, int col, void *value); void *e_table_model_initialize_value (ETableModel *e_table_model, int col); gboolean e_table_model_value_is_empty (ETableModel *e_table_model, int col, const void *value); void e_table_model_freeze (ETableModel *e_table_model); void e_table_model_thaw (ETableModel *e_table_model); /* * Routines for emitting signals on the e_table */ void e_table_model_changed (ETableModel *e_table_model); void e_table_model_row_changed (ETableModel *e_table_model, int row); void e_table_model_cell_changed (ETableModel *e_table_model, int col, int row); void e_table_model_row_inserted (ETableModel *e_table_model, int row); void e_table_model_row_deleted (ETableModel *e_table_model, int row); #endif /* _E_TABLE_MODEL_H_ */ /option> FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/dns/maradns
Commit message (Expand)AuthorAgeFilesLines
* - Add missing USERS/GROUPS for binddecke2011-04-122-4/+33
* - Update to 1.4.06decke2011-01-312-4/+3
* - Update to 1.4.05decke2010-09-272-4/+4
* - Update to 1.4.04decke2010-08-052-4/+4
* - Change to my FreeBSD email addressdecke2010-04-011-1/+1
* Begin the process of deprecating sysutils/rc_subr bydougb2010-03-272-2/+2
* - Update to 1.4.03miwi2010-02-084-6/+6
* - Update to 1.4.02miwi2010-01-184-21/+9
* - Fix startup scriptmiwi2009-10-073-7/+13
* - Add missing patch from previous commitmiwi2009-09-232-0/+12
* - Update to 1.3.07.09miwi2009-09-235-158/+140
* - USE_RC_SUBR != yespgollucci2009-07-155-83/+77
* - Update to 1.2.12.10miwi2009-04-112-6/+5
* - Remove conditional checks for FreeBSD 5.x and olderpav2009-01-06git/cgit.cgi/freebsd-ports-gnome/commit/palm?id=b0512b6c3737a922d1c889c8657763c52bd05588'>Add an explicit dependency on pkgconfantoine2013-09-031-1/+1
* Add an explicit dependency on pkgconfbapt2013-09-031-1/+1
* Add an explicit dependency on pkgconfantoine2013-09-031-1/+1
* Add an explicit dependency on pkgconfantoine2013-09-031-1/+1
* Remove expired ports:rene2013-08-286-362/+0
* - Remove MAKE_JOBS_SAFE variableak2013-08-154-4/+0
* - Convert to new perl frameworkaz2013-08-031-7/+2
* Deprecate and set expiration date for ports broken for more than 6 monthbapt2013-07-271-0/+3
* Convert to new options frameworkbapt2013-06-071-10/+9
* Convert from WITHOUT_NLS to PORT_OPTIONS:MNLSbapt2013-05-061-7/+9
* Fix build on currentbapt2013-05-061-1/+1
* In preparation of removing devel/libusb (expires 2013-04-30), remove itrene2013-04-301-3/+0
* - Convert USE_ICONV=yes to USES=iconvmva2013-04-286-10/+6
* - Convert USE_GETTEXT to USES (part 4)ak2013-04-262-3/+2
* - Convert USE_GETTEXT to USES (part 1)ak2013-04-243-6/+3
* Finish converting the whole ports tree to USES=pkgconfigbapt2013-04-234-6/+4
* Reassign skv@ ports to the heapbapt2013-04-221-6/+2
* - Fix typo in OptionsNG conversionwg2013-04-071-1/+1
* - Broken fails to buildmiwi2013-04-021-0/+1
* Style: tab -> space.eadler2013-03-291-1/+1
* Drop support for old versions of FreeBSD from unmaintained portseadler2013-03-281-4/+0
* Mechanically convert unmaintained ports which use "gnomehack" to use "pathfix...eadler2013-03-282-11/+6
* Readd removed commentsbdrewery2013-03-221-0/+2
* Convert to new options framework ports in p* catoriesbapt2013-03-221-16/+12
* Add an explicit dependency on pkgconfbapt2013-03-221-6/+4
* Add an explicit dependency on pkgconfbapt2013-03-221-6/+2
* This changes almost all the "gnomehack" only USE_GNOME cases to USES= pathfix.eadler2013-03-193-3/+3
* In categories starting with [n-s], remove empty lines (and also few cases ofdanfe2013-03-171-1/+0
* Convert USE_BISON to USES= bisonbapt2013-03-081-7/+3
* Convert to new options frameworkbapt2013-02-211-6/+5
* - Reassign ports from avl@ back to pool at his request.fluffy2013-02-215-5/+5
* Chase boost updatebapt2013-01-311-2/+2
* Decommissioning java 1.5 (EOLed since October 2009):bapt2012-12-101-7/+2
* - Fix the code instead of suppressing the compiler errorgahr2012-11-302-1/+12
* Fix build with clangbapt2012-11-301-7/+2