wxPreviewControlBar(3erl)

wxPreviewControlBar3erl

Functions for wxpreviewcontrolbar class

Overview

This is the default implementation of the preview control bar, a panel with buttons and a zoom control.

You can derive a new class from this and override some or all member functions to change the behaviour and appearance; or you can leave it as it is.

See: wxPreviewFrame, wxPreviewCanvas, wxPrintPreview

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

wxWidgets docs: wxPreviewControlBar

Data types

wxPreviewControlBar() = wx:wx_object()

Exports

new(Preview, Buttons, Parent) -> wxPreviewControlBar()

Types:

Preview = wxPrintPreview:wxPrintPreview()
Buttons = integer()
Parent = wxWindow:wxWindow()

new(Preview, Buttons, Parent, Options :: [Option]) ->
       wxPreviewControlBar()

Types:

Preview = wxPrintPreview:wxPrintPreview()
Buttons = integer()
Parent = wxWindow:wxWindow()
Option =

{pos, {X :: integer(), Y :: integer()}} |

{size, {W :: integer(), H :: integer()}} |

{style, integer()}

Constructor.

The buttons parameter may be a combination of the following, using the bitwise 'or' operator:

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

Destructor.

createButtons(This) -> ok

Types:

This = wxPreviewControlBar()

Creates buttons, according to value of the button style flags.

getPrintPreview(This) -> wxPrintPreview:wxPrintPreview()

Types:

This = wxPreviewControlBar()

Gets the print preview object associated with the control bar.

getZoomControl(This) -> integer()

Types:

This = wxPreviewControlBar()

Gets the current zoom setting in percent.

setZoomControl(This, Percent) -> ok

Types:

This = wxPreviewControlBar()
Percent = integer()

Sets the zoom control.

Releases

7 releases since Debian 6.0 (Squeeze); the text changed 6 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12

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