1offer_focus(3) Allegro manual offer_focus(3)
2
3
4
6 offer_focus - Offers the input focus to a particular object. Allegro
7 game programming library.
8
10 #include <allegro.h>
11
12
13 int offer_focus(DIALOG *dialog, int obj, int *focus_obj, int force);
14
16 Offers the input focus to a particular object. Normally the function
17 sends the MSG_WANTFOCUS message to query whether the object is willing
18 to accept the focus. However, passing any non-zero value as force argu‐
19 ment instructs the function to authoritatively set the focus to the
20 object.
21
22
24 find_dialog_focus(3)
25
26
27
28Allegro version 4.4.3 offer_focus(3)