/src/wrappers/gtk/library/gtk_vbox.e
http://github.com/tybor/Liberty · Specman e · 49 lines · 37 code · 7 blank · 5 comment · 2 complexity · dab32a50589b40b48e52960c8cd963cd MD5 · raw file
- indexing
- description: "GtkVBox -- A vertical container box."
- copyright: "[
- Copyright (C) 2006 eiffel-libraries team, GTK+ 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, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301 USA
- ]"
- date: "$Date:$"
- revision: "$Revision:$"
- class GTK_VBOX
- inherit
- GTK_BOX
- -- GtkHBox implements AtkImplementorIface.
- insert
- GTK_VBOX_EXTERNALS
-
- creation make, from_external_pointer
- feature {} -- Creation
- make (an_homogeneous: BOOLEAN; a_spacing: INTEGER) is
- -- Creates a new GtkVBox. If `an_homogeneous' is True all
- -- children are to be given equal space
- -- allotments. `a_spacing' is the number of pixels to place
- -- by default between children.
- require gtk_initialized: gtk.is_initialized
- do
- from_external_pointer (gtk_vbox_new (an_homogeneous.to_integer, a_spacing))
- end
-
- feature -- struct size
- struct_size: INTEGER is
- external "C inline use <gtk/gtk.h>"
- alias "sizeof(GtkVBox)"
- end
- end