optional "children" arg on __init__ for frame #38

Closed
opened 2024-03-09 19:24:19 +00:00 by john · 1 comment
Owner

55 feat: optional "children" arg on __init__ for frame: construct children UI elements directly

use case: directly create the caption that does on a frame that you'll never need to modify

55 feat: optional "children" arg on `__init__` for frame: construct children UI elements directly use case: directly create the caption that does on a frame that you'll never need to modify
john added the
Minor Feature
label 2024-03-09 19:24:19 +00:00
john added this to the Fun, Convenient McRogueFace Objects project 2024-03-13 14:49:30 +00:00
Author
Owner
>>> f2 = mcrfpy.Frame(pos=(20, 30))
>>> f3 = mcrfpy.Frame(pos=(40,50))
>>> f = mcrfpy.Frame(pos=(60,70), children=[f2, f3])
>>> f.children
<UICollection (2 objects: 2 Frames)>
``` >>> f2 = mcrfpy.Frame(pos=(20, 30)) >>> f3 = mcrfpy.Frame(pos=(40,50)) >>> f = mcrfpy.Frame(pos=(60,70), children=[f2, f3]) >>> f.children <UICollection (2 objects: 2 Frames)> ```
john closed this issue 2025-07-11 18:23:20 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: john/McRogueFace#38
No description provided.