package efl

  1. Overview
  2. Docs
type window_features
type window_open = Evas.obj -> bool -> window_features -> Evas.obj option
type dialog_alert = Evas.obj -> string -> Evas.obj option
type dialog_confirm = Evas.obj -> string -> Evas.obj option * bool
type dialog_prompt = Evas.obj -> string -> string -> Evas.obj option * string option * bool
type dialog_file_selector = Evas.obj -> bool -> string list -> Evas.obj * string list * bool
type console_message = Evas.obj -> string -> int -> string -> unit
type zoom_mode = [
  1. | `auto_fill
  2. | `auto_fit
  3. | `last
  4. | `manual
]
type window_feature_flag = [
  1. | `fullscreen
  2. | `locationbar
  3. | `menubar
  4. | `scrollbars
  5. | `statusbar
  6. | `toolbar
]
type frame_load_error = {
  1. code : int;
  2. is_cancellation : bool;
  3. domain : string;
  4. description : string;
  5. failing_url : string;
  6. frame : Evas.obj;
}
type menu_item_type = [
  1. | `group
  2. | `option
  3. | `separator
]
type menu_item = {
  1. text : string;
  2. ty : menu_item_type;
}
type menu = {
  1. items : menu_item list;
  2. x : int;
  3. y : int;
  4. width : int;
  5. height : int;
  6. handled : bool;
}
type download = {
  1. url : string;
}
val add : Evas.obj -> Evas.obj
val useragent_set : Evas.obj -> string -> unit
val useragent_get : Evas.obj -> string
val webkit_view_get : Evas.obj -> Evas.obj
val window_create_hook_set : Evas.obj -> window_open -> unit
val dialog_alert_hook_set : Evas.obj -> dialog_alert -> unit
val dialog_confirm_hook_set : Evas.obj -> dialog_confirm -> unit
val dialog_prompt_hook_set : Evas.obj -> dialog_prompt -> unit
val dialog_file_selector_hook_set : Evas.obj -> dialog_file_selector -> unit
val console_message_hook_set : Evas.obj -> console_message -> unit
val tab_propagate_get : Evas.obj -> bool
val tab_propagate_set : Evas.obj -> bool -> unit
val url_set : Evas.obj -> string -> bool
val html_string_load : Evas.obj -> string -> ?base:string -> ?unreachable:string -> unit -> bool
val url_get : Evas.obj -> string option
val title_get : Evas.obj -> string option
val bg_color_set : Evas.obj -> int -> int -> int -> int -> unit
val bg_color_get : Evas.obj -> int * int * int * int
val selection_get : Evas.obj -> string option
val popup_selected_set : Evas.obj -> int -> unit
val popup_destroy : Evas.obj -> bool
val text_matches_mark : Evas.obj -> string -> cs:bool -> hl:bool -> int -> int
val text_matches_unmark_all : Evas.obj -> bool
val text_matches_highlight_set : Evas.obj -> bool -> bool
val text_matches_highlight_get : Evas.obj -> bool
val load_progress_get : Evas.obj -> float
val stop : Evas.obj -> bool
val reload : Evas.obj -> bool
val reload_full : Evas.obj -> bool
val back : Evas.obj -> bool
val forward : Evas.obj -> bool
val navigate : Evas.obj -> int -> bool
val back_possible_get : Evas.obj -> bool
val forward_possible_get : Evas.obj -> bool
val navigate_possible_get : Evas.obj -> int -> bool
val history_enabled_get : Evas.obj -> bool
val history_enabled_set : Evas.obj -> bool -> unit
val zoom_set : Evas.obj -> float -> unit
val zoom_get : Evas.obj -> float
val zoom_mode_set : Evas.obj -> zoom_mode -> unit
val zoom_mode_get : Evas.obj -> zoom_mode
val region_show : Evas.obj -> int -> int -> int -> int -> unit
val region_bring_in : Evas.obj -> int -> int -> int -> int -> unit
val inwin_mode_set : Evas.obj -> bool -> unit
val inwin_mode_get : Evas.obj -> bool
val window_features_property_get : window_features -> window_feature_flag -> bool
val window_features_region_get : window_features -> int * int * int * int
val frame_load_error_of_ptr : Evas.ptr -> frame_load_error
val menu_of_ptr : Evas.ptr -> menu
val download_of_ptr : Evas.ptr -> download
OCaml

Innovation. Community. Security.