ThunarPropertiesDialog: Thunar Internal Functions Reference Manual

## ThunarPropertiesDialog ThunarPropertiesDialog |

## Functions

GtkWidget * | thunar_properties_dialog_new ()
void | thunar_properties_dialog_set_files ()
void | thunar_properties_dialog_set_file ()

## Properties

gboolean | file-size-binary | Read / Write
ThunarxFileInfoList * | files | Read / Write

## Signals

gboolean | reload | Action

## Object Hierarchy

        GObject
        ╰── GInitiallyUnowned
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkBin
                        ╰── GtkWindow
                            ╰── GtkDialog
                                ╰── ThunarAbstractDialog
                                    ╰── ThunarPropertiesDialog

## Description

## Functions

### thunar_properties_dialog_new ()

    GtkWidget *
    thunar_properties_dialog_new (GtkWindow *parent);

Allocates a new ThunarPropertiesDialog instance, that is not associated with any ThunarFile.

#### Parameters

parent | transient window or NULL; |

#### Returns

the newly allocated ThunarPropertiesDialog instance.

### thunar_properties_dialog_set_files ()

    void
    thunar_properties_dialog_set_files (ThunarPropertiesDialog *dialog,
                                        GList *files);

Sets the ThunarFile that is displayed by `dialog` to `files` .

#### Parameters

dialog | a ThunarPropertiesDialog. |
files | a GList of ThunarFile's or `NULL`. |

### thunar_properties_dialog_set_file ()

    void
    thunar_properties_dialog_set_file (ThunarPropertiesDialog *dialog,
                                       ThunarFile *file);

Sets the ThunarFile that is displayed by `dialog` to `file` .

#### Parameters

dialog | a ThunarPropertiesDialog. |
file | a ThunarFile or `NULL`. |

## Property Details

### The `“file-size-binary”` property

      “file-size-binary”         gboolean

Owner: ThunarPropertiesDialog

Flags: Read / Write

Default value: TRUE

### The `“files”` property

      “files”                    ThunarxFileInfoList *

The list of currently selected files whose properties are displayed by this ThunarPropertiesDialog. This property may also be `NULL` in which case nothing is displayed.

Owner: ThunarPropertiesDialog

Flags: Read / Write

## Signal Details

### The `“reload”` signal

    gboolean
    user_function (ThunarPropertiesDialog *dialog,
                   gpointer                user_data)

Emitted whenever the user requests reset the reload the file properties. This is an internal signal used to bind the action to keys.

#### Parameters

dialog | a ThunarPropertiesDialog. |
user_data | user data set when the signal handler was connected. |

Flags: Action