Reference Manual

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

# accessible.h

Go to the documentation of this file.

    00001 /*  Inti: Integrated Foundation Classes
    00002  *  Copyright (C) 2002 The Inti Development Team.
    00003  *
    00004  *  This program is free software; you can redistribute it and/or modify
    00005  *  it under the terms of the GNU General Public License as published by
    00006  *  the Free Software Foundation; either version 2 of the License, or
    00007  *  (at your option) any later version.
    00008  *
    00009  *  This program is distributed in the hope that it will be useful,
    00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
    00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    00012  *  GNU Library General Public License for more details.
    00013  *
    00014  *  You should have received a copy of the GNU Library General Public License
    00015  *  along with this program; if not, write to the Free Software
    00016  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    00017  */
    00018
    00021
    00022 #ifndef INTI_GTK_ACCESSIBLE_H
    00023 #define INTI_GTK_ACCESSIBLE_H
    00024
    00025 #ifndef INTI_ATK_OBJECT_H
    00026 #include <inti/atk/object.h>
    00027 #endif
    00028
    00029 #ifndef __GTK_ACCESSIBLE_H__
    00030 #include <gtk/gtkaccessible.h>
    00031 #endif
    00032
    00033 namespace Inti {
    00034
    00035 namespace Gtk {
    00036
    00037 class AccessibleClass;
    00038
    00041
    00042 class Accessible : public Atk::Object
    00043 {
    00044         friend class G::Object;
    00045         friend class AccessibleClass;
    00046
    00047         Accessible(const Accessible&);
    00048         Accessible& operator=(const Accessible&);
    00049
    00050 protected:
    00053
    00054         explicit Accessible(GtkAccessible *accessible, bool reference = true);
    00061
    00063 //  Override this do_ method when you want to change the default behaviour of the GtkAccessible.
    00064
    00065         virtual void do_connect_widget_destroyed();
    00066
    00067 public:
    00070
    00071         virtual ~Accessible();
    00073
    00077
    00078         GtkAccessible* gtk_accessible() const { return (GtkAccessible*)instance; }
    00080
    00081         GtkAccessibleClass* gtk_accessible_class() const;
    00083
    00084         operator GtkAccessible* () const;
    00086
    00090
    00091         void connect_widget_destroyed();
    00094
    00096 };
    00097
    00098 } // namespace Gtk
    00099
    00100 } // namespace Inti
    00101
    00102 #endif // INTI_GTK_ACCESSIBLE_H
    00103

Main Page - Footer