Skip to content

Screen Flow: add "myself" as parent for attach operations. #187

Description

@parsley

Is your feature request related to a problem? Please describe.
This is related to #186 where I describe the adventure that motivated this feature request.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Within GUIX Studio Screen Flow on the "Add Action for Trigger ..."-window there is already one special option for Target and Parent available called "gx_system_screen_stack_pop".
I'd like to have a similar "special option" for Target and Parent you could perhaps call "myself". The idea is to use the *widget pointer in gx_studio_auto_event_handler() as Parent for Attach actions or as the Target on Detach/Stack_Push actions.
This would not only ease the configuration of actions in Screen Flow (just select "myself" instead of finding the right screen_name in the drop down list) but it would presumably also add the possibility to attach something to a Runtime Allocated parent (which is the initial reason for me to create this feature request).

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

So far I don't see any alternative solution to attach something to a Runtime Allocated screen within Screen Flow because gx_studio_auto_event_handler() expects either static pointers as Parent or parents popped from screen_stack.

(At the time of issuing this ticket I used GUIX release v6.5.1.202602a)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or enhancement request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions