find_dialog_focus(3alleg4) linux man page | unix.com

Man Page: find_dialog_focus

Operating Environment: linux

Section: 3alleg4

find_dialog_focus(3alleg4)					  Allegro manual					find_dialog_focus(3alleg4)

NAME
find_dialog_focus - Searches the dialog for the object which has the input focus. Allegro game programming library. SYNOPSIS
#include <allegro.h> int find_dialog_focus(DIALOG *dialog); DESCRIPTION
Searches the dialog for the object which has the input focus, returning an index or -1 if the focus is not set. This is useful if you are calling do_dialog() several times in a row and want to leave the focus in the same place it was when the dialog was last displayed, as you can call do_dialog(dlg, find_dialog_focus(dlg)); SEE ALSO
do_dialog(3alleg4), init_dialog(3alleg4), offer_focus(3alleg4) Allegro version 4.4.2 find_dialog_focus(3alleg4)
Related Man Pages
excustom(3alleg4) - centos
do_dialog(3alleg4) - suse
do_dialog(3alleg4) - opendarwin
do_dialog(3alleg4) - mojave
do_dialog(3alleg4) - freebsd
Similar Topics in the Unix Linux Community
Featured Books and Articles by Active Forum Members
Please Donate to the Red Cross for Earthquake and Tsunami Relief in Japan
Status of UNIX.COM Forum Transformation
UNIX.com End of Year (EOY) Report (2019)