forked from AuroraMiddleware/gtk
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
This commit is contained in:
parent
28cd4d6102
commit
3a5447574b
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user