Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1033392 // dm_toggleAlwaysOnTop

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4942L/27K).

svoid dm_toggleAlwaysOnTop() /*swing*/ {
  if (dm_moduleIsPoppedOut()) {
    bool aot = !isTrue(dm_getFlag ALWAYSONTOPWHENPOPPEDOUT());
    dm_setFlag ALWAYSONTOPWHENPOPPEDOUT(aot);
    alwaysOnTop(dm_windowIfSingleModule(dm_current_generic()), aot);
  }
}

Author comment

Began life as a copy of #1020990

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033392
Snippet name: dm_toggleAlwaysOnTop
Eternal ID of this version: #1033392/3
Text MD5: 9ae1e17b212dd5457c359e81292216eb
Transpilation MD5: 2026ef8e75178bb1808874180bce2d7f
Author: stefan
Category: javax / dynamic modules
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-27 01:15:30
Source code size: 262 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 147 / 207
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)