Re: GtkTreeView Sort
- From: Harring Figueiredo <harringf yahoo com>
- To: mige <mige_harimurti yahoo com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GtkTreeView Sort
- Date: Thu, 10 Apr 2003 07:23:42 -0700 (PDT)
Mige,
if you take a look at the gtktreeviewcolumn.c ,
static void
gtk_tree_view_column_sort (GtkTreeViewColumn *tree_column,
gpointer data)
you will see how the trick is done.
The sort stuff is "built-in" and thus the magic.
Let me know if this does not help.
Harring.
--- mige <mige_harimurti yahoo com> wrote:
Hi,
Thank you for the hints ...
But, did I miss something ...??
I read the GtkTreeModelSort and GtkTreeSortable but I have no idea how
to use it.
I have the special sorting function defined some how.
May be I need more enlightened ... a little sample would be great.
Thank you.
regards,
mige
Harring Figueiredo wrote:
All you have to do is set the column to sortable.
See the column widget API for that.
Hope this helps
--- mige <mige_harimurti yahoo com> wrote:
Hi fellas ...
Would you like to give me some clues in general steps how to sort the
model in GtkTreeView ?
For example I want to click the column header to sort it.
Thank you ....
regards,
mige
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]