BaulPropertyPage

BaulPropertyPage — Property page descriptor object

Functions

Properties

CtkWidget * label Read / Write
char * name Read / Write / Construct Only
CtkWidget * page Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── BaulPropertyPage

Includes

#include <libbaul-extension/baul-property-page.h>

Description

BaulPropertyPage is an object that describes a page in the file properties dialog. Extensions can provide BaulPropertyPage objects by registering a BaulPropertyPageProvider and returning them from baul_property_page_provider_get_pages(), which will be called by the main application when creating file properties dialogs.

Functions

baul_property_page_new ()

BaulPropertyPage *
baul_property_page_new (const char *name,
                        CtkWidget *label,
                        CtkWidget *page);

Creates a new BaulPropertyPage from page_widget.

Parameters

name

the identifier for the property page

 

label

the user-visible label of the property page

 

page

the property page to display

 

Returns

a newly created BaulPropertyPage

Types and Values

struct BaulPropertyPage

struct BaulPropertyPage;

Property Details

The “label” property

  “label”                    CtkWidget *

Label widget to display in the notebook tab.

Owner: BaulPropertyPage

Flags: Read / Write


The “name” property

  “name”                     char *

Name of the page.

Owner: BaulPropertyPage

Flags: Read / Write / Construct Only

Default value: NULL


The “page” property

  “page”                     CtkWidget *

Widget for the property page.

Owner: BaulPropertyPage

Flags: Read / Write