wxAuiPaneInfo(3)

πŸ“¦
version 29.0.6 Β· 3 versions
, in ubuntu stonking

okay bestie, this is the manual page for wxAuiPaneInfo(3) β€” it's an Erlang module definition. part 1 of 2, so buckle up. πŸ’…βœ¨

✨ NAME ✨

wxAuiPaneInfo β€” so like, wxAuiPaneInfo is part of the wxAUI class framework. πŸ’–

πŸ’– DESCRIPTION πŸ’–

See also overview_aui. πŸ‘€

wxAuiPaneInfo specifies all the parameters for a pane. These parameters specify where the pane is on the screen, whether it is docked or floating, or hidden. In addition, these parameters specify the pane's docked position, floating position, preferred size, minimum size, caption text among many other parameters. it's giving very detailed, no cap. πŸ’…

See:

  • wxAuiManager
  • wxAuiDockArt

wxWidgets docs: wxAuiPaneInfo

🌸 DATA TYPES 🌸

wxAuiPaneInfo() :: wx:wx_object().

πŸ”₯ FUNCTIONS πŸ”₯

bestSize(This, Size) -> wxAuiPaneInfo()

bestSize(This, Size) -> wxAuiPaneInfo()
                  when
                      This :: wxAuiPaneInfo(),
                      Size :: {W :: integer(), H :: integer()}.

bestSize/3 sets the ideal size for the pane. The docking manager will attempt to use this size as much as possible when docking or floating the pane. 🎯

bestSize(This, X, Y) -> wxAuiPaneInfo()

bestSize(This, X, Y) -> wxAuiPaneInfo()
                  when
                      This :: wxAuiPaneInfo(),
                      X :: integer(),
                      Y :: integer().

no deets on this one, bestie. the manual is silent. πŸ™ˆ

bottom(This) -> wxAuiPaneInfo()

bottom(This) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo().

bottom/1 sets the pane dock position to the bottom side of the frame. This is the same thing as calling Direction(wxAUI_DOCK_BOTTOM). πŸ‘

bottomDockable(This, [Option]) -> wxAuiPaneInfo()

bottomDockable(This, [Option]) -> wxAuiPaneInfo()
                          when
                              This :: wxAuiPaneInfo(),
                              Option :: {b, boolean()}.

bottomDockable/2 indicates whether a pane can be docked at the bottom of the frame. πŸ‘‡

caption(This, C) -> wxAuiPaneInfo()

caption(This, C) -> wxAuiPaneInfo()
                 when This :: wxAuiPaneInfo(), C :: unicode:chardata().

caption/2 sets the caption of the pane. πŸ“

captionVisible(This, [Option]) -> wxAuiPaneInfo()

captionVisible(This, [Option]) -> wxAuiPaneInfo()
                          when
                              This :: wxAuiPaneInfo(),
                              Option :: {visible, boolean()}.

CaptionVisible indicates that a pane caption should be visible. If false, no pane caption is drawn. πŸ‘€

centre(This) -> wxAuiPaneInfo()

centre(This) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo().

Center() (not implemented in wx) sets the pane dock position to the left side of the frame. The centre pane is the space in the middle after all border panes (left, top, right, bottom) are subtracted from the layout. This is the same thing as calling Direction(wxAUI_DOCK_CENTRE). 🎯

centrePane(This) -> wxAuiPaneInfo()

centrePane(This) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo().

centrePane/1 specifies that the pane should adopt the default center pane settings. Centre panes usually do not have caption bars. This function provides an easy way of preparing a pane to be displayed in the center dock position. πŸ’…

closeButton(This, [Option]) -> wxAuiPaneInfo()

closeButton(This, [Option]) -> wxAuiPaneInfo()
                       when
                           This :: wxAuiPaneInfo(),
                           Option :: {visible, boolean()}.

closeButton/2 indicates that a close button should be drawn for the pane. ❌

defaultPane(This) -> wxAuiPaneInfo()

defaultPane(This) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo().

defaultPane/1 specifies that the pane should adopt the default pane settings. ✨

destroy(This :: wxAuiPaneInfo()) -> ok.

destroy(This :: wxAuiPaneInfo()) -> ok.

Destroys the object. πŸ’€

destroyOnClose(This, [Option]) -> wxAuiPaneInfo()

destroyOnClose(This, [Option]) -> wxAuiPaneInfo()
                          when
                              This :: wxAuiPaneInfo(),
                              Option :: {b, boolean()}.

destroyOnClose/2 indicates whether a pane should be destroyed when it is closed. Normally a pane is simply hidden when the close button is clicked. Setting DestroyOnClose to true will cause the window to be destroyed when the user clicks the pane's close button. πŸ’₯

direction(This, Direction) -> wxAuiPaneInfo()

direction(This, Direction) -> wxAuiPaneInfo()
                     when This :: wxAuiPaneInfo(), Direction :: integer().

direction/2 determines the direction of the docked pane. It is functionally the same as calling left/1, right/1, top/1 or bottom/1, except that docking direction may be specified programmatically via the parameter. 🧭

dock(This) -> wxAuiPaneInfo()

dock(This) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo().

dock/1 indicates that a pane should be docked. It is the opposite of float/1. βš“

dockable(This, [Option]) -> wxAuiPaneInfo()

dockable(This, [Option]) -> wxAuiPaneInfo()
                    when This :: wxAuiPaneInfo(), Option :: {b,
    boolean()}.

dockable/2 specifies whether a frame can be docked or not. It is the same as specifying TopDockable(b).BottomDockable(b).LeftDockable(b).RightDockable(b). πŸ“¦

fixed(This) -> wxAuiPaneInfo()

fixed(This) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo().

fixed/1 forces a pane to be fixed size so that it cannot be resized. After calling fixed/1, isFixed/1 will return true. πŸ”’

float(This) -> wxAuiPaneInfo()

float(This) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo().

float/1 indicates that a pane should be floated. It is the opposite of dock/1. 🎈

floatable(This, [Option]) -> wxAuiPaneInfo()

floatable(This, [Option]) -> wxAuiPaneInfo()
                     when
                         This :: wxAuiPaneInfo(), Option :: {b,
    boolean()}.

floatable/2 sets whether the user will be able to undock a pane and turn it into a floating window. πŸͺŸ

floatingPosition(This, Pos) -> wxAuiPaneInfo()

floatingPosition(This, Pos) -> wxAuiPaneInfo()
                            when
                                This :: wxAuiPaneInfo(),
                                Pos :: {X :: integer(), Y :: integer()}.

floatingPosition/3 sets the position of the floating pane. πŸ“

floatingPosition(This, X, Y) -> wxAuiPaneInfo()

floatingPosition(This, X, Y) -> wxAuiPaneInfo()
                            when
                                This :: wxAuiPaneInfo(),
                                X :: integer(),
                                Y :: integer().

no description, just vibes. 🌈

floatingSize(This, Size) -> wxAuiPaneInfo()

floatingSize(This, Size) -> wxAuiPaneInfo()
                        when
                            This :: wxAuiPaneInfo(),
                            Size :: {W :: integer(), H :: integer()}.

floatingSize/3 sets the size of the floating pane. πŸ“

floatingSize(This, X, Y) -> wxAuiPaneInfo()

floatingSize(This, X, Y) -> wxAuiPaneInfo()
                        when
                            This :: wxAuiPaneInfo(),
                            X :: integer(),
                            Y :: integer().

silent again, bestie. 😭

getDirection(This) -> integer()

getDirection(This) -> integer() when This :: wxAuiPaneInfo().

getFloatingPosition(This) -> {X :: integer(), Y :: integer()}

getFloatingPosition(This) -> {X :: integer(), Y :: integer()}
                            when This :: wxAuiPaneInfo().

getFloatingSize(This) -> {W :: integer(), H :: integer()}

getFloatingSize(This) -> {W :: integer(), H :: integer()}
                        when This :: wxAuiPaneInfo().

getFrame(This) -> wxFrame:wxFrame()

getFrame(This) -> wxFrame:wxFrame() when This :: wxAuiPaneInfo().

getLayer(This) -> integer()

getLayer(This) -> integer() when This :: wxAuiPaneInfo().

getPosition(This) -> integer()

getPosition(This) -> integer() when This :: wxAuiPaneInfo().

getRow(This) -> integer()

getRow(This) -> integer() when This :: wxAuiPaneInfo().

getWindow(This) -> wxWindow:wxWindow()

getWindow(This) -> wxWindow:wxWindow()
                  when This :: wxAuiPaneInfo().

gripper(This, [Option]) -> wxAuiPaneInfo()

gripper(This, [Option]) -> wxAuiPaneInfo()
                   when
                       This :: wxAuiPaneInfo(),
                       Option :: {visible, boolean()}.

gripper/2 indicates that a gripper should be drawn for the pane. πŸŽ€

gripperTop(This, [Option]) -> wxAuiPaneInfo()

gripperTop(This, [Option]) -> wxAuiPaneInfo()
                      when
                          This :: wxAuiPaneInfo(),
                          Option :: {attop, boolean()}.

gripperTop/2 indicates that a gripper should be drawn at the top of the pane. πŸ”

hasBorder(This) -> boolean()

hasBorder(This) -> boolean() when This :: wxAuiPaneInfo().

hasBorder/1 returns true if the pane displays a border. πŸ–ΌοΈ

hasCaption(This) -> boolean()

hasCaption(This) -> boolean() when This :: wxAuiPaneInfo().

hasCaption/1 returns true if the pane displays a caption. 🏷️

hasCloseButton(This) -> boolean()

hasCloseButton(This) -> boolean() when This :: wxAuiPaneInfo().

hasCloseButton/1 returns true if the pane displays a button to close the pane. ❌

hasFlag(This, Flag) -> boolean()

hasFlag(This, Flag) -> boolean()
                when This :: wxAuiPaneInfo(), Flag :: integer().

hasFlag/2 returns true if the property specified by flag is active for the pane. 🚩

hasGripper(This) -> boolean()

hasGripper(This) -> boolean() when This :: wxAuiPaneInfo().

hasGripper/1 returns true if the pane displays a gripper. πŸŽ€

hasGripperTop(This) -> boolean()

hasGripperTop(This) -> boolean() when This :: wxAuiPaneInfo().

hasGripper/1 returns true if the pane displays a gripper at the top. (yes, it says hasGripper/1 β€” we're just the messenger. 😭)

hasMaximizeButton(This) -> boolean()

hasMaximizeButton(This) -> boolean() when This :: wxAuiPaneInfo().

hasMaximizeButton/1 returns true if the pane displays a button to maximize the pane. πŸ”Ό

hasMinimizeButton(This) -> boolean()

hasMinimizeButton(This) -> boolean() when This :: wxAuiPaneInfo().

hasMinimizeButton/1 returns true if the pane displays a button to minimize the pane. πŸ”½

hasPinButton(This) -> boolean()

hasPinButton(This) -> boolean() when This :: wxAuiPaneInfo().

hasPinButton/1 returns true if the pane displays a button to float the pane. πŸ“Œ

hide(This) -> wxAuiPaneInfo()

hide(This) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo().

hide/1 indicates that a pane should be hidden. πŸ™ˆ

isBottomDockable(This) -> boolean()

isBottomDockable(This) -> boolean() when This :: wxAuiPaneInfo().

isBottomDockable/1 returns true if the pane can be docked at the bottom of the managed frame. πŸ‘‡

isDocked(This) -> boolean()

isDocked(This) -> boolean() when This :: wxAuiPaneInfo().

isDocked/1 returns true if the pane is currently docked. βš“

isFixed(This) -> boolean()

isFixed(This) -> boolean() when This :: wxAuiPaneInfo().

isFixed/1 returns true if the pane cannot be resized. πŸ”’

isFloatable(This) -> boolean()

isFloatable(This) -> boolean() when This :: wxAuiPaneInfo().

isFloatable/1 returns true if the pane can be undocked and displayed as a floating window. πŸͺŸ

isFloating(This) -> boolean()

isFloating(This) -> boolean() when This :: wxAuiPaneInfo().

isFloating/1 returns true if the pane is floating. 🎈

isLeftDockable(This) -> boolean()

isLeftDockable(This) -> boolean() when This :: wxAuiPaneInfo().

isLeftDockable/1 returns true if the pane can be docked on the left of the managed frame. πŸ‘ˆ

isMovable(This) -> boolean()

isMovable(This) -> boolean() when This :: wxAuiPaneInfo().

IsMoveable() returns true if the docked frame can be undocked or moved to another dock position. (capital I, extra e, we don't make the rules. πŸ’…)

isOk(This) -> boolean()

isOk(This) -> boolean() when This :: wxAuiPaneInfo().

isOk/1 returns true if the wxAuiPaneInfo structure is valid. A pane structure is valid if it has an associated window. βœ…

isResizable(This) -> boolean()

isResizable(This) -> boolean() when This :: wxAuiPaneInfo().

isResizable/1 returns true if the pane can be resized. ↔️

isRightDockable(This) -> boolean()

isRightDockable(This) -> boolean() when This :: wxAuiPaneInfo().

isRightDockable/1 returns true if the pane can be docked on the right of the managed frame. πŸ‘‰

isShown(This) -> boolean()

isShown(This) -> boolean() when This :: wxAuiPaneInfo().

isShown/1 returns true if the pane is currently shown. πŸ‘€

isToolbar(This) -> boolean()

isToolbar(This) -> boolean() when This :: wxAuiPaneInfo().

and that's where part 1 leaves us, bestie. more coming in part 2, so don't go anywhere. πŸ’–

  • isToolbar/1 β€” returns true if the pane contains a toolbar. πŸ› οΈβœ¨
  • isTopDockable/1 β€” isTopDockable(This) -> boolean() when This :: wxAuiPaneInfo(). β€” Returns true if the pane can be docked at the top of the managed frame. πŸ’…
  • layer/2 β€” layer(This, Layer) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(), Layer :: integer(). β€” Determines the layer of the docked pane. πŸ§…

The dock layer is like an onion, bestie β€” the inner-most layer is layer 0. Each shell moving outward has a higher layer number. This allows for more complex docking layout formation. 🌈✨

  • left/1 β€” left(This) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(). β€” Sets the pane dock position to the left side of the frame. πŸ‘ˆ

This is the same thing as calling Direction(wxAUI_DOCK_LEFT). πŸ’–

  • leftDockable/2 β€” leftDockable(This, [Option]) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(), Option :: {b, boolean()}. β€” Indicates whether a pane can be docked on the left of the frame. πŸ‘ˆπŸ”’
  • maxSize/3 β€” maxSize(This, Size) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(), Size :: {W :: integer(), H :: integer()}. and maxSize(This, X, Y) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(), X :: integer(), Y :: integer(). β€” Sets the maximum size of the pane. πŸ“πŸ’–
  • maximizeButton/2 β€” maximizeButton(This, [Option]) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(), Option :: {visible, boolean()}. β€” Indicates that a maximize button should be drawn for the pane. πŸ”²βœ¨
  • minSize/3 β€” minSize(This, Size) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(), Size :: {W :: integer(), H :: integer()}. and minSize(This, X, Y) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(), X :: integer(), Y :: integer(). β€” Sets the minimum size of the pane. πŸ“πŸ’•
Please note that this is only partially supported as of this writing. 😬
  • minimizeButton/2 β€” minimizeButton(This, [Option]) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(), Option :: {visible, boolean()}. β€” Indicates that a minimize button should be drawn for the pane. πŸ”½βœ¨
  • movable/2 β€” movable(This, [Option]) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(), Option :: {b, boolean()}. β€” Movable indicates whether a frame can be moved. πŸššπŸ’¨
  • name/2 β€” name(This, N) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(), N :: unicode:chardata(). β€” Sets the name of the pane so it can be referenced in lookup functions. πŸ“›βœ¨

If a name is not specified by the user, a random name is assigned to the pane when it is added to the manager. 🎲

  • new/0 β€” new() -> wxAuiPaneInfo().
  • new/1 β€” new(C) -> wxAuiPaneInfo() when C :: wxAuiPaneInfo(). β€” Copy constructor. πŸ“‹πŸ’–
  • paneBorder/2 β€” paneBorder(This, [Option]) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(), Option :: {visible, boolean()}. β€” PaneBorder indicates that a border should be drawn for the pane. πŸ–ΌοΈβœ¨
  • pinButton/2 β€” pinButton(This, [Option]) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(), Option :: {visible, boolean()}. β€” Indicates that a pin button should be drawn for the pane. πŸ“Œβœ¨
  • position/2 β€” position(This, Pos) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(), Pos :: integer(). β€” Determines the position of the docked pane. πŸ“πŸ’–
  • resizable/2 β€” resizable(This, [Option]) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(), Option :: {resizable, boolean()}. β€” Allows a pane to be resized if the parameter is true, and forces it to be a fixed size if the parameter is false. β†”οΈβœ¨

This is simply an antonym for fixed/1. πŸ’…

  • right/1 β€” right(This) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(). β€” Sets the pane dock position to the right side of the frame. πŸ‘‰

This is the same thing as calling Direction(wxAUI_DOCK_RIGHT). πŸ’–

  • rightDockable/2 β€” rightDockable(This, [Option]) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(), Option :: {b, boolean()}. β€” Indicates whether a pane can be docked on the right of the frame. πŸ‘‰πŸ”’
  • row/2 β€” row(This, Row) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(), Row :: integer(). β€” Determines the row of the docked pane. πŸ“βœ¨
  • safeSet/2 β€” safeSet(This, Source) -> ok when This :: wxAuiPaneInfo(), Source :: wxAuiPaneInfo(). β€” Write the safe parts of a PaneInfo object "source" into "this". πŸ“βœ¨

"Safe parts" are all non-UI elements (e.g. all layout determining parameters like the size, position etc.). "Unsafe parts" (pointers to button, frame and window) are not modified by this write operation. πŸš«πŸ–±οΈ

Remark: This method is used when loading perspectives. πŸ‘€
  • setFlag/3 β€” setFlag(This, Flag, Option_state) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(), Flag :: integer(), Option_state :: boolean(). β€” Turns the property given by flag on or off with the option_state parameter. 🚩✨
  • show/2 β€” show(This, [Option]) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(), Option :: {show, boolean()}. β€” Indicates that a pane should be shown. πŸ‘€βœ¨
  • toolbarPane/1 β€” toolbarPane(This) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(). β€” Specifies that the pane should adopt the default toolbar pane settings. πŸ› οΈβœ¨
  • top/1 β€” top(This) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(). β€” Sets the pane dock position to the top of the frame. πŸ‘†

This is the same thing as calling Direction(wxAUI_DOCK_TOP). πŸ’–

  • topDockable/2 β€” topDockable(This, [Option]) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(), Option :: {b, boolean()}. β€” Indicates whether a pane can be docked at the top of the frame. πŸ‘†πŸ”’
  • window/2 β€” window(This, W) -> wxAuiPaneInfo() when This :: wxAuiPaneInfo(), W :: wxWindow:wxWindow(). β€” Assigns the window pointer that the wxAuiPaneInfo should use. πŸͺŸβœ¨

This normally does not need to be specified, as the window pointer is automatically assigned to the wxAuiPaneInfo structure as soon as it is added to the manager. πŸ€–


That's a wrap, bestie! This manual page was brought to you by Ericsson AB, wx 2.6, and the iconic wxAuiPaneInfo(3). Stay slaying! πŸ’…βœ¨
πŸ“¦ where this page comes from