1 /*
2  * This file is part of gtkD.
3  *
4  * gtkD is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License
6  * as published by the Free Software Foundation; either version 3
7  * of the License, or (at your option) any later version, with
8  * some exceptions, please read the COPYING file.
9  *
10  * gtkD is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with gtkD; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
18  */
19  
20 // generated automatically - do not change
21 // find conversion definition on APILookup.txt
22 // implement new conversion functionalities on the wrap.utils pakage
23 
24 module vtec.vtetypes;
25 
26 
27 public import gtkc.gtktypes;
28 
29 /**
30  * Warning
31  * VteTerminalAntiAlias is deprecated and should not be used in newly-written code.
32  * An enumeration describing which anti-alias setting to use.
33  * Deprecated: 0.20
34  * VTE_ANTI_ALIAS_USE_DEFAULT
35  * Use the system default anti-alias setting
36  * VTE_ANTI_ALIAS_FORCE_ENABLE
37  * Force enable anti-aliasing
38  * VTE_ANTI_ALIAS_FORCE_DISABLE
39  * Force disable anti-aliasing
40  */
41 public enum VteTerminalAntiAlias
42 {
43 	ANTI_ALIAS_USE_DEFAULT,
44 	ANTI_ALIAS_FORCE_ENABLE,
45 	ANTI_ALIAS_FORCE_DISABLE
46 }
47 /**
48  * An enumerated type which can be used to indicate the cursor blink mode
49  * for the terminal.
50  * VTE_CURSOR_BLINK_SYSTEM
51  * Follow GTK+ settings for cursor blinking.
52  * VTE_CURSOR_BLINK_ON
53  * Cursor blinks.
54  * VTE_CURSOR_BLINK_OFF
55  * Cursor does not blink.
56  */
57 public enum VteTerminalCursorBlinkMode
58 {
59 	CURSOR_BLINK_SYSTEM,
60 	CURSOR_BLINK_ON,
61 	CURSOR_BLINK_OFF
62 }
63 /**
64  * An enumerated type which can be used to indicate what should the terminal
65  * draw at the cursor position.
66  * VTE_CURSOR_SHAPE_BLOCK
67  * Draw a block cursor. This is the default.
68  * VTE_CURSOR_SHAPE_IBEAM
69  * Draw a vertical bar on the left side of character.
70  * This is similar to the default cursor for other GTK+ widgets.
71  * VTE_CURSOR_SHAPE_UNDERLINE
72  * Draw a horizontal bar below the character.
73  */
74 public enum VteTerminalCursorShape
75 {
76 	CURSOR_SHAPE_BLOCK,
77 	CURSOR_SHAPE_IBEAM,
78 	CURSOR_SHAPE_UNDERLINE
79 }
80 /**
81  * An enumerated type which can be used to indicate which string the terminal
82  * should send to an application when the user presses the Delete or Backspace
83  * keys.
84  * VTE_ERASE_AUTO
85  * For backspace, attempt to determine the right value from the terminal's IO settings. For delete, use the control sequence.
86  * VTE_ERASE_ASCII_BACKSPACE
87  * Send an ASCII backspace character (0x08).
88  * VTE_ERASE_ASCII_DELETE
89  * Send an ASCII delete character (0x7F).
90  * VTE_ERASE_DELETE_SEQUENCE
91  * Send the "@7" control sequence.
92  * VTE_ERASE_TTY
93  * Send terminal's "erase" setting.
94  */
95 public enum VteTerminalEraseBinding
96 {
97 	ERASE_AUTO,
98 	ERASE_ASCII_BACKSPACE,
99 	ERASE_ASCII_DELETE,
100 	ERASE_DELETE_SEQUENCE,
101 	ERASE_TTY
102 }
103 /**
104  * A flag type to determine how terminal contents should be written
105  * to an output stream.
106  * VTE_TERMINAL_WRITE_DEFAULT
107  * Write contents as UTF-8 text. This is the default.
108  */
109 public enum VteTerminalWriteFlags
110 {
111 	DEFAULT = 0
112 }
113 /**
114  * VTE_PTY_NO_LASTLOG
115  * don't record the session in lastlog
116  * VTE_PTY_NO_UTMP
117  * don't record the session in utmp
118  * VTE_PTY_NO_WTMP
119  * don't record the session in wtmp
120  * VTE_PTY_NO_HELPER
121  * don't use the GNOME PTY helper to allocate the PTY
122  * VTE_PTY_NO_FALLBACK
123  * when allocating the PTY with the PTY helper fails,
124  *  don't fall back to try using PTY98
125  * VTE_PTY_DEFAULT
126  * the default flags
127  * Since 0.26
128  */
129 public enum VtePtyFlags
130 {
131 	NO_LASTLOG = 1 << 0,
132 	NO_UTMP = 1 << 1,
133 	NO_WTMP = 1 << 2,
134 	NO_HELPER = 1 << 3,
135 	NO_FALLBACK = 1 << 4,
136 	DEFAULT = 0
137 }
138 /**
139  * VTE_PTY_ERROR_PTY_HELPER_FAILED
140  * failure when using the GNOME PTY helper to
141  *  allocate the PTY
142  * VTE_PTY_ERROR_PTY98_FAILED
143  * failure when using PTY98 to allocate the PTY
144  * Since 0.26
145  */
146 public enum VtePtyError
147 {
148 	PTY_HELPER_FAILED = 0,
149 	PTY98_FAILED
150 }
151 
152 /**
153  * Main Gtk struct.
154  * All of these fields should be considered read-only and deprecated.
155  */
156 public struct VteTerminal{}
157 
158 
159 /**
160  * Main Gtk struct.
161  * Since 0.26
162  */
163 public struct VtePty{}
164 
165 
166 /*
167  * Specifies the type of a selection function used to check whether
168  * a cell has to be selected or not.
169  * terminal :
170  * terminal in which the cell is.
171  * column :
172  * column in which the cell is.
173  * row :
174  * row in which the cell is.
175  * data :
176  * user data. [closure]
177  * Returns :
178  * TRUE if cell has to be selected; FALSE if otherwise.
179  */
180 // gboolean (*VteSelectionFunc) (VteTerminal *terminal,  glong column,  glong row,  gpointer data);
181 public alias extern(C) int function(VteTerminal* terminal, glong column, glong row, void* data) VteSelectionFunc;