summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@src.gnome.org>2002-07-13 00:21:25 +0000
committerNalin Dahyabhai <nalin@src.gnome.org>2002-07-13 00:21:25 +0000
commit65970d91a841eb7c895d1efaa36a734ffd811658 (patch)
tree883581bb8f338066c8afbc2b8ebad371bc69eb1f /python
parent2f766cdf80215a137c0ef0389b187e708dcbb822 (diff)
downloadvte-65970d91a841eb7c895d1efaa36a734ffd811658.tar.gz
Added. Add -a/-b flags to control audible bell and blinking cursors. Only
* src/slowcat.c: Added. * src/vteapp.c: Add -a/-b flags to control audible bell and blinking cursors. Only send "pwd" as an initial command if there wasn't a command specified on the command line. Add a simple help message. * src/vte.c: Bind F13-F35 per termcap. Treat GDK_KP_Delete as GDK_Delete. Map Ctrl+F1-F12 to F13-F24. Fix dc() to ensure that the rows stays full and that newly-added cells get the default attributes. Fix cl() to clear all rows on the screen with the default attributes (bce). Default to using Xft if available for consistency with GTK. * src/vte.c: Treat super, hyper, meta, and alt as modifiers when deciding to scroll-on-keypress. Noted by jrb. * src/vte.c: Always map \r and \n to cr and so, even when they're defined by the termcap. * src/vte.c, src/vte.h: Rework how default colors are set up, and add vte_terminal_set_color_foreground and vte_terminal_set_color_background. * src/vte.h: Remove includes for local headers which apps are not likely to never use, cleaning up the namespace a little. * python/vte.defs: Bind vte_terminal_set_color_{fore,back}ground. * src/debug.h, src/ring.h: Use G_BEGIN_DECLS/G_END_DECLS. * src/reaper.h: Use G_BEGIN_DECLS/G_END_DECLS in the right place. * src/vteapp.c: Add -B/-T flags to set background images and transparency.
Diffstat (limited to 'python')
-rw-r--r--python/vte.defs18
1 files changed, 18 insertions, 0 deletions
diff --git a/python/vte.defs b/python/vte.defs
index 4e032ab0..f9d2afdb 100644
--- a/python/vte.defs
+++ b/python/vte.defs
@@ -115,6 +115,24 @@
)
)
+(define-method set_color_foreground
+ (of-object "VteTerminal")
+ (c-name "vte_terminal_set_color_foreground")
+ (return-type "none")
+ (parameters
+ '("const-GdkColor*" "foreground")
+ )
+)
+
+(define-method set_color_background
+ (of-object "VteTerminal")
+ (c-name "vte_terminal_set_color_background")
+ (return-type "none")
+ (parameters
+ '("const-GdkColor*" "background")
+ )
+)
+
(define-method set_colors
(of-object "VteTerminal")
(c-name "vte_terminal_set_colors")