Commit 7ff66739 authored by Nalin Dahyabhai's avatar Nalin Dahyabhai

regenerate. update for vte_char_attributes rename.

* python/vte.defs: regenerate.
* python/vte.override: update for vte_char_attributes rename.
parent 72721359
2003-03-06 nalin
* python/vte.defs: regenerate.
* python/vte.override: update for vte_char_attributes rename.
2003-03-06 nalin
* src/vte.c, src/vte.h, src/vteaccess.c: rename struct
vte_char_attributes to VteCharAttributes, fixup some docs.
......
......@@ -139,6 +139,15 @@
(return-type "gboolean")
)
(define-method set_scroll_background
(of-object "VteTerminal")
(c-name "vte_terminal_set_scroll_background")
(return-type "none")
(parameters
'("gboolean" "scroll")
)
)
(define-method set_scroll_on_output
(of-object "VteTerminal")
(c-name "vte_terminal_set_scroll_on_output")
......@@ -157,6 +166,15 @@
)
)
(define-method set_color_dim
(of-object "VteTerminal")
(c-name "vte_terminal_set_color_dim")
(return-type "none")
(parameters
'("const-GdkColor*" "dim")
)
)
(define-method set_color_bold
(of-object "VteTerminal")
(c-name "vte_terminal_set_color_bold")
......@@ -220,6 +238,15 @@
)
)
(define-method set_background_tint_color
(of-object "VteTerminal")
(c-name "vte_terminal_set_background_tint_color")
(return-type "none")
(parameters
'("GdkColor*" "color")
)
)
(define-method set_background_saturation
(of-object "VteTerminal")
(c-name "vte_terminal_set_background_saturation")
......@@ -422,6 +449,25 @@
)
)
(define-method match_set_cursor
(of-object "VteTerminal")
(c-name "vte_terminal_match_set_cursor")
(return-type "none")
(parameters
'("int" "tag")
'("GdkCursor*" "cursor")
)
)
(define-method match_remove
(of-object "VteTerminal")
(c-name "vte_terminal_match_remove")
(return-type "none")
(parameters
'("int" "tag")
)
)
(define-method match_check
(of-object "VteTerminal")
(c-name "vte_terminal_match_check")
......
......@@ -138,7 +138,7 @@ _wrap_vte_terminal_get_text(PyGObject *self, PyObject *args, PyObject *kwargs)
}
if (do_attr != NULL && do_attr != Py_None) {
attrs = g_array_new(FALSE, TRUE, sizeof(struct vte_char_attributes));
attrs = g_array_new(FALSE, TRUE, sizeof(VteCharAttributes));
} else {
attrs = NULL;
}
......@@ -181,11 +181,11 @@ _wrap_vte_terminal_get_text(PyGObject *self, PyObject *args, PyObject *kwargs)
if (attrs) {
py_attrs = PyTuple_New(attrs->len);
for (count = 0; count < attrs->len; count++) {
struct vte_char_attributes *cht;
VteCharAttributes *cht;
PyObject *py_char_attr;
PyObject *py_gdkcolor;
cht = &g_array_index(attrs, struct vte_char_attributes, count);
cht = &g_array_index(attrs, VteCharAttributes, count);
py_char_attr = PyDict_New();
PyDict_SetItemString(py_char_attr, "row", PyInt_FromLong(cht->row));
PyDict_SetItemString(py_char_attr, "column", PyInt_FromLong(cht->column));
......@@ -231,7 +231,7 @@ _wrap_vte_terminal_get_text_range(PyGObject *self, PyObject *args, PyObject *kwa
}
if (do_attr != NULL && do_attr != Py_None) {
attrs = g_array_new(FALSE, TRUE, sizeof(struct vte_char_attributes));
attrs = g_array_new(FALSE, TRUE, sizeof(VteCharAttributes));
} else {
attrs = NULL;
}
......@@ -276,11 +276,11 @@ _wrap_vte_terminal_get_text_range(PyGObject *self, PyObject *args, PyObject *kwa
if (attrs) {
py_attrs = PyTuple_New(attrs->len);
for (count = 0; count < attrs->len; count++) {
struct vte_char_attributes *cht;
VteCharAttributes *cht;
PyObject *py_char_attr;
PyObject *py_gdkcolor;
cht = &g_array_index(attrs, struct vte_char_attributes, count);
cht = &g_array_index(attrs, VteCharAttributes, count);
py_char_attr = PyDict_New();
PyDict_SetItemString(py_char_attr, "row", PyInt_FromLong(cht->row));
PyDict_SetItemString(py_char_attr, "column", PyInt_FromLong(cht->column));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment