Perl-Sensitive Sunglasses | |
PerlMonks |
Re: wxGridTable how is the grid filled inby Anonymous Monk |
on May 19, 2014 at 01:21 UTC ( [id://1086576]=note: print w/replies, xml ) | Need Help?? |
I don't understand where the cells in de grid are filled in in this example Can you identify the gridtable object? They're all filled by the subclass package MyGridTable; This part What this means, is when $grid (a wxGrid) decides it needs to show the Nth-col/Nth-row item, it calls $table->GetValue(x,y) , and sub MyGridTable::GetValue returns what is going to be filled ... this is why its virtual Actually first it calls MyGridTable::CanGetValueAs() to decide whether to call MyGridTable::GetValueAsBool() for the checkboxes/checkbuttons, or MyGridTable::GetValueAsDouble() ... For the conceptual model see
You should already have a copy of the wxwidgets manual ... because currently the online version of the docs is down :) I would like to use this module but somehow i need to start with a empty grid and understand what is going on. I googled around but i did not find any explenation how it works. The docs tie it together :) I like Wx :) Re: wxPerl: is BitmapFromImage implemented? (no;sleep;docs), my wxWidgets / wxPerl / wxGlade tutorial, http://www.wxperl.it/p/wxperl-primer.html , wxperl_usage / wxperl-usage / wxPerl::Usage / Class Method Browser , available methods, method invocation syntax, link to docs, Re^8: How to use wxHtmlEasyPrinting (On debugging, verify everything, talk to teddybear ... and links and links , Tutorials: Perl documentation documentation, Searching Perl Documentation you don't need to build wx yourself, http://www.citrusperl.com/, http://ppm.wxperl.it/
In Section
Seekers of Perl Wisdom
|
|