wxPopupWindow(3erl)

wxPopupWindow3erl

Functions for wxpopupwindow class

Overview

A special kind of top level window used for popup menus, combobox popups and such.

Styles

This class supports the following styles:

See: wxDialog, wxFrame

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

wxWidgets docs: wxPopupWindow

Data types

wxPopupWindow() = wx:wx_object()

Exports

new() -> wxPopupWindow()

Default constructor.

new(Parent) -> wxPopupWindow()

Types:

Parent = wxWindow:wxWindow()

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

Types:

Parent = wxWindow:wxWindow()
Option = {flags, integer()}

Constructor.

create(This, Parent) -> boolean()

Types:

This = wxPopupWindow()
Parent = wxWindow:wxWindow()

create(This, Parent, Options :: [Option]) -> boolean()

Types:

This = wxPopupWindow()
Parent = wxWindow:wxWindow()
Option = {flags, integer()}

Create method for two-step creation.

position(This, PtOrigin, SizePopup) -> ok

Types:

This = wxPopupWindow()
PtOrigin = {X :: integer(), Y :: integer()}
SizePopup = {W :: integer(), H :: integer()}

Move the popup window to the right position, i.e. such that it is entirely visible.

The popup is positioned at ptOrigin + size if it opens below and to the right (default), at ptOrigin - sizePopup if it opens above and to the left etc.

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

Destroys the object.

Releases

5 releases since Debian 8 (Jessie); the text changed 4 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12

From erlang-manpages 1:25.2.3+dfsg-1+deb12u4 in Debian 12 (Bookworm). Parsed by carta from the page's man source.