diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-15 18:58:14 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-15 18:58:14 +0400 |
commit | 2bc78219135eba9b8079dc69ea7fd062a283a9b3 (patch) | |
tree | 6219db99bdeb9646b25ff4cd738111fc2240cf9c /source/blender/blenkernel/BKE_screen.h | |
parent | 47ad078402c7139a6e91038cd40101010fabbc29 (diff) |
add support for python __doc__ comments in menu classes showing in the tooltip, since menus are used as buttons too.
Diffstat (limited to 'source/blender/blenkernel/BKE_screen.h')
-rw-r--r-- | source/blender/blenkernel/BKE_screen.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_screen.h b/source/blender/blenkernel/BKE_screen.h index 77a351d534e..44b92f70519 100644 --- a/source/blender/blenkernel/BKE_screen.h +++ b/source/blender/blenkernel/BKE_screen.h @@ -207,6 +207,7 @@ typedef struct MenuType { char idname[BKE_ST_MAXNAME]; /* unique name */ char label[BKE_ST_MAXNAME]; /* for button text */ + char *description; /* verify if the menu should draw or not */ int (*poll)(const struct bContext *, struct MenuType *); |