---
name: "DIALOG"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/DIALOG/3alleg4"
---

# DIALOG(3alleg4)

Stores a GUI description. Allegro game programming library.

## NAME

DIALOG - Stores a GUI description. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**typedef struct DIALOG**

## DESCRIPTION

```
   int (*proc)(int, DIALOG *, int); - dialog procedure
                                      (message handler)
   int x, y, w, h;       - position and size of the object
   int fg, bg;           - foreground and background colors
   int key;              - ASCII keyboard shortcut
   int flags;            - flags about the status of the object
   int d1, d2;           - whatever you want to use them for
   void *dp, *dp2, *dp3; - pointers to more object-specific data
```

This is the structure which contains a GUI object. Read chapter "GUI routines" for a description on how to obtain/use this structure.

## SEE ALSO

**do\_dialog**(3alleg4), **excustom**(3alleg4), **exgui**(3alleg4), **exrgbhsv**(3alleg4)
