#include <glib.h>
#include <gtk/gtk.h>
Go to the source code of this file.
Data Structures | |
struct | _erGtkCellRendererBorderClass |
: GObject class for erGtkCellRendererBorder objects More... | |
struct | _erGtkCellRendererBorder |
: A cell renderer that draws a border around itself and all preceding cells on the current line of a listview. More... | |
Defines | |
#define | ERGTK_CELL_RENDERER_BORDER_TYPE (ergtk_cell_renderer_border_get_type()) |
#define | ERGTK_CELL_RENDERER_BORDER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ERGTK_CELL_RENDERER_BORDER_TYPE, erGtkCellRendererBorder)) |
#define | IS_ERGTK_CELL_RENDERER_BORDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ERGTK_CELL_RENDERER_BORDER_TYPE)) |
#define | ERGTK_CELL_RENDERER_BORDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ERGTK_CELL_RENDERER_BORDER_TYPE, erGtkCellRendererBorderClass)) |
#define | ERGTK_CELL_RENDERER_BORDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ERGTK_CELL_RENDERER_BORDER_TYPE, erGtkCellRendererBorderClass)) |
#define | ISGTK_CELL_RENDERER_BORDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ERGTK_CELL_RENDERER_BORDER_TYPE)) |
#define | ERGTK_CELL_RENDERER_BORDER_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), ERGTK_CELL_RENDERER_BORDER_TYPE, erGtkCellRendererBorderPrivate)) |
Typedefs | |
typedef struct _erGtkCellRendererBorder | erGtkCellRendererBorder |
typedef struct _erGtkCellRendererBorderClass | erGtkCellRendererBorderClass |
Functions | |
GtkCellRenderer * | ergtk_cell_renderer_border_new (void) |
Create a new erGtkCellRendererBorder object. | |
GType | ergtk_cell_renderer_border_get_type (void) |
Returns the GObject type of an erGtkCellRendererBorder. |
#define ERGTK_CELL_RENDERER_BORDER | ( | obj | ) | (G_TYPE_CHECK_INSTANCE_CAST((obj), ERGTK_CELL_RENDERER_BORDER_TYPE, erGtkCellRendererBorder)) |
Definition at line 54 of file ergtkcellrendererborder.h.
#define ERGTK_CELL_RENDERER_BORDER_CLASS | ( | klass | ) | (G_TYPE_CHECK_CLASS_CAST((klass), ERGTK_CELL_RENDERER_BORDER_TYPE, erGtkCellRendererBorderClass)) |
Definition at line 57 of file ergtkcellrendererborder.h.
#define ERGTK_CELL_RENDERER_BORDER_GET_CLASS | ( | obj | ) | (G_TYPE_INSTANCE_GET_CLASS((obj), ERGTK_CELL_RENDERER_BORDER_TYPE, erGtkCellRendererBorderClass)) |
Definition at line 58 of file ergtkcellrendererborder.h.
#define ERGTK_CELL_RENDERER_BORDER_GET_PRIVATE | ( | obj | ) | (G_TYPE_INSTANCE_GET_PRIVATE ((obj), ERGTK_CELL_RENDERER_BORDER_TYPE, erGtkCellRendererBorderPrivate)) |
Definition at line 61 of file ergtkcellrendererborder.h.
Referenced by ergtk_cell_renderer_border_finalize(), ergtk_cell_renderer_border_init(), get_property_impl(), render_impl(), and set_property_impl().
#define ERGTK_CELL_RENDERER_BORDER_TYPE (ergtk_cell_renderer_border_get_type()) |
File Name : ergtkcellrendererborder.h
Description: The erGtkCellRendererBorder object is a GtkCellRendererText that can display multiple text line in a single cell. It also can draw a border around the entire treeview entry to which it belongs. Copyright (C) 2009 iRex Technologies B.V. All rights reserved.
Definition at line 53 of file ergtkcellrendererborder.h.
Referenced by ergtk_cell_renderer_border_new().
#define IS_ERGTK_CELL_RENDERER_BORDER | ( | obj | ) | (G_TYPE_CHECK_INSTANCE_TYPE((obj), ERGTK_CELL_RENDERER_BORDER_TYPE)) |
Definition at line 55 of file ergtkcellrendererborder.h.
Referenced by ergtk_cell_renderer_border_finalize(), ergtk_cell_renderer_border_init(), get_property_impl(), render_impl(), and set_property_impl().
#define ISGTK_CELL_RENDERER_BORDER_CLASS | ( | klass | ) | (G_TYPE_CHECK_CLASS_TYPE((klass), ERGTK_CELL_RENDERER_BORDER_TYPE)) |
Definition at line 59 of file ergtkcellrendererborder.h.
typedef struct _erGtkCellRendererBorder erGtkCellRendererBorder |
Definition at line 76 of file ergtkcellrendererborder.h.
typedef struct _erGtkCellRendererBorderClass erGtkCellRendererBorderClass |
Definition at line 77 of file ergtkcellrendererborder.h.
GType ergtk_cell_renderer_border_get_type | ( | void | ) |
Returns the GObject type of an erGtkCellRendererBorder.
---------------------------------------------------------------------------
Name : ergtk_cell_renderer_border_get_type
-- |
--------------------------------------------------------------------------
Definition at line 120 of file ergtkcellrendererborder.c.
References ergtk_cell_renderer_border_class_init(), and ergtk_cell_renderer_border_init().
00121 { 00122 static GType class_type = 0; 00123 00124 if (class_type == 0) 00125 { 00126 static const GTypeInfo class_info = 00127 { 00128 sizeof(erGtkCellRendererBorderClass), // class_size 00129 NULL, // base_init 00130 NULL, // base_finalize 00131 (GClassInitFunc) ergtk_cell_renderer_border_class_init, // class_init 00132 NULL, // class_finalize 00133 NULL, // class_data 00134 sizeof(erGtkCellRendererBorder), // instance_size 00135 0, // n_preallocs 00136 (GInstanceInitFunc) ergtk_cell_renderer_border_init, // instance_init 00137 NULL // value_table 00138 }; 00139 00140 class_type = g_type_register_static( GTK_TYPE_CELL_RENDERER_TEXT, // parent_type 00141 "erGtkCellRendererBorder", // type_name 00142 &class_info, // info 00143 0 ); // flags 00144 } 00145 00146 return class_type; 00147 }
GtkCellRenderer* ergtk_cell_renderer_border_new | ( | void | ) |
Create a new erGtkCellRendererBorder object.
---------------------------------------------------------------------------
Name : ergtk_cell_renderer_border_new
-- |
--------------------------------------------------------------------------
Definition at line 231 of file ergtkcellrendererborder.c.
References ERGTK_CELL_RENDERER_BORDER_TYPE.
Referenced by create_back_listview(), create_contentview(), and create_settingsview().
00232 { 00233 erGtkCellRendererBorder *thiz = (erGtkCellRendererBorder*) g_object_new(ERGTK_CELL_RENDERER_BORDER_TYPE, NULL); 00234 //erGtkCellRendererBorderPrivate *priv = ERGTK_CELL_RENDERER_BORDER_GET_PRIVATE(thiz); 00235 00236 return (GtkCellRenderer*) thiz; 00237 }