Re: Best way to sort rooms...
- From: "Shippy!" <shippy cs nmt edu>
- To: "Arjan J. Molenaar" <A J Molenaar xirion nl>,GTK List <gtk-list gnome org>
- Subject: Re: Best way to sort rooms...
- Date: Fri, 07 Jul 2000 09:20:46 -0600
If there's an efficient way to save the data, that would be great.
However, I was unable to find any documentation on GtkArg in
the reference pages. Where would I find info about this?
And as for the two lists, I'll probably be doing this anyway.
One GList will hold all of the buildings and each building
node in that list will have a GList for the rooms.
Thanks a lot for your help. If anybody knows where I can find
information on some sort of persistence ability (like GtkArg maybe?),
then I would really appreciate a link. Thanks =)
"Arjan J. Molenaar" wrote:
> I think there'splenty of time to:
> - Retrieve the building name from the notebook tab
> - compare it with the new building name
> - go to the next tab if strcmp() > 0
> - add it if a strcmp() < 0
> - do the same trich for the rooms if strcmp() == 0
> (of course the parameter order in strcmp matters ;-).
>
> You can speed this up by also storing the information in a separate GList
> structure, but that way you have to manage two lists.
>
> For memorizing the data: couldn't the GtkArg system help with that? (I guess
> you have to write it to disk too)
>
> Regards,
>
> Arjan
>
> _______________________________________________
> gtk-list mailing list
> gtk-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-list
--
+-----------------------------------------------------+
| Jeff "Shippy" Shipman E-Mail: shippy@cs.nmt.edu |
| Computer Science Major ICQ: 1786493 |
| New Mexico Institute of Mining and Technology |
| Homepage: http://www.nmt.edu/~shippy |
+-----------------------------------------------------+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]