gwenhywfar 5.14.1
cocoa_gui_dialog_l.h File Reference
#include <gwenhywfar/dialog_be.h>
import <Foundation/Foundation.h>
import <AppKit/AppKit.h>
import "CocoaWindow.h"
Include dependency graph for cocoa_gui_dialog_l.h:
This graph shows which files directly or indirectly include this file:

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)
CocoaWindowCocoaGui_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)

Function Documentation

◆ Cocoa_Gui_Dialog_Run()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CocoaGui_Dialog_Extend()

◆ CocoaGui_Dialog_GetMainWidget()

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().

Here is the caller graph for this function:

◆ CocoaGui_Dialog_Leave()

◆ CocoaGui_Dialog_Setup()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CocoaGui_Dialog_Unextend()

void CocoaGui_Dialog_Unextend ( GWEN_DIALOG * dlg)