1Gnome2::Vte::Terminal(3U)ser Contributed Perl DocumentatiGonnome2::Vte::Terminal(3)
2
3
4

NAME

6       Gnome2::Vte::Terminal
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gnome2::Vte::Terminal
14

INTERFACES

16         Glib::Object::_Unregistered::AtkImplementorIface
17         Gtk2::Buildable
18

METHODS

20   widget = Gnome2::Vte::Terminal->new
21   adjustment = $terminal->get_adjustment
22   boolean = $terminal->get_allow_bold
23   $terminal->set_allow_bold ($allow_bold)
24       ·   $allow_bold (boolean)
25
26   boolean = $terminal->get_audible_bell
27   $terminal->set_audible_bell ($is_audible)
28       ·   $is_audible (boolean)
29
30   $terminal->set_background_image_file ($path)
31       ·   $path (string)
32
33   $terminal->set_background_image ($image)
34       ·   $image (Gtk2::Gdk::Pixbuf or undef)
35
36   $terminal->set_background_saturation ($saturation)
37       ·   $saturation (double)
38
39   $terminal->set_background_tint_color ($color)
40       ·   $color (Gtk2::Gdk::Color)
41
42       Since: vte 0.12
43
44   $terminal->set_background_transparent ($transparent)
45       ·   $transparent (boolean)
46
47   $terminal->set_backspace_binding ($binding)
48       ·   $binding (Gnome2::Vte::Terminal::EraseBinding)
49
50   integer = $terminal->get_char_ascent
51   integer = $terminal->get_char_descent
52   integer = $terminal->get_char_height
53   integer = $terminal->get_char_width
54   $terminal->set_color_background ($background)
55       ·   $background (Gtk2::Gdk::Color)
56
57   $terminal->set_color_bold ($bold)
58       ·   $bold (Gtk2::Gdk::Color)
59
60   $terminal->set_color_cursor ($cursor_background)
61       ·   $cursor_background (Gtk2::Gdk::Color or undef)
62
63       Since: vte 0.12
64
65   $terminal->set_color_dim ($dim)
66       ·   $dim (Gtk2::Gdk::Color)
67
68   $terminal->set_color_foreground ($foreground)
69       ·   $foreground (Gtk2::Gdk::Color)
70
71   $terminal->set_color_highlight ($highlight_background)
72       ·   $highlight_background (Gtk2::Gdk::Color or undef)
73
74       Since: vte 0.12
75
76   $terminal->set_colors ($foreground, $background, $palette_ref)
77       ·   $foreground (Gtk2::Gdk::Color or undef)
78
79       ·   $background (Gtk2::Gdk::Color or undef)
80
81       ·   $palette_ref (scalar)
82
83   integer = $terminal->get_column_count
84   $terminal->copy_clipboard
85   $terminal->copy_primary
86   $terminal->set_cursor_blinks ($blink)
87       ·   $blink (boolean)
88
89   (column, row) = $terminal->get_cursor_position
90   $terminal->set_default_colors
91   string = $terminal->get_default_emulation
92       Since: vte 0.12
93
94   $terminal->set_delete_binding ($binding)
95       ·   $binding (Gnome2::Vte::Terminal::EraseBinding)
96
97   string = $terminal->get_emulation
98   $terminal->set_emulation ($emulation)
99       ·   $emulation (string)
100
101   string = $terminal->get_encoding
102   $terminal->set_encoding ($codeset)
103       ·   $codeset (string)
104
105   $terminal->feed ($data)
106       ·   $data (scalar)
107
108   $terminal->feed_child ($data)
109       ·   $data (scalar)
110
111   $terminal->feed_child_binary ($data)
112       ·   $data (scalar)
113
114       Since: vte 0.12
115
116   $terminal->set_font_from_string_full ($name, $anti_alias)
117       ·   $name (string)
118
119       ·   $anti_alias (Gnome2::Vte::Terminal::AntiAlias)
120
121       Since: vte 0.12
122
123   $terminal->set_font_from_string ($name)
124       ·   $name (string)
125
126   $terminal->set_font_full ($font_desc, $anti_alias)
127       ·   $font_desc (Pango::FontDescription or undef)
128
129       ·   $anti_alias (Gnome2::Vte::Terminal::AntiAlias)
130
131       Since: vte 0.12
132
133   fontdescription = $terminal->get_font
134   $terminal->set_font ($font_desc)
135       ·   $font_desc (Pango::FontDescription)
136
137   integer = $terminal->fork_command ($command, $arg_ref, $env_ref,
138       $directory, $lastlog, $utmp, $wtmp)
139       ·   $command (string)
140
141       ·   $arg_ref (scalar)
142
143       ·   $env_ref (scalar)
144
145       ·   $directory (string or undef)
146
147       ·   $lastlog (boolean)
148
149       ·   $utmp (boolean)
150
151       ·   $wtmp (boolean)
152
153   boolean = $terminal->get_has_selection
154   string = $terminal->get_icon_title
155   $terminal->im_append_menuitems ($menushell)
156       ·   $menushell (Gtk2::MenuShell)
157
158   boolean = $terminal->is_word_char ($c)
159       ·   $c (character)
160
161   integer = $terminal->match_add ($match)
162       ·   $match (string)
163
164   list = $terminal->match_check ($column, $row)
165       ·   $column (integer)
166
167       ·   $row (integer)
168
169   $terminal->match_clear_all
170   $terminal->match_remove ($tag)
171       ·   $tag (integer)
172
173   $terminal->match_set_cursor ($tag, $cursor)
174       ·   $tag (integer)
175
176       ·   $cursor (Gtk2::Gdk::Cursor)
177
178       Since: vte 0.12
179
180   $terminal->match_set_cursor_type ($tag, $cursor_type)
181       ·   $tag (integer)
182
183       ·   $cursor_type (Gtk2::Gdk::CursorType)
184
185       Since: vte 0.12
186
187   boolean = $terminal->get_mouse_autohide
188   $terminal->set_mouse_autohide ($setting)
189       ·   $setting (boolean)
190
191   $terminal->set_opacity ($opacity)
192       ·   $opacity (unsigned)
193
194       Since: vte 0.14
195
196   (xpad, ypad) = $terminal->get_padding
197   $terminal->paste_clipboard
198   $terminal->paste_primary
199   $terminal->set_pty ($pty_master)
200       ·   $pty_master (integer)
201
202       Since: vte 0.12
203
204   $terminal->reset ($full, $clear_history)
205       ·   $full (boolean)
206
207       ·   $clear_history (boolean)
208
209   integer = $terminal->get_row_count
210   $terminal->set_scroll_background ($scroll)
211       ·   $scroll (boolean)
212
213       Since: vte 0.12
214
215   $terminal->set_scroll_on_keystroke ($scroll)
216       ·   $scroll (boolean)
217
218   $terminal->set_scroll_on_output ($scroll)
219       ·   $scroll (boolean)
220
221   $terminal->set_scrollback_lines ($lines)
222       ·   $lines (integer)
223
224   $terminal->set_size ($columns, $rows)
225       ·   $columns (integer)
226
227       ·   $rows (integer)
228
229   string = $terminal->get_status_line
230   list = $terminal->get_text ($func=undef, $data=undef)
231       ·   $func (scalar)
232
233       ·   $data (scalar)
234
235       Returns the selected text and a reference to a VteCharAttributes array
236       describing every character in that text.
237
238   list = $terminal->get_text_include_trailing_spaces ($func, $data=undef)
239       ·   $func (scalar)
240
241       ·   $data (scalar)
242
243       Returns the selected text and a reference to a VteCharAttributes array
244       describing every character in that text.
245
246       Since: vte 0.12
247
248   list = $terminal->get_text_range ($start_row, $start_col, $end_row,
249       $end_col, $func, $data=undef)
250       ·   $start_row (integer)
251
252       ·   $start_col (integer)
253
254       ·   $end_row (integer)
255
256       ·   $end_col (integer)
257
258       ·   $func (scalar)
259
260       ·   $data (scalar)
261
262       Returns the selected text and a reference to a VteCharAttributes array
263       describing every character in that text.
264
265   boolean = $terminal->get_using_xft
266   boolean = $terminal->get_visible_bell
267   $terminal->set_visible_bell ($is_visible)
268       ·   $is_visible (boolean)
269
270   string = $terminal->get_window_title
271   $terminal->set_word_chars ($spec)
272       ·   $spec (string or undef)
273

PROPERTIES

275       'allow-bold' (boolean : default true : readable / writable / private)
276       'audible-bell' (boolean : default true : readable / writable / private)
277       'background-image-file' (string : default undef : readable / writable /
278       private)
279       'background-image-pixbuf' (Gtk2::Gdk::Pixbuf : default undef : readable
280       / writable / private)
281       'background-opacity' (double : default 1 : readable / writable /
282       private)
283       'background-saturation' (double : default 0.4 : readable / writable /
284       private)
285       'background-tint-color' (Gtk2::Gdk::Color : default undef : readable /
286       writable / private)
287       'background-transparent' (boolean : default false : readable / writable
288       / private)
289       'backspace-binding' (Gnome2::Vte::Terminal::EraseBinding : default
290       "auto" : readable / writable / private)
291       'cursor-blink-mode' (VteTerminalCursorBlinkMode : default "system" :
292       readable / writable / private)
293       'cursor-shape' (VteTerminalCursorShape : default "block" : readable /
294       writable / private)
295       'delete-binding' (Gnome2::Vte::Terminal::EraseBinding : default "auto"
296       : readable / writable / private)
297       'emulation' (string : default "xterm" : readable / writable / private)
298       'encoding' (string : default undef : readable / writable / private)
299       'font-desc' (Pango::FontDescription : default undef : readable /
300       writable / private)
301       'icon-title' (string : default undef : readable / private)
302       'pointer-autohide' (boolean : default false : readable / writable /
303       private)
304       'pty' (integer : default -1 : readable / writable / private)
305       'pty-object' (Glib::Object::_Unregistered::VtePty : default undef :
306       readable / writable / private)
307       'scroll-background' (boolean : default false : readable / writable /
308       private)
309       'scroll-on-keystroke' (boolean : default false : readable / writable /
310       private)
311       'scroll-on-output' (boolean : default true : readable / writable /
312       private)
313       'scrollback-lines' (Glib::UInt : default 100 : readable / writable /
314       private)
315       'visible-bell' (boolean : default false : readable / writable /
316       private)
317       'window-title' (string : default undef : readable / private)
318       'word-chars' (string : default undef : readable / writable / private)
319

STYLE PROPERTIES

321       'inner-border' (Gtk2::Border : default undef : readable / private)
322

SIGNALS

324       beep (Gnome2::Vte::Terminal)
325       char-size-changed (Gnome2::Vte::Terminal, Glib::UInt, Glib::UInt)
326       child-exited (Gnome2::Vte::Terminal)
327       commit (Gnome2::Vte::Terminal, string, Glib::UInt)
328       contents-changed (Gnome2::Vte::Terminal)
329       copy-clipboard (Gnome2::Vte::Terminal)
330       cursor-moved (Gnome2::Vte::Terminal)
331       decrease-font-size (Gnome2::Vte::Terminal)
332       deiconify-window (Gnome2::Vte::Terminal)
333       emulation-changed (Gnome2::Vte::Terminal)
334       encoding-changed (Gnome2::Vte::Terminal)
335       eof (Gnome2::Vte::Terminal)
336       icon-title-changed (Gnome2::Vte::Terminal)
337       iconify-window (Gnome2::Vte::Terminal)
338       increase-font-size (Gnome2::Vte::Terminal)
339       lower-window (Gnome2::Vte::Terminal)
340       maximize-window (Gnome2::Vte::Terminal)
341       move-window (Gnome2::Vte::Terminal, Glib::UInt, Glib::UInt)
342       paste-clipboard (Gnome2::Vte::Terminal)
343       raise-window (Gnome2::Vte::Terminal)
344       refresh-window (Gnome2::Vte::Terminal)
345       resize-window (Gnome2::Vte::Terminal, Glib::UInt, Glib::UInt)
346       restore-window (Gnome2::Vte::Terminal)
347       selection-changed (Gnome2::Vte::Terminal)
348       set-scroll-adjustments (Gnome2::Vte::Terminal, Gtk2::Adjustment,
349       Gtk2::Adjustment)
350       status-line-changed (Gnome2::Vte::Terminal)
351       text-deleted (Gnome2::Vte::Terminal)
352       text-inserted (Gnome2::Vte::Terminal)
353       text-modified (Gnome2::Vte::Terminal)
354       text-scrolled (Gnome2::Vte::Terminal, integer)
355       window-title-changed (Gnome2::Vte::Terminal)
356

ENUMS AND FLAGS

358   enum Gnome2::Vte::Terminal::AntiAlias
359       ·   'use-default' / 'VTE_ANTI_ALIAS_USE_DEFAULT'
360
361       ·   'force-enable' / 'VTE_ANTI_ALIAS_FORCE_ENABLE'
362
363       ·   'force-disable' / 'VTE_ANTI_ALIAS_FORCE_DISABLE'
364
365   enum Gnome2::Vte::Terminal::EraseBinding
366       ·   'auto' / 'VTE_ERASE_AUTO'
367
368       ·   'ascii-backspace' / 'VTE_ERASE_ASCII_BACKSPACE'
369
370       ·   'ascii-delete' / 'VTE_ERASE_ASCII_DELETE'
371
372       ·   'delete-sequence' / 'VTE_ERASE_DELETE_SEQUENCE'
373
374       ·   'tty' / 'VTE_ERASE_TTY'
375
376   enum Gtk2::Gdk::CursorType
377       ·   'x-cursor' / 'GDK_X_CURSOR'
378
379       ·   'arrow' / 'GDK_ARROW'
380
381       ·   'based-arrow-down' / 'GDK_BASED_ARROW_DOWN'
382
383       ·   'based-arrow-up' / 'GDK_BASED_ARROW_UP'
384
385       ·   'boat' / 'GDK_BOAT'
386
387       ·   'bogosity' / 'GDK_BOGOSITY'
388
389       ·   'bottom-left-corner' / 'GDK_BOTTOM_LEFT_CORNER'
390
391       ·   'bottom-right-corner' / 'GDK_BOTTOM_RIGHT_CORNER'
392
393       ·   'bottom-side' / 'GDK_BOTTOM_SIDE'
394
395       ·   'bottom-tee' / 'GDK_BOTTOM_TEE'
396
397       ·   'box-spiral' / 'GDK_BOX_SPIRAL'
398
399       ·   'center-ptr' / 'GDK_CENTER_PTR'
400
401       ·   'circle' / 'GDK_CIRCLE'
402
403       ·   'clock' / 'GDK_CLOCK'
404
405       ·   'coffee-mug' / 'GDK_COFFEE_MUG'
406
407       ·   'cross' / 'GDK_CROSS'
408
409       ·   'cross-reverse' / 'GDK_CROSS_REVERSE'
410
411       ·   'crosshair' / 'GDK_CROSSHAIR'
412
413       ·   'diamond-cross' / 'GDK_DIAMOND_CROSS'
414
415       ·   'dot' / 'GDK_DOT'
416
417       ·   'dotbox' / 'GDK_DOTBOX'
418
419       ·   'double-arrow' / 'GDK_DOUBLE_ARROW'
420
421       ·   'draft-large' / 'GDK_DRAFT_LARGE'
422
423       ·   'draft-small' / 'GDK_DRAFT_SMALL'
424
425       ·   'draped-box' / 'GDK_DRAPED_BOX'
426
427       ·   'exchange' / 'GDK_EXCHANGE'
428
429       ·   'fleur' / 'GDK_FLEUR'
430
431       ·   'gobbler' / 'GDK_GOBBLER'
432
433       ·   'gumby' / 'GDK_GUMBY'
434
435       ·   'hand1' / 'GDK_HAND1'
436
437       ·   'hand2' / 'GDK_HAND2'
438
439       ·   'heart' / 'GDK_HEART'
440
441       ·   'icon' / 'GDK_ICON'
442
443       ·   'iron-cross' / 'GDK_IRON_CROSS'
444
445       ·   'left-ptr' / 'GDK_LEFT_PTR'
446
447       ·   'left-side' / 'GDK_LEFT_SIDE'
448
449       ·   'left-tee' / 'GDK_LEFT_TEE'
450
451       ·   'leftbutton' / 'GDK_LEFTBUTTON'
452
453       ·   'll-angle' / 'GDK_LL_ANGLE'
454
455       ·   'lr-angle' / 'GDK_LR_ANGLE'
456
457       ·   'man' / 'GDK_MAN'
458
459       ·   'middlebutton' / 'GDK_MIDDLEBUTTON'
460
461       ·   'mouse' / 'GDK_MOUSE'
462
463       ·   'pencil' / 'GDK_PENCIL'
464
465       ·   'pirate' / 'GDK_PIRATE'
466
467       ·   'plus' / 'GDK_PLUS'
468
469       ·   'question-arrow' / 'GDK_QUESTION_ARROW'
470
471       ·   'right-ptr' / 'GDK_RIGHT_PTR'
472
473       ·   'right-side' / 'GDK_RIGHT_SIDE'
474
475       ·   'right-tee' / 'GDK_RIGHT_TEE'
476
477       ·   'rightbutton' / 'GDK_RIGHTBUTTON'
478
479       ·   'rtl-logo' / 'GDK_RTL_LOGO'
480
481       ·   'sailboat' / 'GDK_SAILBOAT'
482
483       ·   'sb-down-arrow' / 'GDK_SB_DOWN_ARROW'
484
485       ·   'sb-h-double-arrow' / 'GDK_SB_H_DOUBLE_ARROW'
486
487       ·   'sb-left-arrow' / 'GDK_SB_LEFT_ARROW'
488
489       ·   'sb-right-arrow' / 'GDK_SB_RIGHT_ARROW'
490
491       ·   'sb-up-arrow' / 'GDK_SB_UP_ARROW'
492
493       ·   'sb-v-double-arrow' / 'GDK_SB_V_DOUBLE_ARROW'
494
495       ·   'shuttle' / 'GDK_SHUTTLE'
496
497       ·   'sizing' / 'GDK_SIZING'
498
499       ·   'spider' / 'GDK_SPIDER'
500
501       ·   'spraycan' / 'GDK_SPRAYCAN'
502
503       ·   'star' / 'GDK_STAR'
504
505       ·   'target' / 'GDK_TARGET'
506
507       ·   'tcross' / 'GDK_TCROSS'
508
509       ·   'top-left-arrow' / 'GDK_TOP_LEFT_ARROW'
510
511       ·   'top-left-corner' / 'GDK_TOP_LEFT_CORNER'
512
513       ·   'top-right-corner' / 'GDK_TOP_RIGHT_CORNER'
514
515       ·   'top-side' / 'GDK_TOP_SIDE'
516
517       ·   'top-tee' / 'GDK_TOP_TEE'
518
519       ·   'trek' / 'GDK_TREK'
520
521       ·   'ul-angle' / 'GDK_UL_ANGLE'
522
523       ·   'umbrella' / 'GDK_UMBRELLA'
524
525       ·   'ur-angle' / 'GDK_UR_ANGLE'
526
527       ·   'watch' / 'GDK_WATCH'
528
529       ·   'xterm' / 'GDK_XTERM'
530
531       ·   'last-cursor' / 'GDK_LAST_CURSOR'
532
533       ·   'blank-cursor' / 'GDK_BLANK_CURSOR'
534
535       ·   'cursor-is-pixmap' / 'GDK_CURSOR_IS_PIXMAP'
536
537   enum VteTerminalCursorBlinkMode
538       ·   'system' / 'VTE_CURSOR_BLINK_SYSTEM'
539
540       ·   'on' / 'VTE_CURSOR_BLINK_ON'
541
542       ·   'off' / 'VTE_CURSOR_BLINK_OFF'
543
544   enum VteTerminalCursorShape
545       ·   'block' / 'VTE_CURSOR_SHAPE_BLOCK'
546
547       ·   'ibeam' / 'VTE_CURSOR_SHAPE_IBEAM'
548
549       ·   'underline' / 'VTE_CURSOR_SHAPE_UNDERLINE'
550

SEE ALSO

552       Gnome2::Vte, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object,
553       Gtk2::Widget
554
556       Copyright (C) 2003-2006 by the gtk2-perl team.
557
558       This software is licensed under the LGPL.  See Gnome2::Vte for a full
559       notice.
560
561
562
563perl v5.28.0                      2018-07-14          Gnome2::Vte::Terminal(3)
Impressum