X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/3e797d5e792af787f3a0d6c2568ca7d728e43860..b33515e9409fa034080d5e5560929649f7605944:/gui/gui.c?ds=sidebyside diff --git a/gui/gui.c b/gui/gui.c index 8d1da94..898fde9 100644 --- a/gui/gui.c +++ b/gui/gui.c @@ -51,9 +51,9 @@ int main(int argc, char *argv[]) /* Creo el formulario */ form = form_crear(mainwin); - form_agregar_widget(form, INPUT, "Nombre", 15); - form_agregar_widget(form, INPUT, "Padron", 5); - form_agregar_widget(form, INPUT, "Datos", 30); + form_agregar_widget(form, INPUT, "Nombre", 15, ""); + form_agregar_widget(form, RADIO, "Voto", 2, "Si,No"); + form_agregar_widget(form, INPUT, "Datos", 30, ""); form_ejecutar(form, 10, 10); @@ -64,7 +64,7 @@ int main(int argc, char *argv[]) /* Imprimo los datos! */ printf("Datos Ingresados : \n"); printf("\tNombre : %s\n", form_obtener_valor(form, "Nombre")); - printf("\tPadron : %s\n", form_obtener_valor(form, "Padron")); + printf("\tVoto : %s\n", form_obtener_valor(form, "Voto")); printf("\tDatos : %s\n", form_obtener_valor(form, "Datos")); /* Libero el formulario */