summaryrefslogtreecommitdiff
path: root/vapi/gtk4.vapi
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2021-03-06 12:38:01 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2021-03-06 12:38:01 +0100
commit1db4a06d7bd2b5a516e59431d9695ed965def591 (patch)
tree33cfc1d066fe2ecc1e243ce464de71bce6ac0c50 /vapi/gtk4.vapi
parente7b08a38dac95bd74c79a6e579edae1004e0bef7 (diff)
downloadvala-1db4a06d7bd2b5a516e59431d9695ed965def591.tar.gz
gtk4: Update to 4.1.1+f8f90d85
Diffstat (limited to 'vapi/gtk4.vapi')
-rw-r--r--vapi/gtk4.vapi5
1 files changed, 4 insertions, 1 deletions
diff --git a/vapi/gtk4.vapi b/vapi/gtk4.vapi
index 36a15a73c..91d143746 100644
--- a/vapi/gtk4.vapi
+++ b/vapi/gtk4.vapi
@@ -8709,10 +8709,13 @@ namespace Gtk {
public virtual void focus_out ();
public virtual void get_preedit_string (out string str, out Pango.AttrList attrs, out int cursor_pos);
public virtual bool get_surrounding (out string text, out int cursor_index);
+ public virtual bool get_surrounding_with_selection (string text, int cursor_index, int anchor_index);
public virtual void reset ();
public virtual void set_client_widget (Gtk.Widget? widget);
public virtual void set_cursor_location (Gdk.Rectangle area);
+ [Version (deprecated = true, deprecated_since = "4.2")]
public virtual void set_surrounding (string text, int len, int cursor_index);
+ public virtual void set_surrounding_with_selection (string text, int len, int cursor_index, int anchor_index);
public virtual void set_use_preedit (bool use_preedit);
[NoAccessorMethod]
public Gtk.InputHints input_hints { get; set; }
@@ -10653,7 +10656,7 @@ namespace Gtk {
public bool get_can_unselect ();
public unowned GLib.ListModel get_model ();
public uint get_selected ();
- public void* get_selected_item ();
+ public unowned GLib.Object? get_selected_item ();
public void set_autoselect (bool autoselect);
public void set_can_unselect (bool can_unselect);
public void set_model (GLib.ListModel? model);