GObject.Object
GIRepository.Repository
Import line: | GIRepository = imports.gi.GIRepository; |
GIR File: | GIRepository-2.0.gir |
C documentation: | GIRepository |
Class : | Repository |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
parent : GObject.Object
read only
|
GIRepository.Repository | |
priv : GIRepository.RepositoryPrivate
read only
|
GIRepository.Repository |
Method / Constructor | Defined By | |
---|---|---|
new GIRepository.Repository
(Object properties)
Create a new GIRepository.Repository
Create a new GIRepository.Repository
|
||
GIRepository.Repository | ||
GIRepository.Repository.error_quark
()
:
guint32
|
GIRepository.Repository | |
GIRepository.Repository.get_default
()
:
GIRepository.Repository
Returns the singleton process-global default GIRepository.
Returns the singleton process-global default GIRepository. It is
not currently supported to have multiple repositories in a particular process, but this function is provided in the unlikely eventuality that it would become possible, and as a convenience for higher level language bindings to conform to the GObject method call conventions. All methods on GIRepository also accept NULL as an instance parameter to mean this default repository, which is usually more convenient for C.
|
GIRepository.Repository | |
GIRepository.Repository.get_search_path
()
:
Array
Returns the search path the GIRepository will use when looking for typelibs.
Returns the search path the GIRepository will use when looking for typelibs.
The string is internal to GIRespository and should not be freed, nor should the elements.
|
GIRepository.Repository | |
GIRepository.Repository.prepend_search_path
(String directory)
:
none
|
GIRepository.Repository | |
Obtain an unordered list of versions (either currently loaded or
available) for namespace_ in this repository. |
GIRepository.Repository | |
find_by_gtype
(Number gtype)
:
GIRepository.BaseInfo
Searches all loaded namespaces for a particular GType.
Searches all loaded namespaces for a particular GType. Note that
in order to locate the metadata, the namespace corresponding to the type must first have been loaded. There is currently no mechanism for determining the namespace which corresponds to an arbitrary GType - thus, this function will operate most reliably when you know the GType to originate from be from a loaded namespace.
|
GIRepository.Repository | |
Searches for a particular entry in a namespace.
Searches for a particular entry in a namespace. Before calling
this function for a particular namespace, you must call g_irepository_require once to load the namespace, or otherwise ensure the namespace has already been loaded.
|
GIRepository.Repository | |
This function returns the "C prefix", or the C level namespace
associated with the given introspection namespace.
This function returns the "C prefix", or the C level namespace
associated with the given introspection namespace. Each C symbol starts with this prefix, as well each GType in the library. such as g_irepository_require before calling this function.
|
GIRepository.Repository | |
Return an array of all (transitive) dependencies for namespace
form namespace-version . |
GIRepository.Repository | |
This function returns a particular metadata entry in the
given namespace namespace_.
This function returns a particular metadata entry in the
given namespace namespace_. The namespace must have already been loaded before calling this function. See g_irepository_get_n_infos() to find the maximum number of entries.
|
GIRepository.Repository | |
get_loaded_namespaces
()
:
Array
Return the list of currently loaded namespaces.
Return the list of currently loaded namespaces.
|
GIRepository.Repository | |
This function returns the number of metadata entries in
given namespace namespace_. |
GIRepository.Repository | |
This function returns the full path to the shared C library
associated with the given namespace namespace_.
This function returns the full path to the shared C library
associated with the given namespace namespace_. There may be no shared library path associated, in which case this function will return NULL. such as g_irepository_require before calling this function.
|
GIRepository.Repository | |
If namespace namespace_ is loaded, return the full path to the
.typelib file it was loaded from.
If namespace namespace_ is loaded, return the full path to the
.typelib file it was loaded from. If the typelib for namespace namespace_ was included in a shared library, return the special string "$lt;builtin$gt;".
|
GIRepository.Repository | |
This function returns the loaded version associated with the given
namespace namespace_. |
GIRepository.Repository | |
Check whether a particular namespace (and optionally, a specific
version thereof) is currently loaded.
Check whether a particular namespace (and optionally, a specific
version thereof) is currently loaded. This function is likely to only be useful in unusual circumstances; in order to act upon metadata in the namespace, you should call g_irepository_require instead which will ensure the namespace is loaded, and return as quickly as this function will if it has already been loaded.
|
GIRepository.Repository | |
|
GIRepository.Repository | |
Force the namespace namespace_ to be loaded if it isn't already.
Force the namespace namespace_ to be loaded if it isn't already.
If namespace_ is not loaded, this function will search for a ".typelib" file using the repository search path. In addition, a version version of namespace may be specified. If version is not specified, the latest will be used.
|
GIRepository.Repository | |
require_private
(String typelib_dir, String namespace_, String version, RepositoryLoadFlags flags)
:
GIRepository.Typelib
Force the namespace namespace_ to be loaded if it isn't already.
Force the namespace namespace_ to be loaded if it isn't already.
If namespace_ is not loaded, this function will search for a ".typelib" file within the private directory only. In addition, a version version of namespace should be specified. If version is not specified, the latest will be used.
|
GIRepository.Repository |
None |