| 1 |
/* Copyright (C) 2014 The gtkmm Development Team |
| 2 |
* |
| 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. |
| 7 |
* |
| 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. |
| 12 |
* |
| 13 |
* You should have received a copy of the GNU Lesser General Public |
| 14 |
* License along with this library. If not, see <http://www.gnu.org/licenses/>. |
| 15 |
*/ |
| 16 |
|
| 17 |
#include <gtkmm/bin.h> |
| 18 |
|
| 19 |
_DEFS(gtkmm,gtk) |
| 20 |
_PINCLUDE(gtkmm/private/bin_p.h) |
| 21 |
|
| 22 |
namespace Gtk |
| 23 |
{ |
| 24 |
|
| 25 |
/** See the description of FlowBox. |
| 26 |
* |
| 27 |
* @ingroup Widgets |
| 28 |
* @ingroup Containers |
| 29 |
* |
| 30 |
* @newin{3,12} |
| 31 |
*/ |
| 32 |
class GTKMM_API FlowBoxChild |
| 33 |
: public Bin |
| 34 |
{ |
| 35 |
_CLASS_GTKOBJECT(FlowBoxChild, GtkFlowBoxChild, GTK_FLOW_BOX_CHILD, Gtk::Bin, GtkBin, , , GTKMM_API) |
| 36 |
public: |
| 37 |
|
| 38 |
/** Creates a new FlowBoxChild, to be used as a child of a FlowBox. |
| 39 |
*/ |
| 40 |
_CTOR_DEFAULT() |
| 41 |
|
| 42 |
_WRAP_METHOD(int get_index() const, gtk_flow_box_child_get_index) |
| 43 |
_WRAP_METHOD(bool is_selected() const, gtk_flow_box_child_is_selected) |
| 44 |
_WRAP_METHOD(void changed(), gtk_flow_box_child_changed) |
| 45 |
|
| 46 |
_WRAP_SIGNAL(void activate(), "activate") |
| 47 |
}; |
| 48 |
|
| 49 |
} // namespace Gtk |