gtkft.h File Reference

GTK+ File Transfer UI

pidgin. More...

#include "ft.h"

Include dependency graph for gtkft.h:

Go to the source code of this file.

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 canceled.
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.

Typedefs

typedef _PidginXferDialog PidginXferDialog
 A file transfer dialog.


Detailed Description

GTK+ File Transfer UI

pidgin.

Pidgin is the legal property of its developers, whose names are too numerous to list here. Please refer to the COPYRIGHT file distributed with this source distribution.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


Typedef Documentation

typedef struct _PidginXferDialog PidginXferDialog
 

A file transfer dialog.

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


Function Documentation

PidginXferDialog* pidgin_get_xfer_dialog void   ) 
 

Returns pirgin's main file transfer dialog.

Returns:
The main dialog.

void pidgin_set_xfer_dialog PidginXferDialog dialog  ) 
 

Sets pidgin's main file transfer dialog.

Parameters:
dialog The main dialog.

void pidgin_xfer_dialog_add_xfer PidginXferDialog dialog,
PurpleXfer xfer
 

Adds a file transfer to the dialog.

Parameters:
dialog The file transfer dialog.
xfer The file transfer.

void pidgin_xfer_dialog_cancel_xfer PidginXferDialog dialog,
PurpleXfer xfer
 

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

Parameters:
dialog The file transfer dialog.
xfer The file transfer that was canceled.

void pidgin_xfer_dialog_destroy PidginXferDialog dialog  ) 
 

Destroys a file transfer dialog.

Parameters:
dialog The file transfer dialog.

void pidgin_xfer_dialog_hide PidginXferDialog dialog  ) 
 

Hides the file transfer dialog.

Parameters:
dialog The file transfer dialog to hide.

PidginXferDialog* pidgin_xfer_dialog_new void   ) 
 

Creates a new file transfer dialog.

Returns:
The new dialog.

void pidgin_xfer_dialog_remove_xfer PidginXferDialog dialog,
PurpleXfer xfer
 

Removes a file transfer from the dialog.

Parameters:
dialog The file transfer dialog.
xfer The file transfer.

void pidgin_xfer_dialog_show PidginXferDialog dialog  ) 
 

Displays the file transfer dialog given.

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

Parameters:
dialog The file transfer dialog to show.

void pidgin_xfer_dialog_update_xfer PidginXferDialog dialog,
PurpleXfer xfer
 

Updates the information for a transfer in the dialog.

Parameters:
dialog The file transfer dialog.
xfer The file transfer.

PurpleXferUiOps* pidgin_xfers_get_ui_ops void   ) 
 

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

Returns:
The GTK+ file transfer UI operations structure.