Infinity.Buffer¶
| Implementations: | |
|---|---|
| Infinity.ChatBuffer | |
Methods¶
| get_modified() | |
| set_modified(modified) | 
Virtual Methods¶
| do_get_modified() | |
| do_set_modified(modified) | 
Properties¶
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| modified | bool | r/w | Whether the buffer was modified since it has been saved | 
Signals¶
None
Fields¶
None
Class Details¶
- 
class Infinity.Buffer¶
- Bases: - GObject.GInterface- Structure: - Infinity.BufferInterface- Infinity.Bufferis an opaque data type. You should only access it via the public API functions.- 
get_modified()¶
- Returns: - Whether the buffer has been modified. - Return type: - bool- Indicates whether the buffer has been modified since the last call to - Infinity.Buffer.set_modified() set the modification flag to- False.
 - 
set_modified(modified)¶
- Parameters: - modified ( - bool) – Whether the buffer is considered modified or not.- Sets the modification flag of self to modified. You should normally set the flag to - Falseevery time the document is saved onto disk. The buffer itself will set it to- Truewhen it has been changed.- To get notified when the modification flag changes, connect to - GObject.Object- ::notifyfor the- Infinity.Buffer- :modifiedproperty.
 - 
do_get_modified() virtual¶
- Returns: - Whether the buffer has been modified. - Return type: - bool- Indicates whether the buffer has been modified since the last call to - Infinity.Buffer.set_modified() set the modification flag to- False.
 - 
do_set_modified(modified) virtual¶
- Parameters: - modified ( - bool) – Whether the buffer is considered modified or not.- Sets the modification flag of buffer to modified. You should normally set the flag to - Falseevery time the document is saved onto disk. The buffer itself will set it to- Truewhen it has been changed.- To get notified when the modification flag changes, connect to - GObject.Object- ::notifyfor the- Infinity.Buffer- :modifiedproperty.
 
-