1wxTextEntryDialog(3)       Erlang Module Definition       wxTextEntryDialog(3)
2
3
4

NAME

6       wxTextEntryDialog - Functions for wxTextEntryDialog class
7

DESCRIPTION

9       This  class  represents  a  dialog that requests a one-line text string
10       from the user. It is implemented as a generic wxWidgets dialog.
11
12       See: Overview cmndlg
13
14       This class is derived (and can  use  functions)  from:  wxDialog  wxTo‐
15       pLevelWindow wxWindow wxEvtHandler
16
17       wxWidgets docs: wxTextEntryDialog
18

DATA TYPES

20       wxTextEntryDialog() = wx:wx_object()
21

EXPORTS

23       new() -> wxTextEntryDialog()
24
25              Default constructor.
26
27              Call  Create() (not implemented in wx) to really create the dia‐
28              log later.
29
30              Since: 2.9.5
31
32       new(Parent, Message) -> wxTextEntryDialog()
33
34              Types:
35
36                 Parent = wxWindow:wxWindow()
37                 Message = unicode:chardata()
38
39       new(Parent, Message, Options :: [Option]) -> wxTextEntryDialog()
40
41              Types:
42
43                 Parent = wxWindow:wxWindow()
44                 Message = unicode:chardata()
45                 Option =
46                     {caption, unicode:chardata()} |
47                     {value, unicode:chardata()} |
48                     {style, integer()} |
49                     {pos, {X :: integer(), Y :: integer()}}
50
51              Constructor.
52
53              Use wxDialog:showModal/1 to show the dialog.
54
55              See Create() (not implemented in wx) method  for  parameter  de‐
56              scription.
57
58       destroy(This :: wxTextEntryDialog()) -> ok
59
60              Destructor.
61
62       getValue(This) -> unicode:charlist()
63
64              Types:
65
66                 This = wxTextEntryDialog()
67
68              Returns  the  text  that  the  user  has entered if the user has
69              pressed OK, or the original value if the user has  pressed  Can‐
70              cel.
71
72       setValue(This, Value) -> ok
73
74              Types:
75
76                 This = wxTextEntryDialog()
77                 Value = unicode:chardata()
78
79              Sets the default text value.
80
81
82
83wxWidgets team.                    wx 2.2.1               wxTextEntryDialog(3)
Impressum