Skip to content
Snippets Groups Projects
Select Git revision
  • d2ef840cc34995c2ccbbf2f59e933fd3c7dbe308
  • main default protected
  • Issue#3
  • issue14_PRC
  • Issue_4
  • master
  • issue_7
  • issue_19
  • deep-learning
  • dl-onehot
  • issue12
  • count_gene
  • feature
  • issue13
  • 6-terminal-fragment-selection
  • issue_13
  • gen_transc
  • suvi
  • wrapper
19 results

internal_priming.ipynb

Blame
  • export_sequence_viewer.cc 1.50 KiB
    //------------------------------------------------------------------------------
    // This file is part of the OpenStructure project <www.openstructure.org>
    //
    // Copyright (C) 2008-2010 by the OpenStructure authors
    //
    // This library is free software; you can redistribute it and/or modify it under
    // the terms of the GNU Lesser General Public License as published by the Free
    // Software Foundation; either version 3.0 of the License, or (at your option)
    // any later version.
    // This library 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 Lesser General Public License for more
    // details.
    //
    // You should have received a copy of the GNU Lesser General Public License
    // along with this library; if not, write to the Free Software Foundation, Inc.,
    // 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
    //------------------------------------------------------------------------------
    #include <boost/python.hpp>
    
    #include <ost/gui/sequence_viewer/sequence_viewer.hh>
    
    #include "sip_handler.hh"
    
    using namespace boost::python;
    using namespace ost;
    using namespace ost::gui;
    
    
    void export_SequenceViewer()
    {
      class_<SequenceViewer, boost::noncopyable >("SequenceViewer", no_init)
        .def("Show", &SequenceViewer::show)
        .def("Hide", &SequenceViewer::hide)
        .def("GetQObject",&get_py_qobject<SequenceViewer>)
        .add_property("qobject", &get_py_qobject<SequenceViewer>)
      ;
    }