/usr/lib/ocaml/lablgtk2/gData.mli is in liblablgtk2-ocaml-dev 2.16.0+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | (**************************************************************************)
(* Lablgtk *)
(* *)
(* This program is free software; you can redistribute it *)
(* and/or modify it under the terms of the GNU Library General *)
(* Public License as published by the Free Software Foundation *)
(* version 2, with the exception described in file COPYING which *)
(* comes with the library. *)
(* *)
(* This program 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 Library General Public License for more details. *)
(* *)
(* You should have received a copy of the GNU Library General *)
(* Public License along with this program; if not, write to the *)
(* Free Software Foundation, Inc., 59 Temple Place, Suite 330, *)
(* Boston, MA 02111-1307 USA *)
(* *)
(* *)
(**************************************************************************)
(* $Id$ *)
open Gtk
(** Non-Widgets objects carrying data *)
(** {3 GtkAdjustement} *)
(** @gtkdoc gtk GtkAdjustment *)
class adjustment_signals : [> adjustment] obj ->
object
inherit GObj.gtkobj_signals
method changed : callback:(unit -> unit) -> GtkSignal.id
method value_changed : callback:(unit -> unit) -> GtkSignal.id
end
(** A GtkObject representing an adjustable bounded value
@gtkdoc gtk GtkAdjustment *)
class adjustment : Gtk.adjustment obj ->
object
inherit GObj.gtkobj
val obj : Gtk.adjustment obj
method as_adjustment : Gtk.adjustment obj
method clamp_page : lower:float -> upper:float -> unit
method connect : adjustment_signals
method set_value : float -> unit
method lower : float
method upper : float
method value : float
method step_increment : float
method page_increment : float
method page_size : float
method set_bounds :
?lower:float -> ?upper:float -> ?step_incr:float ->
?page_incr:float -> ?page_size:float -> unit -> unit
end
(** @gtkdoc gtk GtkAdjustment
@param lower default value is [0.]
@param upper default value is [100.]
@param step_incr default value is [1.]
@param page_incr default value is [10.]
@param page_size default value is [10.] *)
val adjustment :
?value:float ->
?lower:float ->
?upper:float ->
?step_incr:float ->
?page_incr:float -> ?page_size:float -> unit -> adjustment
val as_adjustment : adjustment -> Gtk.adjustment obj
val conv_adjustment : adjustment Gobject.data_conv
val conv_adjustment_option : adjustment option Gobject.data_conv
(** {3 Tooltips} *)
(** Add tips to your widgets
@gtkdoc gtk GtkTooltips *)
class tooltips :
Gtk.tooltips obj ->
object
inherit GObj.gtkobj
val obj : Gtk.tooltips obj
method as_tooltips : Gtk.tooltips obj
method connect : GObj.gtkobj_signals
method disable : unit -> unit
method enable : unit -> unit
method set_delay : int -> unit
method set_tip : ?text:string -> ?privat:string -> GObj.widget -> unit
end
(** @gtkdoc gtk GtkTooltips *)
val tooltips : ?delay:int -> unit -> tooltips
(** {3 Clipboards} *)
(** Storing data on clipboards
@gtkdoc gtk gtk-Clipboards *)
class clipboard_skel : Gtk.clipboard Lazy.t ->
object
method as_clipboard : Gtk.clipboard
method clear : unit -> unit
method get_contents : target:Gdk.atom -> GObj.selection_data
method set_image : GdkPixbuf.pixbuf -> unit
method set_text : string -> unit
method image : GdkPixbuf.pixbuf option
method text : string option
method targets : Gdk.atom list
end
class clipboard : selection:Gdk.atom ->
object
inherit clipboard_skel
method set_contents :
targets:string list ->
get:(GObj.selection_context -> info:int -> time:int32 -> unit) ->
clear:(unit -> unit) -> unit
end
(** @gtkdoc gtk gtk-Clipboards *)
val clipboard : Gdk.atom -> clipboard
val as_clipboard : clipboard -> Gtk.clipboard
|