Prima::Lists

Prima::Lists is a Perl module for user-selectable item list widgets.
Download

Prima::Lists Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Dmitry Karasik
  • Publisher web site:
  • http://search.cpan.org/~karasik/Prima-1.26/pod/Prima/Widget.pod

Prima::Lists Tags


Prima::Lists Description

Prima::Lists is a Perl module for user-selectable item list widgets. Prima::Lists is a Perl module for user-selectable item list widgets.The module provides classes for several abstraction layers of item representation. The hierarchy of classes is as follows: AbstractListViewer AbstractListBox ListViewer ProtectedListBox ListBoxThe root class, Prima::AbstractListViewer, provides common interface, while by itself it is not directly usable. The main differences between classes are centered around the way the item list is stored. The simplest organization of a text-only item list, provided by Prima::ListBox, stores an array of text scalars in a widget.More elaborated storage and representation types are not realized, and the programmer is urged to use the more abstract classes to derive own mechanisms. For example, for a list of items that contain text strings and icons see "Prima::DirectoryListBox" in Prima::FileDialog.To organize an item storage, different from Prima::ListBox, it is usually enough to overload either the Stringify, MeasureItem, and DrawItem events, or their method counterparts: get_item_text, get_item_width, and draw_items. Requirements: · Perl


Prima::Lists Related Software