summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2020-11-06 21:11:07 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2020-11-06 21:11:07 +0100
commit2636175ab153191b0ee6f9b81318d03202bee949 (patch)
tree0ca06d5c99a3cd8fe40358cdbbd3e01c2a14a487
parent08561731e0677ad961ec4331ec4f22eb0d7842fd (diff)
downloadvala-2636175ab153191b0ee6f9b81318d03202bee949.tar.gz
gtk4: Update to 3.99.4+0d82faa2
-rw-r--r--vapi/gtk4.vapi12
-rw-r--r--vapi/metadata/Gtk-4.0.metadata4
2 files changed, 10 insertions, 6 deletions
diff --git a/vapi/gtk4.vapi b/vapi/gtk4.vapi
index 0b985e7e6..120429eb7 100644
--- a/vapi/gtk4.vapi
+++ b/vapi/gtk4.vapi
@@ -5544,11 +5544,6 @@ namespace Gdk {
public int group;
public int level;
}
- [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
- public struct Point {
- public int x;
- public int y;
- }
[CCode (cheader_filename = "gdk/gdk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gdk_rgba_get_type ()")]
public struct RGBA {
public float red;
@@ -6409,7 +6404,8 @@ namespace Gtk {
public unowned Gtk.Accessible get_accessible ();
public Gtk.AccessibleRole get_accessible_role ();
public Gtk.Accessible accessible { get; construct; }
- public Gtk.AccessibleRole accessible_role { get; construct; }
+ [NoAccessorMethod]
+ public Gtk.AccessibleRole accessible_role { get; set construct; }
[NoAccessorMethod]
public Gdk.Display display { owned get; construct; }
public signal void state_change ();
@@ -9903,11 +9899,13 @@ namespace Gtk {
public class PopoverMenu : Gtk.Popover, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget, Gtk.Native, Gtk.ShortcutManager {
[CCode (has_construct_function = false)]
protected PopoverMenu ();
+ public new bool add_child (Gtk.Widget child, string id);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public PopoverMenu.from_model (GLib.MenuModel? model);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public PopoverMenu.from_model_full (GLib.MenuModel model, Gtk.PopoverMenuFlags flags);
public unowned GLib.MenuModel get_menu_model ();
+ public bool remove_child (Gtk.Widget child);
public void set_menu_model (GLib.MenuModel? model);
public GLib.MenuModel menu_model { get; set; }
[NoAccessorMethod]
@@ -9917,9 +9915,11 @@ namespace Gtk {
public class PopoverMenuBar : Gtk.Widget, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget {
[CCode (has_construct_function = false)]
protected PopoverMenuBar ();
+ public new bool add_child (Gtk.Widget child, string id);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public PopoverMenuBar.from_model (GLib.MenuModel? model);
public unowned GLib.MenuModel get_menu_model ();
+ public bool remove_child (Gtk.Widget child);
public void set_menu_model (GLib.MenuModel? model);
public GLib.MenuModel menu_model { get; set; }
}
diff --git a/vapi/metadata/Gtk-4.0.metadata b/vapi/metadata/Gtk-4.0.metadata
index 9daf2d386..316edfc93 100644
--- a/vapi/metadata/Gtk-4.0.metadata
+++ b/vapi/metadata/Gtk-4.0.metadata
@@ -226,6 +226,10 @@ MediaStream
.play#method name="play_now"
Notebook
.insert_page_menu skip
+PopoverMenu
+ .add_child new
+PopoverMenuBar
+ .add_child new
Stack
.add_child new
TreeView