Debian Codegraph @

Canvas/Canvas.xs

raw
1 /*
2 Copyright (c) 1995-2003 Nick Ing-Simmons. All rights reserved.
3 This program is free software; you can redistribute it and/or
4 modify it under the same terms as Perl itself.
5 */
6 #define PERL_NO_GET_CONTEXT
7 #include <EXTERN.h>
8 #include <perl.h>
9 #include <XSUB.h>
10
11 #include "tkGlue.def"
12
13 #include "pTk/tkPort.h"
14 #include "pTk/tkInt.h"
15 #include "tkGlue.h"
16 #include "tkGlue.m"
17 #include "pTk/tkVMacro.h"
18
19 DECLARE_VTABLES;
20
21 extern Tk_ItemType ptkCanvGridType;
22 extern Tk_ItemType ptkCanvGroupType;
23
24
25 MODULE = Tk::Canvas PACKAGE = Tk
26
27 void
28 canvas(...)
29 CODE:
30 {
31 TKXSRETURN(XSTkCommand(cv,1,Tk_CanvasObjCmd,items,&ST(0)));
32 }
33
34
35 PROTOTYPES: DISABLE
36
37 BOOT:
38 {
39 IMPORT_VTABLES;
40 Tk_CreateItemType(&ptkCanvGridType);
41 Tk_CreateItemType(&ptkCanvGroupType);
42 }