From ff4f77ec223c5a0b1a015789d34177d8ddb4a4b2 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 06 Aug 2021 01:55:22 -0400 Subject: tk: Add container pointer to widget --- (limited to 'src/tk/box.c') diff --git a/src/tk/box.c b/src/tk/box.c index ced5b3c..10a4ec3 100644 --- a/src/tk/box.c +++ b/src/tk/box.c @@ -132,5 +132,7 @@ mftk_box_new(int container_w, int container_h, int own_w, int own_h, b->bg_color = bg_color; b->child = child; + child->container = w; + return w; } -- cgit v0.9.1