Obtains the coordinates where the label will draw the gtk.Layout representing the text in the label; useful to convert mouse events into coordinates inside the gtk.Layout, e.g. to take some action if some part of the label is clicked. Of course you will need to create a gtk.EventBox to receive the events, and pack the label inside it, since labels are windowless (they return FALSE from Widget.getHasWindow). Remember when using the gtk.Layout functions you need to convert to and from pixels using PANGO_PIXELS() or PANGO_SCALE

class Label
out int x
out int y


x int

location to store X offset of layout, or NULL

y int

location to store Y offset of layout, or NULL