offer_focus(3alleg4)

offer_focus3alleg4

Offers the input focus to a particular object. allegro game programming library.

Usage

#include <allegro.h>

int offer_focus(DIALOG *dialog, int obj, int *focus_obj, int force);

Overview

Offers the input focus to a particular object. Normally the function sends the MSG_WANTFOCUS message to query whether the object is willing to accept the focus. However, passing any non-zero value as force argument instructs the function to authoritatively set the focus to the object.

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.