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

/src/wrappers/gtk/library/gtk_text_search_flags.e

http://github.com/tybor/Liberty
Specman e | 29 lines | 22 code | 7 blank | 0 comment | 0 complexity | 26e4e18ed564e6893152796aaa522042 MD5 | raw file
 1indexing
 2	description: "enum GtkTextSearchFlags"
 3	copyright: "(C) 2006 Paolo Redaelli "
 4	license: "LGPL v2 or later"
 5	date: "$Date:$"
 6	revision: "$Revision:$"
 7
 8deferred class GTK_TEXT_SEARCH_FLAGS
 9
10inherit ANY undefine is_equal, copy end
11
12
13feature  {} -- enum
14	are_valid_search_flags (some_flags :INTEGER): BOOLEAN is
15		do	
16			Result:=(some_flags | (gtk_text_search_visible_only & gtk_text_search_text_only)).to_boolean
17		end
18
19	gtk_text_search_visible_only: INTEGER is
20		external "C macro use <gtk/gtk.h>"
21		alias "GTK_TEXT_SEARCH_VISIBLE_ONLY"
22		end
23	
24	gtk_text_search_text_only: INTEGER is
25		external "C macro use <gtk/gtk.h>"
26		alias "GTK_TEXT_SEARCH_TEXT_ONLY"
27		end
28end
29