Commit a9f39e4d authored by Kristian Rietveld's avatar Kristian Rietveld Committed by Kristian Rietveld

new function (fixes #169961, reported by Morten Welinder).

2005-07-14  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_queue_resize): new
	function (fixes #169961, reported by Morten Welinder).
parent a6ecb70b
2005-07-14 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_queue_resize): new
function (fixes #169961, reported by Morten Welinder).
2005-07-14 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.[ch] (gtk_tree_view_get_visible_range): new
......
2005-07-14 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_queue_resize): new
function (fixes #169961, reported by Morten Welinder).
2005-07-14 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.[ch] (gtk_tree_view_get_visible_range): new
......
2005-07-14 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_queue_resize): new
function (fixes #169961, reported by Morten Welinder).
2005-07-14 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.[ch] (gtk_tree_view_get_visible_range): new
......
......@@ -3661,5 +3661,23 @@ gtk_tree_view_column_cell_get_position (GtkTreeViewColumn *tree_column,
return found_cell;
}
/**
* gtk_tree_view_column_queue_resize:
* @tree_column: A #GtkTreeViewColumn
*
* Flags the column, and the cell renderers added to this column, to have
* their sizes renegotiated.
*
* Since: 2.8
**/
void
gtk_tree_view_column_queue_resize (GtkTreeViewColumn *tree_column)
{
g_return_if_fail (tree_column != NULL);
if (tree_column->tree_view)
_gtk_tree_view_column_cell_set_dirty (tree_column, TRUE);
}
#define __GTK_TREE_VIEW_COLUMN_C__
#include "gtkaliasdef.c"
......@@ -230,6 +230,7 @@ gboolean gtk_tree_view_column_cell_get_position (GtkTreeViewCol
GtkCellRenderer *cell_renderer,
gint *start_pos,
gint *width);
void gtk_tree_view_column_queue_resize (GtkTreeViewColumn *tree_column);
G_END_DECLS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment