irssi/src/fe-text/gui-entry.h
Timo Sirainen 72b32ff175 Ctrl-W deletes word in left - patch from
Kjetil �degaard <kjetilod@orakel.ntnu.no>


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@341 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 18:02:13 +00:00

28 lines
669 B
C

#ifndef __GUI_ENTRY_H
#define __GUI_ENTRY_H
void gui_entry_set_prompt(const char *str);
/* permanent prompt can't be overwritten with gui_entry_set_prompt() */
void gui_entry_set_perm_prompt(const char *str);
void gui_entry_remove_perm_prompt(void);
void gui_entry_set_text(const char *str);
char *gui_entry_get_text(void);
void gui_entry_insert_text(const char *str);
void gui_entry_insert_char(char chr);
void gui_entry_erase(int size);
void gui_entry_erase_word(void);
int gui_entry_get_pos(void);
void gui_entry_set_pos(int pos);
void gui_entry_move_pos(int pos);
void gui_entry_redraw(void);
void gui_entry_init(void);
void gui_entry_deinit(void);
#endif