BaulLocationWidgetProvider: Baul Extension Reference Manual

## BaulLocationWidgetProvider BaulLocationWidgetProvider — Interface to provide additional location widgets |

## Functions

CtkWidget * | baul_location_widget_provider_get_widget ()

## Types and Values

| BaulLocationWidgetProvider
struct | BaulLocationWidgetProviderIface

## Object Hierarchy

        GInterface
        ╰── BaulLocationWidgetProvider

## Prerequisites

BaulLocationWidgetProvider requires GObject.

## Includes

    #include <libbaul-extension/baul-location-widget-provider.h>

## Description

BaulLocationWidgetProvider allows extension to provide additional location widgets in the file manager views.

## Functions

### baul_location_widget_provider_get_widget ()

    CtkWidget *
    baul_location_widget_provider_get_widget
                                   (BaulLocationWidgetProvider *provider,
                                    const char *uri,
                                    CtkWidget *window);

#### Parameters

provider | a BaulLocationWidgetProvider |
uri | the URI of the location |
window | parent CtkWindow |

#### Returns

the location widget for `provider` at `uri` .

[transfer none]

## Types and Values

### BaulLocationWidgetProvider

    typedef struct _BaulLocationWidgetProvider BaulLocationWidgetProvider;

### struct BaulLocationWidgetProviderIface

    struct BaulLocationWidgetProviderIface {
        GTypeInterface g_iface;

        CtkWidget *(*get_widget) (BaulLocationWidgetProvider *provider,
                                  const char                 *uri,
                                  CtkWidget                  *window);
    };

Interface for extensions to provide additional location widgets.

#### Members

`get_widget` () | Returns a CtkWidget. See `baul_location_widget_provider_get_widget()` for details. |