return newformobject(form);
}
+static object *
+forms_activate_all_forms(f, args)
+ object *f;
+ object *args;
+{
+ fl_activate_all_forms();
+ INCREF(None);
+ return None;
+}
+
+static object *
+forms_deactivate_all_forms(f, args)
+ object *f;
+ object *args;
+{
+ fl_deactivate_all_forms();
+ INCREF(None);
+ return None;
+}
+
static object *my_event_callback = NULL;
static object *
static object *
forms_show_message(f, args)
- object *f;
- object *args;
+ object *f;
+ object *args;
{
char *a, *b, *c;
static object *
forms_show_choice(f, args)
- object *f;
- object *args;
+ object *f;
+ object *args;
{
char *m1, *m2, *m3, *b1, *b2, *b3;
int nb;
static object *
forms_show_question(f, args)
- object *f;
- object *args;
+ object *f;
+ object *args;
{
int ret;
char *a, *b, *c;
static object *
forms_show_input(f, args)
- object *f;
- object *args;
+ object *f;
+ object *args;
{
char *str;
char *a, *b;
static object *
forms_file_selector(f, args)
- object *f;
- object *args;
+ object *f;
+ object *args;
{
char *str;
char *a, *b, *c, *d;
static object *
forms_file_selector_func(args, func)
- object *args;
- char *(*func)();
+ object *args;
+ char *(*func)();
{
char *str;
static object *
forms_get_directory(f, args)
- object *f;
- object *args;
+ object *f;
+ object *args;
{
return forms_file_selector_func(args, fl_get_directory);
}
static object *
forms_get_pattern(f, args)
- object *f;
- object *args;
+ object *f;
+ object *args;
{
return forms_file_selector_func(args, fl_get_pattern);
}
static object *
forms_get_filename(f, args)
- object *f;
- object *args;
+ object *f;
+ object *args;
{
return forms_file_selector_func(args, fl_get_filename);
}
static struct methodlist forms_methods[] = {
/* adm */
{"make_form", forms_make_form},
+ {"activate_all_forms", forms_activate_all_forms},
+ {"deactivate_all_forms",forms_deactivate_all_forms},
/* gl support wrappers */
{"qdevice", forms_qdevice},
{"unqdevice", forms_unqdevice},