2 * ion/mod_query/wedln.h
4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
9 #ifndef ION_MOD_QUERY_WEDLN_H
10 #define ION_MOD_QUERY_WEDLN_H
12 #include <libtu/obj.h>
13 #include <libextl/extl.h>
14 #include <libmainloop/signal.h>
15 #include <ioncore/common.h>
16 #include <ioncore/window.h>
17 #include <ioncore/xic.h>
18 #include <ioncore/rectangle.h>
19 #include <ioncore/binding.h>
25 INTRSTRUCT(WEdlnCreateParams
);
27 DECLSTRUCT(WEdlnCreateParams
){
53 WTimer
*autoshowcompl_timer
;
62 uint compl_history_mode
:1;
64 WBindmap
*cycle_bindmap
;
67 extern WEdln
*create_wedln(WWindow
*par
, const WFitParams
*fp
,
68 WEdlnCreateParams
*p
);
69 extern void wedln_finish(WEdln
*wedln
);
70 extern void wedln_paste(WEdln
*wedln
);
71 extern void wedln_draw(WEdln
*wedln
, bool complete
);
72 extern void wedln_set_completions(WEdln
*wedln
, ExtlTab completions
,
73 bool autoshow_select_first
);
74 extern void wedln_hide_completions(WEdln
*wedln
);
75 extern bool wedln_set_histcompl(WEdln
*wedln
, int sp
);
76 extern bool wedln_get_histcompl(WEdln
*wedln
);
78 #endif /* ION_MOD_QUERY_WEDLN_H */