32 if (value >= 0 && value < [tabView numberOfTabViewItems]) {
33 [tabView selectTabViewItemAtIndex:value];
42 "Function is not appropriate for this type of widget (%s)",
68 return [tabView indexOfTabViewItem:[tabView selectedTabViewItem]];
75 "Function is not appropriate for this type of widget (%s)",
94 "Function is not appropriate for this type of widget (%s)",
105 const char *defaultValue) {
112 "Function is not appropriate for this type of widget (%s)",
134 NSTabViewItem *item = [[NSTabViewItem alloc] init];
137 NSString *title = [[NSString alloc] initWithCString:s encoding:NSUTF8StringEncoding];
138 [item setLabel:title];
142 [item setView:subview];
144 [tabView addTabViewItem:item];
159 wParent=GWEN_Widget_Tree_GetParent(w);
161 tabView=[[[
CocoaTabView alloc] initWithFrame:NSMakeRect(10.0, 10.0, 100.0, 22.0)] autorelease];