GSQLCellRendererDateTime

GSQLCellRendererDateTime

Synopsis

#define             GSQL_CONF_DATETIME_FORMAT
#define             GSQL_DATETIME_FORMAT_DEFAULT
#define             GSQL_TYPE_DATETIME
                    GSQLTypeDateTime;
                    GSQLCellRendererDateTimePrivate;
enum                GSQLTypeDateTime_type;
                    GSQLCellRendererDateTime;
gchar*              gsql_type_datetime_to_gchar         (GSQLTypeDateTime *dt,
                                                         gchar *text,
                                                         guint textlen);
GType               gsql_cell_renderer_datetime_get_type
                                                        (void);
GtkCellRenderer*    gsql_cell_renderer_datetime_new     (void);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkCellRenderer
                     +----GtkCellRendererText
                           +----GSQLCellRendererDateTime

Properties

  "datetime"                 GSQLTypeDateTime*     : Read / Write

Description

Details

GSQL_CONF_DATETIME_FORMAT

#define GSQL_CONF_DATETIME_FORMAT		GSQL_CONF_ROOT_KEY "/datetime_format"


GSQL_DATETIME_FORMAT_DEFAULT

#define GSQL_DATETIME_FORMAT_DEFAULT    "%D/%M/%Y %h:%m:%s"


GSQL_TYPE_DATETIME

#define GSQL_TYPE_DATETIME (gsql_type_datetime_get_type ())


GSQLTypeDateTime

typedef struct {
		guint  sec;
		guint  min;
		guint  hour;
		guint  day;
		guint  mon;
		guint  year;	
		GSQLTypeDateTime_type dt_type;
} GSQLTypeDateTime;


GSQLCellRendererDateTimePrivate

typedef struct _GSQLCellRendererDateTimePrivate GSQLCellRendererDateTimePrivate;


enum GSQLTypeDateTime_type

typedef enum {
	GSQLTypeDateTimeFULL = 0,
	GSQLTypeDateTimeDMY,
	GSQLTypeDateTimeHMS
} GSQLTypeDateTime_type;


GSQLCellRendererDateTime

typedef struct _GSQLCellRendererDateTime GSQLCellRendererDateTime;


gsql_type_datetime_to_gchar ()

gchar*              gsql_type_datetime_to_gchar         (GSQLTypeDateTime *dt,
                                                         gchar *text,
                                                         guint textlen);

dt :

text :

textlen :

Returns :


gsql_cell_renderer_datetime_get_type ()

GType               gsql_cell_renderer_datetime_get_type
                                                        (void);

Returns :


gsql_cell_renderer_datetime_new ()

GtkCellRenderer*    gsql_cell_renderer_datetime_new     (void);

Returns :

Property Details

The "datetime" property

  "datetime"                 GSQLTypeDateTime*     : Read / Write

DateTime value.