geany  1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

vte.h
Go to the documentation of this file.
1/*
2 * vte.h - this file is part of Geany, a fast and lightweight IDE
3 *
4 * Copyright 2005 The Geany contributors
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 */
20
21
22#ifndef GEANY_VTE_H
23#define GEANY_VTE_H 1
24
25#ifdef HAVE_VTE
26
27#include "gtkcompat.h"
28
29G_BEGIN_DECLS
30
31typedef struct
32{
33 gboolean load_vte; /* this is the preference, NOT the current instance VTE state */
34 gboolean load_vte_cmdline; /* this is the command line option */
35 gboolean have_vte; /* use this field to check if the current instance has VTE */
36 gchar *lib_vte;
37 gchar *dir;
38} VteInfo;
39
40extern VteInfo vte_info;
41
42
43typedef struct
44{
45 GtkWidget *vte;
46 GtkWidget *menu;
47 GtkWidget *im_submenu;
48 gboolean scroll_on_key;
49 gboolean scroll_on_out;
50 gboolean ignore_menu_bar_accel;
51 gboolean follow_path;
52 gboolean run_in_vte;
53 gboolean skip_run_script;
54 gboolean enable_bash_keys;
55 gboolean cursor_blinks;
56 gboolean send_selection_unsafe;
57 gint scrollback_lines;
58 gchar *shell;
59 gchar *font;
60 gchar *send_cmd_prefix;
61 GdkColor colour_fore;
62 GdkColor colour_back;
63} VteConfig;
64extern VteConfig *vc;
65
66
67void vte_init(void);
68
69void vte_close(void);
70
71void vte_apply_user_settings(void);
72
73gboolean vte_send_cmd(const gchar *cmd);
74
75const gchar *vte_get_working_directory(void);
76
77void vte_cwd(const gchar *filename, gboolean force);
78
79void vte_append_preferences_tab(void);
80
81void vte_send_selection_to_vte(void);
82
83void vte_select_all(void);
84
85G_END_DECLS
86
87#endif /* HAVE_VTE */
88
89#endif /* GEANY_VTE_H */
const gchar filename[]
Definition: stash-example.c:4