pidgin  2.13.0
About: Pidgin is a chat program (multi-protocol instant messaging client) which lets you log in to accounts on multiple chat networks simultaneously (old name "gaim").
  Fossies Dox: pidgin-2.13.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

gntpounce.h File Reference
#include "pounce.h"
Include dependency graph for gntpounce.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void finch_pounce_editor_show (PurpleAccount *account, const char *name, PurplePounce *cur_pounce)
 
void finch_pounces_manager_show (void)
 
void finch_pounces_manager_hide (void)
 
void * finch_pounces_get_handle (void)
 
void finch_pounces_init (void)
 
void finch_pounces_uninit (void)
 

Detailed Description

GNT Buddy Pounce API

Definition in file gntpounce.h.

Function Documentation

◆ finch_pounce_editor_show()

void finch_pounce_editor_show ( PurpleAccount account,
const char *  name,
PurplePounce cur_pounce 
)

Displays a New Buddy Pounce or Edit Buddy Pounce dialog.

Parameters
accountThe optional account to use.
nameThe optional name to pounce on.
cur_pounceThe current buddy pounce, if editing an existing one.

Definition at line 296 of file gntpounce.c.

References _(), account, cancel_cb(), connections, delete_win_cb(), pietray::dialog, FALSE, GNT_ALIGN_LEFT, GNT_BOX, gnt_box_add_widget(), gnt_box_set_alignment(), gnt_box_set_pad(), gnt_box_set_title(), gnt_box_set_toplevel(), gnt_button_new(), GNT_CHECK_BOX, gnt_check_box_new(), gnt_check_box_set_checked(), GNT_COMBO_BOX, gnt_combo_box_add_data(), gnt_combo_box_new(), gnt_combo_box_set_selected(), GNT_ENTRY, gnt_entry_new(), gnt_entry_set_text(), gnt_hbox_new, gnt_label_new(), gnt_label_new_with_format(), gnt_line_new(), GNT_TEXT_FLAG_BOLD, gnt_vbox_new, gnt_widget_show(), name, NULL, purple_account_get_protocol_name(), purple_account_get_username(), purple_accounts_get_all(), purple_buddy_get_presence(), PURPLE_BUDDY_IS_ONLINE(), purple_connection_get_account(), purple_connections_get_all(), purple_find_buddy(), purple_pounce_action_get_attribute(), purple_pounce_action_is_enabled(), PURPLE_POUNCE_AWAY, PURPLE_POUNCE_AWAY_RETURN, purple_pounce_get_events(), purple_pounce_get_options(), purple_pounce_get_pouncee(), purple_pounce_get_pouncer(), purple_pounce_get_save(), PURPLE_POUNCE_IDLE, PURPLE_POUNCE_IDLE_RETURN, PURPLE_POUNCE_MESSAGE_RECEIVED, PURPLE_POUNCE_OPTION_AWAY, PURPLE_POUNCE_SIGNOFF, PURPLE_POUNCE_SIGNON, PURPLE_POUNCE_TYPED, PURPLE_POUNCE_TYPING, PURPLE_POUNCE_TYPING_STOPPED, purple_prefs_get_bool(), purple_presence_is_available(), purple_presence_is_idle(), save_pounce_cb(), setup_buddy_list_suggestion(), text, TRUE, value, and window.

Referenced by add_pounce_cb(), finch_blist_pounce_node_cb(), pounces_manager_add_cb(), and pounces_manager_modify_cb().

◆ finch_pounces_get_handle()

void* finch_pounces_get_handle ( void  )

Returns the gtkpounces handle

Returns
The handle to the GTK+ pounces system

Definition at line 946 of file gntpounce.c.

References handle.

Referenced by finch_pounces_init(), and finch_pounces_uninit().

◆ finch_pounces_init()

◆ finch_pounces_manager_hide()

void finch_pounces_manager_hide ( void  )

Hides the pounces manager window.

Definition at line 765 of file gntpounce.c.

References gnt_widget_destroy(), NULL, pounces_manager, purple_signals_disconnect_by_handle(), and PouncesManager::window.

Referenced by pounces_manager_close_cb(), and pounces_manager_destroy_cb().

◆ finch_pounces_manager_show()

◆ finch_pounces_uninit()

void finch_pounces_uninit ( void  )

Uninitializes the GNT pounces subsystem.

Definition at line 982 of file gntpounce.c.

References finch_pounces_get_handle(), FINCH_UI, purple_pounces_unregister_handler(), and purple_signals_disconnect_by_handle().