GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Table of Contents
  • wx.RearrangeCtrl
  • Show Source
  • index
  • modules
  • next
  • previous
  • Home
  • Gallery
  • wx

This view

  • Original page
  • New address

GeezerVison is showing docs.wxpython.org — wx.RearrangeCtrl — wxPython 4.3.2 Docs

phoenix_title wx.RearrangeCtrl¶

A composite control containing a wx.RearrangeList and the buttons allowing to move the items in it.

This control is in fact a panel containing the wx.RearrangeList control and the “Up” and “Down” buttons to move the currently selected item up or down. It is used as the main part of a wx.RearrangeDialog.

Added in version 2.9.0.


class_hierarchy Class Hierarchy¶

Inheritance diagram for class RearrangeCtrl:

Inheritance diagram of RearrangeCtrl


method_summary Methods Summary¶

__init__

Default constructor.

Create

Effectively creates the window for an object created using the default constructor.

GetClassDefaultAttributes

GetList

Return the listbox which is the main part of this control.


property_summary Properties Summary¶

List

See GetList


api Class API¶

class wx.RearrangeCtrl(Panel)¶

Possible constructors:

RearrangeCtrl() -> None

RearrangeCtrl(parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize,
              order=[], items=[], style=0, validator=DefaultValidator,
              name=RearrangeListNameStr) -> None

A composite control containing a RearrangeList and the buttons allowing to move the items in it.


Methods¶

__init__(self, *args, **kw)¶

overload Overloaded Implementations:



__init__ (self)

Default constructor.

Create must be called later to effectively create the control.

Return type:

None



__init__ (self, parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, order=[], items=[], style=0, validator=DefaultValidator, name=RearrangeListNameStr)

Constructor really creating the control.

Please see Create for the parameters description.

Parameters:
  • parent (wx.Window)

  • id (wx.WindowID)

  • pos (wx.Point)

  • size (wx.Size)

  • order (list of integers)

  • items (list of strings)

  • style (long)

  • validator (wx.Validator)

  • name (string)

Return type:

None





Create(self, parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, order=[], items=[], style=0, validator=DefaultValidator, name=RearrangeListNameStr)¶

Effectively creates the window for an object created using the default constructor.

The parameters of this method are the same as for wx.RearrangeList.Create .

Parameters:
  • parent (wx.Window)

  • id (wx.WindowID)

  • pos (wx.Point)

  • size (wx.Size)

  • order (list of integers)

  • items (list of strings)

  • style (long)

  • validator (wx.Validator)

  • name (string)

Return type:

bool



static GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL)¶
Parameters:

variant (WindowVariant)

Return type:

wx.VisualAttributes



GetList(self)¶

Return the listbox which is the main part of this control.

Return type:

wx.RearrangeList


Properties¶

List¶

See GetList

© Copyright 2012-2026, The wxPython Team. Created using Sphinx 9.1.0 and the python-docs-theme.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.