Version:
0.4
License:
Copyright (C) 2007 Diego Torres Milano <diego@codtech.com>
This program 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., 59 Temple Place - Suite 330, Boston, MA
02111-1307,
USA
|
__rev__ = '$Rev: 35 $'
AutoGlade
|
|
AUTO_DELIMITER = ':'
|
|
AUTO_INVOKE_RE = '(.*)'+ AUTO_DELIMITER+ 'auto'+ AUTO_DELIMITE...
|
|
AUTO_INVOKE_WIDGET = 1
|
|
AUTO_INVOKE_METHOD = 2
|
|
AUTO_INVOKE_HASARGS = 3
|
|
AUTO_INVOKE_ARGS = 4
|
|
AUTO_TREEVIEW_SET_CELL_RE = 'setTreeview(.+)Cell(\d+)'
|
|
AGO_POSTPONED = -2
|
|
AGO_DIALOG_PREFERENCES = 'dialogPreferences'
|
|
AGO_BUTTON_PREFERENCES = 'buttonPreferences'
|
|
AGO_MENU_ITEM_PREFERENCES = 'menuItemPreferences'
|
|
AGO_TOOL_BUTTON_PREFERENCES = 'toolButtonPreferences'
|
|
AGO_BUTTON_NEW = 'buttonNew'
|
|
AGO_MENU_ITEM_NEW = 'menuItemNew'
|
|
AGO_TOOL_BUTTON_NEW = 'toolButtonNew'
|
|
AGO_BUTTON_OPEN = 'buttonOpen'
|
|
AGO_MENU_ITEM_OPEN = 'menuItemOpen'
|
|
AGO_TOOL_BUTTON_OPEN = 'toolButtonOpen'
|
|
AGO_BUTTON_SAVE = 'buttonSave'
|
|
AGO_MENU_ITEM_SAVE = 'menuItemSave'
|
|
AGO_TOOL_BUTTON_SAVE = 'toolButtonSave'
|
|
AGO_MENU_ITEM_SAVE_AS = 'menuItemSaveas'
|
|
AGO_MENU_ITEM_COPY = 'menuItemCopy'
|
|
AGO_MENU_ITEM_CUT = 'menuItemCut'
|
|
AGO_MENU_ITEM_PASTE = 'menuItemPaste'
|
|
AGO_MENU_ITEM_DELETE = 'menuItemDelete'
|
|
AGO_BUTTON_QUIT = 'buttonQuit'
|
|
AGO_MENU_ITEM_QUIT = 'menuItemQuit'
|
|
AGO_TOOL_BUTTON_QUIT = 'toolButtonQuit'
|
|
AGO_DIALOG_ABOUT = 'dialogAbout'
|
|
AGO_BUTTON_ABOUT = 'buttonAbout'
|
|
AGO_MENU_ITEM_ABOUT = 'menuItemAbout'
|
|
AGO_TOOL_BUTTON_ABOUT = 'toolButtonAbout'
|
|
AGOS = [AGO_DIALOG_PREFERENCES, AGO_BUTTON_PREFERENCES, AGO_ME...
|
|
ASI_STOCK = 0
|
|
ASI_GTKCLASS = 1
|
|
prog = os.path.basename(sys.argv [0])
|
|
version = '0.4'
|
|
revision = '$Rev: 35 $'
|
|
DEBUG = ['__autoConnect', 'autoCopy', 'autoOpen', 'open', 'aut...
|
|
WARNING = ['__autoConnect']
|
|
colors = {"default": "", "blue": "\x1b[01;34m", "cyan": "\x1b[...
|
|
CYAN = colors ['cyan']
|
|
RED = colors ['red']
|
|
BLUE = colors ['blue']
|
|
GREEN = colors ['green']
|
|
MAGENTA = colors ['magenta']
|
|
SGR0 = colors ['sgr0']
|
|
EMPTY_GLADE = """<?xml version="1.0" encoding="UTF-8" standalo...
|
|
INPUT_CLASS = ['GtkRadioButton', 'GtkCheckButton', 'GtkToggleB...
|
|
usage = "usage: autoglade [options] [file.glade]"
|