Commit 3a544757 authored by Lars Hamann's avatar Lars Hamann Committed by Lars Hamann

added size_allocate_title_buttons call (gtk_clist_realize): changed

Wed Oct  7 23:59:37 1998  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (gtk_clist_set_column_resizeable): added
	size_allocate_title_buttons call
	(gtk_clist_realize): changed initial column.window position
parent 28cd4d61
Wed Oct 7 23:59:37 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_set_column_resizeable): added
size_allocate_title_buttons call
(gtk_clist_realize): changed initial column.window position
Wed Oct 7 20:27:28 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkctree.h (struct _GtkCTree): removed xor_gc, use clists
......
Wed Oct 7 23:59:37 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_set_column_resizeable): added
size_allocate_title_buttons call
(gtk_clist_realize): changed initial column.window position
Wed Oct 7 20:27:28 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkctree.h (struct _GtkCTree): removed xor_gc, use clists
......
Wed Oct 7 23:59:37 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_set_column_resizeable): added
size_allocate_title_buttons call
(gtk_clist_realize): changed initial column.window position
Wed Oct 7 20:27:28 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkctree.h (struct _GtkCTree): removed xor_gc, use clists
......
Wed Oct 7 23:59:37 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_set_column_resizeable): added
size_allocate_title_buttons call
(gtk_clist_realize): changed initial column.window position
Wed Oct 7 20:27:28 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkctree.h (struct _GtkCTree): removed xor_gc, use clists
......
Wed Oct 7 23:59:37 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_set_column_resizeable): added
size_allocate_title_buttons call
(gtk_clist_realize): changed initial column.window position
Wed Oct 7 20:27:28 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkctree.h (struct _GtkCTree): removed xor_gc, use clists
......
Wed Oct 7 23:59:37 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_set_column_resizeable): added
size_allocate_title_buttons call
(gtk_clist_realize): changed initial column.window position
Wed Oct 7 20:27:28 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkctree.h (struct _GtkCTree): removed xor_gc, use clists
......
Wed Oct 7 23:59:37 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_set_column_resizeable): added
size_allocate_title_buttons call
(gtk_clist_realize): changed initial column.window position
Wed Oct 7 20:27:28 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkctree.h (struct _GtkCTree): removed xor_gc, use clists
......
......@@ -1080,6 +1080,9 @@ gtk_clist_set_column_resizeable (GtkCList *clist,
return;
clist->column[column].resizeable = resizeable;
if (GTK_WIDGET_VISIBLE (clist))
size_allocate_title_buttons (clist);
}
void
......@@ -2599,6 +2602,11 @@ gtk_clist_realize (GtkWidget * widget)
attributes.cursor = clist->cursor_drag = gdk_cursor_new (GDK_SB_H_DOUBLE_ARROW);
attributes_mask = GDK_WA_CURSOR;
attributes.x = LIST_WIDTH (clist) + 1;
attributes.y = 0;
attributes.width = 0;
attributes.height = 0;
for (i = 0; i < clist->columns; i++)
{
clist->column[i].window = gdk_window_new (clist->title_window, &attributes, attributes_mask);
......
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