Nemo.Column

g GObject.Object GObject.Object Nemo.Column Nemo.Column GObject.Object->Nemo.Column

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (name, attribute, label, description)

class

new2 (name, attribute, label, description, width_chars, ellipsize)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

attribute

str

r/w

The attribute name to display

attribute-q

int

r

The attribute name to display, in quark form

description

str

r/w

A user-visible description of the column

ellipsize

Pango.EllipsizeMode

r/w

Pango ellipsize mode when text won’t fit

label

str

r/w

Label to display in the column

name

str

r/w/co

Name of the column

width-chars

int

r/w

Default column width

xalign

float

r/w

The x-alignment of the column

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Nemo.Column(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Nemo.ColumnClass

classmethod new(name, attribute, label, description)
Parameters:
  • name (str) – identifier of the column

  • attribute (str) – the file attribute to be displayed in the column

  • label (str) – the user-visible label for the column

  • description (str) – a user-visible description of the column

Returns:

a newly created Nemo.Column

Return type:

Nemo.Column

Creates a new column

classmethod new2(name, attribute, label, description, width_chars, ellipsize)
Parameters:
  • name (str) – identifier of the column

  • attribute (str) – the file attribute to be displayed in the column

  • label (str) – the user-visible label for the column

  • description (str) – a user-visible description of the column

  • width_chars (int) – the default width of the column (-1 for auto-calc)

  • ellipsize (Pango.EllipsizeMode) – Pango.EllipsizeMode to set when truncating column

Returns:

a newly created Nemo.Column

Return type:

Nemo.Column

Creates a new column

Property Details

Nemo.Column.props.attribute
Name:

attribute

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The attribute name to display

Nemo.Column.props.attribute_q
Name:

attribute-q

Type:

int

Default Value:

0

Flags:

READABLE

The attribute name to display, in quark form

Nemo.Column.props.description
Name:

description

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

A user-visible description of the column

Nemo.Column.props.ellipsize
Name:

ellipsize

Type:

Pango.EllipsizeMode

Default Value:

Pango.EllipsizeMode.NONE

Flags:

READABLE, WRITABLE

Pango ellipsize mode when text won’t fit

Nemo.Column.props.label
Name:

label

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Label to display in the column

Nemo.Column.props.name
Name:

name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Name of the column

Nemo.Column.props.width_chars
Name:

width-chars

Type:

int

Default Value:

-1

Flags:

READABLE, WRITABLE

Default column width

Nemo.Column.props.xalign
Name:

xalign

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The x-alignment of the column