Data Structures | |
struct | _GTaskBasicInfo |
struct | _GTaskCellRendererBasic |
struct | _GTaskCellRendererBasicClass |
struct | _GTaskCellRendererBasicPrivate |
Defines | |
#define | PADDING 6 |
#define | ELLIPSIS "..." |
#define | GTASK_CELL_RENDERER_BASIC_TYPE (gtask_cell_renderer_basic_get_type()) |
#define | GTASK_CELL_RENDERER_BASIC(obj) |
#define | GTASK_CELL_RENDERER_BASIC_CLASS(klass) |
#define | GTASK_IS_CELL_RENDERER_BASIC(obj) |
#define | GTASK_IS_CELL_RENDERER_BASIC_CLASS(klass) |
#define | GTASK_CELL_RENDERER_BASIC_GET_CLASS(obj) |
Typedefs | |
typedef _GTaskBasicInfo | GTaskBasicInfo |
typedef _GTaskCellRendererBasic | GTaskCellRendererBasic |
typedef _GTaskCellRendererBasicClass | GTaskCellRendererBasicClass |
typedef _GTaskCellRendererBasicPrivate | GTaskCellRendererBasicPrivate |
Enumerations | |
enum | { PROP_0, C_PROP_PROGRESS, C_PROP_TITLE, C_PROP_STATUS_MESSAGE, C_PROP_ACTIVITY_STATE, C_PROP_TIME_LEFT, C_PROP_PREVIEW, C_PROP_PREVIEW_IS_THUMB, C_PROP_THUMBNAIL_FRAME } |
Functions | |
GTaskBasicInfo * | gtask_cell_renderer_basic_get_sizing_info (GTaskCellRendererBasic *cell, GtkWidget *widget, guint x, guint y) |
void | gtask_cell_renderer_basic_fill_text_info (GTaskCellRendererBasic *cell, GTaskBasicInfo *info, GtkWidget *widget, gint center_size) |
void | gtask_basic_info_free (GTaskBasicInfo *info) |
void | gtask_cell_renderer_basic_init (GTaskCellRendererBasic *cell) |
void | gtask_cell_renderer_basic_class_init (GTaskCellRendererBasicClass *klass) |
void | gtask_cell_renderer_basic_finalize (GObject *object) |
void | gtask_cell_renderer_basic_get_property (GObject *object, guint param_id, GValue *value, GParamSpec *pspec) |
void | gtask_cell_renderer_basic_set_property (GObject *object, guint param_id, const GValue *value, GParamSpec *pspec) |
void | gtask_cell_renderer_basic_get_size (GtkCellRenderer *cell, GtkWidget *widget, GdkRectangle *cell_area, gint *x_offset, gint *y_offset, gint *width, gint *height) |
void | gtask_cell_renderer_basic_render (GtkCellRenderer *cell, GdkWindow *window, GtkWidget *widget, GdkRectangle *background_area, GdkRectangle *cell_area, GdkRectangle *expose_area, guint flags) |
GtkType | gtask_cell_renderer_basic_get_type () |
int | measure_string_width (const char *string, PangoLayout *layout) |
void | compute_character_widths (const char *format_string, const char *string, PangoLayout *layout, int *char_len_return, int **widths_return, int **cuts_return) |
char * | eel_string_ellipsize_end (const char *format_string, const char *string, PangoLayout *layout, int width) |
GtkCellRenderer * | gtask_cell_renderer_basic_new (void) |
Variables | |
gpointer | parent_class |
|
Definition at line 339 of file gtask-cell-renderer-basic.c. Referenced by eel_string_ellipsize_end(). |
|
Value: (G_TYPE_CHECK_INSTANCE_CAST( (obj), \ GTASK_CELL_RENDERER_BASIC_TYPE, \ GTaskCellRendererBasic )) Definition at line 20 of file gtask-cell-renderer-basic.h. Referenced by gtask_cell_renderer_basic_finalize(), gtask_cell_renderer_basic_get_property(), gtask_cell_renderer_basic_get_size(), gtask_cell_renderer_basic_render(), and gtask_cell_renderer_basic_set_property(). |
|
Value: (G_TYPE_CHECK_CLASS_CAST( (klass), \ GTASK_CELL_RENDERER_BASIC_TYPE, \ GTaskCellRendererBasicClass )) Definition at line 25 of file gtask-cell-renderer-basic.h. |
|
Value: (G_TYPE_INSTANCE_GET_CLASS( (obj), \ GTASK_CELL_RENDERER_BASIC_TYPE, \ GTaskCellRendererBasicClass )) Definition at line 45 of file gtask-cell-renderer-basic.h. |
|
returns the GType of GTaskCellRendererBasic Definition at line 17 of file gtask-cell-renderer-basic.h. Referenced by gtask_cell_renderer_basic_new(). |
|
Value: (G_TYPE_CHECK_INSTANCE_TYPE( (obj), \ GTASK_CELL_RENDERER_BASIC_TYPE )) Definition at line 34 of file gtask-cell-renderer-basic.h. |
|
Value: (G_TYPE_CHECK_CLASS_TYPE( (klass), \ GTASK_CELL_RENDERER_BASIC_TYPE )) Definition at line 41 of file gtask-cell-renderer-basic.h. |
|
Definition at line 17 of file gtask-cell-renderer-basic.c. Referenced by gtask_cell_renderer_basic_get_size(), gtask_cell_renderer_basic_get_sizing_info(), and gtask_cell_renderer_basic_render(). |
|
|
|
Definition at line 13 of file gtask-cell-renderer-basic.h. Referenced by gtask_cell_renderer_basic_class_init(), and gtask_cell_renderer_basic_get_type(). |
|
|
Definition at line 19 of file gtask-cell-renderer-basic.c. |
|
Definition at line 356 of file gtask-cell-renderer-basic.c. Referenced by eel_string_ellipsize_end(). |
|
Definition at line 450 of file gtask-cell-renderer-basic.c. References compute_character_widths(), ELLIPSIS, and measure_string_width(). Referenced by gtask_cell_renderer_basic_fill_text_info(). |
|
Definition at line 648 of file gtask-cell-renderer-basic.c. References _GTaskBasicInfo::actions_layout, GTaskBasicInfo, _GTaskBasicInfo::status, _GTaskBasicInfo::status_prefix, _GTaskBasicInfo::time, _GTaskBasicInfo::time_prefix, and _GTaskBasicInfo::title. Referenced by gtask_cell_renderer_basic_get_size(), and gtask_cell_renderer_basic_render(). |
|
|
Definition at line 577 of file gtask-cell-renderer-basic.c. References eel_string_ellipsize_end(), GTaskBasicInfo, GTaskCellRendererBasic, GTaskCellRendererBasicPrivate, _GTaskCellRendererBasic::private, _GTaskBasicInfo::status, _GTaskBasicInfo::status_width, _GTaskBasicInfo::time, _GTaskBasicInfo::time_width, and _GTaskBasicInfo::title. Referenced by gtask_cell_renderer_basic_render(). |
|
Definition at line 879 of file gtask-cell-renderer-basic.c. References GTASK_CELL_RENDERER_BASIC, GTaskCellRendererBasic, parent_class, and _GTaskCellRendererBasic::private. Referenced by gtask_cell_renderer_basic_class_init(). |
|
Definition at line 254 of file gtask-cell-renderer-basic.c. References C_PROP_ACTIVITY_STATE, C_PROP_PREVIEW, C_PROP_PREVIEW_IS_THUMB, C_PROP_PROGRESS, C_PROP_STATUS_MESSAGE, C_PROP_TIME_LEFT, C_PROP_TITLE, GTASK_CELL_RENDERER_BASIC, GTaskCellRendererBasic, GTaskCellRendererBasicPrivate, and _GTaskCellRendererBasic::private. Referenced by gtask_cell_renderer_basic_class_init(). |
|
|
|
Definition at line 119 of file gtask-cell-renderer-basic.c. References gtask_cell_renderer_basic_class_init(), gtask_cell_renderer_basic_init(), GTaskCellRendererBasic, and GTaskCellRendererBasicClass. |
|
Definition at line 145 of file gtask-cell-renderer-basic.c. References GTaskCellRendererBasic, GTaskCellRendererBasicPrivate, and _GTaskCellRendererBasic::private. Referenced by gtask_cell_renderer_basic_get_type(). |
|
Definition at line 708 of file gtask-cell-renderer-basic.c. References GTASK_CELL_RENDERER_BASIC_TYPE. Referenced by gtask_view_create_basic_mode(). |
|
|
Definition at line 291 of file gtask-cell-renderer-basic.c. References C_PROP_ACTIVITY_STATE, C_PROP_PREVIEW, C_PROP_PREVIEW_IS_THUMB, C_PROP_PROGRESS, C_PROP_STATUS_MESSAGE, C_PROP_TIME_LEFT, C_PROP_TITLE, GTASK_CELL_RENDERER_BASIC, GTaskCellRendererBasic, GTaskCellRendererBasicPrivate, and _GTaskCellRendererBasic::private. Referenced by gtask_cell_renderer_basic_class_init(). |
|
Definition at line 346 of file gtask-cell-renderer-basic.c. Referenced by eel_string_ellipsize_end(). |
|
Definition at line 63 of file gtask-cell-renderer-basic.c. Referenced by gtask_cell_renderer_basic_class_init(), and gtask_cell_renderer_basic_finalize(). |