|
Main Page
Widgets
Namespaces
Book
Atk::Component Class ReferenceInheritance diagram for Atk::Component:
[legend]List of all members.
|
Public Methods |
virtual | ~Component () |
AtkComponent* | gobj () |
const AtkComponent* | gobj () const |
guint | add_focus_handler (AtkFocusHandler handler) |
| Add the specified handler to the set of functions to be called when this object receives focus events (in or out).
|
bool | contains (int x, int y, CoordType coord_type) const |
| Checks whether the specified point is within the extent of the component .
|
Glib::RefPtr<Atk::Object> | get_accessible_at_point (int x, int y, CoordType coord_type) |
| Gets a reference to the accessible child, if one exists, at the coordinate point specified by x and y .
|
void | get_extents (int& x, int& y, int& width, int& height, CoordType coord_type) const |
| Gets the rectangle which gives the extent of the component .
|
void | get_position (int& x, int& y, CoordType coord_type) const |
| Gets the position of component in the form of a point specifying component 's top-left corner.
|
void | get_size (int& width, int& height) const |
| Gets the size of the component in terms of width and height.
|
Layer | get_layer () const |
| Gets the layer of the component.
|
int | get_mdi_zorder () const |
| Gets the zorder of the component.
|
bool | grab_focus () |
| Grabs focus for this component .
|
void | remove_focus_handler (guint handler_id) |
| Remove the handler specified by handler_id from the list of functions to be executed when this object receives focus events (in or out).
|
bool | set_extents (int x, int y, int width, int height, CoordType coord_type) |
| Sets the extents of component .
|
bool | set_position (int x, int y, CoordType coord_type) |
| Sets the postition of component .
|
bool | set_size (int width, int height) |
| Set the size of the component in terms of width and height.
|
Static Public Methods |
void | add_interface (GType gtype_implementer) |
Protected Methods |
virtual guint | add_focus_handler_vfunc (AtkFocusHandler handler) |
virtual bool | contains_vfunc (int x, int y, CoordType coord_type) |
virtual Glib::RefPtr<Atk::Object> | get_accessible_at_point_vfunc (int x, int y, CoordType coord_type) |
virtual void | get_extents_vfunc (int& x, int& y, int& width, int& height, CoordType coord_type) |
virtual void | get_position_vfunc (int& x, int& y, CoordType coord_type) |
virtual void | get_size_vfunc (int& width, int& height) |
virtual Layer | get_layer_vfunc () |
virtual int | get_mdi_zorder_vfunc () |
virtual bool | grab_focus_vfunc () |
virtual void | remove_focus_handler_vfunc (guint handler_id) |
virtual bool | set_extents_vfunc (int x, int y, int width, int height, CoordType coord_type) |
virtual bool | set_position_vfunc (int x, int y, CoordType coord_type) |
virtual bool | set_size_vfunc (int width, int height) |
Related Functions |
(Note that these are not member functions.)
|
Glib::RefPtr<Atk::Component> | wrap (AtkComponent* object, bool take_copy=false) |
Constructor & Destructor Documentation
virtual Atk::Component::~Component |
( |
|
) |
[virtual] |
|
Member Function Documentation
guint Atk::Component::add_focus_handler |
( |
AtkFocusHandler |
handler |
) |
|
|
|
Add the specified handler to the set of functions to be called when this object receives focus events (in or out).
If the handler is already added it is not added again - Parameters:
-
handler | The Atk::FocusHandler to be attached to component . |
- Returns:
- A handler id which can be used in atk_component_remove_focus_handler or zero if the handler was already added.
|
virtual guint Atk::Component::add_focus_handler_vfunc |
( |
AtkFocusHandler |
handler |
) |
[protected, virtual] |
|
void Atk::Component::add_interface |
( |
GType |
gtype_implementer |
) |
[static] |
|
bool Atk::Component::contains |
( |
int |
x, |
|
|
int |
y, |
|
|
CoordType |
coord_type |
|
) |
const |
|
|
Checks whether the specified point is within the extent of the component .
- Parameters:
-
x | X coordinate. |
y | Y coordinate. |
coord_type | Specifies whether the coordinates are relative to the screen or to the components top level window. |
- Returns:
true or false indicating whether the specified point is within the extent of the component or not.
|
virtual bool Atk::Component::contains_vfunc |
( |
int |
x, |
|
|
int |
y, |
|
|
CoordType |
coord_type |
|
) |
[protected, virtual] |
|
|
Gets a reference to the accessible child, if one exists, at the coordinate point specified by x and y .
- Parameters:
-
x | X coordinate. |
y | Y coordinate. |
coord_type | Specifies whether the coordinates are relative to the screen or to the components top level window. |
- Returns:
- A reference to the accessible child, if one exists.
|
void Atk::Component::get_extents |
( |
int& |
x, |
|
|
int& |
y, |
|
|
int& |
width, |
|
|
int& |
height, |
|
|
CoordType |
coord_type |
|
) |
const |
|
|
Gets the rectangle which gives the extent of the component .
- Parameters:
-
x | Address of int to put x coordinate. |
y | Address of int to put y coordinate. |
width | Address of int to put width. |
height | Address of int to put height. |
coord_type | Specifies whether the coordinates are relative to the screen or to the components top level window. |
|
virtual void Atk::Component::get_extents_vfunc |
( |
int& |
x, |
|
|
int& |
y, |
|
|
int& |
width, |
|
|
int& |
height, |
|
|
CoordType |
coord_type |
|
) |
[protected, virtual] |
|
Layer Atk::Component::get_layer |
( |
|
) |
const |
|
|
Gets the layer of the component.
- Returns:
- An Atk::Layer which is the layer of the component.
|
virtual Layer Atk::Component::get_layer_vfunc |
( |
|
) |
[protected, virtual] |
|
int Atk::Component::get_mdi_zorder |
( |
|
) |
const |
|
|
Gets the zorder of the component.
The value G_MININT will be returned if the layer of the component is not ATK_LAYER_MDI or ATK_LAYER_WINDOW. - Returns:
- A
int which is the zorder of the component, i.e. the depth at which the component is shown in relation to other components in the same container.
|
virtual int Atk::Component::get_mdi_zorder_vfunc |
( |
|
) |
[protected, virtual] |
|
void Atk::Component::get_position |
( |
int& |
x, |
|
|
int& |
y, |
|
|
CoordType |
coord_type |
|
) |
const |
|
|
Gets the position of component in the form of a point specifying component 's top-left corner.
- Parameters:
-
x | Address of int to put x coordinate position. |
y | Address of int to put y coordinate position. |
coord_type | Specifies whether the coordinates are relative to the screen or to the components top level window. |
|
virtual void Atk::Component::get_position_vfunc |
( |
int& |
x, |
|
|
int& |
y, |
|
|
CoordType |
coord_type |
|
) |
[protected, virtual] |
|
void Atk::Component::get_size |
( |
int& |
width, |
|
|
int& |
height |
|
) |
const |
|
|
Gets the size of the component in terms of width and height.
- Parameters:
-
width | Address of int to put width of component . |
height | Address of int to put height of component . |
|
virtual void Atk::Component::get_size_vfunc |
( |
int& |
width, |
|
|
int& |
height |
|
) |
[protected, virtual] |
|
const AtkComponent* Atk::Component::gobj |
( |
|
) |
const [inline] |
|
AtkComponent* Atk::Component::gobj |
( |
|
) |
[inline] |
|
bool Atk::Component::grab_focus |
( |
|
) |
|
|
|
Grabs focus for this component .
- Returns:
true if successful, false otherwise.
|
virtual bool Atk::Component::grab_focus_vfunc |
( |
|
) |
[protected, virtual] |
|
void Atk::Component::remove_focus_handler |
( |
guint |
handler_id |
) |
|
|
|
Remove the handler specified by handler_id from the list of functions to be executed when this object receives focus events (in or out).
- Parameters:
-
handler_id | The handler id of the focus handler to be removed from component . |
|
virtual void Atk::Component::remove_focus_handler_vfunc |
( |
guint |
handler_id |
) |
[protected, virtual] |
|
bool Atk::Component::set_extents |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height, |
|
|
CoordType |
coord_type |
|
) |
|
|
|
Sets the extents of component .
- Parameters:
-
x | X coordinate. |
y | Y coordinate. |
width | Width to set for component . |
height | Height to set for component . |
coord_type | Specifies whether the coordinates are relative to the screen or to the components top level window. |
- Returns:
true or false whether the extents were set or not.
|
virtual bool Atk::Component::set_extents_vfunc |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height, |
|
|
CoordType |
coord_type |
|
) |
[protected, virtual] |
|
bool Atk::Component::set_position |
( |
int |
x, |
|
|
int |
y, |
|
|
CoordType |
coord_type |
|
) |
|
|
|
Sets the postition of component .
- Parameters:
-
x | X coordinate. |
y | Y coordinate. |
coord_type | Specifies whether the coordinates are relative to the screen or to the components top level window. |
- Returns:
true or false whether or not the position was set or not.
|
virtual bool Atk::Component::set_position_vfunc |
( |
int |
x, |
|
|
int |
y, |
|
|
CoordType |
coord_type |
|
) |
[protected, virtual] |
|
bool Atk::Component::set_size |
( |
int |
width, |
|
|
int |
height |
|
) |
|
|
|
Set the size of the component in terms of width and height.
- Parameters:
-
width | Width to set for component . |
height | Height to set for component . |
- Returns:
true or false whether the size was set or not.
|
virtual bool Atk::Component::set_size_vfunc |
( |
int |
width, |
|
|
int |
height |
|
) |
[protected, virtual] |
|
Friends And Related Function Documentation
Glib::RefPtr<Atk::Component> wrap |
( |
AtkComponent* |
object, |
|
|
bool |
take_copy = false |
|
) |
[related] |
|
The documentation for this class was generated from the following file:
Generated for gtkmm by
Doxygen 1.3-rc1 © 1997-2001
|