summaryrefslogtreecommitdiff
path: root/src/vte.h
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@src.gnome.org>2002-06-12 20:24:40 +0000
committerNalin Dahyabhai <nalin@src.gnome.org>2002-06-12 20:24:40 +0000
commit502568a81e082c70a0931099a4753b17a7653b3a (patch)
tree3c2f3cd906a6cc85b8bad271de61b878fb9b8d78 /src/vte.h
parentb3c3ca51c7b786a9b4fae50c65aa8096132a7b63 (diff)
Implement vte_terminal_get_encoding and vte_terminal_get_emulation, and
* src/vte.c, src/vte.h: Implement vte_terminal_get_encoding and vte_terminal_get_emulation, and emit signals when these change. * src/vteaccess.c: Emit a "text_caret_moved" signal when the cursor moves.
Diffstat (limited to 'src/vte.h')
-rw-r--r--src/vte.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vte.h b/src/vte.h
index b51fe03..24ba29f 100644
--- a/src/vte.h
+++ b/src/vte.h
@@ -65,6 +65,8 @@ typedef struct _VteTerminalClass {
/* Signals we might emit. */
guint eof_signal;
guint child_exited_signal;
+ guint emulation_changed_signal;
+ guint encoding_changed_signal;
guint char_size_changed_signal;
guint window_title_changed_signal;
guint icon_title_changed_signal;
@@ -224,9 +226,11 @@ char *vte_terminal_match_check(VteTerminal *terminal, long column, long row,
/* Set the emulation type. Most of the time you won't need this. */
void vte_terminal_set_emulation(VteTerminal *terminal, const char *emulation);
+const char *vte_terminal_get_emulation(VteTerminal *terminal);
/* Set the character encoding. Most of the time you won't need this. */
void vte_terminal_set_encoding(VteTerminal *terminal, const char *encoding);
+const char *vte_terminal_get_encoding(VteTerminal *terminal);
G_END_DECLS