Nautilus Extension Reference Manual: NautilusColumn

## NautilusColumn NautilusColumn |

## Functions

NautilusColumn * | nautilus_column_new ()

## Properties

gchar * | attribute | Read / Write
guint | attribute-q | Read
GtkSortType | default-sort-order | Read / Write
gchar * | description | Read / Write
gchar * | label | Read / Write
gchar * | name | Read / Write / Construct Only
gfloat | xalign | Read / Write

## Types and Values

| NautilusColumnDetails
struct | NautilusColumn

## Object Hierarchy

        GObject
        ╰── NautilusColumn

## Description

## Functions

### nautilus_column_new ()

    NautilusColumn *
    nautilus_column_new (const char *name,
                         const char *attribute,
                         const char *label,
                         const char *description);

Creates a new column

#### Parameters

name | identifier of the column |
attribute | the file attribute to be displayed in the column |
label | the user-visible label for the column |
description | a user-visible description of the column |

#### Returns

a newly created NautilusColumn

## Types and Values

### NautilusColumnDetails

    typedef struct _NautilusColumnDetails NautilusColumnDetails;

### struct NautilusColumn

    struct NautilusColumn;

## Property Details

### The `“attribute”` property

      “attribute”                gchar *

The attribute name to display.

Flags: Read / Write

Default value: NULL

### The `“attribute-q”` property

      “attribute-q”              guint

The attribute name to display, in quark form.

Flags: Read

Default value: 0

### The `“default-sort-order”` property

      “default-sort-order”       GtkSortType

Default sort order.

Flags: Read / Write

Default value: GTK_SORT_ASCENDING

### The `“description”` property

      “description”              gchar *

A user-visible description of the column.

Flags: Read / Write

Default value: NULL

### The `“label”` property

      “label”                    gchar *

Label to display in the column.

Flags: Read / Write

Default value: NULL

### The `“name”` property

      “name”                     gchar *

Name of the column.

Flags: Read / Write / Construct Only

Default value: NULL

### The `“xalign”` property

      “xalign”                   gfloat

The x-alignment of the column.

Flags: Read / Write

Allowed values: [0,1]

Default value: 0