| Top |
| void | (*ThunarDeviceCallback) () |
| const gchar * | thunar_device_get_eject_label () |
| gchar * | thunar_device_get_name () |
| GIcon * | thunar_device_get_icon () |
| ThunarDeviceKind | thunar_device_get_kind () |
| gchar * | thunar_device_get_identifier () |
| gchar * | thunar_device_get_identifier_unix () |
| gboolean | thunar_device_get_hidden () |
| gboolean | thunar_device_can_eject () |
| gboolean | thunar_device_can_mount () |
| gboolean | thunar_device_can_unmount () |
| gboolean | thunar_device_is_mounted () |
| GFile * | thunar_device_get_root () |
| gint | thunar_device_compare_by_name () |
| void | thunar_device_mount () |
| void | thunar_device_unmount () |
| void | thunar_device_eject () |
| void | thunar_device_reload_file () |
void (*ThunarDeviceCallback) (ThunarDevice *device,const GError *error,gpointer user_data);
const gchar *
thunar_device_get_eject_label (const ThunarDevice *device);
Obtains the recommended name for the eject action, specific to GIO's drive type.
gchar *
thunar_device_get_name (const ThunarDevice *device);
Returns the name of the device
if the device
is mounted.
The caller is responsible to free the returned string
using g_free() when no longer needed.
GIcon * thunar_device_get_icon (const ThunarDevice *device,gboolean symbolic);
gchar *
thunar_device_get_identifier_unix (const ThunarDevice *device);
gboolean
thunar_device_can_eject (const ThunarDevice *device);
If the user should see the option to eject this device.
gboolean
thunar_device_can_mount (const ThunarDevice *device);
If the user should see the option to mount this device.
gboolean
thunar_device_can_unmount (const ThunarDevice *device);
If the user should see the option to unmount this device.
gint thunar_device_compare_by_name (const ThunarDevice *device1,const ThunarDevice *device2);
void thunar_device_mount (ThunarDevice *device,GMountOperation *mount_operation,GCancellable *cancellable,ThunarDeviceCallback callback,gpointer user_data);
void thunar_device_unmount (ThunarDevice *device,GMountOperation *mount_operation,GCancellable *cancellable,ThunarDeviceCallback callback,gpointer user_data);
Try to eject a ThunarDevice, fall-back to unmounting
void thunar_device_eject (ThunarDevice *device,GMountOperation *mount_operation,GCancellable *cancellable,ThunarDeviceCallback callback,gpointer user_data);
void
thunar_device_reload_file (ThunarDevice *device);
Reload the related ThunarFile of the ThunarDevice