Virtual Method


Declaration [src]

set_position (
  AtkComponent* component,
  gint x,
  gint y,
  AtkCoordType coord_type

Description [src]

Sets the position of component.

Contrary to atk_component_scroll_to, this does not trigger any scrolling, this just moves component in its parent.


x gint

X coordinate.

y gint

Y coordinate.

coord_type AtkCoordType

Specifies whether the coordinates are relative to the screen or to the component’s top level window.

Return value

Returns: gboolean

TRUE or FALSE whether or not the position was set or not.