ListBook



  1. Listingbook Search
  2. Listingbook Real Estate
  3. List Books
  • ListBook, a new iPhone app from the developers of MoneyBook, wants to be the simplest solution to create lists on an iPhone, and check off completed items with ease.The App Store is full of apps that enable you to create lists: just think about Simplenote, the popular note-taking application for iPhone and iPad (and the web) that, among other things, also allows you to convert notes to lists.
  • Important info for everyone with Yahoo email.

LISTINGBOOK - Introduce your home to the RIGHT BUYER to help it sell faster! Reach a targeted audience - Market your house to real buyers searching for a home like yours Price it right - Know your house's area competition to price your house to sell. Property Notes: Remarks: Lake Front Luxury Condo. Rare opportunity!! Only 6 units in the complex. Gated Community with fitness center, pool & tennis. Elevators to all floors with an over sized 2 car tandem garage.

wx.Listbook is a class similar to wx.Notebook but which uses a wx.ListCtrl to show the labels instead of the tabs.

The underlying wx.ListCtrl displays page labels in a one-column report view by default. Calling BookCtrl.SetImageList will implicitly switch the control to use an icon view.

For usage documentation of this class, please refer to the base abstract class BookCtrl. You can also use the Notebook Sample to see wx.Listbook in action.

Window Styles¶

This class supports the following styles:

  • wx.LB_DEFAULT: Choose the default location for the labels depending on the current platform (left everywhere except Mac where it is top).

  • wx.LB_TOP: Place labels above the page area.

  • wx.LB_LEFT: Place labels on the left side.

  • wx.LB_RIGHT: Place labels on the right side.

  • wx.LB_BOTTOM: Place labels below the page area.

Events Emitted by this Class¶

Handlers bound for the following event types will receive a wx.BookCtrlEvent parameter.

  • EVT_LISTBOOK_PAGE_CHANGED: The page selection was changed. Processes a wxEVT_LISTBOOK_PAGE_CHANGED event.

  • EVT_LISTBOOK_PAGE_CHANGING: The page selection is about to be changed. Processes a wxEVT_LISTBOOK_PAGE_CHANGING event. This event can be vetoed.

See also

wx.BookCtrl , wx.Notebook, Notebook Sample

Class Hierarchy¶

Control Appearance¶

wxMSW

wxGTK

Methods Summary¶

Default constructor.

Create the list book control that has already been constructed with the default constructor.

Returns the wx.ListView associated with the control.

Properties Summary¶

See GetListView

Class API¶

class wx.Listbook(BookCtrlBase)

Possible constructors:

Listbook is a class similar to Notebook but which uses a ListCtrl to show the labels instead of the tabs.


Methods¶

__init__(self, *args, **kw)

Overloaded Implementations:


__init__(self)

Default constructor.


__init__(self, parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, style=0, name=””)

Constructs a listbook control.

Parameters
  • parent (wx.Window) –

  • id (wx.WindowID) –

  • pos (wx.Point) –

  • size (wx.Size) –

  • style (long) –

  • name (string) –



Create(self, parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, style=0, name=')

Create the list book control that has already been constructed with the default constructor.

List book genres
Parameters
  • parent (wx.Window) –

  • id (wx.WindowID) –

  • pos (wx.Point) –

  • size (wx.Size) –

  • style (long) –

  • name (string) –

Return type

bool


static GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL)
Parameters

variant (WindowVariant) –

Return type

GetListView(self, *args, **kw)

Overloaded Implementations:


GetListView(self)

Returns the wx.ListView associated with the control.

Return type

GetListView(self)

Returns the list control used for selecting pages.

Return type


Listingbook Real Estate

Properties¶

ListView

List Books

See GetListView

wx.Listbook

The Listbook control uses a ListCtrl to instead of tabs to control the notebook. In this case, you can actually use labeled pictures to change tabs. It’s kind of weird, but I think it’s kind of cool too. As with the Choicebook, this control inherits from the BookCtrlBase and has the same methods. The primary differences seem to lie with the Listbook’s appearance and in its unique set of events. Let’s take a quick peek at my demo to see how to create one!

The Listbook’s “tab” controls can be set run along any of the sides, just like the wx.Notebook. You can also attach images with the same methods we used in the Notebook example at the beginning. I shortened the code up a bit by putting the panels in a list and looping over it, but other than that, there’s not much more to write about concerning this widget.

All code was tested on the following:

  • Windows XP, wxPython 2.8.10.1 (unicode), Python 2.5
  • Windows Vista, wxPython 2.8.10.1 (unicode), Python 2.5

For Further Information

  • Official wx.Listbook Documentation

  • Official wxPython Demo

Note: The tutorial on this page is a modified version of the tutorial on my blog