2 Copyright 2008, 2009 Free Software Foundation, Inc.
3 This file is part of GNU Radio
5 GNU Radio Companion is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (at your option) any later version.
10 GNU Radio Companion is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
25 ##default path for the open/save dialogs
26 DEFAULT_FILE_PATH = os.getcwd()
29 IMAGE_FILE_EXTENSION = '.png'
31 ##name for new/unsaved flow graphs
32 NEW_FLOGRAPH_TITLE = 'untitled'
34 ##main window constraints
35 MIN_WINDOW_WIDTH = 600
36 MIN_WINDOW_HEIGHT = 400
38 MIN_DIALOG_WIDTH = 500
39 MIN_DIALOG_HEIGHT = 500
41 DEFAULT_BLOCKS_WINDOW_WIDTH = 100
42 DEFAULT_REPORTS_WINDOW_WIDTH = 100
44 ##The size of the state saving cache in the flow graph (for undo/redo functionality)
47 ##Shared targets for drag and drop of blocks
48 DND_TARGETS = [('STRING', gtk.TARGET_SAME_APP, 0)]