PageRenderTime 26ms CodeModel.GetById 22ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/wrappers/gtk/library/gtk_table_child.e

http://github.com/tybor/Liberty
Specman e | 65 lines | 31 code | 11 blank | 23 comment | 2 complexity | 1d7c2c04d477159f8534889f1b08372e MD5 | raw file
 1indexing
 2	description: "."
 3	copyright: "[
 4					Copyright (C) 2006 eiffel-libraries team, GTK+ team
 5					
 6					This library is free software; you can redistribute it and/or
 7					modify it under the terms of the GNU Lesser General Public License
 8					as published by the Free Software Foundation; either version 2.1 of
 9					the License, or (at your option) any later version.
10					
11					This library is distributed in the hope that it will be useful, but
12					WITHOUT ANY WARRANTY; without even the implied warranty of
13					MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14					Lesser General Public License for more details.
15
16					You should have received a copy of the GNU Lesser General Public
17					License along with this library; if not, write to the Free Software
18					Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19					02110-1301 USA
20					]"
21	date: "$Date:$"
22	revision: "$Revision:$"
23
24class GTK_TABLE_CHILD
25
26inherit 
27	C_STRUCT
28	EIFFEL_OWNED
29	-- TODO: wrap this structure for real	
30creation from_external_pointer
31
32feature {} -- size
33	struct_size: INTEGER is
34		external "C inline use <gtk/gtk.h>"
35		alias "sizeof(GtkTableChild)"
36		end
37
38feature {} -- Creation
39--   GtkTableChild
40
41--  typedef struct {
42--    GtkWidget *widget;
43--    guint16 left_attach;
44--    guint16 right_attach;
45--    guint16 top_attach;
46--    guint16 bottom_attach;
47--    guint16 xpadding;
48--    guint16 ypadding;
49--    guint xexpand : 1;
50--    guint yexpand : 1;
51--    guint xshrink : 1;
52--    guint yshrink : 1;
53--    guint xfill : 1;
54--    guint yfill : 1;
55--  } GtkTableChild;
56
57--    The widget field is a pointer to the widget that this GtkTableChild
58--    structure is keeping track of. The left_attach, right_attach, top_attach,
59--    and bottom_attach fields specify the row and column numbers which make up
60--    the invisible rectangle that the child widget is packed into.
61
62--    xpadding and ypadding specify the space between this widget and the
63--    surrounding table cells.
64
65end