---
name: "d_radio_proc"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/d_radio_proc"
---

# d\_radio\_proc(3alleg)

Dialog procedure implementing a radio button object. Allegro game programming library.

## NAME

d\_radio\_proc - Dialog procedure implementing a radio button object. Allegro game programming library.

## SYNOPSIS

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

**int d\_radio\_proc(int msg, DIALOG \*d, int c);**

## DESCRIPTION

A radio button object. A dialog can contain any number of radio button  groups: selecting a radio button causes other buttons within the same  group to be deselected. The dp field points to the text string, d1  specifies the group number, and d2 is the button style (0=circle,  1=square).

## SEE ALSO

[**exgui**(3alleg)](/exgui/3alleg.md)
