Window

A window for Freevo popups. This class will only draw the background and border and has some basic functions to get skin informations and show hide methods. When a window is shown, it will get the focus to the eventhandler that needs to be defined by inherting classes. Not setting x, y, width and height will result in centering the window with a default size.

Usage: Window(pos=(None, None), size=(None, None))

Inherited from

Methods

ConfirmBox

A box with two buttons: Yes and No. It can have additional handles what function should be called if Yes is selected. INPUT_EXIT will be close the box like pressing No.

Usage: ConfirmBox(WaitBox)

Inherited from

Methods

WaitBox

A box with only a label and the user has no options to close it. This box should be used when Freevo is doing some background action and the user has to wait.

Usage: WaitBox(obj)

Inherited from

Methods

needed and also respect spacing. Return the y position for the new object. This function can only be used to add _one_ row below the label

Attributes

InputBox

Simple input box

Usage: InputBox(text, handler=None, type='text', start_value=None, num_boxes=16, increment=1, min_int=-1, max_int=-1)

Inherited from

Methods

Private

MessageBox

A box with a label and an OK button to close it.

Usage: MessageBox(obj)

Inherited from

ProgressBox

A box showing a progress bar. There is no wait for the user to close the box, this has to be done from the outside.

Inherited from

Usage: ProgressBox(text, full=0)

Methods

SourceDoc/GUI/Window (last edited 2008-03-21 15:22:42 by localhost)