ThunarIconRenderer

ThunarIconRenderer

Functions

GtkCellRenderer * thunar_icon_renderer_new ()

Properties

ThunarFile * drop-file Read / Write
gboolean emblems Read / Write / Construct
ThunarFile * file Read / Write
gboolean follow-state Read / Write
ThunarIconSize size Read / Write / Construct

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkCellRenderer
            ╰── ThunarIconRenderer
                ╰── ThunarShortcutsIconRenderer

Description

Functions

thunar_icon_renderer_new ()

GtkCellRenderer *
thunar_icon_renderer_new (void);

Creates a new ThunarIconRenderer. Adjust rendering parameters using object properties. Object properties can be set globally with g_object_set. Also, with GtkTreeViewColumn, you can bind a property to a value in a GtkTreeModel.

Returns

the newly allocated ThunarIconRenderer.

Property Details

The “drop-file” property

  “drop-file”                ThunarFile *

The file which should be rendered in the drop accept state.

Owner: ThunarIconRenderer

Flags: Read / Write


The “emblems” property

  “emblems”                  gboolean

Specifies whether to render emblems in addition to the file icons.

Owner: ThunarIconRenderer

Flags: Read / Write / Construct

Default value: TRUE


The “file” property

  “file”                     ThunarFile *

The file whose icon to render.

Owner: ThunarIconRenderer

Flags: Read / Write


The “follow-state” property

  “follow-state”             gboolean

Specifies whether the icon renderer should render icons based on the selection state of the items. This is necessary for ExoIconView, which doesn't draw any item state indicators itself.

Owner: ThunarIconRenderer

Flags: Read / Write

Default value: FALSE


The “size” property

  “size”                     ThunarIconSize

The size at which icons should be rendered by this ThunarIconRenderer instance.

Owner: ThunarIconRenderer

Flags: Read / Write / Construct

Default value: THUNAR_ICON_SIZE_32