Commit d574a21a authored by Nalin Dahyabhai's avatar Nalin Dahyabhai

add binding for get_padding() (bug #118834).

* python/vte.override: add binding for get_padding() (bug #118834).
parent f66cbcac
2003-08-11 nalin
* python/vte.override: add binding for get_padding() (bug #118834).
2003-08-11 nalin
* python/vte.override: add binding for get_cursor_position()
(bug #118800).
......
......@@ -159,6 +159,21 @@ _wrap_vte_terminal_get_cursor_position(PyGObject *self)
return ret;
}
%%
override vte_terminal_get_padding noargs
static PyObject *
_wrap_vte_terminal_get_padding(PyGObject *self)
{
PyObject *ret;
int xpad, ypad;
vte_terminal_get_padding(VTE_TERMINAL(self->obj), &xpad, &ypad);
ret = PyTuple_New(2);
PyTuple_SetItem(ret, 0, PyInt_FromLong(xpad));
PyTuple_SetItem(ret, 1, PyInt_FromLong(ypad));
return ret;
}
%%
override vte_terminal_get_text kwargs
static gboolean
......
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