if so, how do i do it - at a guess, Gtk2::SimpleList->add_column_type would be used, but the documentation is fairly minimal and i can't figure it out.
back-story: i'm writing a very quick and dirty POS system using perl, gtk2, and postgres to replace a completely bletcherous ancient DOS + COBOL program that came on the windows box when we bought our bookshop. i want to get rid of the windows box and replace it with a linux box. more importantly, i want access to our sales data so i can write whatever queries we need.
all the POS system needs to do is allow the user to enter sales items, calculate totals, print receipts, and store the transaction in postgres. the reports will be completely separate, and probably web-based.
so, i've figured out how to do menus, and SimpleLists to display the items. now i want the user to be able to override the RRP with either a fixed-price or a percentage discount for each item. that requires a "discount field" and a discount type field (popup menu: "None", "Fixed", "Percentage").
In reply to popup menu in Gtk2::SimpleList by cas2006
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |