Function

Pidginbuddy_icon_chooser_new

Declaration [src]

GtkFileChooserNative*
pidgin_buddy_icon_chooser_new (
  GtkWindow* parent,
  gpointer* callback,
  gpointer data
)

Description [src]

Creates a File Selection widget for choosing a buddy icon.

Parameters

parent GtkWindow
 

The parent window.

 The data is owned by the caller of the function.
callback gpointer*
 

The callback to call when the window is closed. If the user chose an icon, the char* argument will point to its path.

 The argument can be NULL.
 The data is owned by the caller of the function.
data gpointer
 

Data to pass to callback.

 The argument can be NULL.
 The data is owned by the caller of the function.

Return value

Returns: GtkFileChooserNative
 

The file dialog.

 The caller of the function takes ownership of the data, and is responsible for freeing it.