[Version (since = "2.2")]
public static bool owner_set_for_display (Gdk.Display display, Gdk.Window? owner, Gdk.Atom selection, uint32 time_, bool send_event);
[CCode (cheader_filename = "gdk/gdk.h")]
- public static int property_get (Gdk.Window requestor, [CCode (array_length = false, type = "guchar**")] uint8[] data, Gdk.Atom prop_type, int prop_format);
+ public static int property_get (Gdk.Window requestor, [CCode (array_length = false, type = "guchar**")] uint8[] data, out Gdk.Atom prop_type, out int prop_format);
[CCode (cheader_filename = "gdk/gdk.h")]
public static void send_notify (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
[CCode (cheader_filename = "gdk/gdk.h")]
[CCode (cheader_filename = "gdk/gdk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gdk_event_get_type ()")]
[Compact]
public class EventButton : Gdk.Event {
- public double axes;
+ [CCode (array_length = false)]
+ public weak double[] axes;
public uint button;
public weak Gdk.Device device;
public int8 send_event;
[CCode (cheader_filename = "gdk/gdk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gdk_event_get_type ()")]
[Compact]
public class EventTouch : Gdk.Event {
- public double axes;
+ [CCode (array_length = false)]
+ public weak double[] axes;
public weak Gdk.Device device;
public bool emulating_pointer;
public int8 send_event;
[Version (since = "2.2")]
public static Pango.Context pango_context_get_for_screen (Gdk.Screen screen);
[CCode (cheader_filename = "gdk/gdk.h")]
- public static Cairo.Region pango_layout_get_clip_region (Pango.Layout layout, int x_origin, int y_origin, int index_ranges, int n_ranges);
+ public static Cairo.Region pango_layout_get_clip_region (Pango.Layout layout, int x_origin, int y_origin, [CCode (array_length_cname = "n_ranges", array_length_pos = 4.1, type = "const gint*")] int[] index_ranges);
[CCode (cheader_filename = "gdk/gdk.h")]
[Version (since = "2.2")]
public static void parse_args ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[] argv);
[Version (since = "2.24")]
public int string_to_compound_text (string str, out Gdk.Atom encoding, out int format, [CCode (array_length_cname = "length", array_length_pos = 4.1)] out uint8[] ctext);
[Version (since = "2.24")]
- public int text_property_to_text_list (Gdk.Atom encoding, int format, uint8 text, int length, string list);
+ public int text_property_to_text_list (Gdk.Atom encoding, int format, [CCode (type = "const guchar*")] string text, int length, [CCode (array_length = false, type = "gchar***")] out string[] list);
[Version (since = "2.2")]
public void ungrab ();
[Version (since = "2.24")]
public static int device_get_id (Gdk.X11.DeviceCore device);
[CCode (cheader_filename = "gdk/gdkx.h")]
[Version (since = "2.24")]
- public static void free_compound_text ([CCode (array_length = false, type = "guchar*")] uint8[] ctext);
+ public static void free_compound_text ([CCode (array_length = false, type = "guchar*")] owned uint8[] ctext);
[CCode (cheader_filename = "gdk/gdkx.h")]
[Version (since = "2.24")]
- public static void free_text_list (string list);
+ public static void free_text_list ([CCode (array_length = false, type = "gchar**")] owned string[] list);
[CCode (cheader_filename = "gdk/gdkx.h")]
public static X.Window get_default_root_xwindow ();
[CCode (cheader_filename = "gdk/gdkx.h")]
[Version (since = "3.8")]
public uint add_tick_callback (owned Gtk.TickCallback callback);
[NoWrapper]
- public virtual void adjust_baseline_allocation (int baseline);
+ public virtual void adjust_baseline_allocation (ref int baseline);
[NoWrapper]
- public virtual void adjust_baseline_request (int minimum_baseline, int natural_baseline);
+ public virtual void adjust_baseline_request (ref int minimum_baseline, ref int natural_baseline);
[NoWrapper]
public virtual void adjust_size_allocation (Gtk.Orientation orientation, ref int minimum_size, ref int natural_size, ref int allocated_pos, ref int allocated_size);
[NoWrapper]
public void copy_clipboard ();
public void cut_clipboard ();
public void delete_selection ();
- [NoWrapper]
- public abstract void do_delete_text (int start_pos, int end_pos);
- [NoWrapper]
- public abstract void do_insert_text (string new_text, int new_text_length, ref int position);
+ [CCode (cname = "gtk_editable_delete_text", vfunc_name = "delete_text")]
+ public virtual void do_delete_text (int start_pos, int end_pos);
+ [CCode (cname = "gtk_editable_insert_text", vfunc_name = "insert_text")]
+ public virtual void do_insert_text (string new_text, int new_text_length, ref int position);
public abstract string get_chars (int start_pos = 0, int end_pos = -1);
public bool get_editable ();
public abstract int get_position ();
public delegate bool AccelGroupFindFunc (Gtk.AccelKey key, GLib.Closure closure);
[CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
public delegate void AccelMapForeach (void* data, string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool changed);
- [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GCallback")]
+ [CCode (cheader_filename = "gtk/gtk.h", cname = "GCallback")]
[Version (deprecated_since = "3.10")]
public delegate void ActionCallback (Gtk.Action action);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
public delegate void PageSetupDoneFunc (Gtk.PageSetup page_setup);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
public delegate void PrintSettingsFunc (string key, string value);
- [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GCallback")]
+ [CCode (cheader_filename = "gtk/gtk.h", cname = "GCallback")]
public delegate void RadioActionCallback (Gtk.Action action, Gtk.Action current);
[CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
public delegate bool RcPropertyParser (GLib.ParamSpec pspec, GLib.StringBuilder rc_string, GLib.Value property_value);
public delegate bool StylePropertyParser (string str, GLib.Value value) throws GLib.Error;
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 5.9)]
public delegate bool TextBufferDeserializeFunc (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter iter, [CCode (array_length_cname = "length", array_length_pos = 4.5, array_length_type = "gsize")] uint8[] data, bool create_tags) throws GLib.Error;
- [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 5.9)]
- public delegate unowned uint8? TextBufferSerializeFunc (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter start, Gtk.TextIter end, size_t length);
+ [CCode (array_length_pos = 4.1, array_length_type = "gsize", cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
+ public delegate uint8[]? TextBufferSerializeFunc (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter start, Gtk.TextIter end);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
public delegate bool TextCharPredicate (unichar ch);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
public void set_startup_notification_id (string startup_id);
public void set_surface_scale (int scale);
public int string_to_compound_text (string str, out unowned string encoding, out int format, [CCode (array_length_cname = "length", array_length_pos = 4.1)] out uint8[] ctext);
- public int text_property_to_text_list (string encoding, int format, uint8 text, int length, string list);
+ public int text_property_to_text_list (string encoding, int format, [CCode (type = "const guchar*")] string text, int length, [CCode (array_length = false, type = "char***")] out string[] list);
public void ungrab ();
public bool utf8_to_compound_text (string str, out unowned string encoding, out int format, [CCode (array_length_cname = "length", array_length_pos = 4.1)] out uint8[] ctext);
public signal bool xevent ([CCode (type = "gpointer")] X.Event xevent);
FLOATING
}
[CCode (cheader_filename = "gdk/x11/gdkx.h")]
- public static void free_compound_text ([CCode (array_length = false, type = "guchar*")] uint8[] ctext);
+ public static void free_compound_text ([CCode (array_length = false, type = "guchar*")] owned uint8[] ctext);
[CCode (cheader_filename = "gdk/x11/gdkx.h")]
- public static void free_text_list (string list);
+ public static void free_text_list ([CCode (array_length = false, type = "char**")] owned string[] list);
[CCode (cheader_filename = "gdk/x11/gdkx.h")]
public static void set_sm_client_id (string? sm_client_id);
}
public void set_opaque_region (Cairo.Region? region);
[CCode (has_construct_function = false)]
public Surface.toplevel (Gdk.Display display);
- public bool translate_coordinates (Gdk.Surface to, double x, double y);
+ public bool translate_coordinates (Gdk.Surface to, ref double x, ref double y);
public Gdk.Cursor cursor { get; set; }
public Gdk.Display display { get; construct; }
public Gdk.FrameClock frame_clock { get; construct; }
[CCode (cheader_filename = "gdk/gdk.h")]
public static uint keyval_to_upper (uint keyval);
[CCode (cheader_filename = "gdk/gdk.h")]
- public static Cairo.Region pango_layout_get_clip_region (Pango.Layout layout, int x_origin, int y_origin, int index_ranges, int n_ranges);
+ public static Cairo.Region pango_layout_get_clip_region (Pango.Layout layout, int x_origin, int y_origin, [CCode (array_length_cname = "n_ranges", array_length_pos = 4.1, type = "const int*")] int[] index_ranges);
[CCode (cheader_filename = "gdk/gdk.h")]
public static Gdk.Pixbuf? pixbuf_get_from_surface (Cairo.Surface surface, int src_x, int src_y, int width, int height);
[CCode (cheader_filename = "gdk/gdk.h")]
public static bool delegate_get_property (GLib.Object object, uint prop_id, GLib.Value value, GLib.ParamSpec pspec);
public static bool delegate_set_property (GLib.Object object, uint prop_id, GLib.Value value, GLib.ParamSpec pspec);
public void delete_selection ();
- [NoWrapper]
- public abstract void do_delete_text (int start_pos, int end_pos);
- [NoWrapper]
- public abstract void do_insert_text (string text, int length, ref int position);
+ [CCode (cname = "gtk_editable_delete_text", vfunc_name = "delete_text")]
+ public virtual void do_delete_text (int start_pos, int end_pos);
+ [CCode (cname = "gtk_editable_insert_text", vfunc_name = "insert_text")]
+ public virtual void do_insert_text (string text, int length, ref int position);
public void finish_delegate ();
public float get_alignment ();
public string get_chars (int start_pos = 0, int end_pos = -1);
._get_angle skip
._get_center skip
._get_distance skip
+Event*
+ .axes array
Window abstract=false
.add_filter skip=false
.create_similar_image_surface type="Cairo.ImageSurface"
ModifierType
.modifier_reserved_*_mask skip
pango_layout_get_clip_region skip=false
+ .index_ranges array array_length_idx=4
property_change skip=false
add_option_entries_libgtk_only skip=false
Device
property_change.data array
selection_property_get skip=false
.data array
+ .prop_type out
+ .prop_format out
threads_add_idle skip=false
threads_add_timeout skip=false
threads_add_timeout_seconds skip=false
.height skip
RGBA struct
pango_layout_get_clip_region skip=false
+ .index_ranges array array_length_idx=4
Texture
// Factory method
.new_* symbol_type="function" name="new_(.+)"
Surface
.destroy destroys_instance
+ .translate_coordinates.x ref
+ .translate_coordinates.y ref
Toplevel
.compute_size.size nullable unowned
ToplevelSize struct
X11Display
.broadcast_startup_message skip=false
+ .text_property_to_text_list.text type="string"
+ .text_property_to_text_list.list type="string[]" out
X11Window
.foreign_new_for_display name="foreign_for_display"
x11_device_manager_lookup name="lookup_for_device_manager" parent="Gdk.X11.DeviceCore"
-x11_free_compound_text.ctext type="uint8[]"
+x11_free_compound_text.ctext type="owned uint8[]"
+x11_free_text_list.list array owned
x11_lookup_xdisplay name="lookup_for_xdisplay" parent="Gdk.X11.Display"
X11Display
.broadcast_startup_message skip=false
.xevent.xevent type="X.Event"
+ .text_property_to_text_list.text type="string"
+ .text_property_to_text_list.list type="string[]" out
x11_device_manager_lookup name="lookup_for_device_manager" parent="Gdk.X11.DeviceManagerXI2" symbol_type="method" instance_idx=0
x11_device_get_id name="get_id" parent="Gdk.X11.DeviceXI2" symbol_type="method" instance_idx=0
-x11_free_compound_text.ctext type="uint8[]"
+x11_free_compound_text.ctext type="owned uint8[]"
+x11_free_text_list.list array owned
x11_get_server_time name="get_server_time" parent="Gdk.X11.Surface" symbol_type="method" instance_idx=0
x11_get_xatom_by_name_for_display name="get_xatom_by_name" parent="Gdk.X11.Display" symbol_type="method" instance_idx=0
x11_get_xatom_name_for_display name="get_xatom_name" parent="Gdk.X11.Display" symbol_type="method" instance_idx=0
namespace Gtk {
- [CCode (type_cname = "GCallback")]
+ [CCode (cname = "GCallback")]
[Version (deprecated_since = "3.10")]
public delegate void ActionCallback (Action action);
public delegate bool AccelGroupActivate (Gtk.AccelGroup accel_group, GLib.Object acceleratable, uint keyval, Gdk.ModifierType modifier);
- [CCode (type_cname = "GCallback")]
+ [CCode (cname = "GCallback")]
public delegate void RadioActionCallback (Gtk.Action action, Gtk.Action current);
[CCode (has_type_id = false)]
public virtual void notify_gtk (GLib.ParamSpec pspec);
}
- [CCode (type_id = "gtk_editable_get_type ()")]
- public interface Editable : GLib.Object {
- [NoWrapper]
- public abstract void do_insert_text (string new_text, int new_text_length, ref int position);
- [NoWrapper]
- public abstract void do_delete_text (int start_pos, int end_pos);
- }
-
[CCode (has_type_id = false)]
public struct BindingArg {
[CCode (cname = "d.long_data")]
.adjust_size_allocation.*_size ref
.adjust_size_allocation.allocated_pos ref
.adjust_size_request.*_size ref
+ .adjust_baseline_allocation.baseline ref
+ .adjust_baseline_request.*_baseline ref
.compute_expand#virtual_method.*expand_p out
.dispatch_child_properties_changed.pspecs array array_length_idx=0
RecentChooser
.activate_default#method name="try_activate_default"
.activate_focus#method name="try_activate_focus"
Editable
- .delete_text#method skip
- .insert_text#method skip
+ .delete_text#method name="do_delete_text" vfunc_name="delete_text"
+ .insert_text#method name="do_insert_text" vfunc_name="insert_text"
// time_t
RecentInfo
.insert*.iter ref
.insert_text.pos ref
.insert_text#signal.location ref
+TextBufferSerializeFunc type="uint8[]?" array_length_idx=4 unowned=false
TextIter
.order.second ref
TextView
public virtual signal void rows_reordered (Gtk.TreePath path, Gtk.TreeIter iter, [CCode (array_length = false)] int[] new_order);
}
- public interface Editable {
- [NoWrapper]
- public abstract void do_insert_text (string text, int length, ref int position);
- [NoWrapper]
- public abstract void do_delete_text (int start_pos, int end_pos);
- }
-
[CCode (has_type_id = false)]
public struct BindingArg {
[CCode (cname = "d.long_data")]
.compute_expand#virtual_method name="compute_expand_internal"
.size_allocate#method name="allocate_size"
Editable
- .delete_text#method skip
- .insert_text#method skip
+ .delete_text#method name="do_delete_text" vfunc_name="delete_text"
+ .insert_text#method name="do_insert_text" vfunc_name="insert_text"
// Not sure what g-i was thinking
TreeModel