### Navigation

- index
- modules |
- next |
- previous |
- GTK MVC 1.99.1 documentation »

# Observable Properties

## Observing your own classes

Properties whose value doesn’t change.

class `gtkmvc.observable.``Observable`

  Bases: `gtkmvc.support.wrappers.ObsWrapperBase`

  classmethod `observed`(f)

    Decorate methods to be observable. If they are called on an instance stored in a property, the model will emit before and after notifications.

`gtkmvc.observable.``observed`(f)

  Just like `Observable.observed()`.

  Deprecated since version 1.99.1.

## Signals

class `gtkmvc.observable.``Signal`

  Bases: `gtkmvc.observable.Observable`

  Base class for signals properties

  `emit`(arg=None)

    Emits the signal, passing the optional argument

## Wrapping values

### Properties whose value doesn’t change

class `gtkmvc.support.wrappers.``ObsWrapperBase`

  Bases: `object`

  This class is a base class wrapper for user-defined classes and containers like lists, maps, signals, etc.

class `gtkmvc.support.wrappers.``ObsWrapper`(obj, method_names)

  Bases: `gtkmvc.support.wrappers.ObsWrapperBase`

  Base class for wrappers, like user-classes and sequences.

class `gtkmvc.support.wrappers.``ObsUserClassWrapper`(user_class_instance, obs_method_names)

  Bases: `gtkmvc.support.wrappers.ObsWrapper`

### Mutable properties

class `gtkmvc.support.wrappers.``ObsSeqWrapper`(obj, method_names)

class `gtkmvc.support.wrappers.``ObsMapWrapper`(m)

class `gtkmvc.support.wrappers.``ObsListWrapper`(l)

### Navigation

- index
- modules |
- next |
- previous |
- GTK MVC 1.99.1 documentation »