Class
IdeBufferManager
Ancestors
- IdeObject
- GObject
Instance methods
ide_buffer_manager_apply_edits_async
Asynchronously requests that all of edits
are applied to the buffers
in the project. If the buffer has not been loaded for a particular edit,
it will be loaded.
Available since: 3.32
ide_buffer_manager_apply_edits_finish
ide_buffer_manager_find_buffer
Locates the IdeBuffer
that matches GFile
, if any.
Available since: 3.32
ide_buffer_manager_get_max_file_size
Gets the max file size that will be allowed to be loaded from disk. This is useful to protect Builder from files that would overload the various subsystems.
Available since: 3.32
ide_buffer_manager_has_file
Checks to see if a buffer has been loaded which contains the contents
of file
.
Available since: 3.32
ide_buffer_manager_load_file_async
Requests that file
be loaded by the buffer manager. Depending on flags
,
this may result in a new view being displayed in a Builder workspace.
Available since: 3.32
ide_buffer_manager_load_file_finish
Completes an asynchronous request to ide_buffer_manager_laod_file_async()
.
Available since: 3.32
ide_buffer_manager_reload_all_async
ide_buffer_manager_reload_all_finish
ide_buffer_manager_save_all_async
Asynchronously requests that the IdeBufferManager
save all of the loaded
buffers to disk.
Available since: 3.32
ide_buffer_manager_save_all_finish
Completes an asynchronous request to save all buffers.
Available since: 3.32
ide_buffer_manager_set_max_file_size
Methods inherited from IdeObject (28)
ide_object_add
Adds child
to self
, with location dependent on location
.
Available since: 3.32
ide_object_append
Inserts child
as the last child of self
.
Available since: 3.32
ide_object_destroy
ide_object_ensure_child_typed
Like ide_object_get_child_typed()
except that it creates an object of
type
if it is missing.
Available since: 3.32
ide_object_foreach
Calls callback
for each child of self
.
Available since: 3.32
ide_object_get_child_typed
Finds the first child of self
that is of type
.
Available since: 3.32
ide_object_get_children_typed
Gets all children matching type
.
Available since: 3.32
ide_object_get_context
Gets the IdeContext
for the object.
Available since: 3.32
ide_object_get_n_children
Gets the number of children for an object.
Available since: 3.32
ide_object_get_nth_child
Gets the nth
child of self
.
Available since: 3.32
ide_object_get_parent
Gets the parent IdeObject
, if any.
Available since: 3.32
ide_object_get_position
Gets the position of self
within the parent node.
Available since: 3.32
ide_object_in_destruction
ide_object_insert_after
Inserts child
into self
‘s children, directly after sibling
.
Available since: 3.32
ide_object_insert_before
Inserts child
into self
‘s children, directly before sibling
.
Available since: 3.32
ide_object_insert_sorted
Locates the proper sibling for child
by using func
amongst self
‘s
children IdeObject
. Those objects must already be sorted.
Available since: 3.32
ide_object_is_root
Checks if self
is root, meaning it has no parent.
Available since: 3.32
ide_object_lock
Acquires the lock for self
. This can be useful when you need to do
multi-threaded work with self
and want to ensure exclusivity.
Available since: 3.32
ide_object_prepend
Inserts child
as the first child of self
.
Available since: 3.32
ide_object_ref_cancellable
Gets a GCancellable
for the object.
Available since: 3.32
ide_object_ref_context
Gets the root IdeContext
for the object, if any.
Available since: 3.32
ide_object_ref_parent
Gets the parent IdeObject
, if any.
Available since: 3.32
ide_object_ref_root
Finds and returns the toplevel object in the tree.
Available since: 3.32
Properties
Ide.BufferManager:max-file-size
The “max-file-size” property is the largest file size in bytes that Builder will attempt to load. Larger files will fail to load to help ensure that Builder’s buffer manager does not attempt to load files that will slow the buffer management beyond usefulness.
Available since: 3.32
Properties inherited from IdeObject (2)
Ide.Object:cancellable
The “cancellable” property is a GCancellable
that can be used by operations
that will be cancelled when the IdeObject::destroy
signal is emitted on self
.
Available since: 3.32
Ide.Object:parent
The parent IdeObject
, if any.
Available since: 3.32
Signals
Ide.BufferManager::buffer-loaded
The “buffer-loaded” signal is emitted when an IdeBuffer
has loaded
a file from storage.
Available since: 3.32
Ide.BufferManager::buffer-saved
The “buffer-saved” signal is emitted when an IdeBuffer
has been saved
to storage.
Available since: 3.32
Ide.BufferManager::buffer-unloaded
The “buffer-unloaded” signal is emitted when an IdeBuffer
has been
unloaded from the buffer manager.
Available since: 3.32
Ide.BufferManager::load-buffer
Signals inherited from IdeObject (1)
Ide.Object::destroy
The “destroy” signal is emitted when the object should destroy itself and cleanup any state that is no longer necessary. This happens when the object has been removed from the because it was requested to be destroyed, or because a parent object is being destroyed.
Available since: 3.32
Class structure
struct IdeBufferManagerClass {
IdeObjectClass parent_class;
}
Class members
parent_class |
|
No description available. |