vte r2091 - in trunk: . python
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: vte r2091 - in trunk: . python
- Date: Sun, 7 Sep 2008 17:53:11 +0000 (UTC)
Author: chpe
Date: Sun Sep 7 17:53:11 2008
New Revision: 2091
URL: http://svn.gnome.org/viewvc/vte?rev=2091&view=rev
Log:
* python/vte.defs: Update python bindings.
Modified:
trunk/ChangeLog
trunk/python/vte.defs
Modified: trunk/python/vte.defs
==============================================================================
--- trunk/python/vte.defs (original)
+++ trunk/python/vte.defs Sun Sep 7 17:53:11 2008
@@ -32,22 +32,23 @@
)
)
+(define-enum TerminalCursorBlinkMode
+ (in-module "Vte")
+ (c-name "VteTerminalCursorBlinkMode")
+ (gtype-id "VTE_TYPE_TERMINAL_CURSOR_BLINK_MODE")
+ (values
+ '("system" "VTE_CURSOR_BLINK_SYSTEM")
+ '("on" "VTE_CURSOR_BLINK_ON")
+ '("off" "VTE_CURSOR_BLINK_OFF")
+ )
+)
+
-;; From ../src/vte.h
+;; From vte.h
(define-function vte_terminal_get_type
(c-name "vte_terminal_get_type")
- (return-type "GtkType")
-)
-
-(define-function vte_terminal_erase_binding_get_type
- (c-name "vte_terminal_erase_binding_get_type")
- (return-type "GtkType")
-)
-
-(define-function vte_terminal_anti_alias_get_type
- (c-name "vte_terminal_anti_alias_get_type")
- (return-type "GtkType")
+ (return-type "GType")
)
(define-function vte_terminal_new
@@ -84,15 +85,6 @@
)
)
-(define-method set_pty
- (of-object "VteTerminal")
- (c-name "vte_terminal_set_pty")
- (return-type "none")
- (parameters
- '("int" "pty_master")
- )
-)
-
(define-method feed
(of-object "VteTerminal")
(c-name "vte_terminal_feed")
@@ -147,6 +139,18 @@
(return-type "none")
)
+(define-method select_all
+ (of-object "VteTerminal")
+ (c-name "vte_terminal_select_all")
+ (return-type "none")
+)
+
+(define-method select_none
+ (of-object "VteTerminal")
+ (c-name "vte_terminal_select_none")
+ (return-type "none")
+)
+
(define-method set_size
(of-object "VteTerminal")
(c-name "vte_terminal_set_size")
@@ -286,15 +290,6 @@
(return-type "none")
)
-(define-method set_opacity
- (of-object "VteTerminal")
- (c-name "vte_terminal_set_opacity")
- (return-type "none")
- (parameters
- '("guint16" "opacity")
- )
-)
-
(define-method set_background_image
(of-object "VteTerminal")
(c-name "vte_terminal_set_background_image")
@@ -340,6 +335,15 @@
)
)
+(define-method set_opacity
+ (of-object "VteTerminal")
+ (c-name "vte_terminal_set_opacity")
+ (return-type "none")
+ (parameters
+ '("guint16" "opacity")
+ )
+)
+
(define-method set_cursor_blinks
(of-object "VteTerminal")
(c-name "vte_terminal_set_cursor_blinks")
@@ -349,6 +353,21 @@
)
)
+(define-method set_cursor_blink_mode
+ (of-object "VteTerminal")
+ (c-name "vte_terminal_set_cursor_blink_mode")
+ (return-type "none")
+ (parameters
+ '("VteTerminalCursorBlinkMode" "mode")
+ )
+)
+
+(define-method get_cursor_blink_mode
+ (of-object "VteTerminal")
+ (c-name "vte_terminal_get_cursor_blink_mode")
+ (return-type "VteTerminalCursorBlinkMode")
+)
+
(define-method set_scrollback_lines
(of-object "VteTerminal")
(c-name "vte_terminal_set_scrollback_lines")
@@ -555,6 +574,16 @@
)
)
+(define-method match_add_gregex
+ (of-object "VteTerminal")
+ (c-name "vte_terminal_match_add_gregex")
+ (return-type "int")
+ (parameters
+ '("GRegex*" "regex")
+ '("GRegexMatchFlags" "flags" (default 0))
+ )
+)
+
(define-method match_set_cursor
(of-object "VteTerminal")
(c-name "vte_terminal_match_set_cursor")
@@ -575,6 +604,16 @@
)
)
+(define-method match_set_cursor_name
+ (of-object "VteTerminal")
+ (c-name "vte_terminal_match_set_cursor_name")
+ (return-type "none")
+ (parameters
+ '("int" "tag")
+ '("const-char*" "cursor_name")
+ )
+)
+
(define-method match_remove
(of-object "VteTerminal")
(c-name "vte_terminal_match_remove")
@@ -647,6 +686,15 @@
)
)
+(define-method set_pty
+ (of-object "VteTerminal")
+ (c-name "vte_terminal_set_pty")
+ (return-type "none")
+ (parameters
+ '("int" "pty_master")
+ )
+)
+
(define-method get_adjustment
(of-object "VteTerminal")
(c-name "vte_terminal_get_adjustment")
@@ -702,3 +750,22 @@
)
+
+;; From vtetypebuiltins.h
+
+(define-function vte_terminal_erase_binding_get_type
+ (c-name "vte_terminal_erase_binding_get_type")
+ (return-type "GType")
+)
+
+(define-function vte_terminal_anti_alias_get_type
+ (c-name "vte_terminal_anti_alias_get_type")
+ (return-type "GType")
+)
+
+(define-function vte_terminal_cursor_blink_mode_get_type
+ (c-name "vte_terminal_cursor_blink_mode_get_type")
+ (return-type "GType")
+)
+
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]