NAME

Rui::Widget::Factory - widget factory


SYNOPSIS

  $factory = Rui::Widget::Factory->new;
  $factory->createWidget(
     type   => 'Label',
     parent => $parent,
     value  => 'foo',
  );
  $factory->createWidget(
     type   => 'Rui__Widget__Label',
     parent => $parent,
     value  => 'foo',
  );
  $factory->createWidget(
     type   => 'Rui::Widget::Label',
     parent => $parent,
     value  => 'foo',
  );


DESCRIPTION

The widget factory does 2 things to ease the creation of widgets:

It should only be used from inside the framework.