Debian Codegraph @

Entry/Entry.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 MODULE = Tk::Entry PACKAGE = Tk
22
23 void
24 entry(...)
25 CODE:
26 {
27 TKXSRETURN(XSTkCommand(cv,0,Tk_EntryObjCmd,items,&ST(0)));
28 }
29
30 void
31 spinbox(...)
32 CODE:
33 {
34 TKXSRETURN(XSTkCommand(cv,0,Tk_SpinboxObjCmd,items,&ST(0)));
35 }
36
37 PROTOTYPES: DISABLE
38
39 BOOT:
40 {
41 IMPORT_VTABLES;
42 /* Lang_TkCommand("entry", Tk_EntryCmd); */
43 }