diff options
Diffstat (limited to 'generic/Tabular.c')
-rw-r--r-- | generic/Tabular.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/Tabular.c b/generic/Tabular.c index c0d9886..a9e8f2d 100644 --- a/generic/Tabular.c +++ b/generic/Tabular.c @@ -53,6 +53,9 @@ typedef struct _TabularItemStruct { static ZnAttrConfig tabular_attrs[] = { { ZN_CONFIG_ANCHOR, "-anchor", NULL, Tk_Offset(TabularItemStruct, anchor), 0, ZN_COORDS_FLAG, False }, + { ZN_CONFIG_BOOL, "-catchevent", NULL, + Tk_Offset(TabularItemStruct, header.flags), ZN_CATCH_EVENT_BIT, + ZN_REPICK_FLAG, False }, { ZN_CONFIG_BOOL, "-composealpha", NULL, Tk_Offset(TabularItemStruct, header.flags), ZN_COMPOSE_ALPHA_BIT, ZN_DRAW_FLAG, False }, @@ -111,6 +114,7 @@ Init(ZnItem item, SET(item->flags, ZN_VISIBLE_BIT); SET(item->flags, ZN_SENSITIVE_BIT); + SET(item->flags, ZN_CATCH_EVENT_BIT); SET(item->flags, ZN_COMPOSE_ALPHA_BIT); SET(item->flags, ZN_COMPOSE_SCALE_BIT); SET(item->flags, ZN_COMPOSE_ROTATION_BIT); |