InfText.DefaultInsertOperation¶
- Subclasses:
None
Methods¶
- Inherited:
GObject.Object (37), InfText.InsertOperation (5), Infinity.AdoptedOperation (8)
- Structs:
class |
|
|
Virtual Methods¶
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The text to insert |
||
r/w/co |
Insertion position |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class InfText.DefaultInsertOperation(**kwargs)¶
- Bases:
GObject.Object
,InfText.InsertOperation
,Infinity.AdoptedOperation
- Abstract:
No
- Structure:
- classmethod new(pos, chunk)¶
- Parameters:
pos (
int
) – The position at which to insert text.chunk (
InfText.Chunk
) – The text to insert.
- Returns:
- Return type:
Creates a new insert operation that, when applied, inserts chunk at pos.
- get_chunk()¶
- Returns:
A
InfText.Chunk
, owned by the operation.- Return type:
Returns the text inserted by self.
Property Details¶
- InfText.DefaultInsertOperation.props.chunk¶
- Name:
chunk
- Type:
- Default Value:
- Flags:
The text to insert
- InfText.DefaultInsertOperation.props.position¶
- Name:
position
- Type:
- Default Value:
0
- Flags:
Insertion position