Gtk2::Ex::TreeMaker - 0.04 is now available !



The version 0.04 can be downloaded from
http://sourceforge.net/project/showfiles.php?group_id=121463&package_id=142803

INTRODUCTION:
Gtk2::Ex::TreeMaker is my humble attempt to create a generic high-level widget using the
Gtk2::TreeView. This widget was written with typical business applications in mind.

Typically in business applications, users like to view data in a spreadsheet kind of display.
(Columns represent timeline(typically) and rows represent measures like
sales/inventory/blah/blah). But, the data itself may be stored internally as relational records.

This widget will accept a relational feed of records and automatically convert it into a
hierarchical treeview using the Gtk2::TreeView. The process involves invoking some recursive
functions to build a TreeModel and populate it. Also, since the spreadsheet itself can be rather
long horizontally, the widget also has a I<FreezePane> capability.

For example, here is some sales info (stored internally in a relational database)
   -------------------------------------
   Region, City, Product, Date, Quantity
   -------------------------------------
   Texas, Dallas, Fruits, Dec-2003, 300
   Texas, Dallas, Veggies, Jan-2004, 120
   Texas, Austin, Fruits, Nov-2003, 310
   Texas, Austin, Veggies, Feb-2004, 20
   -------------------------------------

This widget can present the same data in a hierarchical(/spreadsheet) kinda display as shown
below.
   ------------------------------------------------------
   Prod / Date   Nov-2003  Dec-2003  Jan-2004  Feb-2004 
   ------------------------------------------------------
   Texas
      Dallas
        Fruits                  300             
        Veggies                           120 
      Austin
        Fruits        310
        Veggies                                     20
   ------------------------------------------------------
   
CHANGES:
 - This is the first serious release.
 - Resolved packaging issues. (META.yml, MANIFEST)
 - Now you can specify attributes to each record. Such as editable, underline etc. (Check out the
examples folder)
 
TODO:
 - Build the tree using a custom implementation of Gtk2::TreeStore (perhaps!)

Any feedback will be wonderful :)

Thanks,

_Ofey.


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]