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];
#define COCOA_DIALOG_WIDGET_REAL
#define COCOA_DIALOG_WIDGET_CONTENT
#define DBG_WARN(dbg_logger, format, args...)
#define GWEN_WIDGET_FLAGS_FILLY
#define GWEN_WIDGET_FLAGS_FILLX
@ GWEN_DialogProperty_Title
@ GWEN_DialogProperty_Height
@ GWEN_DialogProperty_Enabled
@ GWEN_DialogProperty_Focus
@ GWEN_DialogProperty_Width
#define GWEN_ERROR_INVALID
static GWENHYWFAR_CB int CocoaGui_WGroupBox_SetIntProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, int value, int doSignal)
static GWENHYWFAR_CB const char * CocoaGui_WGroupBox_GetCharProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, const char *defaultValue)
static GWENHYWFAR_CB int CocoaGui_WGroupBox_SetCharProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, const char *value, int doSignal)
static GWENHYWFAR_CB int CocoaGui_WGroupBox_GetIntProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, int defaultValue)
static GWENHYWFAR_CB int CocoaGui_WGroupBox_AddChildGuiWidget(GWEN_WIDGET *w, GWEN_WIDGET *wChild)
int CocoaGui_WGroupBox_Setup(GWEN_WIDGET *w)