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

CGTKScrolledWindow.h
1 /*
2 * CGTKScrolledWindow.h
3 * This file is part of CoreGTK
4 *
5 * Copyright (C) 2017 - 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, 2017. 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/CGTKBin.h"
33
34 @interface CGTKScrolledWindow : CGTKBin
35 {
36
37 }
38
39
43 -(id)initWithHadjustment:(GtkAdjustment*) hadjustment andVadjustment:(GtkAdjustment*) vadjustment;
44
49 -(GtkScrolledWindow*)SCROLLEDWINDOW;
50
56 -(void)addWithViewport:(CGTKWidget*) child;
57
63 -(BOOL)getCaptureButtonPress;
64
70 -(GtkAdjustment*)getHadjustment;
71
77 -(CGTKWidget*)getHscrollbar;
78
84 -(BOOL)getKineticScrolling;
85
91 -(gint)getMaxContentHeight;
92
98 -(gint)getMaxContentWidth;
99
105 -(gint)getMinContentHeight;
106
112 -(gint)getMinContentWidth;
113
119 -(BOOL)getOverlayScrolling;
120
126 -(GtkCornerType)getPlacement;
127
134 -(void)getPolicyWithHscrollbarPolicy:(GtkPolicyType*) hscrollbarPolicy andVscrollbarPolicy:(GtkPolicyType*) vscrollbarPolicy;
135
141 -(BOOL)getPropagateNaturalHeight;
142
148 -(BOOL)getPropagateNaturalWidth;
149
155 -(GtkShadowType)getShadowType;
156
162 -(GtkAdjustment*)getVadjustment;
163
169 -(CGTKWidget*)getVscrollbar;
170
176 -(void)setCaptureButtonPress:(BOOL) captureButtonPress;
177
183 -(void)setHadjustment:(GtkAdjustment*) hadjustment;
184
190 -(void)setKineticScrolling:(BOOL) kineticScrolling;
191
197 -(void)setMaxContentHeight:(gint) height;
198
204 -(void)setMaxContentWidth:(gint) width;
205
211 -(void)setMinContentHeight:(gint) height;
212
218 -(void)setMinContentWidth:(gint) width;
219
225 -(void)setOverlayScrolling:(BOOL) overlayScrolling;
226
232 -(void)setPlacement:(GtkCornerType) windowPlacement;
233
240 -(void)setPolicyWithHscrollbarPolicy:(GtkPolicyType) hscrollbarPolicy andVscrollbarPolicy:(GtkPolicyType) vscrollbarPolicy;
241
247 -(void)setPropagateNaturalHeight:(BOOL) propagate;
248
254 -(void)setPropagateNaturalWidth:(BOOL) propagate;
255
261 -(void)setShadowType:(GtkShadowType) type;
262
268 -(void)setVadjustment:(GtkAdjustment*) vadjustment;
269
274 -(void)unsetPlacement;
275
276 @end
-[CGTKScrolledWindow SCROLLEDWINDOW]
GtkScrolledWindow * SCROLLEDWINDOW()
Definition: CGTKScrolledWindow.m:48
-[CGTKScrolledWindow getKineticScrolling]
BOOL getKineticScrolling()
Definition: CGTKScrolledWindow.m:73
-[CGTKScrolledWindow getShadowType]
GtkShadowType getShadowType()
Definition: CGTKScrolledWindow.m:123
-[CGTKScrolledWindow getVscrollbar]
CGTKWidget * getVscrollbar()
Definition: CGTKScrolledWindow.m:133
-[CGTKScrolledWindow getMaxContentWidth]
gint getMaxContentWidth()
Definition: CGTKScrolledWindow.m:83
-[CGTKScrolledWindow getMaxContentHeight]
gint getMaxContentHeight()
Definition: CGTKScrolledWindow.m:78
-[CGTKScrolledWindow getHadjustment]
GtkAdjustment * getHadjustment()
Definition: CGTKScrolledWindow.m:63
CGTKScrolledWindow
Definition: CGTKScrolledWindow.h:34
-[CGTKScrolledWindow getOverlayScrolling]
BOOL getOverlayScrolling()
Definition: CGTKScrolledWindow.m:98
CGTKBin
Definition: CGTKBin.h:34
-[CGTKScrolledWindow getHscrollbar]
CGTKWidget * getHscrollbar()
Definition: CGTKScrolledWindow.m:68
-[CGTKScrolledWindow getPlacement]
GtkCornerType getPlacement()
Definition: CGTKScrolledWindow.m:103
CGTKWidget
Definition: CGTKWidget.h:34
-[CGTKScrolledWindow getVadjustment]
GtkAdjustment * getVadjustment()
Definition: CGTKScrolledWindow.m:128
-[CGTKScrolledWindow getPropagateNaturalWidth]
BOOL getPropagateNaturalWidth()
Definition: CGTKScrolledWindow.m:118
-[CGTKScrolledWindow getPropagateNaturalHeight]
BOOL getPropagateNaturalHeight()
Definition: CGTKScrolledWindow.m:113
-[CGTKScrolledWindow getCaptureButtonPress]
BOOL getCaptureButtonPress()
Definition: CGTKScrolledWindow.m:58
-[CGTKScrolledWindow unsetPlacement]
void unsetPlacement()
Definition: CGTKScrolledWindow.m:208
-[CGTKScrolledWindow getMinContentHeight]
gint getMinContentHeight()
Definition: CGTKScrolledWindow.m:88
-[CGTKScrolledWindow getMinContentWidth]
gint getMinContentWidth()
Definition: CGTKScrolledWindow.m:93