Geeting GtkWidget's allocation
- From: "Padraig O'Briain" <Padraig Obriain Sun COM>
- To: gtk-devel-list gnome org
- Subject: Geeting GtkWidget's allocation
- Date: Mon, 12 Mar 2001 13:40:29 +0000 (GMT)
When attempting to implement the get_bounds method for the AccessibleComponent
interface I found myself writing the following code:
*x = widget->allocation.x;
*y = widget->allocation.y;
*width = widget->allocation.width;
*height = widget->allocation.height;
Should I be doing this or should there be a gtk_widget_get_allocation function?
Padraig
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]