libgtksourceviewmm: sourcestyle.h Source File

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

# sourcestyle.h

Go to the documentation of this file.

    00001 // -*- c++ -*-
    00002 // Generated by gtkmmproc -- DO NOT MODIFY!
    00003 #ifndef _GTKSOURCEVIEWMM_SOURCESTYLE_H
    00004 #define _GTKSOURCEVIEWMM_SOURCESTYLE_H
    00005
    00006
    00007 #include <glibmm.h>
    00008
    00009 /* sourcestyle.hg
    00010  *
    00011  * Copyright (C) 2007 The gtksourceviewmm team.
    00012  *
    00013  * This library is free software; you can redistribute it and/or
    00014  * modify it under the terms of the GNU Library General Public
    00015  * License as published by the Free Software Foundation; either
    00016  * version 2 of the License, or (at your option) any later version.
    00017  *
    00018  * This library is distributed in the hope that it will be useful,
    00019  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    00020  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00021  * Library General Public License for more details.
    00022  *
    00023  * You should have received a copy of the GNU Library General Public
    00024  * License along with this library; if not, write to the Free
    00025  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    00026  */
    00027
    00028 #include <glibmm/object.h>
    00029
    00030
    00031 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00032 typedef struct _GtkSourceStyle GtkSourceStyle;
    00033 typedef struct _GtkSourceStyleClass GtkSourceStyleClass;
    00034 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00035
    00036
    00037 namespace gtksourceview
    00038 { class SourceStyle_Class; } // namespace gtksourceview
    00039 namespace gtksourceview
    00040 {
    00041
    00042
    00043 class SourceStyle : public Glib::Object
    00044 {
    00045
    00046 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00047
    00048 public:
    00049   typedef SourceStyle CppObjectType;
    00050   typedef SourceStyle_Class CppClassType;
    00051   typedef GtkSourceStyle BaseObjectType;
    00052   typedef GtkSourceStyleClass BaseClassType;
    00053
    00054 private:  friend class SourceStyle_Class;
    00055   static CppClassType sourcestyle_class_;
    00056
    00057 private:
    00058   // noncopyable
    00059   SourceStyle(const SourceStyle&);
    00060   SourceStyle& operator=(const SourceStyle&);
    00061
    00062 protected:
    00063   explicit SourceStyle(const Glib::ConstructParams& construct_params);
    00064   explicit SourceStyle(GtkSourceStyle* castitem);
    00065
    00066 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00067
    00068 public:
    00069   virtual ~SourceStyle();
    00070
    00071 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00072   static GType get_type()      G_GNUC_CONST;
    00073   static GType get_base_type() G_GNUC_CONST;
    00074 #endif
    00075
    00077   GtkSourceStyle*       gobj()       { return reinterpret_cast<GtkSourceStyle*>(gobject_); }
    00078
    00080   const GtkSourceStyle* gobj() const { return reinterpret_cast<GtkSourceStyle*>(gobject_); }
    00081
    00083   GtkSourceStyle* gobj_copy();
    00084
    00085 private:
    00086
    00087
    00088 public:
    00089
    00090   //TODO: GtkSourceStyle    *gtk_source_style_copy      (const GtkSourceStyle *style);
    00091
    00092
    00093 public:
    00094
    00095 public:
    00096   //C++ methods used to invoke GTK+ virtual functions:
    00097 #ifdef GLIBMM_VFUNCS_ENABLED
    00098 #endif //GLIBMM_VFUNCS_ENABLED
    00099
    00100 protected:
    00101   //GTK+ Virtual Functions (override these to change behaviour):
    00102 #ifdef GLIBMM_VFUNCS_ENABLED
    00103 #endif //GLIBMM_VFUNCS_ENABLED
    00104
    00105   //Default Signal Handlers::
    00106 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00107 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00108
    00109
    00110 };
    00111
    00112 }//end namespace gtksourceview
    00113
    00114
    00115 namespace Glib
    00116 {
    00125   Glib::RefPtr<gtksourceview::SourceStyle> wrap(GtkSourceStyle* object, bool take_copy = false);
    00126 }
    00127
    00128
    00129 #endif /* _GTKSOURCEVIEWMM_SOURCESTYLE_H */
    00130