summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/tk.h12
-rw-r--r--include/version.h2
2 files changed, 10 insertions, 4 deletions
diff --git a/include/tk.h b/include/tk.h
index b990f621..4abfc38c 100644
--- a/include/tk.h
+++ b/include/tk.h
@@ -455,7 +455,7 @@ struct Tk
Tk* master; /* Pack owner */
Tk* slave; /* Packer slaves */
Tk* next; /* Link for packer slaves */
- Tk* parent; /* Window is sub of canvas or text */
+ Tk* parent; /* Window is sub of this canvas or text */
Tk* depth; /* Window depth when mapped */
void (*geom)(Tk*, int, int, int, int); /* Geometry change notify function */
void (*destroyed)(Tk*); /* Destroy notify function */
@@ -473,7 +473,7 @@ struct Tk
Rectangle dirty; /* dirty rectangle, relative to widget */
TkGrid* grid; /* children are packed in a grid */
-// char obj[TKSTRUCTALIGN];
+ /* followed by widget-dependent data */
};
struct TkWin
@@ -514,6 +514,7 @@ struct TkMethod
void (*see)(Tk*, Rectangle*, Point*);
Tk* (*inwindow)(Tk*, Point*);
void (*varchanged)(Tk*, char*, char*);
+ void (*forgetsub)(Tk*, Tk*);
int ncmd;
};
@@ -733,6 +734,7 @@ extern TkEnv* tkdefaultenv(TkTop*);
extern void tkputenv(TkEnv*);
extern TkEnv* tkdupenv(TkEnv**);
extern Tk* tknewobj(TkTop*, int, int);
+extern Tk* tkfindsub(Tk*);
extern void tkfreebind(TkAction*);
extern void tkfreename(TkName*);
extern void tkfreeobj(Tk*);
@@ -750,7 +752,6 @@ extern int tksubdeliver(Tk*, TkAction*, int, void*, int);
extern void tkcancel(TkAction**, int);
extern char* tkaction(TkAction**, int, int, char*, int);
extern char* tkitem(char*, char*);
-extern int tkismapped(Tk*);
extern Point tkposn(Tk*);
extern Point tkscrn2local(Tk*, Point);
extern int tkvisiblerect(Tk *tk, Rectangle *rr);
@@ -818,6 +819,11 @@ extern int tkextnnewctxt(TkCtxt*);
extern void tkextnfreectxt(TkCtxt*);
extern char* tkextnparseseq(char*, char*, int*);
+/* Debugging */
+extern void tkdump(Tk*);
+extern void tktopdump(Tk*);
+extern void tkcvsdump(Tk*);
+
/* External to libtk */
extern void tkenterleave(TkTop*);
extern void tksetwinimage(Tk*, Image*);
diff --git a/include/version.h b/include/version.h
index 7b0a16fb..76d36219 100644
--- a/include/version.h
+++ b/include/version.h
@@ -1 +1 @@
-#define VERSION "Fourth Edition (20100819)"
+#define VERSION "Fourth Edition (20100821)"