Typedefs
gtkft.h File Reference

GTK+ File Transfer UI. More...

#include "ft.h"

Go to the source code of this file.

Typedefs

typedef struct _PidginXferDialog PidginXferDialog
 A file transfer dialog.

Functions

GTK+ File Transfer Dialog API
PidginXferDialogpidgin_xfer_dialog_new (void)
 Creates a new file transfer dialog.
void pidgin_xfer_dialog_destroy (PidginXferDialog *dialog)
 Destroys a file transfer dialog.
void pidgin_xfer_dialog_show (PidginXferDialog *dialog)
 Displays the file transfer dialog given.
void pidgin_xfer_dialog_hide (PidginXferDialog *dialog)
 Hides the file transfer dialog.
void pidgin_xfer_dialog_add_xfer (PidginXferDialog *dialog, PurpleXfer *xfer)
 Adds a file transfer to the dialog.
void pidgin_xfer_dialog_remove_xfer (PidginXferDialog *dialog, PurpleXfer *xfer)
 Removes a file transfer from the dialog.
void pidgin_xfer_dialog_cancel_xfer (PidginXferDialog *dialog, PurpleXfer *xfer)
 Indicate in a file transfer dialog that a transfer was cancelled.
void pidgin_xfer_dialog_update_xfer (PidginXferDialog *dialog, PurpleXfer *xfer)
 Updates the information for a transfer in the dialog.
GTK+ File Transfer API
void pidgin_xfers_init (void)
 Initializes the GTK+ file transfer system.
void pidgin_xfers_uninit (void)
 Uninitializes the GTK+ file transfer system.
void pidgin_set_xfer_dialog (PidginXferDialog *dialog)
 Sets pidgin's main file transfer dialog.
PidginXferDialogpidgin_get_xfer_dialog (void)
 Returns pirgin's main file transfer dialog.
PurpleXferUiOpspidgin_xfers_get_ui_ops (void)
 Returns the UI operations structure for the GTK+ file transfer UI.

Detailed Description

GTK+ File Transfer UI.

Definition in file gtkft.h.


Typedef Documentation

typedef struct _PidginXferDialog PidginXferDialog

A file transfer dialog.

The structure is opaque, as nobody should be touching anything inside of it.

Definition at line 37 of file gtkft.h.


Function Documentation

Returns pirgin's main file transfer dialog.

Returns:
The main dialog.

Sets pidgin's main file transfer dialog.

Parameters:
dialogThe main dialog.
void pidgin_xfer_dialog_add_xfer ( PidginXferDialog dialog,
PurpleXfer xfer 
)

Adds a file transfer to the dialog.

Parameters:
dialogThe file transfer dialog.
xferThe file transfer.

Indicate in a file transfer dialog that a transfer was cancelled.

Parameters:
dialogThe file transfer dialog.
xferThe file transfer that was cancelled.

Destroys a file transfer dialog.

Parameters:
dialogThe file transfer dialog.

Hides the file transfer dialog.

Parameters:
dialogThe file transfer dialog to hide.

Creates a new file transfer dialog.

Returns:
The new dialog.

Removes a file transfer from the dialog.

Parameters:
dialogThe file transfer dialog.
xferThe file transfer.

Displays the file transfer dialog given.

If dialog is NULL, displays the default dialog, creating one if necessary

Parameters:
dialogThe file transfer dialog to show.

Updates the information for a transfer in the dialog.

Parameters:
dialogThe file transfer dialog.
xferThe file transfer.

Returns the UI operations structure for the GTK+ file transfer UI.

Returns:
The GTK+ file transfer UI operations structure.