gwenhywfar
4.3.3
|
#include <gwenhywfar/dialog_be.h>
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>
#import "CocoaWindow.h"
Go to the source code of this file.
Functions | |
int | Cocoa_Gui_Dialog_Run (GWEN_DIALOG *dlg, int timeout) |
void | CocoaGui_Dialog_Extend (GWEN_DIALOG *dlg) |
CocoaWindow * | CocoaGui_Dialog_GetMainWidget (const GWEN_DIALOG *dlg) |
void | CocoaGui_Dialog_Leave (GWEN_DIALOG *dlg, int result) |
int | CocoaGui_Dialog_Setup (GWEN_DIALOG *dlg, NSWindow *parentWindow) |
void | CocoaGui_Dialog_Unextend (GWEN_DIALOG *dlg) |
int Cocoa_Gui_Dialog_Run | ( | GWEN_DIALOG * | dlg, |
int | timeout | ||
) |
Definition at line 279 of file cocoa_gui_dialog.m.
References CocoaGui_Dialog_GetMainWidget(), CocoaGui_Dialog_Unextend(), DBG_ERROR, GWEN_ERROR_INVALID, GWEN_INHERIT_GETDATA, GWEN_LOGDOMAIN, and NULL.
Referenced by COCOA_Gui_RunDialog().
void CocoaGui_Dialog_Extend | ( | GWEN_DIALOG * | dlg | ) |
Definition at line 70 of file cocoa_gui_dialog.m.
References CocoaGui_Dialog_FreeData(), CocoaGui_Dialog_GetCharProperty(), CocoaGui_Dialog_GetIntProperty(), CocoaGui_Dialog_SetCharProperty(), CocoaGui_Dialog_SetIntProperty(), GWEN_Dialog_SetGetCharPropertyFn(), GWEN_Dialog_SetGetIntPropertyFn(), GWEN_Dialog_SetSetCharPropertyFn(), GWEN_Dialog_SetSetIntPropertyFn(), GWEN_INHERIT_SETDATA, and GWEN_NEW_OBJECT.
Referenced by COCOA_Gui_OpenDialog().
CocoaWindow* CocoaGui_Dialog_GetMainWidget | ( | const GWEN_DIALOG * | dlg | ) |
Definition at line 120 of file cocoa_gui_dialog.m.
References GWEN_INHERIT_GETDATA.
Referenced by COCOA_Gui_CloseDialog(), Cocoa_Gui_Dialog_Run(), and COCOA_Gui_OpenDialog().
void CocoaGui_Dialog_Leave | ( | GWEN_DIALOG * | dlg, |
int | result | ||
) |
Definition at line 208 of file cocoa_gui_dialog.m.
References GWEN_Dialog_GetParentDialog(), and GWEN_INHERIT_GETDATA.
Referenced by CocoaGui_WCheckBox_Toggled_handler(), CocoaGui_WComboBox_Changed_handler(), CocoaGui_WLineEdit_Changed_text_handler(), CocoaGui_WLineEdit_End_Editing_text_handler(), CocoaGui_WListBox_Changed_handler(), CocoaGui_WPushButton_Clicked_handler(), CocoaGui_WRadioButton_Toggled_handler(), CocoaGui_WSpinBox_Changed_handler(), CocoaGui_WTextEdit_Changed_text_handler(), and CocoaGui_WTextEdit_End_Editing_text_handler().
int CocoaGui_Dialog_Setup | ( | GWEN_DIALOG * | dlg, |
NSWindow * | parentWindow | ||
) |
Definition at line 174 of file cocoa_gui_dialog.m.
References COCOA_DIALOG_WIDGET_REAL, CocoaGui_Dialog_SetupTree(), DBG_ERROR, DBG_INFO, GWEN_Dialog_GetWidgets(), GWEN_ERROR_NOT_FOUND, GWEN_INHERIT_GETDATA, GWEN_LOGDOMAIN, GWEN_Widget_GetImplData(), and NULL.
Referenced by COCOA_Gui_OpenDialog().
void CocoaGui_Dialog_Unextend | ( | GWEN_DIALOG * | dlg | ) |
Definition at line 86 of file cocoa_gui_dialog.m.
References GWEN_Dialog_SetGetCharPropertyFn(), GWEN_Dialog_SetGetIntPropertyFn(), GWEN_Dialog_SetSetCharPropertyFn(), GWEN_Dialog_SetSetIntPropertyFn(), GWEN_INHERIT_GETDATA, and GWEN_INHERIT_UNLINK.
Referenced by COCOA_Gui_CloseDialog(), Cocoa_Gui_Dialog_Run(), and COCOA_Gui_OpenDialog().