GObject.Object
GIRepository.IRepository
Import line: | GIRepository = imports.gi.GIRepository; |
GIR File: | GIRepository-2.0.gir |
C documentation: | GIRepository |
Class : | IRepository |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
parent : GObject.Object
read only
|
GIRepository.IRepository | |
priv : GIRepository.IRepositoryPrivate
read only
|
GIRepository.IRepository |
Method / Constructor | Defined By | |
---|---|---|
new GIRepository.IRepository
(Object properties)
Create a new GIRepository.IRepository
Create a new GIRepository.IRepository
|
||
GIRepository.IRepository | ||
GIRepository.IRepository.get_default
()
:
GIRepository.IRepository
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.IRepository | |
GIRepository.IRepository.get_option_group
()
:
GLib.OptionGroup
|
GIRepository.IRepository | |
GIRepository.IRepository.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.IRepository | |
GIRepository.IRepository.prepend_search_path
(String directory)
:
none
|
GIRepository.IRepository | |
find_by_gtype
(Number gtype)
:
GIRepository.IBaseInfo
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.IRepository | |
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.IRepository | |
GIRepository.IRepository | ||
GIRepository.IRepository | ||
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.
|
GIRepository.IRepository | |
get_loaded_namespaces
()
:
Array
|
GIRepository.IRepository | |
This function returns the number of metadata entries in given namespace namespace_.
|
GIRepository.IRepository | |
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.IRepository | |
GIRepository.IRepository | ||
This function returns the loaded version associated with the given namespace namespace_.
|
GIRepository.IRepository | |
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.IRepository | |
|
GIRepository.IRepository | |
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.IRepository |
None |