2005-03-30 Anthony Taranto <voltron@emptyrhetoric.com>
* gtk/Widget.custom : cause Allocation.Set to call SizeUpdate(). * gtk/glue/widget.c : remove gtksharp_gtk_widget_set_allocation(). svn path=/trunk/gtk-sharp/; revision=42387
This commit is contained in:
parent
1256fdb2c1
commit
7a37a4ed34
3 changed files with 6 additions and 8 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-03-30 Anthony Taranto <voltron@emptyrhetoric.com>
|
||||||
|
|
||||||
|
* gtk/Widget.custom : cause Allocation.Set to call SizeUpdate().
|
||||||
|
* gtk/glue/widget.c : remove gtksharp_gtk_widget_set_allocation().
|
||||||
|
|
||||||
2005-03-29 Mike Kestner <mkestner@novell.com>
|
2005-03-29 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* gtk/TreeStore.custom : fix a CLS incompliance in the Append
|
* gtk/TreeStore.custom : fix a CLS incompliance in the Append
|
||||||
|
|
|
@ -61,7 +61,7 @@ static extern void gtksharp_gtk_widget_set_allocation (IntPtr raw, Gdk.Rectangle
|
||||||
|
|
||||||
public Gdk.Rectangle Allocation {
|
public Gdk.Rectangle Allocation {
|
||||||
get { return Gdk.Rectangle.New (gtksharp_gtk_widget_get_allocation (Handle)); }
|
get { return Gdk.Rectangle.New (gtksharp_gtk_widget_get_allocation (Handle)); }
|
||||||
set { gtksharp_gtk_widget_set_allocation (Handle, value); }
|
set { SizeAllocate (value); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
|
|
||||||
/* Forward declarations */
|
/* Forward declarations */
|
||||||
GdkRectangle *gtksharp_gtk_widget_get_allocation (GtkWidget *widget);
|
GdkRectangle *gtksharp_gtk_widget_get_allocation (GtkWidget *widget);
|
||||||
void gtksharp_gtk_widget_set_allocation (GtkWidget *widget, GdkRectangle rect);
|
|
||||||
GdkWindow *gtksharp_gtk_widget_get_window (GtkWidget *widget);
|
GdkWindow *gtksharp_gtk_widget_get_window (GtkWidget *widget);
|
||||||
void gtksharp_gtk_widget_set_window (GtkWidget *widget, GdkWindow *window);
|
void gtksharp_gtk_widget_set_window (GtkWidget *widget, GdkWindow *window);
|
||||||
int gtksharp_gtk_widget_get_state (GtkWidget *widget);
|
int gtksharp_gtk_widget_get_state (GtkWidget *widget);
|
||||||
|
@ -47,12 +46,6 @@ gtksharp_gtk_widget_get_allocation (GtkWidget *widget)
|
||||||
return &widget->allocation;
|
return &widget->allocation;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
gtksharp_gtk_widget_set_allocation (GtkWidget *widget, GdkRectangle rect)
|
|
||||||
{
|
|
||||||
widget->allocation = rect;
|
|
||||||
}
|
|
||||||
|
|
||||||
GdkWindow *
|
GdkWindow *
|
||||||
gtksharp_gtk_widget_get_window (GtkWidget *widget)
|
gtksharp_gtk_widget_get_window (GtkWidget *widget)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue