- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

# sourcetagtable.h

Go to the documentation of this file.

    00001 // -*- c++ -*-
    00002 // Generated by gtkmmproc -- DO NOT MODIFY!
    00003 #ifndef _GTKSOURCEVIEWMM_SOURCETAGTABLE_H
    00004 #define _GTKSOURCEVIEWMM_SOURCETAGTABLE_H
    00005
    00006
    00007 #include <glibmm.h>
    00008
    00009 /* sourcetagtable.hg
    00010  *
    00011  * Copyright (C) 2004-2005 Jae Jang
    00012  * Copyright (C) 2005-2006 Rob Page
    00013  * Copyright (C)2006 Dodji Seketeli
    00014  *
    00015  * This library is free software; you can redistribute it and/or
    00016  * modify it under the terms of the GNU Library General Public
    00017  * License as published by the Free Software Foundation; either
    00018  * version 2 of the License, or (at your option) any later version.
    00019  *
    00020  * This library is distributed in the hope that it will be useful,
    00021  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    00022  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00023  * Library General Public License for more details.
    00024  *
    00025  * You should have received a copy of the GNU Library General Public
    00026  * License along with this library; if not, write to the Free
    00027  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    00028  */
    00031
    00032 #include <glibmm/object.h>
    00033 #include <gtksourceviewmm/sourcetag.h>
    00034 #include <gtksourceview/gtksourcetagtable.h>
    00035
    00036
    00037 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00038 typedef struct _GtkSourceTagTable GtkSourceTagTable;
    00039 typedef struct _GtkSourceTagTableClass GtkSourceTagTableClass;
    00040 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00041
    00042
    00043 namespace gtksourceview
    00044 { class SourceTagTable_Class; } // namespace gtksourceview
    00045 namespace gtksourceview
    00046 {
    00047
    00052
    00053 class SourceTagTable : public Glib::Object
    00054 {
    00055
    00056 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00057
    00058 public:
    00059   typedef SourceTagTable CppObjectType;
    00060   typedef SourceTagTable_Class CppClassType;
    00061   typedef GtkSourceTagTable BaseObjectType;
    00062   typedef GtkSourceTagTableClass BaseClassType;
    00063
    00064 private:  friend class SourceTagTable_Class;
    00065   static CppClassType sourcetagtable_class_;
    00066
    00067 private:
    00068   // noncopyable
    00069   SourceTagTable(const SourceTagTable&);
    00070   SourceTagTable& operator=(const SourceTagTable&);
    00071
    00072 protected:
    00073   explicit SourceTagTable(const Glib::ConstructParams& construct_params);
    00074   explicit SourceTagTable(GtkSourceTagTable* castitem);
    00075
    00076 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00077
    00078 public:
    00079   virtual ~SourceTagTable();
    00080
    00081 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00082   static GType get_type()      G_GNUC_CONST;
    00083   static GType get_base_type() G_GNUC_CONST;
    00084 #endif
    00085
    00087   GtkSourceTagTable*       gobj()       { return reinterpret_cast<GtkSourceTagTable*>(gobject_); }
    00088
    00090   const GtkSourceTagTable* gobj() const { return reinterpret_cast<GtkSourceTagTable*>(gobject_); }
    00091
    00093   GtkSourceTagTable* gobj_copy();
    00094
    00095 private:
    00096
    00097
    00098 protected:
    00099     SourceTagTable();
    00100
    00101 public:
    00102
    00107
    00108   static Glib::RefPtr<SourceTagTable> create();
    00109
    00110
    00117
    00118   void add_tags(const Glib::SListHandle<Glib::RefPtr<Gtk::TextTag> > &a_tags);
    00119
    00124
    00125   void remove_source_tags();
    00126
    00127
    00128 public:
    00129
    00130 public:
    00131   //C++ methods used to invoke GTK+ virtual functions:
    00132 #ifdef GLIBMM_VFUNCS_ENABLED
    00133 #endif //GLIBMM_VFUNCS_ENABLED
    00134
    00135 protected:
    00136   //GTK+ Virtual Functions (override these to change behaviour):
    00137 #ifdef GLIBMM_VFUNCS_ENABLED
    00138 #endif //GLIBMM_VFUNCS_ENABLED
    00139
    00140   //Default Signal Handlers::
    00141 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00142 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00143
    00144
    00145 };//end class SourceTagTable
    00146 }//end namespace gtksourceview
    00147
    00148
    00149 namespace Glib
    00150 {
    00159   Glib::RefPtr<gtksourceview::SourceTagTable> wrap(GtkSourceTagTable* object, bool take_copy = false);
    00160 }
    00161
    00162
    00163 #endif /* _GTKSOURCEVIEWMM_SOURCETAGTABLE_H */
    00164