summaryrefslogtreecommitdiffstats
path: root/generic/tkMenubutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkMenubutton.h')
-rw-r--r--generic/tkMenubutton.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/generic/tkMenubutton.h b/generic/tkMenubutton.h
index 7c25509..16ed223 100644
--- a/generic/tkMenubutton.h
+++ b/generic/tkMenubutton.h
@@ -4,7 +4,7 @@
* Declarations of types and functions used to implement the menubutton
* widget.
*
- * Copyright (c) 1996-1997 Sun Microsystems, Inc.
+ * Copyright © 1996-1997 Sun Microsystems, Inc.
*
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
@@ -64,7 +64,7 @@ typedef struct {
char *text; /* Text to display in button (malloc'ed) or
* NULL. */
- int underline; /* Index of character to underline. */
+ int underline; /* Index of character to underline. INT_MIN means no underline */
char *textVarName; /* Name of variable (malloc'ed) or NULL. If
* non-NULL, button displays the contents of
* this variable. */
@@ -161,12 +161,12 @@ typedef struct {
* whether the menubutton should show both an
* image and text, and, if so, how. */
enum direction direction; /* Direction for where to pop the menu. Valid
- * directions are "above", "below", "left",
- * "right", and "flush". "flush" means that
- * the upper left corner of the menubutton is
- * where the menu pops up. "above" and "below"
+ * directions are "above", "below", "flush",
+ * "left", and "right". "above" and "below"
* will attempt to pop the menu completely
* above or below the menu respectively.
+ * "flush" means that the upper left corner
+ * of the menubutton is where the menu pops up.
* "left" and "right" will pop the menu left
* or right, and the active item will be next
* to the button. */
@@ -209,8 +209,8 @@ typedef struct {
MODULE_SCOPE void TkpComputeMenuButtonGeometry(TkMenuButton *mbPtr);
MODULE_SCOPE TkMenuButton *TkpCreateMenuButton(Tk_Window tkwin);
-MODULE_SCOPE void TkpDisplayMenuButton(ClientData clientData);
+MODULE_SCOPE void TkpDisplayMenuButton(void *clientData);
MODULE_SCOPE void TkpDestroyMenuButton(TkMenuButton *mbPtr);
-MODULE_SCOPE void TkMenuButtonWorldChanged(ClientData instanceData);
+MODULE_SCOPE void TkMenuButtonWorldChanged(void *instanceData);
#endif /* _TKMENUBUTTON */