[Glade-users] extend Drawing Area class
- From: mike kleibi de (Michael Kleiber)
- Subject: [Glade-users] extend Drawing Area class
- Date: Tue, 22 Mar 2005 21:16:04 +0100
This is a multi-part message in MIME format.
--------------080006060504080609020001
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Jeff Simpson wrote:
I'm hoping somebody can point me in the right direction for a project
I'm working on. Basically, I need to add a few extra functions to the
DrawingArea object, and I'd like to use Glade / gtkmm as much as
possible. The code needs to be in C++ due to some already existing
functions that I'd like to not have to re-write.
Can anybody point me in the right direction for how to create a new
custom class/object based on DrawingArea? I'd like it to have all the
existing functions of DrawingArea (draw_line, etc) but also have a few
customized functions. Thanks for any help!
I wrote an app using glade and the drawingarea widget. The drawing area
just needs to be subclassed with added functionality. The gtkmm
documentation has all the infos you need. I added my class file so you
have a pointer of how this works.
Bye,
Mike
--------------080006060504080609020001
Content-Type: application/gzip;
name="examp.tar.gz"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="examp.tar.gz"
H4sIAAR8QEIAA+0YXVPbRpBX9Cs2zkwqEwE2hDAjg2cIMIQ2fAyQpm8aWTrbKpLOlU4Yk6G/
vbt7ki3bgjSdNMmDbhKs26/b29vd272BlyV3wk/ccRAP3ES4G5638o1Hq91qvX3zZqXVarV3
d1r022rrOY2327vtlXZrq729s7vd3kF4e3v3zdYKtL61IlUjS5WbAKxEwa14nk4k6fdQ6PuO
l0HshZkvoDFY8oRhwzBODgl6pKEHCLXtJZD5zk3FRe9P4ambyUisgSd5YuFHnCo4CYOebV+J
/qVK9k5iGQkUEro+/vwRhd1XkIg+z5uGDSfq1rbLwnNhTcsAiJyC1JzxfDZWXd93xJ2IVWqe
+Mj/7uPNzcW5c3l1fH3tnB1c/9bsGKubm8DIy4vT85vjK+fs4uYUiQgNe+uABwyBAiXBFwoX
hEgSKJIqkLHB7AOhHNTLl2OzCWOZhT6qrrIkhhb0hOcSvRoKvcwnJoShm0IsFUyEQhoRI4cb
Bg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ynZ
OMcI/SSTW9T/Sa8ulx+oMkC1HYl4Wvm8WHQ6ZMOQ/aRTJVVgHiZWjtYeVpZzJQ6SLlaI80p8
KfXres7BkizoT/QJwPQIzhhZOgKA/OoP5VgkFmRYduEPXhSc6i2I3Hu+8zoz0ldMS5UqOip/
l5EsIUfydxlZyM3xxbRMUiyYk8zWLyzz/ioLRbIGQyehj85c2bze1QnUxx+zMWSKdsMqiLmU
CvpmMcUZ2QAKvGZP3HggwJxuMzeL/ixvYWYemrHwkqh0QdTUumW3breaMyks4dFY8jJ9bPrU
bNLAzpOeVmXB21DA2qbxoxuvn2RUdH3ffI0v9P9b21tbRf+/9ab1lvr/nd3tuv//HuNl0I+x
EcRk+fHq9+Ojq4NPp+cnB1fHB8574yUi8LqsxBnTh4O9QKYKHSfqlmDUb85N1XBjWIYM/Nso
2iy6uiqcrvIWMIowc966jOb0Mo/AunJA6S+KFhi09+dFGeEML3TTdPnuAMwrmIADb+n6wVtC
Y2wqJyt6TLxh/8cnE5R+FyQqw66jqsGlcpjv7n/XSHVy6uXOt4xZbgwRW1ByYQGfi5cRFtOB
x7xQ5IZwDs+QGYHuFOcoNIhJjFEi6XFG+PbiW8eSkUrXHr/+FGbi4uBrSrGSiQve5xvIqbGW
ugXS4+JOJEng+yKG/AkGqMx26VUHLyhMM+xJUKzJkuZKHHqu8qVI41+QVYiISqYxFmpzbIWq
FQXPU/VO1fPRyWGX2t9OFa7ozqZFNlFNH39A96UWUKtpAb/VzGJh6na6yOXOI3ch7TLaHRZe
EPD2RiO+xIscO3OKtuXM9KMzaj3qUY961KMe9ahHPepRj3rUox71qMfPNf4B3W/NJAAoAAA=
--------------080006060504080609020001--
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]