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)  

gntwm.c File Reference
#include "config.h"
#include <glib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <ctype.h>
#include <gmodule.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "gntinternal.h"
#include "gntwm.h"
#include "gntstyle.h"
#include "gntmarshal.h"
#include "gnt.h"
#include "gntbox.h"
#include "gntbutton.h"
#include "gntentry.h"
#include "gntfilesel.h"
#include "gntlabel.h"
#include "gntmenu.h"
#include "gnttextview.h"
#include "gnttree.h"
#include "gntutils.h"
#include "gntwindow.h"
Include dependency graph for gntwm.c:

Go to the source code of this file.

Macros

#define _GNU_SOURCE
 
#define g_fopen   open
 
#define GNT_LOG_DOMAIN   "WM"
 
#define IDLE_CHECK_INTERVAL   5 /* 5 seconds */
 
#define CHECK(attr, start, end)
 
#define ADJUST(x)   (x = x * 255 / 1000)
 
#define DECIDE(ch)   (set ? ((ch) | A_REVERSE) : ((ch) & ~A_REVERSE))
 

Enumerations

enum  {
  SIG_NEW_WIN, SIG_DECORATE_WIN, SIG_CLOSE_WIN, SIG_CONFIRM_RESIZE,
  SIG_RESIZED, SIG_CONFIRM_MOVE, SIG_MOVED, SIG_UPDATE_WIN,
  SIG_GIVE_FOCUS, SIG_KEY_PRESS, SIG_MOUSE_CLICK, SIG_TERMINAL_REFRESH,
  SIGS
}
 

Functions

static void gnt_wm_new_window_real (GntWM *wm, GntWidget *widget)
 
static void gnt_wm_win_resized (GntWM *wm, GntNode *node)
 
static void gnt_wm_win_moved (GntWM *wm, GntNode *node)
 
static void gnt_wm_give_focus (GntWM *wm, GntWidget *widget)
 
static void update_window_in_list (GntWM *wm, GntWidget *wid)
 
static void shift_window (GntWM *wm, GntWidget *widget, int dir)
 
static gboolean workspace_next (GntBindable *wm, GList *n)
 
static gboolean workspace_prev (GntBindable *wm, GList *n)
 
static int widestringwidth (wchar_t *wide)
 
static void ensure_normal_mode (GntWM *wm)
 
static gboolean write_already (gpointer data)
 
static GList * g_list_bring_to_front (GList *list, gpointer data)
 
static void free_node (gpointer data)
 
void gnt_wm_copy_win (GntWidget *widget, GntNode *node)
 
static void work_around_for_ncurses_bug (void)
 
static void update_act_msg (void)
 
static gboolean update_screen (GntWM *wm)
 
static gboolean sanitize_position (GntWidget *widget, int *x, int *y, gboolean m)
 
static void refresh_node (GntWidget *widget, GntNode *node, gpointer m)
 
static void read_window_positions (GntWM *wm)
 
static gboolean check_idle (gpointer n)
 
static void gnt_wm_init (GTypeInstance *instance, gpointer class)
 
static void switch_window (GntWM *wm, int direction, gboolean urgent)
 
static gboolean window_next (GntBindable *bindable, GList *null)
 
static gboolean window_prev (GntBindable *bindable, GList *null)
 
static gboolean switch_window_n (GntBindable *bind, GList *list)
 
static gboolean window_scroll_up (GntBindable *bindable, GList *null)
 
static gboolean window_scroll_down (GntBindable *bindable, GList *null)
 
static gboolean window_close (GntBindable *bindable, GList *null)
 
static void destroy__list (GntWidget *widget, GntWM *wm)
 
static void setup__list (GntWM *wm)
 
static void window_list_activate (GntTree *tree, GntWM *wm)
 
static void populate_window_list (GntWM *wm, gboolean workspace)
 
static gboolean window_list_key_pressed (GntWidget *widget, const char *text, GntWM *wm)
 
static void list_of_windows (GntWM *wm, gboolean workspace)
 
static gboolean window_list (GntBindable *bindable, GList *null)
 
static void dump_file_save (GntFileSel *fs, const char *path, const char *f, gpointer n)
 
static void dump_file_cancel (GntWidget *w, GntFileSel *fs)
 
static gboolean dump_screen (GntBindable *b, GList *null)
 
static gboolean shift_left (GntBindable *bindable, GList *null)
 
static gboolean shift_right (GntBindable *bindable, GList *null)
 
static void action_list_activate (GntTree *tree, GntWM *wm)
 
static int compare_action (gconstpointer p1, gconstpointer p2)
 
static gboolean list_actions (GntBindable *bindable, GList *null)
 
static int reverse_char (WINDOW *d, int y, int x, gboolean set)
 
static void window_reverse (GntWidget *win, gboolean set, GntWM *wm)
 
static gboolean start_move (GntBindable *bindable, GList *null)
 
static gboolean start_resize (GntBindable *bindable, GList *null)
 
static gboolean wm_quit (GntBindable *bindable, GList *list)
 
static gboolean return_true (GntWM *wm, GntWidget *w, int *a, int *b)
 
static gboolean refresh_screen (GntBindable *bindable, GList *null)
 
static gboolean toggle_clipboard (GntBindable *bindable, GList *n)
 
static void remove_tag (gpointer wid, gpointer wim)
 
static gboolean tag_widget (GntBindable *b, GList *params)
 
static void widget_move_ws (gpointer wid, gpointer w)
 
static gboolean place_tagged (GntBindable *b, GList *params)
 
static gboolean workspace_list (GntBindable *b, GList *params)
 
static gboolean workspace_new (GntBindable *bindable, GList *null)
 
static gboolean ignore_keys_start (GntBindable *bindable, GList *n)
 
static gboolean ignore_keys_end (GntBindable *bindable, GList *n)
 
static gboolean window_next_urgent (GntBindable *bindable, GList *n)
 
static gboolean window_prev_urgent (GntBindable *bindable, GList *n)
 
static gboolean help_for_bindable (GntWM *wm, GntBindable *bindable)
 
static gboolean help_for_wm (GntBindable *bindable, GList *null)
 
static gboolean help_for_window (GntBindable *bindable, GList *null)
 
static gboolean help_for_widget (GntBindable *bindable, GList *null)
 
static void accumulate_windows (gpointer window, gpointer node, gpointer p)
 
static void gnt_wm_destroy (GObject *obj)
 
static void gnt_wm_class_init (GntWMClass *klass)
 
GType gnt_wm_get_gtype (void)
 
void gnt_wm_add_workspace (GntWM *wm, GntWS *ws)
 
gboolean gnt_wm_switch_workspace (GntWM *wm, gint n)
 
gboolean gnt_wm_switch_workspace_prev (GntWM *wm)
 
gboolean gnt_wm_switch_workspace_next (GntWM *wm)
 
void gnt_wm_widget_move_workspace (GntWM *wm, GntWS *neww, GntWidget *widget)
 
static gint widget_in_workspace (gconstpointer workspace, gconstpointer wid)
 
GntWSgnt_wm_widget_find_workspace (GntWM *wm, GntWidget *widget)
 
static void free_workspaces (gpointer data, gpointer n)
 
void gnt_wm_set_workspaces (GntWM *wm, GList *workspaces)
 
static gboolean match_title (gpointer title, gpointer n, gpointer wid_title)
 
static void table_find_helper (gpointer key, gpointer value, gpointer data)
 
static gpointer g_hash_table_find (GHashTable *table, GHRFunc func, gpointer data)
 
static GntWSnew_widget_find_workspace (GntWM *wm, GntWidget *widget)
 
void gnt_wm_new_window (GntWM *wm, GntWidget *widget)
 
void gnt_wm_window_decorate (GntWM *wm, GntWidget *widget)
 
void gnt_wm_window_close (GntWM *wm, GntWidget *widget)
 
time_t gnt_wm_get_idle_time ()
 
gboolean gnt_wm_process_input (GntWM *wm, const char *keys)
 
void gnt_wm_resize_window (GntWM *wm, GntWidget *widget, int width, int height)
 
static void write_gdi (gpointer key, gpointer value, gpointer data)
 
static void write_positions_to_file (GntWM *wm)
 
void gnt_wm_move_window (GntWM *wm, GntWidget *widget, int x, int y)
 
void gnt_wm_update_window (GntWM *wm, GntWidget *widget)
 
gboolean gnt_wm_process_click (GntWM *wm, GntMouseEvent event, int x, int y, GntWidget *widget)
 
void gnt_wm_raise_window (GntWM *wm, GntWidget *widget)
 
void gnt_wm_set_event_stack (GntWM *wm, gboolean set)
 

Variables

static guint signals [SIGS] = { 0 }
 
static int write_timeout
 
static time_t last_active_time
 
static gboolean idle_update
 
static GList * act = NULL
 
static gboolean ignore_keys = FALSE
 
struct {
   gpointer   data
 
   gpointer   value
 
table_find_data
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

GNT - The GLib Ncurses Toolkit

GNT 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 library 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., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA

Definition at line 32 of file gntwm.c.

◆ ADJUST

#define ADJUST (   x)    (x = x * 255 / 1000)

◆ CHECK

#define CHECK (   attr,
  start,
  end 
)
Value:
do \
{ \
if (now & attr) \
{ \
if (!(old & attr)) \
fprintf(file, "%s", start); \
} \
else if (old & attr) \
{ \
fprintf(file, "%s", end); \
} \
} while (0)

◆ DECIDE

#define DECIDE (   ch)    (set ? ((ch) | A_REVERSE) : ((ch) & ~A_REVERSE))

◆ g_fopen

#define g_fopen   open

Definition at line 46 of file gntwm.c.

◆ GNT_LOG_DOMAIN

#define GNT_LOG_DOMAIN   "WM"

Definition at line 56 of file gntwm.c.

◆ IDLE_CHECK_INTERVAL

#define IDLE_CHECK_INTERVAL   5 /* 5 seconds */

Definition at line 73 of file gntwm.c.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SIG_NEW_WIN 
SIG_DECORATE_WIN 
SIG_CLOSE_WIN 
SIG_CONFIRM_RESIZE 
SIG_RESIZED 
SIG_CONFIRM_MOVE 
SIG_MOVED 
SIG_UPDATE_WIN 
SIG_GIVE_FOCUS 
SIG_KEY_PRESS 
SIG_MOUSE_CLICK 
SIG_TERMINAL_REFRESH 
SIGS 

Definition at line 75 of file gntwm.c.

Function Documentation

◆ accumulate_windows()

static void accumulate_windows ( gpointer  window,
gpointer  node,
gpointer  p 
)
static

Definition at line 1376 of file gntwm.c.

References window.

Referenced by gnt_wm_destroy().

◆ action_list_activate()

static void action_list_activate ( GntTree tree,
GntWM wm 
)
static

◆ check_idle()

static gboolean check_idle ( gpointer  n)
static

Definition at line 385 of file gntwm.c.

References FALSE, idle_update, last_active_time, time(), and TRUE.

Referenced by gnt_wm_init().

◆ compare_action()

static int compare_action ( gconstpointer  p1,
gconstpointer  p2 
)
static

Definition at line 950 of file gntwm.c.

References _GntAction::label.

Referenced by list_actions().

◆ destroy__list()

static void destroy__list ( GntWidget widget,
GntWM wm 
)
static

Definition at line 560 of file gntwm.c.

References _GntWM::_list, _GntWM::actions, NULL, _GntWM::tree, update_screen(), _GntWM::window, _GntWM::windows, and wm.

Referenced by setup__list().

◆ dump_file_cancel()

static void dump_file_cancel ( GntWidget w,
GntFileSel fs 
)
static

Definition at line 856 of file gntwm.c.

References GNT_WIDGET, and gnt_widget_destroy().

Referenced by dump_screen().

◆ dump_file_save()

static void dump_file_save ( GntFileSel fs,
const char *  path,
const char *  f,
gpointer  n 
)
static

Definition at line 709 of file gntwm.c.

References ADJUST, b, CHECK, file, g, g_fopen, GNT_WIDGET, gnt_widget_destroy(), NULL, pietray::path, r, and snprintf.

Referenced by dump_screen().

◆ dump_screen()

◆ ensure_normal_mode()

static void ensure_normal_mode ( GntWM wm)
static

◆ free_node()

static void free_node ( gpointer  data)
static

Definition at line 126 of file gntwm.c.

References data, and dbus-buddyicons-example::node.

Referenced by gnt_wm_init().

◆ free_workspaces()

static void free_workspaces ( gpointer  data,
gpointer  n 
)
static

Definition at line 1740 of file gntwm.c.

References data, and _GntWS::name.

Referenced by gnt_wm_set_workspaces().

◆ g_hash_table_find()

static gpointer g_hash_table_find ( GHashTable *  table,
GHRFunc  func,
gpointer  data 
)
static

Definition at line 1794 of file gntwm.c.

References data, NULL, table_find_data, and table_find_helper().

Referenced by jingle_session_find_by_jid(), and new_widget_find_workspace().

◆ g_list_bring_to_front()

static GList* g_list_bring_to_front ( GList *  list,
gpointer  data 
)
static

Definition at line 118 of file gntwm.c.

References data.

Referenced by gnt_wm_give_focus(), and gnt_wm_raise_window().

◆ gnt_wm_add_workspace()

void gnt_wm_add_workspace ( GntWM wm,
GntWS ws 
)

Add a workspace.

Parameters
wmThe window-manager.
wsThe workspace to add.

Definition at line 1642 of file gntwm.c.

References wm, and _GntWM::workspaces.

Referenced by gnt_style_read_workspaces(), gnt_wm_init(), and workspace_new().

◆ gnt_wm_class_init()

◆ gnt_wm_copy_win()

◆ gnt_wm_destroy()

static void gnt_wm_destroy ( GObject *  obj)
static

◆ gnt_wm_get_gtype()

GType gnt_wm_get_gtype ( void  )
Returns
GType for GntWM.

Definition at line 1615 of file gntwm.c.

References GNT_TYPE_BINDABLE, gnt_wm_class_init(), gnt_wm_init(), info, NULL, and dbus-analyze-signals::type.

◆ gnt_wm_get_idle_time()

time_t gnt_wm_get_idle_time ( void  )
Returns
The idle time of the user.

Definition at line 1975 of file gntwm.c.

References last_active_time, NULL, and time().

Referenced by finch_get_idle_time().

◆ gnt_wm_give_focus()

◆ gnt_wm_init()

◆ gnt_wm_move_window()

void gnt_wm_move_window ( GntWM wm,
GntWidget widget,
int  x,
int  y 
)

◆ gnt_wm_new_window()

◆ gnt_wm_new_window_real()

◆ gnt_wm_process_click()

gboolean gnt_wm_process_click ( GntWM wm,
GntMouseEvent  event,
int  x,
int  y,
GntWidget widget 
)

Process a click event.

Parameters
wmThe window manager.
eventThe mouse event.
xThe x-coordinate of the mouse.
yThe y-coordinate of the mouse.
widgetThe widget under the mouse.
Returns
TRUE if the event was handled, FALSE otherwise.

Definition at line 2277 of file gntwm.c.

References idle_update, SIG_MOUSE_CLICK, signals, TRUE, widget, and wm.

Referenced by detect_mouse_action().

◆ gnt_wm_process_input()

◆ gnt_wm_raise_window()

◆ gnt_wm_resize_window()

void gnt_wm_resize_window ( GntWM wm,
GntWidget widget,
int  width,
int  height 
)

Resize a window.

Parameters
wmThe window manager.
widgetThe window to resize.
widthThe desired width of the window.
heightThe desired height of the window.

Definition at line 2111 of file gntwm.c.

References gnt_widget_draw(), gnt_widget_set_size(), dbus-buddyicons-example::node, _GntWM::nodes, SIG_CONFIRM_RESIZE, SIG_RESIZED, signals, TRUE, update_screen(), widget, and wm.

Referenced by gnt_screen_resize_widget(), move_direction(), and refresh_window().

◆ gnt_wm_set_event_stack()

void gnt_wm_set_event_stack ( GntWM wm,
gboolean  set 
)

Definition at line 2301 of file gntwm.c.

References _GntWM::event_stack, set(), and wm.

Referenced by io_invoke().

◆ gnt_wm_set_workspaces()

void gnt_wm_set_workspaces ( GntWM wm,
GList *  workspaces 
)

Set the list of workspaces .

Parameters
wmThe window manager.
workspacesThe list of workspaces.

Definition at line 1746 of file gntwm.c.

References free_workspaces(), gnt_wm_switch_workspace(), NULL, wm, and _GntWM::workspaces.

◆ gnt_wm_switch_workspace()

gboolean gnt_wm_switch_workspace ( GntWM wm,
gint  n 
)

◆ gnt_wm_switch_workspace_next()

gboolean gnt_wm_switch_workspace_next ( GntWM wm)

Switch to the next workspace from the current one.

Parameters
wmThe window-manager.

Definition at line 1683 of file gntwm.c.

References _GntWM::cws, gnt_wm_switch_workspace(), wm, and _GntWM::workspaces.

Referenced by workspace_next().

◆ gnt_wm_switch_workspace_prev()

gboolean gnt_wm_switch_workspace_prev ( GntWM wm)

Switch to the previous workspace from the current one.

Parameters
wmThe window-manager.

Definition at line 1676 of file gntwm.c.

References _GntWM::cws, gnt_wm_switch_workspace(), wm, and _GntWM::workspaces.

Referenced by workspace_prev().

◆ gnt_wm_update_window()

◆ gnt_wm_widget_find_workspace()

GntWS* gnt_wm_widget_find_workspace ( GntWM wm,
GntWidget widget 
)

Find the workspace that contains a specific widget.

Parameters
wmThe window-manager.
widgetThe widget to find.
Returns
The workspace that has the widget.

Definition at line 1732 of file gntwm.c.

References NULL, widget, widget_in_workspace(), wm, and _GntWM::workspaces.

Referenced by gnt_wm_raise_window(), gnt_wm_update_window(), gnt_wm_widget_move_workspace(), and gnt_wm_window_close().

◆ gnt_wm_widget_move_workspace()

void gnt_wm_widget_move_workspace ( GntWM wm,
GntWS neww,
GntWidget widget 
)

Move a window to a specific workspace.

Parameters
wmThe window manager.
newwThe new workspace.
widgetThe widget to move.

Definition at line 1702 of file gntwm.c.

References _GntWM::cws, gnt_wm_widget_find_workspace(), gnt_ws_add_widget(), gnt_ws_remove_widget(), gnt_ws_widget_hide(), gnt_ws_widget_show(), dbus-buddyicons-example::node, _GntWM::nodes, widget, and wm.

Referenced by widget_move_ws().

◆ gnt_wm_win_moved()

static void gnt_wm_win_moved ( GntWM wm,
GntNode node 
)
static

Definition at line 2106 of file gntwm.c.

References dbus-buddyicons-example::node, NULL, and refresh_node().

Referenced by gnt_wm_class_init().

◆ gnt_wm_win_resized()

static void gnt_wm_win_resized ( GntWM wm,
GntNode node 
)
static

Definition at line 2100 of file gntwm.c.

Referenced by gnt_wm_class_init().

◆ gnt_wm_window_close()

void gnt_wm_window_close ( GntWM wm,
GntWidget widget 
)

◆ gnt_wm_window_decorate()

void gnt_wm_window_decorate ( GntWM wm,
GntWidget widget 
)

Decorate a window.

Parameters
wmThe window-manager.
widgetThe widget to decorate.

Definition at line 1934 of file gntwm.c.

References SIG_DECORATE_WIN, signals, widget, and wm.

◆ help_for_bindable()

static gboolean help_for_bindable ( GntWM wm,
GntBindable bindable 
)
static

◆ help_for_widget()

static gboolean help_for_widget ( GntBindable bindable,
GList *  null 
)
static

Definition at line 1360 of file gntwm.c.

References _GntWM::cws, GNT_BINDABLE, GNT_BOX, GNT_IS_BOX, GNT_WM, help_for_bindable(), _GntWS::ordered, TRUE, widget, and wm.

Referenced by gnt_wm_class_init().

◆ help_for_window()

static gboolean help_for_window ( GntBindable bindable,
GList *  null 
)
static

Definition at line 1346 of file gntwm.c.

References _GntWM::cws, FALSE, GNT_BINDABLE, GNT_WM, help_for_bindable(), _GntWS::ordered, widget, and wm.

Referenced by gnt_wm_class_init().

◆ help_for_wm()

static gboolean help_for_wm ( GntBindable bindable,
GList *  null 
)
static

Definition at line 1340 of file gntwm.c.

References GNT_WM, and help_for_bindable().

Referenced by gnt_wm_class_init().

◆ ignore_keys_end()

static gboolean ignore_keys_end ( GntBindable bindable,
GList *  n 
)
static

Definition at line 1257 of file gntwm.c.

References FALSE, ignore_keys, and TRUE.

Referenced by gnt_wm_class_init().

◆ ignore_keys_start()

static gboolean ignore_keys_start ( GntBindable bindable,
GList *  n 
)
static

◆ list_actions()

◆ list_of_windows()

◆ match_title()

static gboolean match_title ( gpointer  title,
gpointer  n,
gpointer  wid_title 
)
static

Definition at line 1770 of file gntwm.c.

References FALSE, and TRUE.

Referenced by new_widget_find_workspace().

◆ new_widget_find_workspace()

static GntWS* new_widget_find_workspace ( GntWM wm,
GntWidget widget 
)
static

◆ place_tagged()

static gboolean place_tagged ( GntBindable b,
GList *  params 
)
static

Definition at line 1211 of file gntwm.c.

References b, GNT_WM, NULL, remove_tag(), _GntWM::tagged, TRUE, widget_move_ws(), and wm.

Referenced by gnt_wm_class_init().

◆ populate_window_list()

◆ read_window_positions()

static void read_window_positions ( GntWM wm)
static

Definition at line 338 of file gntwm.c.

References error, gnt_warning, keys, NULL, _GntWM::positions, wm, _GntPosition::x, and _GntPosition::y.

Referenced by gnt_wm_init().

◆ refresh_node()

◆ refresh_screen()

static gboolean refresh_screen ( GntBindable bindable,
GList *  null 
)
static

◆ remove_tag()

static void remove_tag ( gpointer  wid,
gpointer  wim 
)
static

◆ return_true()

static gboolean return_true ( GntWM wm,
GntWidget w,
int *  a,
int *  b 
)
static

Definition at line 1118 of file gntwm.c.

References TRUE.

Referenced by gnt_wm_class_init().

◆ reverse_char()

static int reverse_char ( WINDOW *  d,
int  y,
int  x,
gboolean  set 
)
static

Definition at line 1014 of file gntwm.c.

References DECIDE, and widestringwidth().

Referenced by window_reverse().

◆ sanitize_position()

static gboolean sanitize_position ( GntWidget widget,
int *  x,
int *  y,
gboolean  m 
)
static

◆ setup__list()

◆ shift_left()

static gboolean shift_left ( GntBindable bindable,
GList *  null 
)
static

Definition at line 913 of file gntwm.c.

References _GntWM::_list, _GntWM::cws, FALSE, GNT_WM, _GntWS::ordered, shift_window(), TRUE, _GntWM::window, and wm.

Referenced by gnt_wm_class_init().

◆ shift_right()

static gboolean shift_right ( GntBindable bindable,
GList *  null 
)
static

Definition at line 927 of file gntwm.c.

References _GntWM::_list, _GntWM::cws, FALSE, GNT_WM, _GntWS::ordered, shift_window(), TRUE, _GntWM::window, and wm.

Referenced by gnt_wm_class_init().

◆ shift_window()

static void shift_window ( GntWM wm,
GntWidget widget,
int  dir 
)
static

◆ start_move()

static gboolean start_move ( GntBindable bindable,
GList *  null 
)
static

◆ start_resize()

static gboolean start_resize ( GntBindable bindable,
GList *  null 
)
static

◆ switch_window()

static void switch_window ( GntWM wm,
int  direction,
gboolean  urgent 
)
static

◆ switch_window_n()

static gboolean switch_window_n ( GntBindable bind,
GList *  list 
)
static

◆ table_find_helper()

static void table_find_helper ( gpointer  key,
gpointer  value,
gpointer  data 
)
static

Definition at line 1786 of file gntwm.c.

References data, table_find_data, and value.

Referenced by g_hash_table_find().

◆ tag_widget()

static gboolean tag_widget ( GntBindable b,
GList *  params 
)
static

◆ toggle_clipboard()

◆ update_act_msg()

◆ update_screen()

◆ update_window_in_list()

static void update_window_in_list ( GntWM wm,
GntWidget wid 
)
static

◆ widestringwidth()

static int widestringwidth ( wchar_t *  wide)
static

Definition at line 998 of file gntwm.c.

References gnt_util_onscreen_width(), and NULL.

Referenced by reverse_char(), and work_around_for_ncurses_bug().

◆ widget_in_workspace()

static gint widget_in_workspace ( gconstpointer  workspace,
gconstpointer  wid 
)
static

Definition at line 1724 of file gntwm.c.

References _GntWS::list.

Referenced by gnt_wm_widget_find_workspace().

◆ widget_move_ws()

static void widget_move_ws ( gpointer  wid,
gpointer  w 
)
static

Definition at line 1204 of file gntwm.c.

References _GntWM::cws, GNT_WIDGET, GNT_WM, gnt_wm_widget_move_workspace(), and wm.

Referenced by place_tagged().

◆ window_close()

static gboolean window_close ( GntBindable bindable,
GList *  null 
)
static

◆ window_list()

static gboolean window_list ( GntBindable bindable,
GList *  null 
)
static

◆ window_list_activate()

static void window_list_activate ( GntTree tree,
GntWM wm 
)
static

◆ window_list_key_pressed()

static gboolean window_list_key_pressed ( GntWidget widget,
const char *  text,
GntWM wm 
)
static

◆ window_next()

static gboolean window_next ( GntBindable bindable,
GList *  null 
)
static

Definition at line 457 of file gntwm.c.

References FALSE, GNT_WM, switch_window(), TRUE, and wm.

Referenced by gnt_wm_class_init().

◆ window_next_urgent()

static gboolean window_next_urgent ( GntBindable bindable,
GList *  n 
)
static

Definition at line 1267 of file gntwm.c.

References GNT_WM, switch_window(), TRUE, and wm.

Referenced by gnt_wm_class_init().

◆ window_prev()

static gboolean window_prev ( GntBindable bindable,
GList *  null 
)
static

Definition at line 465 of file gntwm.c.

References FALSE, GNT_WM, switch_window(), TRUE, and wm.

Referenced by gnt_wm_class_init().

◆ window_prev_urgent()

static gboolean window_prev_urgent ( GntBindable bindable,
GList *  n 
)
static

Definition at line 1275 of file gntwm.c.

References GNT_WM, switch_window(), TRUE, and wm.

Referenced by gnt_wm_class_init().

◆ window_reverse()

◆ window_scroll_down()

static gboolean window_scroll_down ( GntBindable bindable,
GList *  null 
)
static

◆ window_scroll_up()

static gboolean window_scroll_up ( GntBindable bindable,
GList *  null 
)
static

◆ wm_quit()

static gboolean wm_quit ( GntBindable bindable,
GList *  list 
)
static

Definition at line 1108 of file gntwm.c.

References GNT_WM, _GntWM::loop, TRUE, wm, write_already(), and write_timeout.

Referenced by gnt_wm_class_init().

◆ work_around_for_ncurses_bug()

static void work_around_for_ncurses_bug ( void  )
static

The following is a workaround for a bug in most versions of ncursesw. Read about it in: http://article.gmane.org/gmane.comp.lib.ncurses.bugs/2751

In short, if a panel hides one cell of a multi-cell character, then the rest of the characters in that line get screwed. The workaround here is to erase any such character preemptively.

Caveat: If a wide character is erased, and the panel above it is moved enough to expose the entire character, it is not always redrawn.

Definition at line 168 of file gntwm.c.

References NULL, and widestringwidth().

Referenced by update_screen().

◆ workspace_list()

static gboolean workspace_list ( GntBindable b,
GList *  params 
)
static

Definition at line 1222 of file gntwm.c.

References _GntWM::_list, b, GNT_WM, list_of_windows(), _GntWM::menu, TRUE, _GntWM::window, and wm.

Referenced by gnt_wm_class_init().

◆ workspace_new()

static gboolean workspace_new ( GntBindable bindable,
GList *  null 
)
static

◆ workspace_next()

static gboolean workspace_next ( GntBindable wm,
GList *  n 
)
static

Definition at line 1690 of file gntwm.c.

References GNT_WM, gnt_wm_switch_workspace_next(), and wm.

Referenced by gnt_wm_class_init().

◆ workspace_prev()

static gboolean workspace_prev ( GntBindable wm,
GList *  n 
)
static

Definition at line 1696 of file gntwm.c.

References GNT_WM, gnt_wm_switch_workspace_prev(), and wm.

Referenced by gnt_wm_class_init().

◆ write_already()

static gboolean write_already ( gpointer  data)
static

Definition at line 2151 of file gntwm.c.

References data, FALSE, file, gnt_warning, NULL, _GntWM::positions, wm, write_gdi(), and write_timeout.

Referenced by wm_quit(), and write_positions_to_file().

◆ write_gdi()

static void write_gdi ( gpointer  key,
gpointer  value,
gpointer  data 
)
static

Definition at line 2144 of file gntwm.c.

References data, value, _GntPosition::x, and _GntPosition::y.

Referenced by write_already().

◆ write_positions_to_file()

static void write_positions_to_file ( GntWM wm)
static

Definition at line 2175 of file gntwm.c.

References g_timeout_add_seconds, wm, write_already(), and write_timeout.

Referenced by gnt_wm_move_window().

Variable Documentation

◆ act

◆ data

gpointer data

Definition at line 1781 of file gntwm.c.

Referenced by _async_bonjour_jabber_close_conversation_cb(), _buddy_icon_group_cb(), _client_socket_handler(), _connected_to_buddy(), _match_buddies_by_address(), _mdns_browse(), _mdns_handle_event(), _mdns_init_session(), _mdns_publish(), _mdns_set_buddy_icon_data(), _mdns_stop(), _purple_conversation_user_hash(), _reg_read(), _scroll_imhtml_to_end(), _send_data_write_cb(), _server_socket_handler(), _start_stream(), _wait_for_socket_close(), account_dnd_recv(), action_performed(), action_response_cb(), activate_currently_selected_status(), add_action(), add_binding(), add_buddy_resolved(), add_completion_list(), add_conv_placement_fnc(), add_custom_action(), add_permit_block_cb(), add_selected_row_to_list(), add_to_focus(), add_user_cb(), add_user_options(), adium_logger_finalize(), adium_logger_list(), adium_logger_read(), adium_logger_size(), aim_cachesnac(), aim_im_sendch1_ext(), aim_mkcookie(), aim_ssi_addbuddy(), aim_ssi_itemlist_add(), aim_ssi_movebuddy(), aim_tlvlist_add_caps(), animate_image_cb(), aop_menu_item_new(), aop_option_menu_select_by_data(), append_to_list(), authorize_add_cb(), auto_join_chats(), autoadd_toggled_cb(), autojoin_toggled(), blist_menu_nab(), blist_resolve_alias_cb(), blist_save_cb(), blist_width_changed_cb(), bonjour_buddy_got_buddy_icon(), bonjour_bytestreams_connect_cb(), bonjour_bytestreams_listen(), bonjour_dns_sd_free(), bonjour_dns_sd_new(), bonjour_dns_sd_send_status(), bonjour_dns_sd_start(), bonjour_dns_sd_stop(), bonjour_dns_sd_update_buddy_icon(), bonjour_sock5_request_cb(), browser_changed1_cb(), browser_changed2_cb(), buddy_icon_set_cb(), buddy_recent_signed_on_off(), buddy_signed_on_off_cb(), buddy_ticker_set_pixmap_cb(), buddyname_autocomplete_destroyed_cb(), buddyname_completion_match_selected_cb(), byte_stream_init(), byte_stream_put_bart_asset(), byte_stream_put_bart_asset_str(), call_callback(), call_chat_func(), call_if_nullprpl(), cb_void__pointer(), cb_void__pointer_pointer_pointer(), cbplususerdata_ref(), cbplususerdata_unref(), change_alpha(), chat_component_to_xmlnode(), chat_invite_filter(), chat_select_account_cb(), check_for_buddynote(), check_loc(), check_notify_tzc(), check_notify_zeph02(), choice_response_cb(), close_already(), close_this_sucker(), cmd_show_window(), color_response(), confirm_permit_block_cb(), conn_close_cb(), connect_cb(), connect_timeout_cb(), connection_established_cb(), context_menu_callback(), conversation_usetabs_cb(), convo_queue(), count_packed_elements(), custom_icon_sel_cb(), damn_you(), debug_enabled_timeout_cb(), delete_log_cb(), delete_log_cleanup_cb(), delete_setting(), deny_add_cb(), des3_cbc_decrypt(), des3_cbc_encrypt(), des3_decrypt(), des3_ecb_decrypt(), des3_ecb_encrypt(), des3_encrypt(), des_decrypt(), des_encrypt(), destroy_connection_when_done_sending_data(), destroy_ipc_info(), destroy_multifield_cb(), destroy_request_data(), destroy_stats(), destroy_tooltip_data(), device_changed_cb(), disco_create_tooltip(), disconnect_prefs_callbacks(), dnd_image_cancel_callback(), dnd_image_ok_callback(), dnd_set_icon_cancel_cb(), dnd_set_icon_ok_cb(), do_add(), do_buddy_avatar_update_data(), do_free(), do_jabber_send_raw(), do_join_chat(), do_pep_iq_request_item_callback(), do_signon(), drag_data_get_cb(), duplicate_values(), email_response_cb(), enable_account_cb(), enable_toggled(), enabled_cb(), ensure_plugin_visible(), entry_cb(), entry_key_press_cb(), entry_set(), event_toggled(), expire_old_child(), fetch_blist_cb(), file_cancel_cb(), file_cb(), file_ok_cb(), file_ok_check_if_exists_cb(), file_request_destroy(), file_yes_no_cb(), filesel(), finch_file_request_window(), finch_notify_searchresults(), finch_notify_sr_new_rows(), finch_request_file(), finch_request_folder(), finch_xfer_dialog_new(), finch_xfer_new_xfer(), flap_connection_destroy_cb(), flap_connection_recv_cb(), flap_connection_recv_cb_ssl(), flap_connection_send_queued(), flap_connection_send_snac(), flap_connection_send_snac_with_priority(), free_action_data(), free_add_user_data(), free_auto_recon(), free_node(), free_parser_data(), free_section(), free_tag(), free_text_line(), free_text_segment(), free_tree_col(), free_tree_row(), free_urls(), free_workspaces(), g_hash_table_find(), g_list_bring_to_front(), generate_presence_txt_records(), generic_response_start(), get_key_name(), get_log_set_name(), get_plugin_frame(), get_pref_field(), get_public_alias_unsupported(), get_user_info_cb(), gevo_add_buddy_dialog_show(), gg105_login__unpack(), gg110_access_info__unpack(), gg110_ack__unpack(), gg110_chat_info_update__unpack(), gg110_event__unpack(), gg110_imtoken__unpack(), gg110_login_ok__unpack(), gg110_magic_notification__unpack(), gg110_message_ack__unpack(), gg110_message_ack_link__unpack(), gg110_options__unpack(), gg110_pong__unpack(), gg110_recv_message__unpack(), gg110_send_message__unpack(), gg112_transfer_info__unpack(), gg112_transfer_info_file__unpack(), gg112_transfer_info_uin__unpack(), gg_resolver_fork_cleanup(), gg_resolver_fork_start(), gg_session_handle_userlist_100_reply(), ggp_get_chat_name(), ggp_join_chat(), ggp_xml_event_handler(), gnt_bindable_class_register_action(), gnt_bindable_rebinding_activate(), gnt_bindable_rebinding_cancel(), gnt_bindable_rebinding_grab_key(), gnt_bindable_rebinding_rebind(), gnt_bindable_register_binding(), gnt_giveup_console(), gnt_input_add(), gnt_menuitem_set_callback(), gnt_util_parse_widgets(), gnt_widget_from_xmlnode(), got_info_cb(), got_items_cb(), gstroke_signal_connect(), gstroke_timeout(), gtk_appbar_event_filter(), gtk_imhtml_get_markup_range(), gtk_imhtml_insert_image_at_iter(), gtk_imhtml_tip(), hbn_listen_cb(), history_prefs_cb(), hmac_append(), html_logger_write(), http_connection_do_send(), http_connection_read_cb(), http_connection_read_cb_ssl(), http_connection_send_cb(), http_connection_send_request(), http_received_cb(), icon_choose_cb(), icon_filesel_choose_cb(), idle_reporting_pref_cb(), im_mime_convert(), im_recv_mime(), imhtml_cb(), imhtml_changed_cb(), imhtml_cursor_moved_cb(), imhtml_format_cb(), imhtml_format_changed_cb(), inactivity_cb(), incomingim_chan1(), incomingim_chan4(), initiate_resolving(), input_response_cb(), invite_dnd_recv(), io_invoke_error(), irc_chat_join(), irc_chat_remove_buddy(), irc_dccsend_network_listen_cb(), irc_dccsend_send_read(), irc_get_chat_name(), irc_input_cb(), irc_input_cb_ssl(), irc_login_cb(), irc_login_cb_ssl(), irc_msg_quit(), irc_send_cb(), irc_ssl_connect_failure(), jabber_adhoc_execute_action(), jabber_adhoc_parse(), jabber_avatar_set(), jabber_bosh_connection_send(), jabber_bosh_connection_send_raw(), jabber_calculate_data_hash(), jabber_caps_calculate_hash(), jabber_caps_client_iqcb(), jabber_caps_ext_iqcb(), jabber_caps_hash(), jabber_chat_affiliation_list_cb(), jabber_chat_all_participants_have_capability(), jabber_chat_disco_traffic_cb(), jabber_chat_join(), jabber_chat_new(), jabber_chat_register_x_data_cb(), jabber_chat_role_list_cb(), jabber_chat_room_configure_x_data_cb(), jabber_data_associate_local(), jabber_data_associate_remote(), jabber_data_create_from_data(), jabber_data_create_from_xml(), jabber_data_delete(), jabber_data_destroy(), jabber_data_find_remote_by_cid(), jabber_data_get_cid(), jabber_data_get_data(), jabber_data_get_size(), jabber_data_get_type(), jabber_data_get_xhtml_im(), jabber_data_get_xml_definition(), jabber_data_has_valid_hash(), jabber_data_parse(), jabber_data_request(), jabber_data_request_cb(), jabber_disco_bytestream_server_cb(), jabber_disco_info_cb(), jabber_disco_info_do(), jabber_disco_stun_lookup_cb(), jabber_disco_stun_srv_resolve_cb(), jabber_do_send(), jabber_get_chat_name(), jabber_google_do_relay_request(), jabber_google_relay_fetch_cb(), jabber_google_stun_lookup_cb(), jabber_ibb_parse(), jabber_ibb_session_opened_cb(), jabber_ibb_session_send_acknowledge_cb(), jabber_ibb_session_send_data(), jabber_iq_set_callback(), jabber_join_chat(), jabber_login_callback(), jabber_login_callback_ssl(), jabber_message_add_remote_smileys(), jabber_message_get_smileyfied_xhtml(), jabber_message_parse(), jabber_message_request_data_cb(), jabber_message_smileyfy_xhtml(), jabber_oob_xfer_request_send(), jabber_password_change_result_cb(), jabber_recv_cb(), jabber_recv_cb_ssl(), jabber_register_parse(), jabber_register_x_data_cb(), jabber_registration_result_cb(), jabber_scram_calc_proofs(), jabber_scram_data_destroy(), jabber_scram_feed_parser(), jabber_scram_hash(), jabber_send_cb(), jabber_send_raw(), jabber_si_bytestreams_connect_cb(), jabber_si_bytestreams_ibb_timeout_cb(), jabber_si_connect_proxy_cb(), jabber_si_free_streamhost(), jabber_si_xfer_bytestreams_listen_cb(), jabber_si_xfer_bytestreams_send_connected_cb(), jabber_si_xfer_bytestreams_send_read_again_cb(), jabber_si_xfer_bytestreams_send_read_again_resp_cb(), jabber_si_xfer_bytestreams_send_read_cb(), jabber_si_xfer_bytestreams_send_read_response_cb(), jabber_si_xfer_ibb_recv_data_cb(), jabber_si_xfer_send_disco_cb(), jabber_si_xfer_send_method_cb(), jabber_ssl_connect_failure(), jabber_unregistration_result_cb(), jabber_vcard_parse_avatar(), jabber_x_data_cancel_cb(), jabber_x_data_ok_cb(), jabber_x_data_request_with_actions(), launcher_config_cb(), load_timeout(), log_button_press_cb(), log_delete_log_cb(), log_popup_menu_cb(), log_show_popup_menu(), log_viewer_hash(), login_cb(), make_blist_request_dialog(), max_b128_numbers(), max_message_difference_cb(), md4_append(), md5_append(), md5_process(), menu_action_cb(), menu_add_pounce_cb(), menu_add_remove_cb(), menu_alias_cb(), menu_block_cb(), menu_cb(), menu_clear_cb(), menu_close_conv_cb(), menu_find_cb(), menu_get_attention_cb(), menu_get_info_cb(), menu_insert_image_cb(), menu_insert_link_cb(), menu_invite_cb(), menu_logging_cb(), menu_position_func(), menu_save_as_cb(), menu_send_file_cb(), menu_sounds_cb(), menu_unblock_cb(), menu_view_log_cb(), messaging_menu_config_cb(), method_toggle_cb(), mini_dialog_button_clicked_cb(), mini_dialog_button_destroy_cb(), mini_dialog_init(), ml_object_from_purple_subtype(), ml_set_prop_string(), multi_resolved_query(), multifield_cancel_cb(), multifield_ok_cb(), music_button_toggled(), mute_changed_cb(), mw_ft_recv(), mw_prpl_add_buddy(), nm_conference_set_data(), nm_contact_set_data(), nm_initialize_user(), nm_request_set_data(), nm_send_conference_invite(), nm_send_create_conference(), nm_send_create_contact(), nm_send_create_folder(), nm_send_create_privacy_item(), nm_send_get_details(), nm_send_get_status(), nm_send_join_conference(), nm_send_keepalive(), nm_send_leave_conference(), nm_send_login(), nm_send_move_contact(), nm_send_multiple_get_details(), nm_send_reject_conference(), nm_send_remove_contact(), nm_send_remove_folder(), nm_send_remove_privacy_item(), nm_send_rename_contact(), nm_send_rename_folder(), nm_send_request(), nm_send_set_privacy_default(), nm_send_set_status(), nm_user_record_set_data(), notify_add(), notify_button_activated(), notify_close(), notify_input_cb(), notify_toggle_cb(), novell_ssl_connect_error(), ok_account_prefs_cb(), old_logger_get_log_sets(), old_mini_dialog_button_clicked_cb(), on_edited(), on_entry_changed(), on_selection_changed(), options_entry_cb(), oscar_ask_directim(), oscar_ask_directim_no_cb(), oscar_ask_directim_yes_cb(), oscar_auth_dontgrant(), oscar_auth_dontgrant_msgprompt(), oscar_auth_grant(), oscar_auth_recvrequest(), oscar_buddycb_edit_comment(), oscar_convert_to_utf8(), oscar_decode_im(), oscar_free_name_data(), oscar_get_chat_name(), oscar_get_extended_status(), oscar_join_chat(), oscar_send_im(), oscar_set_icon(), oscar_ssi_editcomment(), parse_account(), parse_boolean(), parse_fixed_uint32(), parse_fixed_uint64(), parse_int32(), parse_proxy_info(), parse_required_member(), parse_server_step1(), parse_settings(), parse_start_oscar_session_response(), parse_status(), parse_substatus(), parse_tag_and_wiretype(), parse_uint32(), parse_uint64(), parseadd(), parsedata(), parsemod(), paste_plaintext_received_cb(), paste_received_cb(), peer_connection_client_established_cb(), peer_connection_common_established_cb(), peer_connection_destroy_cb(), peer_connection_establish_listener_cb(), peer_connection_got_proposition_no_cb(), peer_connection_got_proposition_yes_cb(), peer_connection_listen_cb(), peer_connection_recv_cb(), peer_connection_tooktoolong(), peer_connection_verified_established_cb(), peer_odc_recv_cb(), peer_oft_checksum_calculated_cb(), peer_oft_checksum_file_piece(), peer_oft_recv_frame_resume_checksum_calculated_cb(), peer_proxy_connection_established_cb(), peer_proxy_connection_recv_cb(), perl_cmd_cb(), perl_pref_cb(), perl_signal_cb(), perl_timeout_cb(), pidgin_accounts_request_add(), pidgin_auto_parent_window(), pidgin_blist_create_tooltip_for_node(), pidgin_blist_drag_data_get_cb(), pidgin_blist_get_buddy_icon(), pidgin_blist_joinchat_show(), pidgin_blist_loader_build(), pidgin_buddy_icon_chooser_new(), pidgin_close_notify(), pidgin_close_request(), pidgin_conv_placement_add_fnc(), pidgin_dialogs_log(), pidgin_dnd_file_manage(), pidgin_icon_loader_build(), pidgin_input_add(), pidgin_io_invoke(), pidgin_new_check_item(), pidgin_new_item_from_stock(), pidgin_notify_add_mail(), pidgin_notify_emails(), pidgin_notify_searchresults(), pidgin_notify_searchresults_new_rows(), pidgin_plugins_create_tooltip(), pidgin_progress_bar_pulse(), pidgin_request_action_with_icon(), pidgin_request_add_block(), pidgin_request_add_permit(), pidgin_request_choice(), pidgin_request_fields(), pidgin_request_file(), pidgin_request_folder(), pidgin_request_input(), pidgin_roomlist_create_tooltip(), pidgin_setup_screenname_autocomplete_with_filter(), pidgin_status_box_add(), pidgin_status_box_changed(), pidgin_status_box_refresh(), pidgin_toggle_sensitive_array(), pidgin_tooltip_draw(), pidgin_tooltip_draw_tree(), pidgin_tooltip_expose_event(), pidgin_tooltip_timeout(), pidgin_treeview_popup_menu_position_func(), pidgin_xfer_new_xfer(), plugin_action(), plugin_load(), plugin_load_cb(), plugin_toggled(), plugin_unload(), plugin_unload_cb(), plugin_unload_confirm_cb(), pounce_dnd_recv(), pounce_response_edit_cb(), protobuf_c_buffer_simple_append(), protobuf_c_message_check(), protobuf_c_message_free_unpacked(), protobuf_c_message_unpack(), protobuf_kvp__unpack(), proxy_changed_cb(), publish_presence(), purple_account_option_list_free(), purple_account_set_status(), purple_base16_decode(), purple_base16_encode(), purple_base16_encode_chunked(), purple_base64_encode(), purple_blist_build_buddy_object(), purple_blist_sync(), purple_buddy_icon_set_data(), purple_buddy_icons_find(), purple_buddy_icons_find_account_icon(), purple_buddy_icons_node_find_custom_icon(), purple_buddy_icons_node_set_custom_icon_from_file(), purple_cmd_register(), purple_connection_disconnect_cb(), purple_conv_custom_smiley_write(), purple_conv_send_confirm(), purple_conv_send_confirm_cb(), purple_conversation_set_data(), purple_dnsquery_a(), purple_dnsquery_a_account(), purple_gnt_io_destroy(), purple_gnt_io_invoke(), purple_icq_buddyadd(), purple_imgstore_add(), purple_imgstore_add_with_id(), purple_imgstore_new_from_file(), purple_marshal_BOOLEAN__INT_POINTER(), purple_marshal_BOOLEAN__POINTER(), purple_marshal_BOOLEAN__POINTER_BOOLEAN(), purple_marshal_BOOLEAN__POINTER_POINTER(), purple_marshal_BOOLEAN__POINTER_POINTER_POINTER(), purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER(), purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER_POINTER(), purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER_POINTER_POINTER(), purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER_UINT(), purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_UINT(), purple_marshal_BOOLEAN__POINTER_POINTER_UINT(), purple_marshal_INT__INT(), purple_marshal_INT__INT_INT(), purple_marshal_INT__POINTER_POINTER(), purple_marshal_INT__POINTER_POINTER_POINTER(), purple_marshal_INT__POINTER_POINTER_POINTER_POINTER_POINTER(), purple_marshal_POINTER__POINTER(), purple_marshal_POINTER__POINTER_INT(), purple_marshal_POINTER__POINTER_INT64(), purple_marshal_POINTER__POINTER_INT64_BOOLEAN(), purple_marshal_POINTER__POINTER_INT_BOOLEAN(), purple_marshal_POINTER__POINTER_POINTER(), purple_marshal_VOID(), purple_marshal_VOID__INT(), purple_marshal_VOID__INT_INT(), purple_marshal_VOID__POINTER(), purple_marshal_VOID__POINTER_INT_INT(), purple_marshal_VOID__POINTER_INT_POINTER(), purple_marshal_VOID__POINTER_POINTER(), purple_marshal_VOID__POINTER_POINTER_POINTER(), purple_marshal_VOID__POINTER_POINTER_POINTER_POINTER(), purple_marshal_VOID__POINTER_POINTER_POINTER_POINTER_POINTER(), purple_marshal_VOID__POINTER_POINTER_POINTER_POINTER_UINT(), purple_marshal_VOID__POINTER_POINTER_POINTER_UINT(), purple_marshal_VOID__POINTER_POINTER_POINTER_UINT_UINT(), purple_marshal_VOID__POINTER_POINTER_UINT(), purple_marshal_VOID__POINTER_POINTER_UINT_UINT(), purple_marshal_VOID__POINTER_UINT(), purple_menu_action_new(), purple_mime_part_get_data_decoded(), purple_mime_part_set_data(), purple_network_finish_pmp_map_cb(), purple_network_ip_lookup_cb(), purple_network_set_upnp_port_mapping_cb(), purple_notify_searchresults_new_rows(), purple_odc_send_im(), purple_perl_cmd_register(), purple_perl_prefs_connect_callback(), purple_perl_signal_connect(), purple_perl_timeout_add(), purple_proxy_connect_socks5_account(), purple_request_field_account_new(), purple_request_field_account_set_show_all(), purple_request_field_list_add(), purple_request_field_list_add_icon(), purple_serv_got_join_chat_failed(), purple_signal_connect(), purple_signal_connect_priority(), purple_signal_connect_priority_vargs(), purple_signal_connect_vargs(), purple_sound_loader_build(), purple_ssi_authgiven(), purple_ssi_rerequestdata(), purple_ssl_connect(), purple_ssl_connect_cb(), purple_ssl_connect_fd(), purple_ssl_connect_with_host_fd(), purple_ssl_connect_with_ssl_cn(), purple_ssl_input_add(), purple_ssl_read(), purple_ssl_write(), purple_status_build_status_object(), purple_status_set_active_with_attrs(), purple_timeout_add(), purple_timeout_add_seconds(), purple_value_set_boolean(), purple_value_set_boxed(), purple_value_set_char(), purple_value_set_enum(), purple_value_set_int(), purple_value_set_int64(), purple_value_set_long(), purple_value_set_object(), purple_value_set_pointer(), purple_value_set_short(), purple_value_set_string(), purple_value_set_uchar(), purple_value_set_uint(), purple_value_set_uint64(), purple_value_set_ulong(), purple_value_set_ushort(), purple_xfer_conversation_write_internal(), purple_xfer_priv_data_destroy(), purplerc_color_response(), purplerc_font_response(), purplerc_set_color(), purplerc_set_font(), rc4_encrypt(), read_cb(), read_from_parent(), read_icon_file(), read_reg_string(), rebuild_chat_entries(), recent_buddies_pref_cb(), recv_cb(), redraw_icon(), refocus_entry_cb(), reply_cb(), repopulate_autocomplete(), request_action_cb(), request_add(), request_auth_cb(), request_choice_cb(), request_deny_cb(), request_fields_cb(), reset_data_treepath(), reset_typing_cb(), resolved(), save_cb(), save_list(), saveicon_writefile_cb(), scan_length_prefixed_data(), scan_varint(), scram_handle_challenge(), scram_handle_success(), scram_start(), scroll_idle_cb(), scroll_to_expanded_cell(), search_find_cb(), search_timeout(), searchresults_callback_wrapper_cb(), searchresults_close_cb(), select_account(), select_field_list_item(), selection_changed_cb(), send_cb(), send_im_cb(), send_keepalive(), send_later_cb(), send_timer_cb(), send_typed_cb(), serv_got_chat_invite(), serv_join_chat(), serv_reject_chat(), server_info_cb(), server_items_cb(), set_color(), set_dialog_icon(), set_node_custom_icon_cb(), set_own_vcard_cb(), set_public_alias_unsupported(), set_sensitive_if_input_cb(), setup_button_box(), setup_default_callback(), setup_tooltip_window_position(), sha1_append(), sha256_append(), sighandler(), signal_connect_common(), silc_channel_message(), silc_private_message(), silcpurple_add_buddy_save(), silcpurple_buddy_wb(), silcpurple_chat_join(), silcpurple_chat_wb(), silcpurple_get_chat_name(), silcpurple_login_connected(), silcpurple_mime_message(), simple_canwrite_cb(), simple_input_cb(), simple_newconn_cb(), simple_tcp_connect_listen_cb(), simple_udp_host_resolved(), simple_udp_host_resolved_listen_cb(), simple_udp_process(), smiley_got_url(), smooth_scroll_cb(), socks5_connected_to_proxy(), sound_changed1_cb(), sound_changed2_cb(), spellcheck_prefs_cb(), srv_resolved_cb(), srvresolved(), ssl_connection_error_cb(), ssl_connection_established_cb(), ssl_gnutls_handshake_cb(), ssl_gnutls_read(), ssl_gnutls_write(), ssl_nss_handshake_cb(), ssl_nss_read(), ssl_nss_write(), start_handshake_cb(), start_serversocket_listening(), start_transfer_when_done_sending_data(), status_editor_substatus_cb(), status_menu_refresh_iter(), status_window_delete_cancel_cb(), status_window_delete_confirm_cb(), statusbox_uri_handler(), stop_flashing(), straight_to_hell(), stroke_close(), stroke_new_win(), stroke_next_tab(), stroke_prev_tab(), sync_accounts(), sync_pounces(), sync_prefs(), sync_statuses(), system_free(), table_find_helper(), tcl_create_file_handler(), tcl_file_callback(), tcl_interp_get_plugin(), tcl_load_plugin(), tcl_unload_plugin(), text_tag_data_destroy(), textview_emission_hook(), ticker_timeout(), timeoutfunc(), tls_peers_mgmt_export_cancel_cb(), tls_peers_mgmt_export_ok_cb(), tls_peers_mgmt_import_cancel2_cb(), tls_peers_mgmt_import_ok2_cb(), toggle_bold(), toggle_enabled(), toggle_italic(), toggle_underline(), toolbar_style_pref_changed_cb(), transfer_cb(), tree_view_delete_current_selection(), tree_view_delete_current_selection_cb(), treeview_cursor_changed_cb(), treeview_style_set(), txt_logger_write(), txt_resolved_cb(), type_toggle_cb(), unload_self(), update_buddyicon_cb(), update_detailed_info(), update_plugin_list(), update_queue_callback(), url_clicked_idle_cb(), url_fetched(), utf16_to_utf8_with_bom_check(), widget_hide(), widget_motion_cb(), widget_show(), winpidgin_get_locale(), wpurple_read_reg_string(), write_already(), write_cb(), write_gdi(), write_to_parent(), xep_iq_new(), xmlnode_insert_data(), xmpp_iq_register_callback(), zephyr_get_chat_name(), and zephyr_join_chat().

◆ idle_update

gboolean idle_update
static

Definition at line 110 of file gntwm.c.

Referenced by check_idle(), gnt_wm_process_click(), and gnt_wm_process_input().

◆ ignore_keys

gboolean ignore_keys = FALSE
static

Definition at line 112 of file gntwm.c.

Referenced by gnt_wm_process_input(), ignore_keys_end(), and ignore_keys_start().

◆ last_active_time

time_t last_active_time
static

Definition at line 109 of file gntwm.c.

Referenced by check_idle(), gnt_wm_get_idle_time(), and gnt_wm_init().

◆ signals

◆ table_find_data

struct { ... } table_find_data

◆ value

gpointer value

Definition at line 1782 of file gntwm.c.

Referenced by _get_attribute_value(), _match_buddies_by_address(), _purple_desktop_item_set_string(), _resolver_callback(), _show_info(), _value_to_string(), _wpurple_TXTRecordSetValue(), action_parameter_list_to_xmlnode(), action_parameter_to_xmlnode(), add_action(), add_binding(), add_login_options(), add_protocol_options(), add_proxy_options(), add_to_focus(), aim_tlvlist_add_16(), aim_tlvlist_add_32(), aim_tlvlist_add_8(), aim_tlvlist_add_raw(), aim_tlvlist_add_str(), aim_tlvlist_replace_32(), aim_tlvlist_replace_8(), aim_tlvlist_replace_raw(), boolean_pack(), browser_changed1_cb(), browser_changed2_cb(), cancel_conversation_timeouts(), cannonize(), chat_component_to_xmlnode(), cmds_free_func(), conversation_usetabs_cb(), copy_string_hash(), create_int_field(), create_string_field(), createtlv(), debug_enabled_cb(), decode_string(), default_create_tooltip(), device_changed_cb(), docklet_show_pref_changed_cb(), duplicate_values(), exts_to_xmlnode(), field_string_focus_out_cb(), finch_pounce_editor_show(), find_by_id_foreach_cb(), find_by_jid_ghr(), fixed32_pack(), fixed64_pack(), get_key_name(), get_max_txt_record_value(), gg_protobuf_expected(), gg_pubdir50_add(), gg_pubdir50_add_n(), gg_pubdir50_get(), gg_pubdir50_handle_reply_sess(), gg_session_handle_user_data(), gg_tvbuff_expected_uint32(), gg_tvbuff_expected_uint8(), gg_tvbuff_match(), gg_tvbuilder_write_packed_uint(), gg_tvbuilder_write_uint32(), gg_tvbuilder_write_uint64(), gg_tvbuilder_write_uint8(), global_moods_for_each(), gnt_box_get_property(), gnt_box_set_property(), gnt_label_get_property(), gnt_label_set_property(), gnt_line_get_property(), gnt_line_set_property(), gnt_slider_set_value(), gnt_tree_get_property(), gnt_tree_set_property(), gst_msg_db_to_percent(), gtk_imhtml_disassociate_smiley_foreach(), gtk_imhtml_toggle_str_tag(), hmac_set_opt(), idle_reporting_pref_cb(), imhtmltoolbar_view_pref_changed(), input_response_cb(), insert_in_hash_table(), insert_key(), int32_pack(), int_range_lookup(), jabber_auth_digest_md5_parse(), jabber_caps_calculate_hash(), jabber_caps_client_iqcb(), jabber_caps_load(), jabber_caps_store_client(), jabber_caps_xdata_get_fields(), jabber_chat_all_participants_have_capability_foreach(), jabber_message_get_refs_steal(), jabber_register_cb(), jabber_si_parse(), jabber_si_xfer_init(), jabber_si_xfer_send_method_cb(), jabber_si_xfer_send_request(), jabber_tooltip_add_resource_text(), jabber_x_data_get_formtype(), jabber_x_data_ok_cb(), jabber_x_data_request_with_actions(), jingle_content_get_property(), jingle_content_set_property(), jingle_iceudp_get_property(), jingle_iceudp_set_property(), jingle_rawudp_get_property(), jingle_rawudp_set_property(), jingle_session_get_property(), jingle_session_set_property(), jingle_terminate_sessions_gh(), logger_pref_cb(), nm_field_add_number(), nm_field_add_pointer(), nm_write_fields(), ok_account_prefs_cb(), oscar_get_ui_info_int(), oscar_get_ui_info_string(), oscar_user_info_add_pair(), oscar_user_info_convert_and_add(), oscar_user_info_convert_and_add_hyperlink(), parse_setting(), parse_status_attrs(), parse_vcard(), perl_pref_cb(), pidgin_auto_parent_window(), pidgin_blist_mute_pref_cb(), pidgin_blist_sound_method_pref_cb(), pidgin_cell_renderer_expander_get_property(), pidgin_cell_renderer_expander_set_property(), pidgin_convert_buddy_icon(), pidgin_get_tooltip_text(), pidgin_menu_tray_get_property(), pidgin_mini_dialog_get_property(), pidgin_mini_dialog_set_property(), pidgin_parse_x_im_contact(), pidgin_pounce_editor_show(), pidgin_prefs_labeled_entry(), pidgin_prefs_labeled_password(), pidgin_status_box_get_property(), pidgin_status_box_set_property(), private_gtkconv_new(), process_pref_frame(), protobuf_c_enum_descriptor_get_value(), protobuf_c_message_descriptor_get_field(), proxy_changed_cb(), proxy_settings_to_xmlnode(), purple_account_option_add_list_item(), purple_account_option_set_default_bool(), purple_account_option_set_default_int(), purple_account_option_set_default_string(), purple_account_set_bool(), purple_account_set_check_mail(), purple_account_set_enabled(), purple_account_set_int(), purple_account_set_remember_password(), purple_account_set_silence_suppression(), purple_account_set_string(), purple_account_set_ui_bool(), purple_account_set_ui_int(), purple_account_set_ui_string(), purple_dbus_iter_hash_table(), purple_media_candidate_get_property(), purple_media_candidate_set_property(), purple_media_codec_add_optional_parameter(), purple_media_codec_get_optional_parameter(), purple_media_codec_get_property(), purple_media_codec_set_property(), purple_mime_document_set_field(), purple_mime_part_set_field(), purple_network_finish_pmp_map_cb(), purple_network_nat_pmp_mapping_remove(), purple_network_set_upnp_port_mapping_cb(), purple_network_upnp_mapping_remove(), purple_notify_user_info_add_pair(), purple_notify_user_info_add_pair_plaintext(), purple_notify_user_info_entry_new(), purple_notify_user_info_entry_set_value(), purple_notify_user_info_get_xhtml(), purple_notify_user_info_prepend_pair(), purple_perl_data_from_sv(), purple_perl_sv_from_subtype(), purple_perl_sv_from_vargs(), purple_prefs_set_generic(), purple_request_field_account_set_value(), purple_request_field_bool_set_value(), purple_request_field_choice_set_value(), purple_request_field_int_set_value(), purple_request_field_string_set_value(), purple_smileys_get_all(), purple_status_new(), purple_status_type_add_attr(), purple_status_type_add_attrs(), purple_status_type_add_attrs_vargs(), purple_stringref_new(), purple_stringref_new_noref(), purple_tcl_ref_new(), purple_tcl_ref_set(), purple_theme_get_property(), purple_theme_loader_get_property(), purple_value_destroy(), purple_value_dup(), purple_value_get_boolean(), purple_value_get_boxed(), purple_value_get_char(), purple_value_get_enum(), purple_value_get_int(), purple_value_get_int64(), purple_value_get_long(), purple_value_get_object(), purple_value_get_pointer(), purple_value_get_short(), purple_value_get_specific_type(), purple_value_get_string(), purple_value_get_subtype(), purple_value_get_type(), purple_value_get_uchar(), purple_value_get_uint(), purple_value_get_uint64(), purple_value_get_ulong(), purple_value_get_ushort(), purple_value_is_outgoing(), purple_value_new(), purple_value_new_outgoing(), purple_value_set_boolean(), purple_value_set_boxed(), purple_value_set_char(), purple_value_set_enum(), purple_value_set_int(), purple_value_set_int64(), purple_value_set_long(), purple_value_set_object(), purple_value_set_pointer(), purple_value_set_short(), purple_value_set_string(), purple_value_set_uchar(), purple_value_set_uint(), purple_value_set_uint64(), purple_value_set_ulong(), purple_value_set_ushort(), rc4_set_opt(), rebuild_chat_entries(), recent_buddies_pref_cb(), remove_iq_callbacks_by_pc(), request_fields_cb(), reset_all_last_message_times(), save_account_cb(), send_sip_response(), sendout_sipmsg(), set(), set_bonjour_buddy_value(), set_cipher_pref(), setting_to_xmlnode(), sha1_set_opt(), sha256_set_opt(), sint32_pack(), sint64_pack(), sipmsg_add_header(), smiley_theme_pref_cb(), sound_changed1_cb(), sound_changed2_cb(), spellcheck_prefs_cb(), status_attr_to_xmlnode(), table_find_helper(), tcl_cmd_account(), tcl_cmd_status(), threshold_value_format_cb(), toolbar_context(), toolbar_style_pref_changed_cb(), ui_setting_to_xmlnode(), uint32_pack(), uint64_pack(), update_buddyicon_cb(), update_label(), update_spin_value(), update_user_splits(), value_equals(), value_to_xmlnode(), visual_pref_cb(), winpidgin_tray_set_tooltip(), winprefs_set_blist_dockable(), wpurple_write_reg_string(), write_gdi(), write_stats_on_unload(), xep_ft_si_offer(), xep_ft_si_result(), xmlnode_copy_foreach_ns(), xmlnode_set_attrib(), xmlnode_set_attrib_full(), xmlnode_set_attrib_with_namespace(), xmlnode_set_attrib_with_prefix(), xmlnode_to_str_foreach_append_ns(), ZMakeAscii16(), ZMakeAscii32(), ZReadAscii32(), and ZSetVariable().

◆ write_timeout

int write_timeout
static

Definition at line 108 of file gntwm.c.

Referenced by wm_quit(), write_already(), and write_positions_to_file().

file
char * file
Definition: gnttextview.c:855