34 NSRect frame = [scrollView frame];
35 frame.size.width = value;
36 [scrollView setFrame:frame];
41 NSRect frame = [scrollView frame];
42 frame.size.height = value;
43 [scrollView setFrame:frame];
51 "Function is not appropriate for this type of widget (%s)",
77 return [scrollView frame].size.width;
80 return [scrollView frame].size.height;
86 "Function is not appropriate for this type of widget (%s)",
106 "Function is not appropriate for this type of widget (%s)",
117 const char *defaultValue) {
124 "Function is not appropriate for this type of widget (%s)",
162 wParent=GWEN_Widget_Tree_GetParent(w);
169 scrollView = [[[
CocoaScrollBox alloc] initWithFrame:NSMakeRect(0.0, 0.0, 100.0, 100.0)] autorelease];
170 [scrollView setHasVerticalScroller:YES];
171 [scrollView setHasHorizontalScroller:YES];
172 [scrollView setAutohidesScrollers:NO];