/usr/include/wx-3.0/wx/wxPython/i_files/xrc.i is in python-wxgtk3.0-dev 3.0.2.0+dfsg-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | /////////////////////////////////////////////////////////////////////////////
// Name: xrc.i
// Purpose: Wrappers for the XML based Resource system
//
// Author: Robin Dunn
//
// Created: 4-June-2001
// RCS-ID: $Id$
// Copyright: (c) 2001 by Total Control Software
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
%define DOCSTRING
"The `XmlResource` class allows program resources defining menus, layout of
controls on a panel, etc. to be loaded from an XML file."
%enddef
%module(package="wx", docstring=DOCSTRING) xrc
%{
#include "wx/wxPython/wxPython.h"
#include "wx/wxPython/pyclasses.h"
#include "wx/wxPython/pyistream.h"
#include <wx/xml/xml.h>
#include <wx/xrc/xmlres.h>
%}
//---------------------------------------------------------------------------
%import core.i
%pythoncode { wx = _core }
%pythoncode { __docfilter__ = wx.__DocFilter(globals()) }
MAKE_CONST_WXSTRING_NOSWIG(EmptyString);
MAKE_CONST_WXSTRING2(UTF8String, wxT("UTF-8"));
MAKE_CONST_WXSTRING2(StyleString, wxT("style"));
MAKE_CONST_WXSTRING2(SizeString, wxT("size"));
MAKE_CONST_WXSTRING2(PosString, wxT("pos"));
MAKE_CONST_WXSTRING2(BitmapString, wxT("bitmap"));
MAKE_CONST_WXSTRING2(IconString, wxT("icon"));
MAKE_CONST_WXSTRING2(FontString, wxT("font"));
MAKE_CONST_WXSTRING2(AnimationString, wxT("animation"));
// Include all the files that make up this module
%include _xmlres.i
%include _xmlsub.i
%include _xml.i
%include _xmlhandler.i
//---------------------------------------------------------------------------
%init %{
wxXmlInitResourceModule();
wxXmlResource::Get()->InitAllHandlers();
%}
%pythoncode "_xrc_ex.py";
//---------------------------------------------------------------------------
|