ergtkcellrendererborder.h File Reference

#include <glib.h>
#include <gtk/gtk.h>
Include dependency graph for ergtkcellrendererborder.h:
This graph shows which files directly or indirectly include this file:

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 Documentation

#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))
#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))
#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 Documentation

Definition at line 76 of file ergtkcellrendererborder.h.

Definition at line 77 of file ergtkcellrendererborder.h.


Function Documentation

GType ergtk_cell_renderer_border_get_type ( void   ) 

Returns the GObject type of an erGtkCellRendererBorder.

---------------------------------------------------------------------------

Name : ergtk_cell_renderer_border_get_type

Parameters:
-- 
Returns:
The GObject type of an erGtkCellRendererBorder

--------------------------------------------------------------------------

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 }

Here is the call graph for this function:

GtkCellRenderer* ergtk_cell_renderer_border_new ( void   ) 

Create a new erGtkCellRendererBorder object.

---------------------------------------------------------------------------

Name : ergtk_cell_renderer_border_new

Parameters:
-- 
Returns:
Pointer to the newly created object, or NULL

--------------------------------------------------------------------------

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 }

Here is the caller graph for this function:

Generated by  doxygen 1.6.2-20100208