1wxWebViewEvent(3) Erlang Module Definition wxWebViewEvent(3)
2
3
4
6 wxWebViewEvent - Functions for wxWebViewEvent class
7
9 A navigation event holds information about events associated with wxWe‐
10 bView objects.
11
12 Since: 2.9.3
13
14 See: wxWebView
15
16 This class is derived (and can use functions) from: wxNotifyEvent wx‐
17 CommandEvent wxEvent
18
19 wxWidgets docs: wxWebViewEvent
20
22 Use wxEvtHandler:connect/3 with wxWebViewEventType to subscribe to
23 events of this type.
24
26 wxWebViewEvent() = wx:wx_object()
27
28 wxWebView() =
29 #wxWebView{type = wxWebViewEvent:wxWebViewEventType(),
30 string = unicode:chardata(),
31 int = integer(),
32 target = unicode:chardata(),
33 url = unicode:chardata()}
34
35 wxWebViewEventType() =
36 webview_navigating | webview_navigated | webview_loaded |
37 webview_error | webview_newwindow | webview_title_changed
38
40 getString(This) -> unicode:charlist()
41
42 Types:
43
44 This = wxWebViewEvent()
45
46 Returns item string for a listbox or choice selection event.
47
48 If one or several items have been deselected, returns the index
49 of the first deselected item. If some items have been selected
50 and others deselected at the same time, it will return the index
51 of the first selected item.
52
53 getInt(This) -> integer()
54
55 Types:
56
57 This = wxWebViewEvent()
58
59 Returns the integer identifier corresponding to a listbox,
60 choice or radiobox selection (only if the event was a selection,
61 not a deselection), or a boolean value representing the value of
62 a checkbox.
63
64 For a menu item, this method returns -1 if the item is not
65 checkable or a boolean value (true or false) for checkable items
66 indicating the new state of the item.
67
68 getTarget(This) -> unicode:charlist()
69
70 Types:
71
72 This = wxWebViewEvent()
73
74 Get the name of the target frame which the url of this event has
75 been or will be loaded into.
76
77 This may return an empty string if the frame is not available.
78
79 getURL(This) -> unicode:charlist()
80
81 Types:
82
83 This = wxWebViewEvent()
84
85 Get the URL being visited.
86
87
88
89wxWidgets team. wx 2.1.4 wxWebViewEvent(3)