struct GadgetInfo *CreateGadget(int, ...);
void FreeGadget(struct GadgetInfo *);
-void ClickOnGadget(struct GadgetInfo *);
-void AdjustScrollbar(struct GadgetInfo *, int, int);
-void ModifyTextInputTextValue(struct GadgetInfo *, char *);
-void ModifyTextInputNumberValue(struct GadgetInfo *, int);
+void ModifyGadget(struct GadgetInfo *, int, ...);
+void RedrawGadget(struct GadgetInfo *);
void MapGadget(struct GadgetInfo *);
void UnmapGadget(struct GadgetInfo *);
void UnmapAllGadgets();
void RemapAllGadgets();
+boolean anyTextGadgetActive();
+void ClickOnGadget(struct GadgetInfo *, int);
+
void HandleGadgets(int, int, int);
void HandleGadgetsKeyInput(KeySym);