Copyright (C) 2000-2012 |
GNU Info (aalib.info)aa_createeditaa_createedit ============= #include <aalib.h> struct aa_edit *aa_createedit ( aa_context *c, int x, int y, int size, char *s, int maxsize ); Parameters ========== `aa_context *c' Specifies the AA-lib context to operate on. `int x' X coordinate of the edited text. `int y' Y coordinate of the edited text. `int size' Length of the editor window. `char *s' Buffer to edit (containing default value). `int maxsize' Size of the buffer. Description =========== You might use this function to input strings in AA-lib programs. This function initializes the aa_edit structure used by event-based editor. You might then call the aa_editkey function when key is pressed. Return value ============ Pointer to edit context when succesfull and NULL on failure. automatically generated by info2www version 1.2.2.9 |