return NULL;
}
- cspi_dbus_call (obj, spi_interface_text, "getAttributes", NULL, "i=>iis", d_offset, &retStartOffset, &retEndOffset, &retval);
+ cspi_dbus_call (obj, spi_interface_text, "getAttributes", NULL, "i=>sii", d_offset, &retval, &retStartOffset, &retEndOffset);
if (!cspi_check_ev ("getAttributes"))
{
return NULL;
}
- cspi_dbus_call (obj, spi_interface_text, "getTextBeforeOffset", NULL, "iu=>iis", d_offset, d_type, &retStartOffset, &retEndOffset, &retval);
+ cspi_dbus_call (obj, spi_interface_text, "getTextBeforeOffset", NULL, "iu=>sii", d_offset, d_type, &retval, &retStartOffset, &retEndOffset);
if (!cspi_check_ev ("getTextBeforeOffset"))
{
*startOffset = *endOffset = -1;
return NULL;
}
- cspi_dbus_call (obj, spi_interface_text, "getTextAtOffset", NULL, "iu=>iis", d_offset, d_type, &retStartOffset, &retEndOffset, &retval);
+ cspi_dbus_call (obj, spi_interface_text, "getTextAtOffset", NULL, "iu=>sii", d_offset, d_type, &retval, &retStartOffset, &retEndOffset);
if (!cspi_check_ev ("getTextAtOffset"))
{
return NULL;
}
- cspi_dbus_call (obj, spi_interface_text, "getTextAfterOffset", NULL, "iu=>iis", d_offset, d_type, &retStartOffset, &retEndOffset, &retval);
+ cspi_dbus_call (obj, spi_interface_text, "getTextAfterOffset", NULL, "iu=>sii", d_offset, d_type, &retval, &retStartOffset, &retEndOffset);
if (!cspi_check_ev ("getTextAfterOffset"))
{
return NULL;
}
- cspi_dbus_call (obj, spi_interface_text, "getAttributeRun", NULL, "ib=>iias", d_offset, d_includeDefaults, &retStartOffset, &retEndOffset, &attributes);
+ cspi_dbus_call (obj, spi_interface_text, "getAttributeRun", NULL, "ib=>asii", d_offset, d_includeDefaults, &attributes, &retStartOffset, &retEndOffset);
if (!cspi_check_ev ("getAttributeRun"))
{
The offset of the character whose attributes will be reported.
</tp:docstring>
</arg>
+ <arg direction="in" name="includeDefaults" type="b" tp:type="boolean">
+ <tp:docstring>
+ If False, the call should only return those attributes which are
+ explicitly set on the current attribute run, omitting any attributes which are inherited from
+ the default values. See also Text.getDefaultAttributes.
+ </tp:docstring>
+ </arg>
+ <arg direction="out" type="{ss}" tp:type="AttributeSet">
+ <tp:docstring>
+ The AttributeSet defined at offset, optionally including the 'default' attributes.
+ </tp:docstring>
+ </arg>
<arg direction="out" name="startOffset" type="i">
<tp:docstring>
Backfilled with the starting offset of the character range over which all
the homogeneous attribute run including <code>offset</code>.
</tp:docstring>
</arg>
- <arg direction="in" name="includeDefaults" type="b" tp:type="boolean">
- <tp:docstring>
- If False, the call should only return those attributes which are
- explicitly set on the current attribute run, omitting any attributes which are inherited from
- the default values. See also Text.getDefaultAttributes.
- </tp:docstring>
- </arg>
- <arg direction="out" type="{ss}" tp:type="AttributeSet">
- <tp:docstring>
- The AttributeSet defined at offset, optionally including the 'default' attributes.
- </tp:docstring>
- </arg>
</method>
<method name="getDefaultAttributeSet">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">