// Generated by gmmproc 2.82.0 -- DO NOT MODIFY! #ifndef _GTKMM_NOTEBOOKPAGE_H #define _GTKMM_NOTEBOOKPAGE_H #include #include #include /* Copyright (C) 2019 The gtkmm Development Team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library. If not, see . */ #include #include #ifndef DOXYGEN_SHOULD_SKIP_THIS using GtkNotebookPage = struct _GtkNotebookPage; using GtkNotebookPageClass = struct _GtkNotebookPageClass; #endif /* DOXYGEN_SHOULD_SKIP_THIS */ #ifndef DOXYGEN_SHOULD_SKIP_THIS namespace Gtk { class GTKMM_API NotebookPage_Class; } // namespace Gtk #endif //DOXYGEN_SHOULD_SKIP_THIS namespace Gtk { class GTKMM_API Widget; /** Holds properties of a Gtk::Notebook page. * * Use Gtk::Notebook::get_page() to get a pointer to a %NotebookPage object. * * @see Notebook * @newin{3,96} */ class GTKMM_API NotebookPage : public Glib::Object { #ifndef DOXYGEN_SHOULD_SKIP_THIS public: using CppObjectType = NotebookPage; using CppClassType = NotebookPage_Class; using BaseObjectType = GtkNotebookPage; using BaseClassType = GtkNotebookPageClass; // noncopyable NotebookPage(const NotebookPage&) = delete; NotebookPage& operator=(const NotebookPage&) = delete; private: friend class NotebookPage_Class; static CppClassType notebookpage_class_; protected: explicit NotebookPage(const Glib::ConstructParams& construct_params); explicit NotebookPage(GtkNotebookPage* castitem); #endif /* DOXYGEN_SHOULD_SKIP_THIS */ public: NotebookPage(NotebookPage&& src) noexcept; NotebookPage& operator=(NotebookPage&& src) noexcept; ~NotebookPage() noexcept override; /** Get the GType for this class, for use with the underlying GObject type system. */ static GType get_type() G_GNUC_CONST; #ifndef DOXYGEN_SHOULD_SKIP_THIS static GType get_base_type() G_GNUC_CONST; #endif ///Provides access to the underlying C GObject. GtkNotebookPage* gobj() { return reinterpret_cast(gobject_); } ///Provides access to the underlying C GObject. const GtkNotebookPage* gobj() const { return reinterpret_cast(gobject_); } ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. GtkNotebookPage* gobj_copy(); private: public: /** Returns the notebook child to which @a page belongs. * * @return The child to which @a page belongs. */ Widget* get_child(); /** Returns the notebook child to which @a page belongs. * * @return The child to which @a page belongs. */ const Widget* get_child() const; /** The child for this page. * * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_ReadOnly< Widget* > property_child() const; /** The tab widget for this page. * * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_ReadOnly< Widget* > property_tab() const; /** The label widget displayed in the child's menu entry. * * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_ReadOnly< Widget* > property_menu() const; /** The text of the tab widget. * * Default value: "" * * @return A PropertyProxy that allows you to get or set the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy< Glib::ustring > property_tab_label() ; /** The text of the tab widget. * * Default value: "" * * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_ReadOnly< Glib::ustring > property_tab_label() const; /** The text of the menu widget. * * Default value: "" * * @return A PropertyProxy that allows you to get or set the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy< Glib::ustring > property_menu_label() ; /** The text of the menu widget. * * Default value: "" * * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_ReadOnly< Glib::ustring > property_menu_label() const; /** The index of the child in the parent. * * Default value: 0 * * @return A PropertyProxy that allows you to get or set the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy< int > property_position() ; /** The index of the child in the parent. * * Default value: 0 * * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_ReadOnly< int > property_position() const; /** Whether to expand the child's tab. * * Default value: false * * @return A PropertyProxy that allows you to get or set the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy< bool > property_tab_expand() ; /** Whether to expand the child's tab. * * Default value: false * * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_ReadOnly< bool > property_tab_expand() const; /** Whether the child's tab should fill the allocated area. * * Default value: true * * @return A PropertyProxy that allows you to get or set the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy< bool > property_tab_fill() ; /** Whether the child's tab should fill the allocated area. * * Default value: true * * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_ReadOnly< bool > property_tab_fill() const; /** Whether the tab is reorderable by user action. * * Default value: false * * @return A PropertyProxy that allows you to get or set the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy< bool > property_reorderable() ; /** Whether the tab is reorderable by user action. * * Default value: false * * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_ReadOnly< bool > property_reorderable() const; /** Whether the tab is detachable. * * Default value: false * * @return A PropertyProxy that allows you to get or set the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy< bool > property_detachable() ; /** Whether the tab is detachable. * * Default value: false * * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, * or receive notification when the value of the property changes. */ Glib::PropertyProxy_ReadOnly< bool > property_detachable() const; // There are no signals or vfuncs. public: public: //C++ methods used to invoke GTK+ virtual functions: protected: //GTK+ Virtual Functions (override these to change behaviour): //Default Signal Handlers:: }; } // namespace Gtk namespace Glib { /** A Glib::wrap() method for this object. * * @param object The C instance. * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. * @result A C++ instance that wraps this C instance. * * @relates Gtk::NotebookPage */ GTKMM_API Glib::RefPtr wrap(GtkNotebookPage* object, bool take_copy = false); } #endif /* _GTKMM_NOTEBOOKPAGE_H */