Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
gtk
Commits
312f668e
Commit
312f668e
authored
Mar 05, 2004
by
Matthias Clasen
Browse files
doc updates.
parent
1835b5fd
Changes
8
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
312f668e
Fri
Mar
5
23
:
52
:
34
2004
Matthias
Clasen
<
maclas
@
gmx
.
de
>
*
gtk
/
gtktreemodelfilter
.
c
(
gtk_tree_model_filter_set_modify_func
):
Improve
the
docs
.
(#
127727
,
Murray
Cumming
)
Fri
Mar
5
23
:
37
:
16
2004
Matthias
Clasen
<
maclas
@
gmx
.
de
>
*
gtk
/
gtktreeview
.
c
(
gtk_tree_view_set_reorderable
):
Clarify
the
...
...
ChangeLog.pre-2-10
View file @
312f668e
Fri
Mar
5
23
:
52
:
34
2004
Matthias
Clasen
<
maclas
@
gmx
.
de
>
*
gtk
/
gtktreemodelfilter
.
c
(
gtk_tree_model_filter_set_modify_func
):
Improve
the
docs
.
(#
127727
,
Murray
Cumming
)
Fri
Mar
5
23
:
37
:
16
2004
Matthias
Clasen
<
maclas
@
gmx
.
de
>
*
gtk
/
gtktreeview
.
c
(
gtk_tree_view_set_reorderable
):
Clarify
the
...
...
ChangeLog.pre-2-4
View file @
312f668e
Fri
Mar
5
23
:
52
:
34
2004
Matthias
Clasen
<
maclas
@
gmx
.
de
>
*
gtk
/
gtktreemodelfilter
.
c
(
gtk_tree_model_filter_set_modify_func
):
Improve
the
docs
.
(#
127727
,
Murray
Cumming
)
Fri
Mar
5
23
:
37
:
16
2004
Matthias
Clasen
<
maclas
@
gmx
.
de
>
*
gtk
/
gtktreeview
.
c
(
gtk_tree_view_set_reorderable
):
Clarify
the
...
...
ChangeLog.pre-2-6
View file @
312f668e
Fri
Mar
5
23
:
52
:
34
2004
Matthias
Clasen
<
maclas
@
gmx
.
de
>
*
gtk
/
gtktreemodelfilter
.
c
(
gtk_tree_model_filter_set_modify_func
):
Improve
the
docs
.
(#
127727
,
Murray
Cumming
)
Fri
Mar
5
23
:
37
:
16
2004
Matthias
Clasen
<
maclas
@
gmx
.
de
>
*
gtk
/
gtktreeview
.
c
(
gtk_tree_view_set_reorderable
):
Clarify
the
...
...
ChangeLog.pre-2-8
View file @
312f668e
Fri
Mar
5
23
:
52
:
34
2004
Matthias
Clasen
<
maclas
@
gmx
.
de
>
*
gtk
/
gtktreemodelfilter
.
c
(
gtk_tree_model_filter_set_modify_func
):
Improve
the
docs
.
(#
127727
,
Murray
Cumming
)
Fri
Mar
5
23
:
37
:
16
2004
Matthias
Clasen
<
maclas
@
gmx
.
de
>
*
gtk
/
gtktreeview
.
c
(
gtk_tree_view_set_reorderable
):
Clarify
the
...
...
docs/reference/ChangeLog
View file @
312f668e
Fri Mar 5 23:58:01 2004 Matthias Clasen <maclas@gmx.de>
* gtk/tmpl/gtktreemodelfilter.sgml: A little addition.
Fri Mar 5 23:45:06 2004 Matthias Clasen <maclas@gmx.de>
* gtk/tmpl/gtkinvisible.sgml: Remove "internally-used"
...
...
docs/reference/gtk/tmpl/gtktreemodelfilter.sgml
View file @
312f668e
...
...
@@ -67,6 +67,10 @@ A function which calculates display values from raw values in the model.
It must fill @value with the display value for the column @column in the
row indicated by @iter.
</para>
<para>
Since this function is called for each data access, it's not a
particularly efficient operation.
</para>
@model: the #GtkTreeModelFilter
@iter: a #GtkTreeIter pointing to the row whose display values are determined
...
...
gtk/gtktreemodelfilter.c
View file @
312f668e
...
...
@@ -2489,8 +2489,13 @@ gtk_tree_model_filter_set_visible_func (GtkTreeModelFilter *filter,
* @data: User data to pass to the modify function, or %NULL.
* @destroy: Destroy notifier of @data, or %NULL.
*
* Sets the @filter to have @n_columns columns with @types and sets
* @func to be the modify function of @filter.
* With the @n_columns and @types parameters, you give an array of column
* types for this model (which will be exposed to the parent model/view).
* The @func, @data and @destroy parameters are for specifying the modify
* function. The modify function will get called for <emphasis>each</emphasis>
* data access, the goal of the modify function is to return the data which
* should be displayed at the location specified using the parameters of the
* modify function.
*
* Since: 2.4
*/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment