changed: auto add updateData callback to stages so that stagedata can be updated...
[opensg.git] / Source / WindowSystem / X / Bindings / Python / osgSetupBindings_OSGWindowX.py.in
blobb2dabd297bb8a14c77528efa8b7c5992758b539d
1 # PyOpenSG is (C) Copyright 2005-2009 by Allen Bierbaum
3 # This file is part of PyOpenSG.
5 # PyOpenSG is free software; you can redistribute it and/or modify it under
6 # the terms of the GNU Lesser General Public License as published by the Free
7 # Software Foundation; either version 2 of the License, or (at your option)
8 # any later version.
10 # PyOpenSG is distributed in the hope that it will be useful, but WITHOUT ANY
11 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 # FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
13 # more details.
15 # You should have received a copy of the GNU Lesser General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 # This script is derived from gen_bindings.py, it contains all class specific
20 # tasks for the OSGWindowXLib for the integration with the OpenSG CMake system
21 # (GV)
24 from goodies import *
26 import osggen
28 def preScanSetup(gen_classes, fc_infos, core_mods, free_funcs, free_func_mods, exc_types):
30 return
33 def excludeFCDSetup(opensg_src_dir, fc_ignore_list, skip_fcds):
35 return
38 def genTemplatesSetup(template_builder, tbuilder, non_fc_template_instances):
40 return
44 def postScanSetup(osg, template_alias_db):
46 return
50 def postGenClassesSetup(osg, mb):
52 return
56 def postFCDInfoSetup(osg, mb, adddition_exp):
58 cls = osg["XWindowBase"]
59 cls["getDisplay"].exclude()
60 cls["getSFDisplay"].exclude()
61 cls["setDisplay"].exclude()
63 cls["getContext"].exclude()
64 cls["getSFContext"].exclude()
65 cls["setContext"].exclude()
67 cls = osg["XWindow"]
68 cls["init"].exclude()
70 return