wxFindReplaceDialog(3erl)
π NAME π
wxFindReplaceDialog β functions for the wxFindReplaceDialog class, and yup bestie, this is the Erlang module definition page for wxFindReplaceDialog(3erl) π
π DESCRIPTION π
Okay so wxFindReplaceDialog is a standard modeless dialog. Its whole thing is letting the user search for some text β and possibly replace it with something else β¨. Itβs giving βfind and replace but make it a dialog,β and honestly? Iconic.
The actual searching is supposed to be done in the owner window, which is the parent of this dialog. The way that this works means that β unlike the other standard dialogs β this one must have a parent window. Also, there is no way to use this dialog in a modal way; it is always, by design and implementation, modeless. No cap, thatβs just the vibe π«Ά.
Please see the page_samples_dialogs sample for an example of using it.
This class is derived (and can use functions) from: wxDialog wxTopLevelWindow wxWindow wxEvtHandler.
wxWidgets docs: wxFindReplaceDialog.
π DATA TYPES π
wxFindReplaceDialog() = wx:wx_object()
β¨ EXPORTS β¨
π new() -> wxFindReplaceDialog()
No args, just a fresh dialog object. Slay.
π new(Parent, Data, Title) -> wxFindReplaceDialog()
Types:
Parent = wxWindow:wxWindow()
Data = wxFindReplaceData:wxFindReplaceData()
Title = unicode:chardata()
π new(Parent, Data, Title, Options :: [Option]) -> wxFindReplaceDialog()
Types:
Parent = wxWindow:wxWindow()
Data = wxFindReplaceData:wxFindReplaceData()
Title = unicode:chardata()
Option = {style, integer()}
After using default constructor create/5 must be called.
β οΈ TheParentandDataparameters must benon-NULL, bestie. Do not play with that.
π destroy(This :: wxFindReplaceDialog()) -> ok
Destructor. Itβs the goodbye era π.
π create(This, Parent, Data, Title) -> boolean()
Types:
This = wxFindReplaceDialog()
Parent = wxWindow:wxWindow()
Data = wxFindReplaceData:wxFindReplaceData()
Title = unicode:chardata()
π create(This, Parent, Data, Title, Options :: [Option]) -> boolean()
Types:
This = wxFindReplaceDialog()
Parent = wxWindow:wxWindow()
Data = wxFindReplaceData:wxFindReplaceData()
Title = unicode:chardata()
Option = {style, integer()}
Creates the dialog; use wxWindow:show/2 to show it on screen.
β οΈ Again: theParentandDataparameters must benon-NULL.
π getData(This) -> wxFindReplaceData:wxFindReplaceData()
Types:
This = wxFindReplaceDialog()
Get the wxFindReplaceData object used by this dialog. Itβs literally giving you the data back, as one treats π
.
Later, bestie! This page came from the wxWidgets team, with version wx 2.2.2.1, and itβs the wxFindReplaceDialog(3erl) manual page β mwah πβ¨
π¦ 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