CoreGTK 3.18.0 CoreGTK is an Objective-C language binding for the GTK+ widget toolkit

- Main Page
- Classes
- Files

- File List

CGTKCellView.h
1 /*
2 * CGTKCellView.h
3 * This file is part of CoreGTK
4 *
5 * Copyright (C) 2016 - Tyler Burton
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
22 /*
23 * Modified by the CoreGTK Team, 2016. See the AUTHORS file for a
24 * list of people on the CoreGTK Team.
25 * See the ChangeLog files for a list of changes.
26 *
27 */
28
29 /*
30 * Objective-C imports
31 */
32 #import "CoreGTK/CGTKWidget.h"
33
34 @interface CGTKCellView : CGTKWidget
35 {
36
37 }
38
39
43 -(id)init;
44 -(id)initWithContextWithArea:(GtkCellArea*) area andContext:(GtkCellAreaContext*) context;
45 -(id)initWithMarkup:(NSString*) markup;
46 -(id)initWithPixbuf:(GdkPixbuf*) pixbuf;
47 -(id)initWithText:(NSString*) text;
48
53 -(GtkCellView*)CELLVIEW;
54
60 -(GtkTreePath*)getDisplayedRow;
61
67 -(BOOL)getDrawSensitive;
68
74 -(BOOL)getFitModel;
75
81 -(GtkTreeModel*)getModel;
82
90 -(BOOL)getSizeOfRowWithPath:(GtkTreePath*) path andRequisition:(GtkRequisition*) requisition;
91
97 -(void)setBackgroundColor:(const GdkColor*) color;
98
104 -(void)setBackgroundRgba:(const GdkRGBA*) rgba;
105
111 -(void)setDisplayedRow:(GtkTreePath*) path;
112
118 -(void)setDrawSensitive:(BOOL) drawSensitive;
119
125 -(void)setFitModel:(BOOL) fitModel;
126
132 -(void)setModel:(GtkTreeModel*) model;
133
134 @end
-[CGTKCellView CELLVIEW]
GtkCellView * CELLVIEW()
Definition: CGTKCellView.m:96
-[CGTKCellView getDisplayedRow]
GtkTreePath * getDisplayedRow()
Definition: CGTKCellView.m:101
-[CGTKCellView getModel]
GtkTreeModel * getModel()
Definition: CGTKCellView.m:116
-[CGTKCellView getFitModel]
BOOL getFitModel()
Definition: CGTKCellView.m:111
CGTKCellView
Definition: CGTKCellView.h:34
CGTKWidget
Definition: CGTKWidget.h:34
-[CGTKCellView init]
id init()
Definition: CGTKCellView.m:36
-[CGTKCellView getDrawSensitive]
BOOL getDrawSensitive()
Definition: CGTKCellView.m:106