Module GaimScript
[hide private]
[frames] | no frames]

Module GaimScript

source code

Defines a user interface for gaim.

Keys registered

CapsLock-W: Reports status of all open conversations CapsLock-S: Cycle focus between message history and compose area

Event announcements

(X) means optional announcement X based on type of widget [X] means X always announced <X> indicates continue announcements in X

on activate: ["chat with" username] on focus: ["compose" or "history"] <active descendant change> on message received: [text of message]


Authors:
Brett Clippingdale, Peter Parente

Organization: IBM Corporation

Copyright: Copyright (c) 2005, 2007 IBM Corporation

License:

The BSD License

All rights reserved. This program and the accompanying materials are made available under the terms of the BSD license which accompanies this distribution, and is available at http://www.opensource.org/licenses/bsd-license.php

Classes [hide private]
  GaimScriptState
Settings for Gaim.
  GaimScript
Provides hotkeys for switching between the message history and message compose areas.
Variables [hide private]
  __uie__ = dict(kind= 'script', tier= 'gaim')
integer CONTAINER_PATH = 0
path from frame to container with accessible elements
integer NUM_CHILDREN_IN_CHAT_WINDOW = 2
to identify a chat window: assume that only this acc will have 2 kids, and further assume that accessibles with similar hierarchical placement will not.
integer TAB_PATH = 1
path from container to page tab list (contains conversations)
integer HISTORY_PATH = 0, 0, 0, 0, 0
path from a conversation tab to its history text panel
integer COMPOSE_PATH = 0, 0, 1, 1, 0, 0, 0
path from a conversation tab to its compose text panel
string RED = "57311,16962,7710"
Gtk color description of color red, as string
string GREEN = "18247,41120,17990"
Gtk color description of color green, as string
string YELLOW = "53713,38036,3084"
Gtk color description of color yellow, as string
  GREY = "34438,33410,29298"
string LOGOUT_GREY = "32639, 32639, 32639"
Gtk color description of grey, as string, used in logoff
integer UNREAD_STATUS = 0
Constant representing a conversation has an unread message
integer TYPING_STATUS = 1
Constant representing a chat partner is currently typing in a conversation
integer PAUSED_STATUS = 2
Constant representing a chat partner is stoped typing in a conversation
integer IDLE_STATUS = 3
Constant representing a chat partner is idle in a conversation
integer OFFLINE_STATUS = 4
Constant representing a chat partner is offline in a conversation
  LOGIN_STATUS = 5
  LOGOUT_STATUS = 6
list of string STATUS_MSG = [_('unseen'), _('typing'), _('paused'), _('idle')...
List of strings describing the unread, typing, etc.
integer MENU_BAR_PATH
path: from container to menu bar
Variables Details [hide private]

STATUS_MSG

List of strings describing the unread, typing, etc. status of conversations sorted by their likely importance to the user
Type:
list of string
Value:
[_('unseen'), _('typing'), _('paused'), _('idle'), _('offline'), _('lo\
gged in'), _('logged out')]