1
/* Copyright (C) 2003 The gtkmm Development Team
3
* This library is free software; you can redistribute it and/or
4
* modify it under the terms of the GNU Lesser General Public
5
* License as published by the Free Software Foundation; either
6
* version 2.1 of the License, or (at your option) any later version.
8
* This library is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
* Lesser General Public License for more details.
13
* You should have received a copy of the GNU Lesser General Public
14
* License along with this library; if not, write to the Free
15
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18
#include <atkmm/action.h>
21
_PINCLUDE(glibmm/private/object_p.h)
22
_PINCLUDE(atk/atkobject.h)
29
/** Encapsulates a link or set of links in a hypertext document.
31
class Hyperlink : public Glib::Object, public Atk::Action
33
_CLASS_GOBJECT(Hyperlink, AtkHyperlink, ATK_HYPERLINK, Glib::Object, GObject)
34
_IMPLEMENTS_INTERFACE(Action)
37
_WRAP_METHOD(Glib::ustring get_uri(int i) const, atk_hyperlink_get_uri)
39
_WRAP_METHOD(Glib::RefPtr<Atk::Object> get_object(int i), atk_hyperlink_get_object, refreturn)
40
_WRAP_METHOD(Glib::RefPtr<const Atk::Object> get_object(int i) const, atk_hyperlink_get_object, refreturn, constversion)
42
_WRAP_METHOD(int get_end_index() const, atk_hyperlink_get_end_index)
43
_WRAP_METHOD(int get_start_index() const, atk_hyperlink_get_start_index)
45
_WRAP_METHOD(bool is_valid() const, atk_hyperlink_is_valid)
46
_WRAP_METHOD(bool is_inline() const, atk_hyperlink_is_inline)
48
_WRAP_METHOD(int get_n_anchors() const, atk_hyperlink_get_n_anchors)
49
_IGNORE(atk_hyperlink_is_selected_link) // deprecated
50
_WRAP_SIGNAL(void link_activated(), "link_activated")
52
_WRAP_PROPERTY("selected-link", bool)
53
_WRAP_PROPERTY("number-of-anchors", int)
54
_WRAP_PROPERTY("end-index", int)
55
_WRAP_PROPERTY("start-index", int)
58
_WRAP_VFUNC(gchar* get_uri(int i) const, get_uri)
59
_WRAP_VFUNC(Glib::RefPtr<Atk::Object> get_object(int i), get_object)
60
_WRAP_VFUNC(int get_end_index() const, get_end_index)
61
_WRAP_VFUNC(int get_start_index() const, get_start_index)
62
_WRAP_VFUNC(bool is_valid() const, is_valid)
63
_WRAP_VFUNC(int get_n_anchors() const, get_n_anchors)
64
_WRAP_VFUNC(guint link_state() const, link_state)
65
_WRAP_VFUNC(bool is_selected_link() const, is_selected_link)