forked from AuroraMiddleware/gtk
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).
This commit is contained in:
parent
a6ecb70b14
commit
a9f39e4d6d
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user