Top | ![]() |
![]() |
![]() |
![]() |
IdeConfiguration * | current | Read / Write |
gchar * | current-display-name | Read |
gboolean | ready | Read |
IdeConfiguration *
ide_configuration_manager_get_current (IdeConfigurationManager *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.
void ide_configuration_manager_set_current (IdeConfigurationManager *self
,IdeConfiguration *configuration
);
IdeConfiguration * ide_configuration_manager_get_configuration (IdeConfigurationManager *self
,const gchar *id
);
Gets the IdeConfiguration by id. See ide_configuration_get_id()
.
An IdeConfiguration or NULL
if
the configuration could not be found.
[transfer none][nullable]
void ide_configuration_manager_duplicate (IdeConfigurationManager *self
,IdeConfiguration *config
);
void ide_configuration_manager_delete (IdeConfigurationManager *self
,IdeConfiguration *config
);
void ide_configuration_manager_save_async (IdeConfigurationManager *self
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
gboolean ide_configuration_manager_save_finish (IdeConfigurationManager *self
,GAsyncResult *result
,GError **error
);
gboolean
ide_configuration_manager_get_ready (IdeConfigurationManager *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.28
#define IDE_TYPE_CONFIGURATION_MANAGER (ide_configuration_manager_get_type())
“current”
property“current” IdeConfiguration *
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
“invalidate”
signalvoid user_function (IdeConfigurationManager *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