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

- Main Page
- Classes
- Files

- File List

CGTKNotebook.h
1 /*
2 * CGTKNotebook.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/CGTKContainer.h"
33
34 @interface CGTKNotebook : CGTKContainer
35 {
36
37 }
38
39
43 -(id)init;
44
49 -(GtkNotebook*)NOTEBOOK;
50
58 -(gint)appendPageWithChild:(CGTKWidget*) child andTabLabel:(CGTKWidget*) tabLabel;
59
68 -(gint)appendPageMenuWithChild:(CGTKWidget*) child andTabLabel:(CGTKWidget*) tabLabel andMenuLabel:(CGTKWidget*) menuLabel;
69
75 -(void)detachTab:(CGTKWidget*) child;
76
83 -(CGTKWidget*)getActionWidget:(GtkPackType) packType;
84
90 -(gint)getCurrentPage;
91
97 -(NSString*)getGroupName;
98
105 -(CGTKWidget*)getMenuLabel:(CGTKWidget*) child;
106
113 -(NSString*)getMenuLabelText:(CGTKWidget*) child;
114
120 -(gint)getNpages;
121
128 -(CGTKWidget*)getNthPage:(gint) pageNum;
129
135 -(BOOL)getScrollable;
136
142 -(BOOL)getShowBorder;
143
149 -(BOOL)getShowTabs;
150
157 -(BOOL)getTabDetachable:(CGTKWidget*) child;
158
164 -(guint16)getTabHborder;
165
172 -(CGTKWidget*)getTabLabel:(CGTKWidget*) child;
173
180 -(NSString*)getTabLabelText:(CGTKWidget*) child;
181
187 -(GtkPositionType)getTabPos;
188
195 -(BOOL)getTabReorderable:(CGTKWidget*) child;
196
202 -(guint16)getTabVborder;
203
212 -(gint)insertPageWithChild:(CGTKWidget*) child andTabLabel:(CGTKWidget*) tabLabel andPosition:(gint) position;
213
223 -(gint)insertPageMenuWithChild:(CGTKWidget*) child andTabLabel:(CGTKWidget*) tabLabel andMenuLabel:(CGTKWidget*) menuLabel andPosition:(gint) position;
224
229 -(void)nextPage;
230
237 -(gint)pageNum:(CGTKWidget*) child;
238
243 -(void)popupDisable;
244
249 -(void)popupEnable;
250
258 -(gint)prependPageWithChild:(CGTKWidget*) child andTabLabel:(CGTKWidget*) tabLabel;
259
268 -(gint)prependPageMenuWithChild:(CGTKWidget*) child andTabLabel:(CGTKWidget*) tabLabel andMenuLabel:(CGTKWidget*) menuLabel;
269
274 -(void)prevPage;
275
281 -(void)removePage:(gint) pageNum;
282
289 -(void)reorderChildWithChild:(CGTKWidget*) child andPosition:(gint) position;
290
297 -(void)setActionWidgetWithWidget:(CGTKWidget*) widget andPackType:(GtkPackType) packType;
298
304 -(void)setCurrentPage:(gint) pageNum;
305
311 -(void)setGroupName:(NSString*) groupName;
312
319 -(void)setMenuLabelWithChild:(CGTKWidget*) child andMenuLabel:(CGTKWidget*) menuLabel;
320
327 -(void)setMenuLabelTextWithChild:(CGTKWidget*) child andMenuText:(NSString*) menuText;
328
334 -(void)setScrollable:(BOOL) scrollable;
335
341 -(void)setShowBorder:(BOOL) showBorder;
342
348 -(void)setShowTabs:(BOOL) showTabs;
349
356 -(void)setTabDetachableWithChild:(CGTKWidget*) child andDetachable:(BOOL) detachable;
357
364 -(void)setTabLabelWithChild:(CGTKWidget*) child andTabLabel:(CGTKWidget*) tabLabel;
365
372 -(void)setTabLabelTextWithChild:(CGTKWidget*) child andTabText:(NSString*) tabText;
373
379 -(void)setTabPos:(GtkPositionType) pos;
380
387 -(void)setTabReorderableWithChild:(CGTKWidget*) child andReorderable:(BOOL) reorderable;
388
389 @end
-[CGTKNotebook getShowTabs]
BOOL getShowTabs()
Definition: CGTKNotebook.m:113
-[CGTKNotebook getScrollable]
BOOL getScrollable()
Definition: CGTKNotebook.m:103
-[CGTKNotebook getTabVborder]
guint16 getTabVborder()
Definition: CGTKNotebook.m:148
-[CGTKNotebook nextPage]
void nextPage()
Definition: CGTKNotebook.m:163
-[CGTKNotebook NOTEBOOK]
GtkNotebook * NOTEBOOK()
Definition: CGTKNotebook.m:48
CGTKNotebook
Definition: CGTKNotebook.h:34
-[CGTKNotebook init]
id init()
Definition: CGTKNotebook.m:36
-[CGTKNotebook prevPage]
void prevPage()
Definition: CGTKNotebook.m:193
CGTKContainer
Definition: CGTKContainer.h:34
-[CGTKNotebook getTabPos]
GtkPositionType getTabPos()
Definition: CGTKNotebook.m:138
-[CGTKNotebook getTabHborder]
guint16 getTabHborder()
Definition: CGTKNotebook.m:123
-[CGTKNotebook popupDisable]
void popupDisable()
Definition: CGTKNotebook.m:173
CGTKWidget
Definition: CGTKWidget.h:34
-[CGTKNotebook getShowBorder]
BOOL getShowBorder()
Definition: CGTKNotebook.m:108
-[CGTKNotebook getGroupName]
NSString * getGroupName()
Definition: CGTKNotebook.m:78
-[CGTKNotebook popupEnable]
void popupEnable()
Definition: CGTKNotebook.m:178
-[CGTKNotebook getNpages]
gint getNpages()
Definition: CGTKNotebook.m:93
-[CGTKNotebook getCurrentPage]
gint getCurrentPage()
Definition: CGTKNotebook.m:73