33 NSRect frame = [box frame];
34 frame.size.width = value;
40 NSRect frame = [box frame];
41 frame.size.height = value;
51 "Function is not appropriate for this type of widget (%s)",
79 return [box frame].size.width;
82 return [box frame].size.height;
89 "Function is not appropriate for this type of widget (%s)",
109 NSString *stringValue = [[NSString alloc] initWithCString:value encoding:NSUTF8StringEncoding];
110 [box setTitle:stringValue];
111 [stringValue release];
119 "Function is not appropriate for this type of widget (%s)",
130 const char *defaultValue) {
138 return [[box title] cStringUsingEncoding:NSUTF8StringEncoding];
144 "Function is not appropriate for this type of widget (%s)",
184 wParent=GWEN_Widget_Tree_GetParent(w);
188 box = [[[
CocoaGroupBox alloc] initWithFrame:NSMakeRect(10.0, 10.0, 100.0, 22.0)] autorelease];
193 [newContentView setAutoresizingMask:NSViewWidthSizable|NSViewHeightSizable];
194 [box setContentView:newContentView];
195 [newContentView release];
198 NSString *title = [[NSString alloc] initWithCString:s encoding:NSUTF8StringEncoding];
199 [box setTitle:title];