ergtkcellrendererborder.h

Go to the documentation of this file.
00001 #ifndef __ERGTK_CELL_RENDERER_BORDER_H__
00002 #define __ERGTK_CELL_RENDERER_BORDER_H__
00003 
00004 /**
00005  * File Name  : ergtkcellrendererborder.h
00006  *
00007  * Description: The erGtkCellRendererBorder object is a GtkCellRendererText
00008  *              that can display multiple text line in a single cell.
00009  *              It also can draw a border around the entire treeview entry
00010  *              to which it belongs.
00011  */
00012 
00013 /*
00014  * This file is part of libergtk.
00015  *
00016  * libergtk is free software: you can redistribute it and/or modify
00017  * it under the terms of the GNU General Public License as published by
00018  * the Free Software Foundation, either version 2 of the License, or
00019  * (at your option) any later version.
00020  *
00021  * libergtk is distributed in the hope that it will be useful,
00022  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00023  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00024  * GNU General Public License for more details.
00025  *
00026  * You should have received a copy of the GNU General Public License
00027  * along with this program. If not, see <http://www.gnu.org/licenses/>.
00028  */
00029  
00030 /**
00031  * Copyright (C) 2009 iRex Technologies B.V.
00032  * All rights reserved.
00033  */
00034 
00035 //----------------------------------------------------------------------------
00036 // Include Files
00037 //----------------------------------------------------------------------------
00038 
00039 // system include files, between < >
00040 #include <glib.h>
00041 #include <gtk/gtk.h>
00042 
00043 // ereader include files, between < >
00044 
00045 // local include files, between " "
00046 
00047 G_BEGIN_DECLS
00048 
00049 
00050 //----------------------------------------------------------------------------
00051 // Macro Definitions
00052 //---------------------------------------------------------------------------- 
00053 #define ERGTK_CELL_RENDERER_BORDER_TYPE             (ergtk_cell_renderer_border_get_type())
00054 #define ERGTK_CELL_RENDERER_BORDER(obj)             (G_TYPE_CHECK_INSTANCE_CAST((obj), ERGTK_CELL_RENDERER_BORDER_TYPE, erGtkCellRendererBorder))
00055 #define IS_ERGTK_CELL_RENDERER_BORDER(obj)          (G_TYPE_CHECK_INSTANCE_TYPE((obj), ERGTK_CELL_RENDERER_BORDER_TYPE))
00056                                                   
00057 #define ERGTK_CELL_RENDERER_BORDER_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST((klass),  ERGTK_CELL_RENDERER_BORDER_TYPE, erGtkCellRendererBorderClass))
00058 #define ERGTK_CELL_RENDERER_BORDER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS((obj),  ERGTK_CELL_RENDERER_BORDER_TYPE, erGtkCellRendererBorderClass))
00059 #define ISGTK_CELL_RENDERER_BORDER_CLASS(klass)     (G_TYPE_CHECK_CLASS_TYPE((klass),  ERGTK_CELL_RENDERER_BORDER_TYPE))
00060 
00061 #define ERGTK_CELL_RENDERER_BORDER_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), ERGTK_CELL_RENDERER_BORDER_TYPE, erGtkCellRendererBorderPrivate))
00062 
00063 
00064 //----------------------------------------------------------------------------
00065 // Forward Declarations
00066 //----------------------------------------------------------------------------
00067 
00068 struct _erGtkCellRendererBorder;
00069 struct _erGtkCellRendererBorderClass;
00070 
00071 
00072 //----------------------------------------------------------------------------
00073 // Type Declarations
00074 //----------------------------------------------------------------------------
00075 
00076 typedef struct _erGtkCellRendererBorder       erGtkCellRendererBorder;
00077 typedef struct _erGtkCellRendererBorderClass  erGtkCellRendererBorderClass;
00078 
00079 
00080 //----------------------------------------------------------------------------
00081 // Global Constants
00082 //----------------------------------------------------------------------------
00083 
00084 
00085 
00086 //============================================================================
00087 // Public Functions
00088 //============================================================================
00089 
00090 /**---------------------------------------------------------------------------
00091  *
00092  * Name :  ergtk_cell_renderer_border_new
00093  *
00094  * @brief  Create a new erGtkCellRendererBorder object
00095  *
00096  * @param  --
00097  *
00098  * @return Pointer to the newly created object, or NULL
00099  *
00100  *--------------------------------------------------------------------------*/
00101 GtkCellRenderer *ergtk_cell_renderer_border_new (void);
00102 
00103 /**---------------------------------------------------------------------------
00104  *
00105  * Name :  ergtk_cell_renderer_border_get_type
00106  *
00107  * @brief  Returns the GObject type of an erGtkCellRendererBorder
00108  *
00109  * @param  --
00110  *
00111  * @return The GObject type of an erGtkCellRendererBorder
00112  *
00113  *--------------------------------------------------------------------------*/
00114 GType ergtk_cell_renderer_border_get_type (void);
00115 
00116 
00117 //============================================================================
00118 // Class Declarations
00119 //============================================================================
00120 
00121 /**===========================================================================
00122  *
00123  * Class Name: erGtkCellRendererBorderClass
00124  *
00125  * @brief:     GObject class for erGtkCellRendererBorder objects
00126  *
00127  *==========================================================================*/
00128 struct _erGtkCellRendererBorderClass
00129 {
00130     GtkCellRendererTextClass    parent_class;
00131 
00132     // virtual methods
00133 
00134     // signal handlers
00135 };
00136 
00137 
00138 /**===========================================================================
00139  *
00140  * Class Name: erGtkCellRendererBorder
00141  *
00142  * @brief:     A cell renderer that draws a border around itself and all
00143  *             preceding cells on the current line of a listview.
00144  *
00145  *==========================================================================*/
00146 struct _erGtkCellRendererBorder
00147 {
00148     // public:
00149     GtkCellRendererText     parent;
00150 };
00151 
00152 
00153 
00154 G_END_DECLS
00155 
00156 #endif // __ERGTK_CELL_RENDERER_BORDER_H__
00157 
Generated by  doxygen 1.6.2-20100208