Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
2691-wx-Document-wx-subscribe_events-0.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2691-wx-Document-wx-subscribe_events-0.patch of Package erlang
From 2c2fb8a690b37410edf47eb75bb16e0481cab899 Mon Sep 17 00:00:00 2001 From: Wojtek Mach <wojtek@wojtekmach.pl> Date: Tue, 19 Apr 2022 23:27:56 +0200 Subject: [PATCH] wx: Document `wx:subscribe_events/0` --- lib/wx/doc/src/wx.xml | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/lib/wx/doc/src/wx.xml b/lib/wx/doc/src/wx.xml index 982343cda4..a405b0a274 100644 --- a/lib/wx/doc/src/wx.xml +++ b/lib/wx/doc/src/wx.xml @@ -141,6 +141,47 @@ wxGBPosition={r,c},wxGBSpan={rs,cs},wxGridCellCoords={r,c}.</p> another process wx environment.</p> </desc></func> <func> +<name since="">subscribe_events() -> ok</name> +<fsummary>Adds the calling process to the list of of processes that are +listening to wx application events.</fsummary> + +<desc><marker id="subscribe_events-0"/> +<p> + Adds the calling process to the list of of processes that are listening to + wx application events. +</p> + +<p> + At the moment these are all MacOSX specific events corresponding to + <c>MacNewFile()</c> + and friends from wxWidgets + <url href="https://docs.wxwidgets.org/trunk/classwx_app.html">wxApp</url>: +</p> + +<list> + <item> + <p><c>{new_file, ""}</c></p> + </item> + <item> + <p><c>{open_file, Filename}</c></p> + </item> + <item> + <p><c>{print_file, Filename}</c></p> + </item> + <item> + <p><c>{open_url, Url}</c></p> + </item> + <item> + <p><c>{reopen_app, ""}</c></p> + </item> +</list> + +<p> + The call always returns ok but will have sent any already received + events to the calling process. +</p> +</desc></func> +<func> <name since="">null() -> <seeerl marker="#type-wx_object">wx_object()</seeerl></name> <fsummary>Returns the null object.</fsummary> @@ -287,4 +328,4 @@ library.</p> <authors> <aname> </aname> -<email> </email></authors></erlref> \ No newline at end of file +<email> </email></authors></erlref> -- 2.34.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor