Function

Pidginappend_menu_action

Declaration [src]

GtkWidget*
pidgin_append_menu_action (
  GtkWidget* menu,
  PurpleActionMenu* act,
  gpointer gobject
)

Description [src]

Append a PurpleActionMenu to a menu.

Parameters

menu GtkWidget
 

The menu to append to.

 The data is owned by the caller of the function.
act PurpleActionMenu
 

The PurpleActionMenu to append.

 The data is owned by the caller of the function.
gobject gpointer
 

The object to be passed to the action callback.

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

Return value

Returns: GtkWidget
 

The menuitem added.

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