summaryrefslogtreecommitdiff
path: root/gr-qtgui/python/qtgui/bindings/edit_box_msg_python.cc
blob: 17d36ad979a473d53d449760ccffc81aafe92f82 (plain)
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
/*
 * Copyright 2020 Free Software Foundation, Inc.
 *
 * This file is part of GNU Radio
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 *
 */

/* This file is automatically generated using bindtool */

#include <pybind11/complex.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>

#include <gnuradio/qtgui/utils.h>
#include <qwt_legend.h>
#include <qwt_painter.h>
#include <qwt_plot.h>
#include <qwt_plot_canvas.h>
#include <qwt_plot_curve.h>
#include <qwt_plot_magnifier.h>
#include <qwt_plot_marker.h>
#include <qwt_plot_panner.h>
#include <qwt_plot_zoomer.h>
#include <qwt_scale_engine.h>
#include <qwt_scale_widget.h>
#include <qwt_symbol.h>

namespace py = pybind11;

#include <gnuradio/qtgui/edit_box_msg.h>
// pydoc.h is automatically generated in the build directory
#include <edit_box_msg_pydoc.h>

void bind_edit_box_msg(py::module& m)
{

    using edit_box_msg = ::gr::qtgui::edit_box_msg;


    py::class_<edit_box_msg, gr::block, gr::basic_block, std::shared_ptr<edit_box_msg>>(
        m, "edit_box_msg", D(edit_box_msg))

        .def(py::init(&edit_box_msg::make),
             py::arg("type"),
             py::arg("value") = "",
             py::arg("label") = "",
             py::arg("is_pair") = true,
             py::arg("is_static") = true,
             py::arg("key") = "",
             py::arg("parent") = __null,
             D(edit_box_msg, make))


        .def("exec_", &edit_box_msg::exec_, D(edit_box_msg, exec_))


        .def("qwidget", &edit_box_msg::qwidget, D(edit_box_msg, qwidget))


        .def("pyqwidget", &edit_box_msg::pyqwidget, D(edit_box_msg, pyqwidget))

        ;
}