Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
wxListBox(3)		   Erlang Module Definition		  wxListBox(3)

NAME
       wxListBox - See external	documentation: wxListBox.

DESCRIPTION
       See external documentation: wxListBox.

       This class is derived (and can use functions) from:
       wxControlWithItems
       wxControl
       wxWindow
       wxEvtHandler

DATA TYPES
	 wxListBox():

	   An  object  reference,  The	representation	is internal and	can be
	   changed without notice. It can't be used for	comparsion  stored  on
	   disc	or distributed for use on other	nodes.

EXPORTS
       new() ->	wxListBox()

	      See external documentation.

       new(Parent, Id) -> wxListBox()

	      Types:

		 Parent	= wxWindow:wxWindow()
		 Id = integer()

	      Equivalent to new(Parent,	Id, []).

       new(Parent, Id, Options::[Option]) -> wxListBox()

	      Types:

		 Parent	= wxWindow:wxWindow()
		 Id = integer()
		 Option	= {pos,	{X::integer(), Y::integer()}} |	{size, {W::in-
		 teger(), H::integer()}} | {choices,  [unicode:chardata()]}  |
		 {style, integer()} | {validator, wx:wx_object()}

	      See external documentation.

       create(This, Parent, Id,	Pos, Size, Choices) -> boolean()

	      Types:

		 This =	wxListBox()
		 Parent	= wxWindow:wxWindow()
		 Id = integer()
		 Pos = {X::integer(), Y::integer()}
		 Size =	{W::integer(), H::integer()}
		 Choices = [unicode:chardata()]

	      Equivalent to create(This, Parent, Id, Pos, Size,	Choices, []).

       create(This,  Parent,  Id,  Pos,	 Size,	Choices, Options::[Option]) ->
       boolean()

	      Types:

		 This =	wxListBox()
		 Parent	= wxWindow:wxWindow()
		 Id = integer()
		 Pos = {X::integer(), Y::integer()}
		 Size =	{W::integer(), H::integer()}
		 Choices = [unicode:chardata()]
		 Option	= {style, integer()} | {validator, wx:wx_object()}

	      See external documentation.

       deselect(This, N) -> ok

	      Types:

		 This =	wxListBox()
		 N = integer()

	      See external documentation.

       getSelections(This) -> Result

	      Types:

		 Result	= {Res::integer(), ASelections::[integer()]}
		 This =	wxListBox()

	      See external documentation.

       insertItems(This, Items,	Pos) ->	ok

	      Types:

		 This =	wxListBox()
		 Items = [unicode:chardata()]
		 Pos = integer()

	      See external documentation.

       isSelected(This,	N) -> boolean()

	      Types:

		 This =	wxListBox()
		 N = integer()

	      See external documentation.

       set(This, Items)	-> ok

	      Types:

		 This =	wxListBox()
		 Items = [unicode:chardata()]

	      See external documentation.

       hitTest(This, Point) -> integer()

	      Types:

		 This =	wxListBox()
		 Point = {X::integer(),	Y::integer()}

	      See external documentation.

       setFirstItem(This, N) ->	ok

	      Types:

		 This =	wxListBox()
		 N = integer()

	      See external documentation.
	      Also:
	      setFirstItem(This, S) -> 'ok' when
	      This::wxListBox(), S::unicode:chardata().

       destroy(This::wxListBox()) -> ok

	      Destroys this object, do not use object again

AUTHORS
       __

				   wx 1.8.7			  wxListBox(3)

NAME | DESCRIPTION | DATA TYPES | EXPORTS | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=wxListBox&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help