Help for this page

Select Code to Download


  1. or download this
        PropertyA triggers Event1(a), Event3(b)
        PropertyB # triggers no events
        PropertyC triggers Event3(c)
        ...
    
  2. or download this
        Property  Event
                  1 2 3 4 ...
    ...
           C          c
          ...
    
  3. or download this
        my $property_type_events = {
            Property::A => [ handler { Event::E1->new(@_) } 'a'
    ...
            Property::C => [ handler { Event::E3->new(@_) } 'c' ], 
            ...
        };
    
  4. or download this
        sub handler(&@) {
            my ($event_ctor, @args) = @_;
    ...
                return $event->trigger(@_);
            };
        }
    
  5. or download this
        sub handle_widget_insertion_events($) {
            my ($widget) = @_;
    ...
                }
            }
        }