Small program to test initial bin reading work
[crapvine.git] / configuration.py
blob73b56c8331e59cf1b90942e002bc72eae200f8b9
1 from os import path
2 from os.path import dirname
4 def get_base_file_path():
5 return dirname(__file__)
6 def get_base_interface_path():
7 return path.join(get_base_file_path(), 'interface')
9 def get_about_dialog_file_path():
10 return path.join(get_base_interface_path(), 'About.glade')
12 def get_textbox_xml_file_path():
13 return path.join(get_base_interface_path(), 'TextBox.glade')
15 def get_traitlist_box_xml_file_path():
16 return path.join(get_base_interface_path(), 'TraitlistBox.glade')
18 def get_text_attribute_box_xml_file_path():
19 return path.join(get_base_interface_path(), 'TextAttributeBox.glade')
21 def get_number_as_text_attribute_box_xml_file_path():
22 return path.join(get_base_interface_path(), 'NumberAsTextAttributeBox.glade')
24 def get_number_as_text_with_temporary_attribute_box_xml_file_path():
25 return path.join(get_base_interface_path(), 'NumberAsTextWithTemporaryAttributeBox.glade')
27 def get_add_custom_entry_xml_file_path():
28 return path.join(get_base_interface_path(), 'AddCustomEntry.glade')
30 def get_add_note_to_entry_xml_file_path():
31 return path.join(get_base_interface_path(), 'AddNoteToEntry.glade')
33 def get_add_experience_xml_file_path():
34 return path.join(get_base_interface_path(), 'AddExperienceEntry.glade')
37 def get_menu_file_path():
38 return path.join(get_base_interface_path(), 'menus.gvm')
40 def get_character_tree_xml_file_path():
41 return path.join(get_base_interface_path(), 'CharacterTree.glade')
43 def get_grapevine_xml_file_path():
44 return path.join(get_base_interface_path(), 'Grapevine.glade')