Class
IdeConfig
Instance methods
ide_config_apply_path
ide_config_get_append_path
ide_config_get_args_for_phase
ide_config_get_build_commands
ide_config_get_config_opts
ide_config_get_debug
ide_config_get_dirty
ide_config_get_display_name
ide_config_get_extensions
Gets the known SDK extensions that will be used when building the project. Implementing this in your configuration backend allows plugins to know if additional binaries will be available to the build system.
Available since: 3.34
ide_config_get_id
ide_config_get_internal_boolean
ide_config_get_internal_int
ide_config_get_internal_int64
ide_config_get_internal_object
Gets the value associated with key
if it is a GObject
.
Available since: 3.32
ide_config_get_internal_string
ide_config_get_internal_strv
ide_config_get_locality
ide_config_get_parallelism
ide_config_get_post_install_commands
ide_config_get_prefix
ide_config_get_prefix_set
ide_config_get_prepend_path
ide_config_get_run_opts
Gets the command line options to use when running the target application.
The result should be parsed with g_shell_parse_argv()
to convert the run
options to an array suitable for use in argv.
Available since: 3.32
ide_config_get_runtime_id
ide_config_get_sequence
This returns a sequence number for the configuration. This is useful for build systems that want to clear the “dirty” bit on the configuration so that they need not bootstrap a second time. This should be done by checking the sequence number before executing the bootstrap, and only cleared if the sequence number matches after performing the bootstrap. This indicates no changes have been made to the configuration in the mean time.
Available since: 3.32
ide_config_getenv
ide_config_set_app_id
ide_config_set_append_path
ide_config_set_args_for_phase
ide_config_set_build_commands
ide_config_set_build_commands_dir
ide_config_set_config_opts
ide_config_set_debug
ide_config_set_dirty
ide_config_set_display_name
ide_config_set_environment
ide_config_set_internal_boolean
ide_config_set_internal_int
ide_config_set_internal_int64
ide_config_set_internal_string
ide_config_set_internal_strv
ide_config_set_locality
ide_config_set_parallelism
ide_config_set_post_install_commands
ide_config_set_prefix
ide_config_set_prefix_set
ide_config_set_prepend_path
ide_config_set_run_opts
Sets the run options to use when running the target application.
See ide_config_get_run_opts()
for more information.
Available since: 3.32
ide_config_set_runtime
ide_config_set_runtime_environment
ide_config_set_runtime_id
ide_config_setenv
ide_config_supports_runtime
Methods inherited from IdeObject (28)
Methods inherited from GObject (43)
Properties
Ide.Config:app-id
Ide.Config:append-path
Ide.Config:build-commands
Ide.Config:build-commands-dir
Ide.Config:config-opts
Ide.Config:debug
Ide.Config:dirty
Ide.Config:display-name
Ide.Config:environ
Ide.Config:id
Ide.Config:locality
Ide.Config:parallelism
Ide.Config:post-install-commands
Ide.Config:prefix
Ide.Config:prefix-set
Ide.Config:prepend-path
Ide.Config:ready
Ide.Config:run-opts
Ide.Config:runtime
Ide.Config:runtime-id
Ide.Config:toolchain
Ide.Config:toolchain-id
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.Config::changed
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
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct IdeConfigClass {
IdeObjectClass parent;
IdeRuntime* (* get_runtime) (
IdeConfig* self
);
void (* set_runtime) (
IdeConfig* self,
IdeRuntime* runtime
);
gboolean (* supports_runtime) (
IdeConfig* self,
IdeRuntime* runtime
);
GPtrArray* (* get_extensions) (
IdeConfig* self
);
}
Class members
parent |
|
No description available. | |
get_runtime |
|
No description available. | |
set_runtime |
|
No description available. | |
supports_runtime |
|
No description available. | |
get_extensions |
|
No description available. |
Virtual methods
Ide.ConfigClass.get_extensions
Gets the known SDK extensions that will be used when building the project. Implementing this in your configuration backend allows plugins to know if additional binaries will be available to the build system.
Available since: 3.34