CoreGTK  2.24.0
CoreGTK is an Objective-C language binding for the GTK+ widget toolkit
 All Classes Functions Variables
CGTKNotebook.h
1 /*
2  * CGTKNotebook.h
3  * This file is part of CoreGTK
4  *
5  * Copyright (C) 2014 - 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, 2014. 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 "CGTKContainer.h"
33 
35 {
36 
37 }
38 
42 -(GtkNotebook *)NOTEBOOK;
43 
48 -(id)init;
49 
54 -(NSNumber *)appendPageWithChild:(CGTKWidget *)child andTabLabel:(CGTKWidget *)tabLabel;
55 
60 -(NSNumber *)appendPageMenuWithChild:(CGTKWidget *)child andTabLabel:(CGTKWidget *)tabLabel andMenuLabel:(CGTKWidget *)menuLabel;
61 
66 -(NSNumber *)prependPageWithChild:(CGTKWidget *)child andTabLabel:(CGTKWidget *)tabLabel;
67 
72 -(NSNumber *)prependPageMenuWithChild:(CGTKWidget *)child andTabLabel:(CGTKWidget *)tabLabel andMenuLabel:(CGTKWidget *)menuLabel;
73 
78 -(NSNumber *)insertPageWithChild:(CGTKWidget *)child andTabLabel:(CGTKWidget *)tabLabel andPosition:(NSNumber *)position;
79 
84 -(NSNumber *)insertPageMenuWithChild:(CGTKWidget *)child andTabLabel:(CGTKWidget *)tabLabel andMenuLabel:(CGTKWidget *)menuLabel andPosition:(NSNumber *)position;
85 
90 -(void)removePage:(NSNumber *)pageNum;
91 
96 -(NSString *)getGroupName;
97 
102 -(void)setGroupName:(NSString *)groupName;
103 
108 -(NSNumber *)getCurrentPage;
109 
114 -(CGTKWidget *)getNthPage:(NSNumber *)pageNum;
115 
120 -(NSNumber *)getNPages;
121 
126 -(NSNumber *)pageNum:(CGTKWidget *)child;
127 
132 -(void)setCurrentPage:(NSNumber *)pageNum;
133 
138 -(void)nextPage;
139 
144 -(void)prevPage;
145 
150 -(void)setShowBorder:(BOOL)showBorder;
151 
156 -(BOOL)getShowBorder;
157 
162 -(void)setShowTabs:(BOOL)showTabs;
163 
168 -(BOOL)getShowTabs;
169 
174 -(void)setTabPos:(GtkPositionType)pos;
175 
180 -(GtkPositionType)getTabPos;
181 
186 -(void)setTabBorder:(NSNumber *)borderWidth;
187 
192 -(void)setTabHborder:(NSNumber *)tabHborder;
193 
198 -(void)setTabVborder:(NSNumber *)tabVborder;
199 
204 -(void)setScrollable:(BOOL)scrollable;
205 
210 -(BOOL)getScrollable;
211 
216 -(NSNumber *)getTabHborder;
217 
222 -(NSNumber *)getTabVborder;
223 
228 -(void)popupEnable;
229 
234 -(void)popupDisable;
235 
240 -(CGTKWidget *)getTabLabel:(CGTKWidget *)child;
241 
246 -(void)setTabLabelWithChild:(CGTKWidget *)child andTabLabel:(CGTKWidget *)tabLabel;
247 
252 -(NSString *)getTabLabelTextWithChild:(CGTKWidget *)child;
253 
258 -(void)setTabLabelTextWithChild:(CGTKWidget *)child andTabText:(NSString *)tabText;
259 
264 -(CGTKWidget *)getMenuLabel:(CGTKWidget *)child;
265 
270 -(void)setMenuLabelWithChild:(CGTKWidget *)child andMenuLabel:(CGTKWidget *)menuLabel;
271 
276 -(NSString *)getMenuLabelTextWithChild:(CGTKWidget *)child;
277 
282 -(void)setMenuLabelTextWithChild:(CGTKWidget *)child andMenuText:(NSString *)menuText;
283 
288 -(void)setTabLabelPackingWithChild:(CGTKWidget *)child andExpand:(BOOL)expand andFill:(BOOL)fill andPackType:(GtkPackType)packType;
289 
294 -(void)reorderChildWithChild:(CGTKWidget *)child andPosition:(NSNumber *)position;
295 
300 -(BOOL)getTabReorderable:(CGTKWidget *)child;
301 
306 -(void)setTabReorderableWithChild:(CGTKWidget *)child andReorderable:(BOOL)reorderable;
307 
312 -(BOOL)getTabDetachable:(CGTKWidget *)child;
313 
318 -(void)setTabDetachableWithChild:(CGTKWidget *)child andDetachable:(BOOL)detachable;
319 
324 -(CGTKWidget *)getActionWidget:(GtkPackType)packType;
325 
330 -(void)setActionWidgetWithWidget:(CGTKWidget *)widget andPackType:(GtkPackType)packType;
331 
332 @end
Definition: CGTKNotebook.h:34
Definition: CGTKContainer.h:34
Definition: CGTKWidget.h:50