| Home | Trees | Index | Help |
|---|
| Package ocempgui :: Package widgets :: Module Frame :: Class VFrame |
|
object--+ |INotifyable--+ |BaseObject--+ |object--+ | | |Sprite--+ |BaseWidget--+ |Container--+ |Frame--+ | VFrame
A Frame widget class, which place its children vertically.
The VFrame class places its attached children in a vertical manner and supports an alignment at the left or right of its edges. Top or bottom alignment settings will be ignored by it.
Default action (invoked by activate()): None
Mnemonic action (invoked by activate_mnemonic()): None| Method Summary | |
|---|---|
__init__(self,
widget)
| |
V.calculate_size () -> int, int. | |
V.dispose_widgets (...) -> None | |
V.draw () -> None | |
V.draw_bg () -> None | |
| Inherited from Frame | |
F.destroy () -> None | |
F.set_align (...) -> None | |
F.set_border (...) -> None | |
F.set_focus (focus=True) -> None | |
F.set_title_widget (...) -> None | |
| Inherited from Container | |
C.add_child (...) -> None | |
C.insert_child (...) -> None | |
C.remove_child (...) -> None | |
C.set_children (...) -> None | |
C.set_depth (...) -> None | |
C.set_event_manager (...) -> None | |
C.set_indexable (...) -> None | |
C.set_padding (...) -> None | |
C.set_sensitive (...) -> None | |
C.set_spacing (...) -> None | |
C.update (...) -> None | |
| Inherited from BaseWidget | |
W.activate () -> None | |
W.activate_mnemonic (...) -> bool | |
W.check_sizes (...) -> int, int | |
W.create_style () -> WidgetStyle | |
For debugging usage only | |
W.get_style () -> WidgetStyle | |
B.initclass () -> None (Class method) | |
W.lock () -> None | |
W.notify (...) -> None | |
W.rect_to_client (...) -> pygame.Rect | |
W.set_dirty (...) -> None | |
W.set_entered (...) -> None | |
W.set_event_area (...) -> None | |
W.set_index (...) -> None | |
W.set_maximum_size (...) -> None | |
W.set_minimum_size (...) -> None | |
W.set_opacity (...) -> None | |
W.set_position (...) -> None | |
W.set_size (...) -> None | |
W.set_state (...) -> None | |
W.set_style (...) -> None | |
W.set_tooltip (...) -> None | |
W.unlock () -> None | |
| Inherited from BaseObject | |
B.connect_signal (...) -> EventCallback | |
B.disconnect_signal (...) -> None | |
B.emit (...) -> bool | |
B.run_signal_handlers (...) -> None | |
| Inherited from Sprite | |
| |
add(group or list of of groups, ...) add a sprite to container | |
| |
alive() -> bool check to see if the sprite is in any groups | |
groups() -> list of groups list used sprite containers | |
kill() remove this sprite from all groups | |
remove(group or list of groups, ...) remove a sprite from container | |
| |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Property Summary | |
|---|---|
| Inherited from Frame | |
align: The alignment to use for the children. | |
border: The border style to set for the Frame. | |
widget: The title widget to set for the Frame. | |
| Inherited from Container | |
children: List of the children for the Container. | |
padding: The additional padding for the Container. | |
spacing: The spacing between the children. | |
| Inherited from BaseWidget | |
bottom | |
bottomleft | |
bottomright | |
center | |
centerx | |
centery | |
controls: Widgets associated with the widget. | |
depth: The z-axis layer depth of the widget. | |
dirty: Indicates, whether the widget need to be redrawn. | |
entered: Indicates, whether the widget is entered. | |
eventarea: The area, which gets the events. | |
focus: The focus of the widget. | |
h | |
height | |
image: The visible surface of the widget. | |
index: The tab index position of the widget. | |
indexable: The IIndexable, the widget is attached to. | |
left | |
locked: Indicates, whether the widget is locked. | |
maxsize: The maximum size to occupy by the widget. | |
midbottom | |
midleft | |
midright | |
midtop | |
minsize: The guaranteed size of the widget. | |
opacity: The opacity of the widget. | |
position: The position of the topleft corner. | |
rect: The area occupied by the widget. | |
right | |
sensitive: The sensitivity of the widget. | |
size | |
state: The current state of the widget. | |
style: The style of the widget. | |
tooltip: The tool tip text to display for the widget. | |
top | |
topleft | |
topright | |
w | |
width | |
x | |
y | |
| Inherited from BaseObject | |
manager: The event manager to use by the object. | |
| Instance Method Details |
|---|
calculate_size(self)V.calculate_size () -> int, int. Calculates the size needed by the children. Calculates the size needed by the children and returns the resulting width and height. |
dispose_widgets(self)V.dispose_widgets (...) -> None Moves the children of the VFrame to their correct positions. |
draw(self)V.draw () -> None Draws the VFrame surface and places its children on it.
|
draw_bg(self)V.draw_bg () -> None Draws the VFrame background surface and returns it. Creates the visible surface of the VFrame and returns it to the caller. |
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Thu Jan 10 10:18:43 2008 | http://epydoc.sf.net |