Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Functions
scripter2_scribus_scribusmainwin.cpp File Reference
#include "cmdvar.h"
#include "scribus.h"
#include "scribuswin.h"
#include "scribusdoc.h"
#include "scribusview.h"

Go to the source code of this file.

Functions

void export_ScribusMainWindow ()

Function Documentation

Definition at line 14 of file scripter2_scribus_scribusmainwin.cpp.

{
       using namespace boost::python;

       class_<ScribusMainWindow, bases<QWidget>, boost::noncopyable>(
                     "ScribusMainWindow",
                     "The app's main window, which also provides much of its core functionality",
                     no_init)
              .add_property("doc", make_getter(&ScribusMainWindow::doc, return_internal_reference<>()))
              .add_property("view", make_getter(&ScribusMainWindow::view, return_internal_reference<>()))
              .add_property("ActWin", make_getter(&ScribusMainWindow::ActWin, return_internal_reference<>()));

       scope().attr("ScMW") = boost::ref(ScMW);
}

Here is the caller graph for this function: