mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-11 08:35:29 +00:00
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
|
@ -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>
|
||||
|
||||
* 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 {
|
||||
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 */
|
||||
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);
|
||||
void gtksharp_gtk_widget_set_window (GtkWidget *widget, GdkWindow *window);
|
||||
int gtksharp_gtk_widget_get_state (GtkWidget *widget);
|
||||
|
@ -47,12 +46,6 @@ gtksharp_gtk_widget_get_allocation (GtkWidget *widget)
|
|||
return &widget->allocation;
|
||||
}
|
||||
|
||||
void
|
||||
gtksharp_gtk_widget_set_allocation (GtkWidget *widget, GdkRectangle rect)
|
||||
{
|
||||
widget->allocation = rect;
|
||||
}
|
||||
|
||||
GdkWindow *
|
||||
gtksharp_gtk_widget_get_window (GtkWidget *widget)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue