PageRenderTime 6ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/src/wrappers/gtk/library/gtk_separator_menu_item.e

http://github.com/tybor/Liberty
Specman e | 55 lines | 39 code | 11 blank | 5 comment | 2 complexity | 7ede68b70a9a59fc2310977ad1cf048f MD5 | raw file
 1indexing
 2	description: "GtkSeparatorMenuItem -- A separator used in menus."
 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
22class GTK_SEPARATOR_MENU_ITEM
23	-- The GtkSeparatorMenuItem is a separator used to group items
24	-- within a menu. It displays a horizontal line with a shadow to
25	-- make it appear sunken into the interface.
26	
27inherit 
28	GTK_MENU_ITEM 
29		redefine 
30			make, struct_size
31		end
32	
33	-- TODO: GtkSeparatorMenuItem implements AtkImplementorIface.	
34	
35creation make, from_external_pointer
36
37feature {} -- Creation
38	make is
39			-- Creates a new GtkSeparatorMenuItem.
40		do
41			from_external_pointer (gtk_separator_menu_item_new )
42		end
43
44feature -- size
45	struct_size: INTEGER is
46		external "C inline use <gtk/gtk.h>"
47		alias "sizeof(GtkSeparatorMenuItem)"
48		end
49
50feature {} -- External features
51	gtk_separator_menu_item_new: POINTER is
52		external "C use <gtk/gtk.h>"
53		end
54
55end