Jump to content

Python Window Prioritisation


Recommended Posts

  • Premium

Hello Community,

I am currently working on my ingame gui interface and faced a small problem.

As you can see on the picture: Click

There is a Window behind the Inventory window.

How can I decide which window should be "On Top"?

#Edit

I managed to put the new Window "On Top" after first login,

but as soon as you move the Inventory, it is behind the inventory window again.

 

.gif

 

I want it to stay above the inventory window all the time.

  • Metin2 Dev 1
Link to comment
Share on other sites

4 minutes ago, CHKRZ said:

I guess you missunderstood.

I dont want it to be behind the inventory but before, and that all the time.

Kind regards.

You are right my bad.
What you can do from C++ level is to add additional flag like "TOP_SUPER" on indicate it during rendering process to no other window will be displayed above it (or the window with flag above will we rendered at the end of tick).

  • Love 1
Link to comment
Share on other sites

  • Premium
21 minutes ago, Sherer said:

You are right my bad.
What you can do from C++ level is to add additional flag like "TOP_SUPER" on indicate it during rendering process to no other window will be displayed above it (or the window with flag above will we rendered at the end of tick).

I will try, thank you.

My hope was that there was an python function for this which I dont know yet.

But I will try it over source.

 

Kind regards.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.