Re: ENUM syntax



On ons, 2002-12-11 at 17:16, red criticalintegration com wrote:
On a side note - note that for "flags" you can :

$table2->attach($window, 0, 1, 0, 1, ['fill', 'expand'], 'shrink', 1, 1);

E.g. when a flags param has only one element, the scalar notation
is allowed.

Yuck!  Sorry, but eeughh. :-)

Do I *have* to document that? :-)

and code excerpts.. that's why I didn't allow the '-something'
notation when I coded the enums/flags stuff.

You hate '-' notation, I like consistant data-types being passed
to objects.

You'll just love what I did to Gtk2::TreeModel::get() then :-)

It takes either a TreePath or a TreeIter to pick out the row (and soon a
RowReference too - when I get a test script written) 

./borup




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