TypeModule.use

Increases the use count of a gobject.TypeModule by one. If the use count was zero before, the plugin will be loaded. If loading the plugin fails, the use count is reset to its prior value.

class TypeModule
bool
use
()

Return Value

Type: bool

FALSE if the plugin needed to be loaded and loading the plugin failed.