mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
Add Perl bindings for some gui_entry methods.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4590 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
5a639efef3
commit
dfb892559c
@ -117,6 +117,25 @@ gui_printtext(xpos, ypos, str)
|
||||
int ypos
|
||||
char *str
|
||||
|
||||
void
|
||||
gui_input_set(str)
|
||||
char *str
|
||||
CODE:
|
||||
gui_entry_set_text(active_entry, str);
|
||||
|
||||
int
|
||||
gui_input_get_pos()
|
||||
CODE:
|
||||
RETVAL = gui_entry_get_pos(active_entry);
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
void
|
||||
gui_input_set_pos(pos)
|
||||
int pos
|
||||
CODE:
|
||||
gui_entry_set_pos(active_entry, pos);
|
||||
|
||||
MODULE = Irssi::TextUI PACKAGE = Irssi::UI::Window
|
||||
|
||||
void
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include "statusbar.h"
|
||||
#include "textbuffer.h"
|
||||
#include "textbuffer-view.h"
|
||||
#include "gui-entry.h"
|
||||
|
||||
typedef MAIN_WINDOW_REC *Irssi__TextUI__MainWindow;
|
||||
typedef TEXT_BUFFER_REC *Irssi__TextUI__TextBuffer;
|
||||
|
Loading…
Reference in New Issue
Block a user