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

- Main Page
- Classes
- Files

- File List

All Classes Functions Variables
CGTKNotebook.h
1 /*
2 * CGTKNotebook.h
3 * This file is part of CoreGTK
4 *
5 * Copyright (C) 2015 - 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, 2015. 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
76 -(CGTKWidget*)getActionWidget:(GtkPackType) packType;
77
83 -(gint)getCurrentPage;
84
90 -(NSString*)getGroupName;
91
98 -(CGTKWidget*)getMenuLabel:(CGTKWidget*) child;
99
106 -(NSString*)getMenuLabelText:(CGTKWidget*) child;
107
113 -(gint)getNpages;
114
121 -(CGTKWidget*)getNthPage:(gint) pageNum;
122
128 -(BOOL)getScrollable;
129
135 -(BOOL)getShowBorder;
136
142 -(BOOL)getShowTabs;
143
150 -(BOOL)getTabDetachable:(CGTKWidget*) child;
151
157 -(guint16)getTabHborder;
158
165 -(CGTKWidget*)getTabLabel:(CGTKWidget*) child;
166
173 -(NSString*)getTabLabelText:(CGTKWidget*) child;
174
180 -(GtkPositionType)getTabPos;
181
188 -(BOOL)getTabReorderable:(CGTKWidget*) child;
189
195 -(guint16)getTabVborder;
196
205 -(gint)insertPageWithChild:(CGTKWidget*) child andTabLabel:(CGTKWidget*) tabLabel andPosition:(gint) position;
206
216 -(gint)insertPageMenuWithChild:(CGTKWidget*) child andTabLabel:(CGTKWidget*) tabLabel andMenuLabel:(CGTKWidget*) menuLabel andPosition:(gint) position;
217
222 -(void)nextPage;
223
230 -(gint)pageNum:(CGTKWidget*) child;
231
236 -(void)popupDisable;
237
242 -(void)popupEnable;
243
251 -(gint)prependPageWithChild:(CGTKWidget*) child andTabLabel:(CGTKWidget*) tabLabel;
252
261 -(gint)prependPageMenuWithChild:(CGTKWidget*) child andTabLabel:(CGTKWidget*) tabLabel andMenuLabel:(CGTKWidget*) menuLabel;
262
267 -(void)prevPage;
268
274 -(void)removePage:(gint) pageNum;
275
282 -(void)reorderChildWithChild:(CGTKWidget*) child andPosition:(gint) position;
283
290 -(void)setActionWidgetWithWidget:(CGTKWidget*) widget andPackType:(GtkPackType) packType;
291
297 -(void)setCurrentPage:(gint) pageNum;
298
304 -(void)setGroupName:(NSString*) groupName;
305
312 -(void)setMenuLabelWithChild:(CGTKWidget*) child andMenuLabel:(CGTKWidget*) menuLabel;
313
320 -(void)setMenuLabelTextWithChild:(CGTKWidget*) child andMenuText:(NSString*) menuText;
321
327 -(void)setScrollable:(BOOL) scrollable;
328
334 -(void)setShowBorder:(BOOL) showBorder;
335
341 -(void)setShowTabs:(BOOL) showTabs;
342
349 -(void)setTabDetachableWithChild:(CGTKWidget*) child andDetachable:(BOOL) detachable;
350
357 -(void)setTabLabelWithChild:(CGTKWidget*) child andTabLabel:(CGTKWidget*) tabLabel;
358
365 -(void)setTabLabelTextWithChild:(CGTKWidget*) child andTabText:(NSString*) tabText;
366
372 -(void)setTabPos:(GtkPositionType) pos;
373
380 -(void)setTabReorderableWithChild:(CGTKWidget*) child andReorderable:(BOOL) reorderable;
381
382 @end
CGTKNotebook
Definition: CGTKNotebook.h:34
CGTKContainer
Definition: CGTKContainer.h:34
CGTKWidget
Definition: CGTKWidget.h:34