Top | ![]() |
![]() |
![]() |
![]() |
IdeConfigManager *
ide_config_manager_from_context (IdeContext *context
);
Since: 3.32
IdeConfigManager *
ide_config_manager_ref_from_context (IdeContext *context
);
Thread-safe version of ide_config_manager_from_context()
.
Since: 3.32
IdeConfig *
ide_config_manager_get_current (IdeConfigManager *self
);
Gets the current configuration to use for building.
Many systems allow you to pass a configuration in instead of relying on the default configuration. This gets the default configuration that various background items might use, such as tags builders which need to discover settings.
Since: 3.32
IdeConfig *
ide_config_manager_ref_current (IdeConfigManager *self
);
Gets the current configuration to use for building.
Many systems allow you to pass a configuration in instead of relying on the default configuration. This gets the default configuration that various background items might use, such as tags builders which need to discover settings.
Since: 3.32
void ide_config_manager_set_current (IdeConfigManager *self
,IdeConfig *configuration
);
IdeConfig * ide_config_manager_get_config (IdeConfigManager *self
,const gchar *id
);
Gets the IdeConfig by id. See ide_config_get_id()
.
Since: 3.32
void ide_config_manager_duplicate (IdeConfigManager *self
,IdeConfig *config
);
void ide_config_manager_delete (IdeConfigManager *self
,IdeConfig *config
);
void ide_config_manager_save_async (IdeConfigManager *self
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
gboolean ide_config_manager_save_finish (IdeConfigManager *self
,GAsyncResult *result
,GError **error
);
gboolean
ide_config_manager_get_ready (IdeConfigManager *self
);
This returns TRUE
if the current configuration is ready for usage.
This is equivalent to checking the ready property of the current configuration. It allows consumers to not need to track changes to the current configuration.
Since: 3.32
“current”
property“current” IdeConfig *
The current configuration for the context.
Flags: Read / Write
“current-display-name”
property“current-display-name” gchar *
The display name of the current configuration.
Flags: Read
Default value: NULL
“ready”
property“ready” gboolean
If the current configuration is ready.
Flags: Read
Default value: FALSE
“invalidate”
signalvoid user_function (IdeConfigManager *self, gpointer user_data)
This signal is emitted any time a new configuration is selected or the currently selected configurations state changes.
Flags: Run Last
Since: 3.32