![]() |
![]() |
![]() |
Thunar Extensions Reference Manual | ![]() |
---|
ThunarxProviderFactoryThunarxProviderFactory — Provider factory support |
#include <thunarx/thunarx.h> ThunarxProviderFactory; ThunarxProviderFactory* thunarx_provider_factory_get_default (void); GList* thunarx_provider_factory_list_providers (ThunarxProviderFactory *factory, GType type);
ThunarxProviderFactory* thunarx_provider_factory_get_default (void);
Returns a reference to the default ThunarxProviderFactory instance.
The caller is responsible to free the returned object
using g_object_unref()
when no longer needed.
Returns : | a reference to the default ThunarxProviderFactory instance. |
GList* thunarx_provider_factory_list_providers (ThunarxProviderFactory *factory, GType type);
Returns all providers of the given type
.
The caller is responsible to release the returned list of providers using code like this:
g_list_foreach (list, (GFunc) g_object_unref, NULL); g_list_free (list);
factory : |
a ThunarxProviderFactory instance. |
type : |
the provider GType. |
Returns : | the of providers for type .
|
<< Part VI. Using Thunar extensions in applications | Index >> |