Add 'Refresh' popup menu item (part of geany-plugins #2999858).
[geany-mirror.git] / src / vte.h
blobf6a5580b123d294d4929b90ed308382f0457403b
1 /*
2 * vte.h - this file is part of Geany, a fast and lightweight IDE
4 * Copyright 2005-2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5 * Copyright 2006-2010 Nick Treleaven <<nick(dot)treleaven(at)btinternet(dot)com>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 * $Id$
25 #ifndef GEANY_VTE_H
26 #define GEANY_VTE_H 1
28 #ifdef HAVE_VTE
31 typedef struct
33 gboolean load_vte;
34 gboolean have_vte;
35 gchar *lib_vte;
36 gchar *dir;
37 } VteInfo;
39 extern VteInfo vte_info;
42 typedef struct
44 GtkWidget *vte;
45 GtkWidget *menu;
46 GtkWidget *im_submenu;
47 gboolean scroll_on_key;
48 gboolean scroll_on_out;
49 gboolean ignore_menu_bar_accel;
50 gboolean follow_path;
51 gboolean run_in_vte;
52 gboolean skip_run_script;
53 gboolean enable_bash_keys;
54 gboolean cursor_blinks;
55 gboolean send_selection_unsafe;
56 gint scrollback_lines;
57 gchar *emulation;
58 gchar *shell;
59 gchar *font;
60 GdkColor *colour_fore;
61 GdkColor *colour_back;
62 } VteConfig;
63 extern VteConfig *vc;
66 void vte_init(void);
68 void vte_close(void);
70 void vte_apply_user_settings(void);
72 gboolean vte_send_cmd(const gchar *cmd);
74 const gchar *vte_get_working_directory(void);
76 void vte_cwd(const gchar *filename, gboolean force);
78 void vte_append_preferences_tab(void);
80 void vte_send_selection_to_vte(void);
82 #endif
84 #endif