Hi Laurie. I dare say you&#39;re right: it&#39;s just a display and the manipulation is done by pixies.  After all, GUI is just an interface. <br>But for the moment let&#39;s treat it like a black box and not worry about how the internal machinations take place.  I&#39;m curious about whether the use of GUI data structures is a good programming practice.<br>

<br><div class="gmail_quote">On 29 November 2010 10:50, Laurie Savage <span dir="ltr">&lt;<a href="mailto:savage.john.l@edumail.vic.gov.au">savage.john.l@edumail.vic.gov.au</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">










<div link="blue" vlink="purple" lang="EN-AU">

<div>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Serious question: Is a GUI
widget a data structure or a tool for displaying a data structure?</span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Laurie</span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">PVGC</span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>

<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;">

<p class="MsoNormal"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> <a href="mailto:sofdev-bounces@edulists.com.au" target="_blank">sofdev-bounces@edulists.com.au</a>
[mailto:<a href="mailto:sofdev-bounces@edulists.com.au" target="_blank">sofdev-bounces@edulists.com.au</a>] <b>On Behalf Of </b>Mark KELLY<br>
<b>Sent:</b> Monday, 29 November 2010 10:39 AM<br>
<b>To:</b> Year 12 Software Development Teachers&#39; Mailing List<br>
<b>Subject:</b> [Year 12 SofDev] A matter of style - GUI data structures vs
primitives</span></p>

</div><div><div></div><div class="h5">

<p class="MsoNormal"> </p>

<p class="MsoNormal" style="margin-bottom: 12pt;">Hi all.  Just had an odd
passing thought while working on a programming skills theory slideshow. 
(Don&#39;t you hate it when you actually start <b>thinking</b> while getting work
done?)<br>
<br>
Most programming languages now offer GUI data structures like listboxes, grids
etc.  <br>
I&#39;m interested to know how many people use them as their primary data
structures as opposed to using arrays to store and manipulate data and then
populating the GUI structure with data from the array.<br>
<br>
I tend to use the latter method for intensive manipulation needs, and the
former for simple storage &amp; display.<br>
<br>
What sort of performance penalty does the use of the GUI data structure impose?
Do the GUI structure&#39;s capabilities (e.g. auto-sorting lists) outweigh the
penalty?<br>
How efficient is the GUI&#39;s inbuilt sorting algorithm compared to a good
do-it-yourself sorting algorithm?  (I tend to think the built-in one will
beat mine any day.)<br clear="all">
<br>
-- <br>
Mark Kelly<br>
Manager Information Systems<br>
Reporting Manager<br>
IT Learning Area Manager<br>
<br>
McKinnon Secondary College<br>
McKinnon Rd McKinnon 3204<br>
Victoria, Australia<br>
Direct line / Voicemail: +613 8520 9085<br>
Fax +613 9578 9253<br>
<a href="mailto:kel@mckinnonsc.vic.edu.au" target="_blank">kel@mckinnonsc.vic.edu.au</a><br>
<br>
VCE IT Lecture Notes: <a href="http://vceit.com" target="_blank">http://vceit.com</a><br>
Moderator: IT Applications Edulist<br>
My cow died on this day two years ago.  I know because I noted it in my
dairy.<br>
<br>
</p>

</div></div></div>

<p></p><p><b>Important - </b>This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Early Childhood Development.</p>


</div>


<br>_______________________________________________<br>
<a href="http://www.edulists.com.au" target="_blank">http://www.edulists.com.au</a> - FAQ, Subscribe, Unsubscribe<br>
IT Software Development Mailing List kindly supported by<br>
<a href="http://www.vcaa.vic.edu.au" target="_blank">http://www.vcaa.vic.edu.au</a> - Victorian Curriculum and Assessment Authority and<br>
<a href="http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html" target="_blank">http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html</a><br>
<a href="http://www.vitta.org.au" target="_blank">http://www.vitta.org.au</a>  - VITTA Victorian Information Technology Teachers Association Inc<br></blockquote></div><br><br clear="all"><br>-- <br>Mark Kelly<br>Manager Information Systems<br>

Reporting Manager<br>IT Learning Area Manager<br><br>McKinnon Secondary College<br>McKinnon Rd McKinnon 3204<br>Victoria, Australia<br>Direct line / Voicemail: +613 8520 9085<br>Fax +613 9578 9253<br><a href="mailto:kel@mckinnonsc.vic.edu.au" target="_blank">kel@mckinnonsc.vic.edu.au</a><br>

<br>VCE IT Lecture Notes: <a href="http://vceit.com" target="_blank">http://vceit.com</a><br>Moderator: IT Applications Edulist<br><br>My cow died on this day two years ago.  I know because I noted it in my dairy.<br><br>

<br>