Table of Contents

Class: Visage | Twisted-0.17.4/twisted/manhole/ui/spelunk_gnome.py
--- | ---

### A "face" of an object under exploration.

A Visage is a representation of an object presented to the user. The "face" in "interface".

`propertyLabels` and `groupLabels` are lists of (key, name) 2-ples, with `key` being the string the property or group is denoted by in the code, and `name` being the pretty human-readable string you want me to show on the Visage. These attributes are accumulated from base classes as well.

I am a gnome.CanvasItem (more specifically, CanvasGroup).

Base Classes |
--- | ---
gnome.CanvasGroup

Methods |
--- | ---
__init__ _setup_table fill_attributeGroup fill_properties fill_property signal_destroy signal_event signal_size_allocate
| __init__

    __init__ (
            self,
            explorer,
            rootGroup,
            canvas,
            )

### Place a new Visage of an explorer in a canvas group.

I also need a `canvas` reference is for certain coordinate conversions, and pygnome doesn't give access to my GtkObject's .canvas attribute. :(

| _setup_table

    _setup_table ( self )

### Called by __init__ to set up my main table.

You can easily override me instead of clobbering __init__.

| fill_attributeGroup

    fill_attributeGroup (
            self,
            group,
            attributes,
            )

### Provide members of an attribute group.

`group` should be one of the keys in my groupLabels, and `attributes` a list of (name, value) pairs, with each value as either an Explorer or string.

| fill_properties

    fill_properties ( self,  propValues )

### Fill in values for my properites.

Takes a list of (name, value) pairs. `name` should be one of the keys in my propertyLabels, and `value` either an Explorer or a string.

| fill_property

    fill_property (
            self,
            property,
            value,
            )

### Set a value for a particular property.

`property` should be one of the keys in my propertyLabels.

| signal_destroy

    signal_destroy (
            self,
            unused_object,
            unused_data,
            )

| signal_event

    signal_event (
            self,
            widget,
            event=None,
            )

| signal_size_allocate

    signal_size_allocate (
            self,
            frame_widget,
            unusable_allocation,
            unused_data,
            )

Table of Contents

This document was automatically generated on Sat Apr 20 01:30:57 2002 by HappyDoc version 2.0