41 NSRect frame = [stackView frame];
42 frame.size.width = value;
43 [stackView setFrame:frame];
48 NSRect frame = [stackView frame];
49 frame.size.height = value;
50 [stackView setFrame:frame];
55 if (value >= 0 && value < [stackView numberOfTabViewItems]) {
56 [stackView selectTabViewItemAtIndex:value];
65 "Function is not appropriate for this type of widget (%s)",
91 return [stackView frame].size.width;
94 return [stackView frame].size.height;
97 return [stackView indexOfTabViewItem:[stackView selectedTabViewItem]];
104 "Function is not appropriate for this type of widget (%s)",
123 "Function is not appropriate for this type of widget (%s)",
134 const char *defaultValue) {
141 "Function is not appropriate for this type of widget (%s)",
158 NSTabViewItem *item = [[NSTabViewItem alloc] init];
160 [item setView:subview];
162 [stackView addTabViewItem:item];
176 wParent=GWEN_Widget_Tree_GetParent(w);
178 stackView = [[[
CocoaTabView alloc] initWithFrame:NSMakeRect(0.0, 0.0, 100.0, 100.0)] autorelease];
179 [stackView setTabViewType:NSNoTabsNoBorder];