WXPOPUPTRANSIENTWINDOW(3erl)
π wxPopupTransientWindow (Erlang Module Definition)
okay so bestie, welcome to the manual page for wxPopupTransientWindow β a whole module definition, Erlang flavored, and honestly? kinda iconic. let's get into it β¨
πΈ NAME πΈ
wxPopupTransientWindow β literally the functions for the wxPopupTransientWindow class. that's it, that's the name, periodt.
π¦ DESCRIPTION π¦
okay so picture this: it's a wxPopupWindow that disappears automatically the moment the user clicks their mouse outside of it, or honestly if it loses focus in any other way too. it's giving "i was never here" energy π¨
this window is lowkey useful for implementing custom combobox-like controls, for example. iykyk π
See: wxPopupWindow β go look at it, it's the parent vibe fr.
this class is derived (and can use functions) from:
wxPopupWindowwxWindowwxEvtHandler
and for all the wxWidgets docs girlies, check out: wxWidgets docs: wxPopupWidget β wait no, wxWidgets docs: wxPopupTransientWindow π«Ά
π DATA TYPES π
wxPopupTransientWindow()=wx:wx_object()
that's the whole type. short, sweet, main character energy β
π₯ EXPORTS π₯
β¨ new() -> wxPopupTransientWindow()
the default constructor. no arguments, no drama, just vibes π
β¨ new(Parent) -> wxPopupTransientWindow()
Types:
Parent = wxWindow:wxWindow()
yep, you pass in a Parent. that's the whole deal π¦
β¨ new(Parent, Options :: [Option]) -> wxPopupTransientWindow()
Types:
Parent = wxWindow:wxWindow()
Option = {style, integer()}
the constructor with options, bestie. you got your Parent, and Option is a {style, integer()} tuple. slay π
β¨ popup(This) -> ok
Types:
This = wxPopupTransientWindow()
β¨ popup(This, Options :: [Option]) -> ok
Types:
This = wxPopupTransientWindow()
Option = {focus, wxWindow:wxWindow()}
popup the window β and yes, this will show it too, that's the whole point π
okay so here's the important part: if focus is non-NULL, it will be kept focused while this window is shown if supported by the current platform. otherwise the popup itself will receive focus. either way? the popup disappears automatically if it loses focus because of a user action. no cap, that's the whole transient thing fr fr π
See: dismiss/1
β¨ dismiss(This) -> ok
Types:
This = wxPopupTransientWindow()
hide the window. bye bestie π
β¨ destroy(This :: wxPopupTransientWindow()) -> ok
destroys the object. rip to it honestly π
okay ngl that's the entire page, every flag, every type, every function. no skips, no summaries, we ate and left no crumbs π
sign-off time π§ this masterpiece was brought to you by the wxWidgets team, and it's from wx 2.2.2.1 β the original footer even had that cute truncated wxPopupTr...entWindow(3erl) thing going on, love that for it. mwah, bye! ππβ
π¦ where this page comes from
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4 Β· Apache-2.0
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4.8 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms