summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2018-02-05 21:47:47 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2018-02-07 17:41:20 +0100
commit7a432db6392593d44389b0a23a4ff4f585c0346e (patch)
treea328aa2167182df7677dfdf56cd9b284ac38a073
parentdc0d1083479a650a46048c9729a96c42a98cc71e (diff)
downloadvala-7a432db6392593d44389b0a23a4ff4f585c0346e.tar.gz
gtk+-4.0: Update to 3.93.0+d07b14f4
-rw-r--r--vapi/gtk+-4.0.vapi3172
-rw-r--r--vapi/metadata/Gdk-4.0.metadata3
-rw-r--r--vapi/metadata/Gtk-4.0.metadata14
3 files changed, 17 insertions, 3172 deletions
diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi
index e44f82fe4..d7bfb8689 100644
--- a/vapi/gtk+-4.0.vapi
+++ b/vapi/gtk+-4.0.vapi
@@ -4557,7 +4557,6 @@ namespace Gdk {
[CCode (has_construct_function = false)]
protected DeviceCore ();
[CCode (cheader_filename = "gdk/gdkx.h", cname = "gdk_x11_device_manager_lookup")]
- [Version (since = "3.2")]
public static unowned Gdk.X11.DeviceCore? lookup_for_device_manager (Gdk.X11.DeviceManagerCore device_manager, int device_id);
}
[CCode (cheader_filename = "gdk/gdkx.h", type_id = "gdk_x11_device_manager_core_get_type ()")]
@@ -4593,49 +4592,29 @@ namespace Gdk {
public class Display : Gdk.Display {
[CCode (has_construct_function = false)]
protected Display ();
- [Version (since = "2.12")]
public void broadcast_startup_message (string message_type, ...);
- [Version (since = "3.0")]
public int error_trap_pop ();
- [Version (since = "3.0")]
public void error_trap_pop_ignored ();
- [Version (since = "3.0")]
public void error_trap_push ();
- [Version (since = "3.16")]
public static bool get_glx_version (Gdk.Display display, out int major, out int minor);
public static unowned Gdk.X11.Screen get_screen (Gdk.Display display);
- [Version (since = "2.12")]
public unowned string get_startup_notification_id ();
- [Version (since = "2.8")]
public uint32 get_user_time ();
public X.Cursor get_xcursor (Gdk.Cursor cursor);
- [Version (since = "2.2")]
public unowned X.Display get_xdisplay ();
- [Version (since = "3.94")]
public X.Window get_xrootwindow ();
- [Version (since = "3.94")]
public unowned X.Screen get_xscreen ();
- [Version (since = "2.2")]
public void grab ();
[CCode (cheader_filename = "gdk/gdkx.h", cname = "gdk_x11_lookup_xdisplay")]
- [Version (since = "2.2")]
public static unowned Gdk.X11.Display lookup_for_xdisplay (X.Display xdisplay);
public static Gdk.Display? open (string? display_name);
- [Version (since = "2.8")]
public void set_cursor_theme (string theme, int size);
- [Version (since = "3.94")]
public static void set_program_class (Gdk.Display display, string program_class);
- [Version (since = "3.0")]
public void set_startup_notification_id (string startup_id);
- [Version (since = "3.10")]
public void set_window_scale (int scale);
- [Version (since = "2.24")]
public int string_to_compound_text (string str, out unowned 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);
- [Version (since = "2.2")]
public void ungrab ();
- [Version (since = "2.24")]
public bool utf8_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);
public signal bool xevent ([CCode (type = "gpointer")] X.Event xevent);
}
@@ -4656,9 +4635,7 @@ namespace Gdk {
public class Keymap : Gdk.Keymap {
[CCode (has_construct_function = false)]
protected Keymap ();
- [Version (since = "3.6")]
public int get_group_for_state (uint state);
- [Version (since = "3.6")]
public bool key_is_modifier (uint keycode);
}
[CCode (cheader_filename = "gdk/gdkx.h", type_id = "gdk_x11_monitor_get_type ()")]
@@ -4673,19 +4650,12 @@ namespace Gdk {
public class Screen : GLib.Object {
[CCode (has_construct_function = false)]
protected Screen ();
- [Version (since = "3.10")]
public uint32 get_current_desktop ();
- [Version (since = "2.14")]
public X.ID get_monitor_output (int monitor_num);
- [Version (since = "3.10")]
public uint32 get_number_of_desktops ();
- [Version (since = "2.2")]
public int get_screen_number ();
- [Version (since = "2.2")]
public unowned string get_window_manager_name ();
- [Version (since = "2.2")]
public unowned X.Screen get_xscreen ();
- [Version (since = "2.2")]
public bool supports_net_wm_hint (Gdk.Atom property);
public signal void window_manager_changed ();
}
@@ -4695,69 +4665,45 @@ namespace Gdk {
[CCode (has_construct_function = false)]
protected Window ();
[CCode (cname = "gdk_x11_window_foreign_new_for_display", has_construct_function = false, type = "GdkWindow*")]
- [Version (since = "2.24")]
public Window.foreign_for_display (Gdk.X11.Display display, X.Window window);
- [Version (since = "3.10")]
public uint32 get_desktop ();
public X.Window get_xid ();
- [Version (since = "2.24")]
public static unowned Gdk.X11.Window lookup_for_display (Gdk.X11.Display display, X.Window window);
- [Version (since = "2.8")]
public void move_to_current_desktop ();
- [Version (since = "3.10")]
public void move_to_desktop (uint32 desktop);
- [Version (deprecated = true, deprecated_since = "3.12", since = "3.10")]
- public void set_frame_extents (int left, int right, int top, int bottom);
- [Version (since = "3.8")]
public void set_frame_sync_enabled (bool frame_sync_enabled);
- [Version (since = "3.2")]
public void set_theme_variant (string variant);
- [Version (since = "2.6")]
public void set_user_time (uint32 timestamp);
- [Version (since = "3.4")]
public void set_utf8_property (string name, string? value);
}
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Version (since = "2.2")]
public static X.Atom atom_to_xatom_for_display (Gdk.X11.Display display, Gdk.Atom atom);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Version (since = "3.2")]
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);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Version (since = "2.24")]
public static void free_text_list (string list);
[CCode (cheader_filename = "gdk/gdkx.h")]
public static uint32 get_server_time (Gdk.X11.Window window);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Version (since = "2.2")]
public static X.Atom get_xatom_by_name_for_display (Gdk.X11.Display display, string atom_name);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Version (since = "2.2")]
public static unowned string get_xatom_name_for_display (Gdk.X11.Display display, X.Atom xatom);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Version (since = "2.4")]
public static void register_standard_event_type (Gdk.X11.Display display, int event_base, int n_events);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Version (since = "2.24")]
public static void set_sm_client_id (string sm_client_id);
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Version (since = "2.2")]
public static unowned Gdk.Atom xatom_to_atom_for_display (Gdk.X11.Display display, X.Atom xatom);
}
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_app_launch_context_get_type ()")]
public class AppLaunchContext : GLib.AppLaunchContext {
[CCode (has_construct_function = false)]
protected AppLaunchContext ();
- [Version (since = "2.14")]
public void set_desktop (int desktop);
- [Version (since = "2.14")]
public void set_icon (GLib.Icon? icon);
- [Version (since = "2.14")]
public void set_icon_name (string? icon_name);
- [Version (since = "2.14")]
public void set_timestamp (uint32 timestamp);
[NoAccessorMethod]
public Gdk.Display display { owned get; construct; }
@@ -4781,14 +4727,10 @@ namespace Gdk {
public bool set_content (Gdk.ContentProvider? provider);
public void set_value (GLib.Value value);
public async bool store_async (int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- [Version (since = "3.94")]
public Gdk.ContentProvider content { get; }
- [Version (since = "3.94")]
public Gdk.Display display { get; construct; }
- [Version (since = "3.94")]
public Gdk.ContentFormats formats { get; }
[NoAccessorMethod]
- [Version (since = "3.94")]
public bool local { get; }
public signal void changed ();
}
@@ -4832,13 +4774,17 @@ namespace Gdk {
public Gdk.ContentFormats union_serialize_mime_types ();
public void unref ();
}
- [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
+ [CCode (cheader_filename = "gdk/gdk.h", ref_function = "gdk_content_formats_builder_ref", type_id = "gdk_content_formats_builder_get_type ()", unref_function = "gdk_content_formats_builder_unref")]
[Compact]
public class ContentFormatsBuilder {
+ [CCode (has_construct_function = false)]
+ public ContentFormatsBuilder ();
public void add_formats (Gdk.ContentFormats formats);
public void add_gtype (GLib.Type type);
public void add_mime_type (string mime_type);
- public Gdk.ContentFormats free ();
+ public unowned Gdk.ContentFormatsBuilder @ref ();
+ public Gdk.ContentFormats to_formats ();
+ public void unref ();
}
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_content_provider_get_type ()")]
public class ContentProvider : GLib.Object {
@@ -4857,10 +4803,8 @@ namespace Gdk {
public virtual Gdk.ContentFormats ref_storable_formats ();
public virtual async bool write_mime_type_async (string mime_type, GLib.OutputStream stream, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
[NoAccessorMethod]
- [Version (since = "3.94")]
public Gdk.ContentFormats formats { owned get; }
[NoAccessorMethod]
- [Version (since = "3.94")]
public Gdk.ContentFormats storable_formats { owned get; }
[HasEmitter]
public virtual signal void content_changed ();
@@ -4885,20 +4829,13 @@ namespace Gdk {
[CCode (has_construct_function = false)]
protected Cursor ();
[CCode (has_construct_function = false)]
- [Version (since = "2.8")]
public Cursor.from_name (string name, Gdk.Cursor? fallback);
[CCode (has_construct_function = false)]
- [Version (since = "3.94")]
public Cursor.from_texture (Gdk.Texture texture, int hotspot_x, int hotspot_y, Gdk.Cursor? fallback);
- [Version (since = "3.94")]
public unowned Gdk.Cursor get_fallback ();
- [Version (since = "3.94")]
public int get_hotspot_x ();
- [Version (since = "3.94")]
public int get_hotspot_y ();
- [Version (since = "3.94")]
public unowned string get_name ();
- [Version (since = "3.94")]
public unowned Gdk.Texture get_texture ();
public Gdk.Cursor fallback { get; construct; }
public int hotspot_x { get; construct; }
@@ -4911,108 +4848,69 @@ namespace Gdk {
[CCode (has_construct_function = false)]
protected Device ();
public static void free_history ([CCode (array_length_cname = "n_events", array_length_pos = 1.1)] Gdk.TimeCoord[] events);
- [Version (since = "3.0")]
public unowned Gdk.Device? get_associated_device ();
- [Version (since = "3.22")]
public Gdk.AxisFlags get_axes ();
public bool get_axis ([CCode (array_length = false)] double[] axes, Gdk.AxisUse use, out double value);
- [Version (since = "2.20")]
public Gdk.AxisUse get_axis_use (uint index_);
- [Version (since = "3.0")]
public bool get_axis_value ([CCode (array_length = false)] double[] axes, Gdk.Atom axis_label, out double value);
- [Version (since = "3.0")]
public Gdk.DeviceType get_device_type ();
- [Version (since = "3.0")]
public unowned Gdk.Display get_display ();
- [Version (since = "2.20")]
public bool get_has_cursor ();
public bool get_history (Gdk.Window window, uint32 start, uint32 stop, [CCode (array_length_cname = "n_events", array_length_pos = 4.1)] out Gdk.TimeCoord[] events);
- [Version (since = "2.20")]
public bool get_key (uint index_, out uint keyval, out Gdk.ModifierType modifiers);
- [Version (since = "3.12")]
public unowned Gdk.Window? get_last_event_window ();
- [Version (since = "2.20")]
public Gdk.InputMode get_mode ();
- [Version (since = "3.0")]
public int get_n_axes ();
- [Version (since = "2.24")]
public int get_n_keys ();
- [Version (since = "2.20")]
public unowned string get_name ();
- [Version (since = "3.0")]
public void get_position (out int x, out int y);
- [Version (since = "3.10")]
public void get_position_double (out double x, out double y);
- [Version (since = "3.16")]
public unowned string? get_product_id ();
- [Version (since = "3.20")]
public unowned Gdk.Seat get_seat ();
- [Version (since = "2.20")]
public Gdk.InputSource get_source ();
public void get_state (Gdk.Window window, [CCode (array_length = false)] double[]? axes, out Gdk.ModifierType mask);
- [Version (since = "3.16")]
public unowned string? get_vendor_id ();
- [Version (since = "3.0")]
public unowned Gdk.Window? get_window_at_position (out int win_x, out int win_y);
- [Version (since = "3.0")]
public unowned Gdk.Window? get_window_at_position_double (out double win_x, out double win_y);
- [Version (deprecated = true, deprecated_since = "3.20.", since = "3.0")]
+ [Version (deprecated = true)]
public Gdk.GrabStatus grab (Gdk.Window window, Gdk.GrabOwnership grab_ownership, bool owner_events, Gdk.EventMask event_mask, Gdk.Cursor? cursor, uint32 time_);
- [Version (since = "3.0")]
public GLib.List<weak Gdk.Atom> list_axes ();
public GLib.List<weak Gdk.Device>? list_slave_devices ();
public void set_axis_use (uint index_, Gdk.AxisUse use);
public void set_key (uint index_, uint keyval, Gdk.ModifierType modifiers);
public bool set_mode (Gdk.InputMode mode);
- [Version (deprecated = true, deprecated_since = "3.20.", since = "3.0")]
+ [Version (deprecated = true, deprecated_since = "3.20.")]
public void ungrab (uint32 time_);
- [Version (since = "3.0")]
public void warp (int x, int y);
- [Version (since = "3.0")]
public Gdk.Device? associated_device { get; }
- [Version (since = "3.22")]
public Gdk.AxisFlags axes { get; }
- [Version (since = "3.0")]
public Gdk.Display display { get; construct; }
- [Version (since = "3.0")]
public bool has_cursor { get; construct; }
[NoAccessorMethod]
public Gdk.InputMode input_mode { get; set; }
[NoAccessorMethod]
- [Version (since = "3.0")]
public Gdk.InputSource input_source { get; construct; }
- [Version (since = "3.0")]
public uint n_axes { get; }
- [Version (since = "3.0")]
public string? name { get; construct; }
[NoAccessorMethod]
- [Version (since = "3.20")]
public uint num_touches { get; construct; }
- [Version (since = "3.16")]
public string product_id { get; construct; }
[NoAccessorMethod]
- [Version (since = "3.20")]
public Gdk.Seat seat { owned get; set; }
[NoAccessorMethod]
public Gdk.DeviceTool tool { owned get; }
[NoAccessorMethod]
- [Version (since = "3.0")]
public Gdk.DeviceType type { get; construct; }
- [Version (since = "3.16")]
public string vendor_id { get; construct; }
public signal void changed ();
- [Version (since = "3.22")]
public signal void tool_changed (Gdk.DeviceTool tool);
}
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_device_tool_get_type ()")]
public class DeviceTool : GLib.Object {
[CCode (has_construct_function = false)]
protected DeviceTool ();
- [Version (since = "3.22")]
public uint64 get_hardware_id ();
- [Version (since = "3.22")]
public uint64 get_serial ();
- [Version (since = "3.22")]
public Gdk.DeviceToolType get_tool_type ();
[NoAccessorMethod]
public Gdk.AxisFlags axes { get; construct; }
@@ -5024,225 +4922,142 @@ namespace Gdk {
public class Display : GLib.Object {
[CCode (has_construct_function = false)]
protected Display ();
- [Version (since = "2.2")]
public void beep ();
- [Version (since = "2.2")]
public void close ();
public bool device_is_grabbed (Gdk.Device device);
- [Version (since = "2.4")]
public void flush ();
- [Version (since = "3.0")]
public Gdk.AppLaunchContext get_app_launch_context ();
public unowned Gdk.Clipboard get_clipboard ();
- [Version (since = "2.2")]
public static unowned Gdk.Display? get_default ();
- [Version (since = "2.4")]
public unowned Gdk.Window get_default_group ();
- [Version (since = "3.20")]
public unowned Gdk.Seat get_default_seat ();
- [Version (since = "2.2")]
public Gdk.Event? get_event ();
- [Version (since = "3.94")]
public unowned Gdk.Keymap get_keymap ();
- [Version (since = "3.22")]
public unowned Gdk.Monitor? get_monitor (int monitor_num);
- [Version (since = "3.22")]
public unowned Gdk.Monitor get_monitor_at_point (int x, int y);
- [Version (since = "3.22")]
public unowned Gdk.Monitor get_monitor_at_window (Gdk.Window window);
- [Version (since = "3.22")]
public int get_n_monitors ();
- [Version (since = "2.2")]
public unowned string get_name ();
public unowned Gdk.Clipboard get_primary_clipboard ();
- [Version (since = "3.22")]
public unowned Gdk.Monitor get_primary_monitor ();
- [Version (since = "3.94")]
public bool get_setting (string name, GLib.Value value);
- [Version (since = "3.0")]
public bool has_pending ();
- [Version (since = "2.22")]
public bool is_closed ();
- [Version (since = "3.90")]
public bool is_composited ();
- [Version (since = "3.90")]
public bool is_rgba ();
- [Version (since = "3.20")]
public GLib.List<weak Gdk.Seat> list_seats ();
- [Version (since = "3.0")]
public void notify_startup_complete (string startup_id);
- [Version (since = "2.2")]
public static unowned Gdk.Display? open (string display_name);
- [Version (since = "2.2")]
public Gdk.Event? peek_event ();
- [Version (since = "2.2")]
public void put_event (Gdk.Event event);
- [Version (since = "2.10")]
public bool supports_input_shapes ();
- [Version (since = "2.10")]
public bool supports_shapes ();
- [Version (since = "2.2")]
public void sync ();
[NoAccessorMethod]
- [Version (since = "3.90")]
public bool composited { get; }
[NoAccessorMethod]
- [Version (since = "3.90")]
public bool rgba { get; }
- [Version (since = "2.2")]
public signal void closed (bool is_error);
- [Version (since = "3.22")]
public signal void monitor_added (Gdk.Monitor monitor);
- [Version (since = "3.22")]
public signal void monitor_removed (Gdk.Monitor monitor);
public signal void opened ();
- [Version (since = "3.20")]
public signal void seat_added (Gdk.Seat seat);
- [Version (since = "3.20")]
public signal void seat_removed (Gdk.Seat seat);
- [Version (since = "3.94")]
public signal void setting_changed (string setting);
}
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_display_manager_get_type ()")]
public class DisplayManager : GLib.Object {
[CCode (has_construct_function = false)]
protected DisplayManager ();
- [Version (since = "2.2")]
public static unowned Gdk.DisplayManager @get ();
- [Version (since = "2.2")]
public unowned Gdk.Display? get_default_display ();
- [Version (since = "2.2")]
public GLib.SList<weak Gdk.Display> list_displays ();
- [Version (since = "3.0")]
public unowned Gdk.Display? open_display (string name);
- [Version (since = "2.2")]
public void set_default_display (Gdk.Display display);
public Gdk.Display default_display { get; set; }
- [Version (since = "2.2")]
public signal void display_opened (Gdk.Display display);
}
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_drag_context_get_type ()")]
public class DragContext : GLib.Object {
[CCode (has_construct_function = false)]
protected DragContext ();
- [Version (since = "2.22")]
public Gdk.DragAction get_actions ();
- [Version (since = "3.0")]
public unowned Gdk.Window get_dest_window ();
public unowned Gdk.Device get_device ();
public unowned Gdk.Display get_display ();
- [Version (since = "3.20")]
public unowned Gdk.Window? get_drag_window ();
- [Version (since = "3.94")]
public unowned Gdk.ContentFormats get_formats ();
- [Version (since = "2.22")]
public Gdk.DragAction get_selected_action ();
- [Version (since = "2.22")]
public unowned Gdk.Window get_source_window ();
- [Version (since = "2.22")]
public Gdk.DragAction get_suggested_action ();
- [Version (since = "3.20")]
public void set_hotspot (int hot_x, int hot_y);
[NoAccessorMethod]
- [Version (since = "3.94")]
public Gdk.ContentProvider content { owned get; construct; }
- [Version (since = "3.94")]
public Gdk.Display display { get; construct; }
- [Version (since = "3.94")]
public Gdk.ContentFormats formats { get; }
- [Version (since = "3.20")]
public signal void action_changed (Gdk.DragAction action);
- [Version (since = "3.20")]
public signal void cancel (Gdk.DragCancelReason reason);
- [Version (since = "3.20")]
public signal void dnd_finished ();
- [Version (since = "3.20")]
public signal void drop_performed (int time);
}
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_draw_context_get_type ()")]
public abstract class DrawContext : GLib.Object {
[CCode (has_construct_function = false)]
protected DrawContext ();
- [Version (since = "3.90")]
public unowned Gdk.Display? get_display ();
- [Version (since = "3.90")]
public unowned Gdk.Window? get_window ();
- [Version (since = "3.90")]
public Gdk.Display display { get; }
- [Version (since = "3.90")]
public Gdk.Window window { get; construct; }
}
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_drawing_context_get_type ()")]
public class DrawingContext : GLib.Object {
[CCode (has_construct_function = false)]
protected DrawingContext ();
- [Version (since = "3.22")]
public unowned Cairo.Context? get_cairo_context ();
- [Version (since = "3.22")]
public Cairo.Region? get_clip ();
- [Version (since = "3.90")]
public unowned Gdk.DrawContext get_paint_context ();
- [Version (since = "3.22")]
public unowned Gdk.Window get_window ();
- [Version (since = "3.22")]
public bool is_valid ();
- [Version (since = "3.22")]
public Cairo.Region clip { owned get; construct; }
- [Version (since = "3.90")]
public Gdk.DrawContext paint_context { get; construct; }
- [Version (since = "3.22")]
public Gdk.Window window { get; construct; }
}
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_event_get_type ()")]
public class Event : GLib.Object {
[CCode (has_construct_function = false)]
- [Version (since = "2.2")]
public Event (Gdk.EventType type);
public Gdk.Event copy ();
public void free ();
public bool get_axes ([CCode (array_length_cname = "n_axes", array_length_pos = 1.1, array_length_type = "guint")] out unowned double[] axes);
public bool get_axis (Gdk.AxisUse axis_use, out double value);
- [Version (since = "3.2")]
public bool get_button (out uint button);
- [Version (since = "3.2")]
public bool get_click_count (out uint click_count);
public bool get_coords (out double x_win, out double y_win);
public bool get_crossing_detail (out Gdk.NotifyType detail);
public bool get_crossing_mode (out Gdk.CrossingMode mode);
- [Version (since = "3.0")]
public unowned Gdk.Device? get_device ();
- [Version (since = "3.22")]
public unowned Gdk.DeviceTool get_device_tool ();
public unowned Gdk.Display? get_display ();
public bool get_drag_context (out unowned Gdk.DragContext context);
- [Version (since = "3.4")]
public unowned Gdk.EventSequence get_event_sequence ();
- [Version (since = "3.10")]
public Gdk.EventType get_event_type ();
public bool get_focus_in (out bool focus_in);
public bool get_grab_window (out unowned Gdk.Window window);
- public GLib.List<weak Gdk.TimeCoord>? get_history ();
public bool get_key_group (out uint group);
public bool get_key_is_modifier (out bool is_modifier);
- [Version (since = "3.2")]
public bool get_keycode (out uint16 keycode);
- [Version (since = "3.2")]
public bool get_keyval (out uint keyval);
+ [Version (since = "3.94")]
+ public GLib.List<weak Gdk.TimeCoord>? get_motion_history ();
public bool get_pad_axis_value (out uint index, out double value);
public bool get_pad_button (out uint button);
public bool get_pad_group_mode (out uint group, out uint mode);
- [Version (since = "3.22")]
public bool get_pointer_emulated ();
public bool get_root_coords (out double x_root, out double y_root);
- [Version (since = "3.22")]
public int get_scancode ();
- [Version (since = "3.4")]
public bool get_scroll_deltas (out double delta_x, out double delta_y);
- [Version (since = "3.2")]
public bool get_scroll_direction (out Gdk.ScrollDirection direction);
- [Version (since = "3.20")]
public unowned Gdk.Seat get_seat ();
- [Version (since = "3.0")]
public unowned Gdk.Device? get_source_device ();
public bool get_state (out Gdk.ModifierType state);
public bool get_string (out unowned string string);
@@ -5253,23 +5068,17 @@ namespace Gdk {
public bool get_touchpad_gesture_n_fingers (out uint n_fingers);
public bool get_touchpad_gesture_phase (out Gdk.TouchpadGesturePhase phase);
public bool get_touchpad_scale (out double scale);
- [Version (since = "3.10")]
public unowned Gdk.Window get_window ();
public static void handler_set (owned Gdk.EventFunc func);
- [Version (since = "3.20")]
public bool is_scroll_stop_event ();
public bool is_sent ();
public void set_coords (double x, double y);
- [Version (since = "3.0")]
public void set_device (Gdk.Device device);
- [Version (since = "3.22")]
public void set_device_tool (Gdk.DeviceTool? tool);
public void set_display (Gdk.Display display);
public void set_keyval (uint keyval);
- [Version (since = "3.0")]
public void set_source_device (Gdk.Device device);
public void set_user_data (GLib.Object user_data);
- [Version (since = "3.4")]
public bool triggers_context_menu ();
public Gdk.EventType event_type { get; construct; }
}
@@ -5285,23 +5094,14 @@ namespace Gdk {
public abstract class FrameClock : GLib.Object {
[CCode (has_construct_function = false)]
protected FrameClock ();
- [Version (since = "3.8")]
public void begin_updating ();
- [Version (since = "3.8")]
public void end_updating ();
- [Version (since = "3.8")]
public Gdk.FrameTimings? get_current_timings ();
- [Version (since = "3.8")]
public int64 get_frame_counter ();
- [Version (since = "3.8")]
public int64 get_frame_time ();
- [Version (since = "3.8")]
public int64 get_history_start ();
- [Version (since = "3.8")]
public void get_refresh_info (int64 base_time, int64 refresh_interval_return, int64 presentation_time_return);
- [Version (since = "3.8")]
public Gdk.FrameTimings? get_timings (int64 frame_counter);
- [Version (since = "3.8")]
public void request_phase (Gdk.FrameClockPhase phase);
public signal void after_paint ();
public signal void before_paint ();
@@ -5314,123 +5114,77 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h", ref_function = "gdk_frame_timings_ref", type_id = "gdk_frame_timings_get_type ()", unref_function = "gdk_frame_timings_unref")]
[Compact]
public class FrameTimings {
- [Version (since = "3.8")]
public bool get_complete ();
- [Version (since = "3.8")]
public int64 get_frame_counter ();
public int64 get_frame_time ();
- [Version (since = "3.8")]
public int64 get_predicted_presentation_time ();
- [Version (since = "3.8")]
public int64 get_presentation_time ();
- [Version (since = "3.8")]
public int64 get_refresh_interval ();
- [Version (since = "3.8")]
public unowned Gdk.FrameTimings @ref ();
- [Version (since = "3.8")]
public void unref ();
}
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_gl_context_get_type ()")]
public abstract class GLContext : Gdk.DrawContext {
[CCode (has_construct_function = false)]
protected GLContext ();
- [Version (since = "3.16")]
public static void clear_current ();
- [Version (since = "3.16")]
public static unowned Gdk.GLContext? get_current ();
public Cairo.Region get_damage ();
- [Version (since = "3.16")]
public bool get_debug_enabled ();
- [Version (since = "3.16")]
public unowned Gdk.Display? get_display ();
- [Version (since = "3.16")]
public bool get_forward_compatible ();
- [Version (since = "3.16")]
public void get_required_version (out int major, out int minor);
- [Version (since = "3.16")]
public unowned Gdk.GLContext? get_shared_context ();
- [Version (since = "3.22")]
public bool get_use_es ();
- [Version (since = "3.16")]
public void get_version (out int major, out int minor);
- [Version (since = "3.16")]
public unowned Gdk.Window? get_window ();
- [Version (since = "3.20")]
public bool is_legacy ();
- [Version (since = "3.16")]
public void make_current ();
- [Version (since = "3.16")]
public bool realize () throws GLib.Error;
- [Version (since = "3.16")]
public void set_debug_enabled (bool enabled);
- [Version (since = "3.16")]
public void set_forward_compatible (bool compatible);
- [Version (since = "3.16")]
public void set_required_version (int major, int minor);
- [Version (since = "3.22")]
public void set_use_es (int use_es);
- [Version (since = "3.16")]
public Gdk.GLContext shared_context { get; construct; }
}
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_keymap_get_type ()")]
public class Keymap : GLib.Object {
[CCode (has_construct_function = false)]
protected Keymap ();
- [Version (since = "2.20")]
public void add_virtual_modifiers (ref Gdk.ModifierType state);
- [Version (since = "2.16")]
public bool get_caps_lock_state ();
public Pango.Direction get_direction ();
+ public unowned Gdk.Display get_display ();
public bool get_entries_for_keycode (uint hardware_keycode, [CCode (array_length_cname = "n_entries", array_length_pos = 3.1)] out Gdk.KeymapKey[] keys, [CCode (array_length_cname = "n_entries", array_length_pos = 3.1)] out uint[] keyvals);
public bool get_entries_for_keyval (uint keyval, [CCode (array_length_cname = "n_keys", array_length_pos = 2.1)] out Gdk.KeymapKey[] keys);
- [Version (since = "3.4")]
public Gdk.ModifierType get_modifier_mask (Gdk.ModifierIntent intent);
- [Version (since = "3.4")]
public uint get_modifier_state ();
- [Version (since = "3.0")]
public bool get_num_lock_state ();
- [Version (since = "3.18")]
public bool get_scroll_lock_state ();
- [Version (since = "2.12")]
public bool have_bidi_layouts ();
public uint lookup_key (Gdk.KeymapKey key);
- [Version (since = "2.20")]
public bool map_virtual_modifiers (ref Gdk.ModifierType state);
public bool translate_keyboard_state (uint hardware_keycode, Gdk.ModifierType state, int group, out uint keyval, out int effective_group, out int level, out Gdk.ModifierType consumed_modifiers);
- [NoAccessorMethod]
- public Gdk.Display display { owned get; construct; }
- [Version (since = "2.0")]
+ public Gdk.Display display { get; construct; }
public signal void direction_changed ();
- [Version (since = "2.2")]
public signal void keys_changed ();
- [Version (since = "2.16")]
public signal void state_changed ();
}
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_monitor_get_type ()")]
public class Monitor : GLib.Object {
[CCode (has_construct_function = false)]
protected Monitor ();
- [Version (since = "3.22")]
public unowned Gdk.Display get_display ();
- [Version (since = "3.22")]
public Gdk.Rectangle get_geometry ();
- [Version (since = "3.22")]
public int get_height_mm ();
public unowned string? get_manufacturer ();
public unowned string? get_model ();
- [Version (since = "3.22")]
public int get_refresh_rate ();
- [Version (since = "3.22")]
public int get_scale_factor ();
- [Version (since = "3.22")]
public Gdk.SubpixelLayout get_subpixel_layout ();
- [Version (since = "3.22")]
public int get_width_mm ();
- [Version (since = "3.22")]
public Gdk.Rectangle get_workarea ();
- [Version (since = "3.22")]
public bool is_primary ();
- [Version (since = "3.94")]
public bool is_valid ();
public Gdk.Display display { get; construct; }
public Gdk.Rectangle geometry { get; }
@@ -5450,34 +5204,21 @@ namespace Gdk {
public abstract class Seat : GLib.Object {
[CCode (has_construct_function = false)]
protected Seat ();
- [Version (since = "3.20")]
public Gdk.SeatCapabilities get_capabilities ();
public unowned Gdk.Display get_display ();
- [Version (since = "3.20")]
public unowned Gdk.Device? get_keyboard ();
- [Version (since = "3.93.")]
public GLib.List<weak Gdk.Device> get_master_pointers (Gdk.SeatCapabilities capabilities);
- [Version (since = "3.20")]
public unowned Gdk.Device? get_pointer ();
- [Version (since = "3.20")]
public GLib.List<weak Gdk.Device> get_slaves (Gdk.SeatCapabilities capabilities);
- [Version (since = "3.20")]
public Gdk.GrabStatus grab (Gdk.Window window, Gdk.SeatCapabilities capabilities, bool owner_events, Gdk.Cursor? cursor, Gdk.Event? event, Gdk.SeatGrabPrepareFunc? prepare_func);
- [Version (since = "3.20")]
public void ungrab ();
- [Version (since = "3.20")]
public Gdk.Display display { get; construct; }
- [Version (since = "3.20")]
public signal void device_added (Gdk.Device device);
- [Version (since = "3.20")]
public signal void device_removed (Gdk.Device device);
- [Version (since = "3.22")]
public signal void tool_added (Gdk.DeviceTool tool);
- [Version (since = "3.22")]
public signal void tool_removed (Gdk.DeviceTool tool);
}
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_texture_get_type ()")]
- [Version (since = "3.94")]
public abstract class Texture : GLib.Object {
[CCode (has_construct_function = false)]
protected Texture ();
@@ -5485,7 +5226,7 @@ namespace Gdk {
[CCode (cname = "gdk_texture_new_for_data")]
public static Gdk.Texture for_data ([CCode (array_length = false)] uint8[] data, int width, int height, int stride);
[CCode (cname = "gdk_texture_new_for_gl")]
- public static Gdk.Texture for_gl (Gdk.GLContext context, int id, int width, int height, GLib.DestroyNotify destroy, void* data);
+ public static Gdk.Texture for_gl (Gdk.GLContext context, uint id, int width, int height, GLib.DestroyNotify destroy, void* data);
[CCode (cname = "gdk_texture_new_for_pixbuf")]
public static Gdk.Texture for_pixbuf (Gdk.Pixbuf pixbuf);
[CCode (cname = "gdk_texture_new_from_file")]
@@ -5509,208 +5250,142 @@ namespace Gdk {
[CCode (has_construct_function = false)]
protected Window ();
public void add_filter (Gdk.FilterFunc function);
- [Version (since = "2.12")]
public void beep ();
- [Version (since = "3.22")]
public unowned Gdk.DrawingContext begin_draw_frame (Gdk.DrawContext? context, Cairo.Region region);
public void begin_move_drag (int button, int root_x, int root_y, uint32 timestamp);
- [Version (since = "3.4")]
public void begin_move_drag_for_device (Gdk.Device device, int button, int root_x, int root_y, uint32 timestamp);
public void begin_resize_drag (Gdk.WindowEdge edge, int button, int root_x, int root_y, uint32 timestamp);
- [Version (since = "3.4")]
public void begin_resize_drag_for_device (Gdk.WindowEdge edge, Gdk.Device device, int button, int root_x, int root_y, uint32 timestamp);
[CCode (has_construct_function = false)]
- [Version (since = "3.90")]
public Window.child (Gdk.Window parent, Gdk.Rectangle position);
public static void constrain_size (Gdk.Geometry geometry, Gdk.WindowHints flags, int width, int height, out int new_width, out int new_height);
- [Version (since = "2.22")]
public void coords_from_parent (double parent_x, double parent_y, out double x, out double y);
- [Version (since = "2.22")]
public void coords_to_parent (double x, double y, out double parent_x, out double parent_y);
- [Version (since = "3.16")]
public Gdk.GLContext create_gl_context () throws GLib.Error;
- [Version (since = "3.10")]
public Cairo.ImageSurface create_similar_image_surface (int format, int width, int height, int scale);
- [Version (since = "2.22")]
public Cairo.Surface create_similar_surface (Cairo.Content content, int width, int height);
- [Version (since = "3.90")]
public Gdk.VulkanContext create_vulkan_context () throws GLib.Error;
public void deiconify ();
[DestroysInstance]
public void destroy ();
- [Version (since = "3.22")]
public void end_draw_frame (Gdk.DrawingContext context);
public void focus (uint32 timestamp);
public void freeze_updates ();
- [Version (since = "2.2")]
public void fullscreen ();
public void fullscreen_on_monitor (Gdk.Monitor monitor);
- [Version (since = "2.22")]
public bool get_accept_focus ();
public GLib.List<weak Gdk.Window> get_children ();
- [Version (since = "3.10")]
public GLib.List<weak Gdk.Window> get_children_with_user_data (void* user_data);
public Cairo.Region get_clip_region ();
- [Version (since = "2.18")]
public unowned Gdk.Cursor? get_cursor ();
public bool get_decorations (out Gdk.WMDecoration decorations);
- [Version (since = "3.0")]
public unowned Gdk.Cursor? get_device_cursor (Gdk.Device device);
- [Version (since = "3.0")]
public Gdk.EventMask get_device_events (Gdk.Device device);
- [Version (since = "3.0")]
public unowned Gdk.Window? get_device_position (Gdk.Device device, out int x, out int y, out Gdk.ModifierType mask);
- [Version (since = "3.10")]
public unowned Gdk.Window? get_device_position_double (Gdk.Device device, out double x, out double y, out Gdk.ModifierType mask);
- [Version (since = "2.24")]
public unowned Gdk.Display get_display ();
public Gdk.EventMask get_events ();
- [Version (since = "2.22")]
public bool get_focus_on_map ();
- [Version (since = "3.8")]
public unowned Gdk.FrameClock get_frame_clock ();
public void get_frame_extents (out Gdk.Rectangle rect);
- [Version (since = "3.8")]
public Gdk.FullscreenMode get_fullscreen_mode ();
public void get_geometry (out int x, out int y, out int width, out int height);
- [Version (since = "2.4")]
public unowned Gdk.Window get_group ();
- [Version (since = "2.24")]
public int get_height ();
- [Version (since = "2.22")]
public bool get_modal_hint ();
public int get_origin (out int x, out int y);
public unowned Gdk.Window get_parent ();
- [Version (since = "3.18")]
public bool get_pass_through ();
public void get_position (out int x, out int y);
- [Version (since = "2.18")]
public void get_root_coords (int x, int y, out int root_x, out int root_y);
public void get_root_origin (out int x, out int y);
- [Version (since = "3.10")]
public int get_scale_factor ();
public Gdk.WindowState get_state ();
- [Version (since = "3.0")]
public bool get_support_multidevice ();
public unowned Gdk.Window get_toplevel ();
- [Version (since = "2.10")]
public Gdk.WindowTypeHint get_type_hint ();
public Cairo.Region get_update_area ();
public void get_user_data (out void* data);
public Cairo.Region get_visible_region ();
- [Version (since = "2.24")]
public int get_width ();
public Gdk.WindowType get_window_type ();
- [Version (since = "2.22")]
public bool has_native ();
public void hide ();
public void iconify ();
- [Version (since = "2.10")]
public void input_shape_combine_region (Cairo.Region shape_region, int offset_x, int offset_y);
public void invalidate_maybe_recurse (Cairo.Region region, Gdk.WindowChildFunc? child_func);
public void invalidate_rect (Gdk.Rectangle? rect, bool invalidate_children);
public void invalidate_region (Cairo.Region region, bool invalidate_children);
- [Version (since = "2.18")]
public bool is_destroyed ();
- [Version (since = "2.22")]
public bool is_input_only ();
- [Version (since = "2.22")]
public bool is_shaped ();
public bool is_viewable ();
public bool is_visible ();
public void lower ();
public void maximize ();
- [Version (since = "2.10")]
public void merge_child_input_shapes ();
public void merge_child_shapes ();
public void move (int x, int y);
- [Version (since = "2.8")]
public void move_region (Cairo.Region region, int dx, int dy);
public void move_resize (int x, int y, int width, int height);
public unowned GLib.List<Gdk.Window> peek_children ();
[CCode (has_construct_function = false)]
- [Version (since = "3.90")]
public Window.popup (Gdk.Display display, Gdk.Rectangle position);
public void raise ();
public void register_dnd ();
public void remove_filter (Gdk.FilterFunc function);
public void resize (int width, int height);
- [Version (since = "2.18")]
public void restack (Gdk.Window? sibling, bool above);
public void scroll (int dx, int dy);
- [Version (since = "2.4")]
public void set_accept_focus (bool accept_focus);
- [Version (since = "2.10")]
public void set_child_input_shapes ();
public void set_child_shapes ();
public void set_cursor (Gdk.Cursor? cursor);
public void set_decorations (Gdk.WMDecoration decorations);
- [Version (since = "3.0")]
public void set_device_cursor (Gdk.Device device, Gdk.Cursor cursor);
- [Version (since = "3.0")]
public void set_device_events (Gdk.Device device, Gdk.EventMask event_mask);
public void set_events (Gdk.EventMask event_mask);
- [Version (since = "2.6")]
public void set_focus_on_map (bool focus_on_map);
- [Version (since = "3.8")]
public void set_fullscreen_mode (Gdk.FullscreenMode mode);
public void set_functions (Gdk.WMFunction functions);
public void set_geometry_hints (Gdk.Geometry geometry, Gdk.WindowHints geom_mask);
public void set_group (Gdk.Window? leader);
public void set_icon_list (GLib.List<Gdk.Texture> surfaces);
public void set_icon_name (string? name);
- [Version (since = "2.4")]
public void set_keep_above (bool setting);
- [Version (since = "2.4")]
public void set_keep_below (bool setting);
public void set_modal_hint (bool modal);
- [Version (since = "2.12")]
public void set_opacity (double opacity);
- [Version (since = "3.10")]
public void set_opaque_region (Cairo.Region? region);
- [Version (since = "3.18")]
public void set_pass_through (bool pass_through);
public void set_role (string role);
- [Version (since = "3.12")]
public void set_shadow_width (int left, int right, int top, int bottom);
- [Version (since = "2.2")]
public void set_skip_pager_hint (bool skips_pager);
- [Version (since = "2.2")]
public void set_skip_taskbar_hint (bool skips_taskbar);
- [Version (since = "2.12")]
public void set_startup_id (string startup_id);
- [Version (since = "3.0")]
public void set_support_multidevice (bool support_multidevice);
public void set_title (string title);
public void set_transient_for (Gdk.Window parent);
public void set_type_hint (Gdk.WindowTypeHint hint);
- [Version (since = "2.8")]
public void set_urgency_hint (bool urgent);
public void set_user_data (GLib.Object? user_data);
public void shape_combine_region (Cairo.Region? shape_region, int offset_x, int offset_y);
public void show ();
public void show_unraised ();
- [Version (since = "3.14")]
public bool show_window_menu (Gdk.Event event);
public void stick ();
[CCode (has_construct_function = false)]
- [Version (since = "3.90")]
public Window.temp (Gdk.Display display);
public void thaw_updates ();
[CCode (has_construct_function = false)]
- [Version (since = "3.90")]
public Window.toplevel (Gdk.Display display, int width, int height);
- [Version (since = "2.2")]
public void unfullscreen ();
public void unmaximize ();
public void unstick ();
public void withdraw ();
- [Version (since = "2.18")]
public Gdk.Cursor cursor { get; set; }
- [Version (since = "3.90")]
public Gdk.Display display { get; construct; }
public Gdk.WindowState state { get; }
- [Version (since = "3.22")]
public signal void moved_to_rect ([CCode (type = "gpointer")] Gdk.Rectangle flipped_rect, [CCode (type = "gpointer")] Gdk.Rectangle final_rect, bool flipped_x, bool flipped_y);
}
[CCode (cheader_filename = "gdk/gdk.h", ref_function = "", unref_function = "")]
@@ -5719,13 +5394,9 @@ namespace Gdk {
}
[CCode (cheader_filename = "gdk/gdk.h", type_cname = "GdkDevicePadInterface", type_id = "gdk_device_pad_get_type ()")]
public interface DevicePad : Gdk.Device {
- [Version (since = "3.22")]
public int get_feature_group (Gdk.DevicePadFeature feature, int feature_idx);
- [Version (since = "3.22")]
public int get_group_n_modes (int group_idx);
- [Version (since = "3.22")]
public int get_n_features (Gdk.DevicePadFeature feature);
- [Version (since = "3.22")]
public int get_n_groups ();
}
[CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
@@ -5759,28 +5430,18 @@ namespace Gdk {
public double green;
public double blue;
public double alpha;
- [Version (since = "3.0")]
public Gdk.RGBA? copy ();
- [Version (since = "3.0")]
public bool equal (Gdk.RGBA p2);
- [Version (since = "3.0")]
public void free ();
- [Version (since = "3.0")]
public uint hash ();
- [Version (since = "3.90")]
public bool is_clear ();
- [Version (since = "3.90")]
public bool is_opaque ();
- [Version (since = "3.0")]
public bool parse (string spec);
- [Version (since = "3.0")]
public string to_string ();
}
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_rectangle_get_type ()")]
public struct Rectangle : Cairo.RectangleInt {
- [Version (since = "3.92")]
public bool contains_point (int x, int y);
- [Version (since = "3.20")]
public bool equal (Gdk.Rectangle rect2);
public bool intersect (Gdk.Rectangle src2, out Gdk.Rectangle dest);
public void union (Gdk.Rectangle src2, out Gdk.Rectangle dest);
@@ -6288,32 +5949,24 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h")]
public const Gdk.Atom TARGET_STRING;
[CCode (cheader_filename = "gdk/gdk.h")]
- [Version (since = "3.16")]
public static void cairo_draw_from_gl (Cairo.Context cr, Gdk.Window window, int source, int source_type, int buffer_scale, int x, int y, int width, int height);
[CCode (cheader_filename = "gdk/gdk.h")]
public static bool cairo_get_clip_rectangle (Cairo.Context cr, out Gdk.Rectangle rect);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Version (since = "3.22")]
public static unowned Gdk.DrawingContext? cairo_get_drawing_context (Cairo.Context cr);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Version (since = "2.8")]
public static void cairo_rectangle (Cairo.Context cr, Gdk.Rectangle rectangle);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Version (since = "2.8")]
public static void cairo_region (Cairo.Context cr, Cairo.Region region);
[CCode (cheader_filename = "gdk/gdk.h")]
public static Cairo.Region cairo_region_create_from_surface (Cairo.Surface surface);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Version (since = "2.8")]
public static void cairo_set_source_pixbuf (Cairo.Context cr, Gdk.Pixbuf pixbuf, double pixbuf_x, double pixbuf_y);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Version (since = "3.0")]
public static void cairo_set_source_rgba (Cairo.Context cr, Gdk.RGBA rgba);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Version (since = "3.10")]
public static Cairo.Surface cairo_surface_create_from_pixbuf (Gdk.Pixbuf pixbuf, int scale, Gdk.Window? for_window);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Version (since = "3.90")]
public static void cairo_surface_upload_to_gl (Cairo.Surface surface, int target, int width, int height, Gdk.GLContext? context);
[CCode (cheader_filename = "gdk/gdk.h")]
public static async bool content_deserialize_async (GLib.InputStream stream, string mime_type, GLib.Type type, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
@@ -6324,33 +5977,26 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h")]
public static async bool content_serialize_async (GLib.OutputStream stream, string mime_type, GLib.Value value, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
[CCode (cheader_filename = "gdk/gdkx.h")]
- [Version (since = "3.0")]
public static void disable_multidevice ();
[CCode (cheader_filename = "gdk/gdk.h")]
public static Gdk.DragContext? drag_begin (Gdk.Window window, Gdk.Device device, Gdk.ContentProvider content, Gdk.DragAction actions, int dx, int dy);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Version (since = "3.20")]
public static void drag_drop_done (Gdk.DragContext context, bool success);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Version (since = "2.6")]
public static bool drag_drop_succeeded (Gdk.DragContext context);
[CCode (cheader_filename = "gdk/gdk.h")]
public static void drag_status (Gdk.DragContext context, Gdk.DragAction action, uint32 time_);
[CCode (cheader_filename = "gdk/gdk.h")]
public static void drop_finish (Gdk.DragContext context, bool success, uint32 time_);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Version (since = "3.94")]
public static async GLib.InputStream? drop_read_async (Gdk.DragContext context, [CCode (array_length = false, array_null_terminated = true)] string[] mime_types, int io_priority, GLib.Cancellable? cancellable, out string out_mime_type) throws GLib.Error;
[CCode (cheader_filename = "gdk/gdk.h")]
public static void drop_reply (Gdk.DragContext context, bool accepted, uint32 time_);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Version (since = "3.0")]
public static bool events_get_angle (Gdk.Event event1, Gdk.Event event2, out double angle);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Version (since = "3.0")]
public static bool events_get_center (Gdk.Event event1, Gdk.Event event2, out double x, out double y);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Version (since = "3.0")]
public static bool events_get_distance (Gdk.Event event1, Gdk.Event event2, out double distance);
[CCode (cheader_filename = "gdk/gdk.h")]
public static bool get_show_events ();
@@ -6377,41 +6023,12 @@ namespace Gdk {
[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")]
- [Version (since = "3.10")]
public static void set_allowed_backends (string backends);
[CCode (cheader_filename = "gdk/gdk.h")]
public static void set_show_events (bool show_events);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Version (since = "2.2")]
public static int text_property_to_utf8_list_for_display (Gdk.Display display, Gdk.Atom encoding, int format, [CCode (array_length_cname = "length", array_length_pos = 4.5)] uint8[] text, [CCode (array_length = false, array_null_terminated = true)] out string[] list);
[CCode (cheader_filename = "gdk/gdk.h")]
- [Version (since = "2.12")]
- public static uint threads_add_idle (GLib.SourceFunc function);
- [CCode (cheader_filename = "gdk/gdk.h")]
- [Version (since = "2.12")]
- public static uint threads_add_idle_full (int priority, owned GLib.SourceFunc function);
- [CCode (cheader_filename = "gdk/gdk.h")]
- [Version (since = "2.12")]
- public static uint threads_add_timeout (uint interval, GLib.SourceFunc function);
- [CCode (cheader_filename = "gdk/gdk.h")]
- [Version (since = "2.12")]
- public static uint threads_add_timeout_full (int priority, uint interval, owned GLib.SourceFunc function);
- [CCode (cheader_filename = "gdk/gdk.h")]
- [Version (since = "2.14")]
- public static uint threads_add_timeout_seconds (uint interval, GLib.SourceFunc function);
- [CCode (cheader_filename = "gdk/gdk.h")]
- [Version (since = "2.14")]
- public static uint threads_add_timeout_seconds_full (int priority, uint interval, owned GLib.SourceFunc function);
- [CCode (cheader_filename = "gdk/gdk.h")]
- [Version (deprecated = true, deprecated_since = "3.6")]
- public static void threads_enter ();
- [CCode (cheader_filename = "gdk/gdk.h")]
- [Version (deprecated = true, deprecated_since = "3.6")]
- public static void threads_init ();
- [CCode (cheader_filename = "gdk/gdk.h")]
- [Version (deprecated = true, deprecated_since = "3.6")]
- public static void threads_leave ();
- [CCode (cheader_filename = "gdk/gdk.h")]
public static uint unicode_to_keyval (uint32 wc);
[CCode (cheader_filename = "gdk/gdk.h")]
public static string? utf8_to_string_target (string str);
@@ -6421,7 +6038,6 @@ namespace Gsk {
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
public class BlendNode : Gsk.RenderNode {
[CCode (has_construct_function = false)]
- [Version (since = "3.90")]
public BlendNode (Gsk.RenderNode bottom, Gsk.RenderNode top, Gsk.BlendMode blend_mode);
public Gsk.BlendMode get_blend_mode ();
public Gsk.RenderNode get_bottom_child ();
@@ -6430,7 +6046,6 @@ namespace Gsk {
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
public class BlurNode : Gsk.RenderNode {
[CCode (has_construct_function = false)]
- [Version (since = "3.92")]
public BlurNode (Gsk.RenderNode child, double radius);
public Gsk.RenderNode get_child ();
public double get_radius ();
@@ -6438,7 +6053,6 @@ namespace Gsk {
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
public class BorderNode : Gsk.RenderNode {
[CCode (has_construct_function = false)]
- [Version (since = "3.90")]
public BorderNode (Gsk.RoundedRect outline, float border_width, Gdk.RGBA border_color);
public unowned Gdk.RGBA? peek_colors ();
public unowned Gsk.RoundedRect? peek_outline ();
@@ -6447,16 +6061,13 @@ namespace Gsk {
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
public class CairoNode : Gsk.RenderNode {
[CCode (has_construct_function = false)]
- [Version (since = "3.90")]
public CairoNode (Graphene.Rect bounds);
- [Version (since = "3.90")]
public Cairo.Context get_draw_context (Gsk.Renderer? renderer);
public unowned Cairo.Surface peek_surface ();
}
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
public class ClipNode : Gsk.RenderNode {
[CCode (has_construct_function = false)]
- [Version (since = "3.90")]
public ClipNode (Gsk.RenderNode child, Graphene.Rect clip);
public unowned Gsk.RenderNode get_child ();
public unowned Graphene.Rect? peek_clip ();
@@ -6464,7 +6075,6 @@ namespace Gsk {
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
public class ColorMatrixNode : Gsk.RenderNode {
[CCode (has_construct_function = false)]
- [Version (since = "3.90")]
public ColorMatrixNode (Gsk.RenderNode child, Graphene.Matrix color_matrix, Graphene.Vec4 color_offset);
public unowned Gsk.RenderNode get_child ();
public unowned Graphene.Matrix? peek_color_matrix ();
@@ -6473,24 +6083,19 @@ namespace Gsk {
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
public class ColorNode : Gsk.RenderNode {
[CCode (has_construct_function = false)]
- [Version (since = "3.90")]
public ColorNode (Gdk.RGBA rgba, Graphene.Rect bounds);
public unowned Gdk.RGBA? peek_color ();
}
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
public class ContainerNode : Gsk.RenderNode {
[CCode (has_construct_function = false)]
- [Version (since = "3.90")]
public ContainerNode ([CCode (array_length_cname = "n_children", array_length_pos = 1.1, array_length_type = "guint")] Gsk.RenderNode[] children);
- [Version (since = "3.90")]
public Gsk.RenderNode get_child (uint idx);
- [Version (since = "3.90")]
public uint get_n_children ();
}
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
public class CrossFadeNode : Gsk.RenderNode {
[CCode (has_construct_function = false)]
- [Version (since = "3.90")]
public CrossFadeNode (Gsk.RenderNode start, Gsk.RenderNode end, double progress);
public Gsk.RenderNode get_end_child ();
public double get_progress ();
@@ -6499,7 +6104,6 @@ namespace Gsk {
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
public class InsetShadowNode : Gsk.RenderNode {
[CCode (has_construct_function = false)]
- [Version (since = "3.90")]
public InsetShadowNode (Gsk.RoundedRect outline, Gdk.RGBA color, float dx, float dy, float spread, float blur_radius);
public float get_blur_radius ();
public float get_dx ();
@@ -6511,7 +6115,6 @@ namespace Gsk {
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
public class LinearGradientNode : Gsk.RenderNode {
[CCode (has_construct_function = false)]
- [Version (since = "3.90")]
public LinearGradientNode (Graphene.Rect bounds, Graphene.Point start, Graphene.Point end, [CCode (array_length_cname = "n_color_stops", array_length_pos = 4.1, array_length_type = "gsize")] Gsk.ColorStop[] color_stops);
public size_t get_n_color_stops ();
public unowned Gsk.ColorStop? peek_color_stops ();
@@ -6521,7 +6124,6 @@ namespace Gsk {
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
public class OpacityNode : Gsk.RenderNode {
[CCode (has_construct_function = false)]
- [Version (since = "3.90")]
public OpacityNode (Gsk.RenderNode child, double opacity);
public unowned Gsk.RenderNode get_child ();
public double get_opacity ();
@@ -6529,7 +6131,6 @@ namespace Gsk {
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
public class OutsetShadowNode : Gsk.RenderNode {
[CCode (has_construct_function = false)]
- [Version (since = "3.90")]
public OutsetShadowNode (Gsk.RoundedRect outline, Gdk.RGBA color, float dx, float dy, float spread, float blur_radius);
public float get_blur_radius ();
public float get_dx ();
@@ -6539,7 +6140,6 @@ namespace Gsk {
public unowned Gsk.RoundedRect? peek_outline ();
}
[CCode (cheader_filename = "gsk/gsk.h", get_value_function = "gsk_value_get_render_node", ref_function = "gsk_render_node_ref", set_value_function = "gsk_value_set_render_node", take_value_function = "gsk_value_take_render_node", type_id = "gsk_render_node_get_type ()", unref_function = "gsk_render_node_unref")]
- [Version (since = "3.90")]
public class RenderNode {
[CCode (has_construct_function = false)]
protected RenderNode ();
@@ -6558,36 +6158,24 @@ namespace Gsk {
public abstract class Renderer : GLib.Object {
[CCode (has_construct_function = false)]
protected Renderer ();
- [Version (since = "3.90")]
public unowned Gdk.DrawingContext begin_draw_frame (Cairo.Region region);
- [Version (since = "3.90")]
public void end_draw_frame (Gdk.DrawingContext context);
[CCode (cname = "gsk_renderer_new_for_window")]
- [Version (since = "3.90")]
public static Gsk.Renderer? for_window (Gdk.Window window);
- [Version (since = "3.90")]
public unowned Gdk.Display get_display ();
- [Version (since = "3.90")]
public unowned Gdk.Window? get_window ();
- [Version (since = "3.90")]
public bool realize (Gdk.Window window) throws GLib.Error;
- [Version (since = "3.90")]
public void render (Gsk.RenderNode root, Gdk.DrawingContext context);
- [Version (since = "3.90")]
public Gdk.Texture render_texture (Gsk.RenderNode root, Graphene.Rect? viewport);
- [Version (since = "3.90")]
public void unrealize ();
- [Version (since = "3.90")]
public Gdk.Display display { get; construct; }
[NoAccessorMethod]
- [Version (since = "3.90")]
public Gdk.DrawingContext drawing_context { owned get; }
public Gdk.Window window { get; }
}
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
public class RepeatNode : Gsk.RenderNode {
[CCode (has_construct_function = false)]
- [Version (since = "3.90")]
public RepeatNode (Graphene.Rect bounds, Gsk.RenderNode child, Graphene.Rect? child_bounds);
public Gsk.RenderNode get_child ();
public unowned Graphene.Rect? peek_child_bounds ();
@@ -6595,13 +6183,11 @@ namespace Gsk {
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
public class RepeatingLinearGradientNode : Gsk.RenderNode {
[CCode (has_construct_function = false)]
- [Version (since = "3.90")]
public RepeatingLinearGradientNode (Graphene.Rect bounds, Graphene.Point start, Graphene.Point end, [CCode (array_length_cname = "n_color_stops", array_length_pos = 4.1, array_length_type = "gsize")] Gsk.ColorStop[] color_stops);
}
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
public class RoundedClipNode : Gsk.RenderNode {
[CCode (has_construct_function = false)]
- [Version (since = "3.90")]
public RoundedClipNode (Gsk.RenderNode child, Gsk.RoundedRect clip);
public unowned Gsk.RenderNode get_child ();
public unowned Gsk.RoundedRect? peek_clip ();
@@ -6609,7 +6195,6 @@ namespace Gsk {
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
public class ShadowNode : Gsk.RenderNode {
[CCode (has_construct_function = false)]
- [Version (since = "3.90")]
public ShadowNode (Gsk.RenderNode child, [CCode (array_length_cname = "n_shadows", array_length_pos = 2.1, array_length_type = "gsize")] Gsk.Shadow[] shadows);
public Gsk.RenderNode get_child ();
public size_t get_n_shadows ();
@@ -6618,7 +6203,6 @@ namespace Gsk {
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
public class TextNode : Gsk.RenderNode {
[CCode (has_construct_function = false)]
- [Version (since = "3.92")]
public TextNode (Pango.Font font, Pango.GlyphString glyphs, Gdk.RGBA color, double x, double y);
public uint get_num_glyphs ();
public float get_x ();
@@ -6630,15 +6214,12 @@ namespace Gsk {
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
public class TextureNode : Gsk.RenderNode {
[CCode (has_construct_function = false)]
- [Version (since = "3.90")]
public TextureNode (Gdk.Texture texture, Graphene.Rect bounds);
- [Version (since = "3.94")]
public unowned Gdk.Texture get_texture ();
}
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
public class TransformNode : Gsk.RenderNode {
[CCode (has_construct_function = false)]
- [Version (since = "3.90")]
public TransformNode (Gsk.RenderNode child, Graphene.Matrix transform);
public unowned Gsk.RenderNode get_child ();
public unowned Graphene.Matrix? peek_transform ();
@@ -6744,111 +6325,62 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_about_dialog_get_type ()")]
public class AboutDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.6")]
public AboutDialog ();
- [Version (since = "3.4")]
public void add_credit_section (string section_name, [CCode (array_length = false, array_null_terminated = true)] string[] people);
[CCode (array_length = false, array_null_terminated = true)]
- [Version (since = "2.6")]
public unowned string[] get_artists ();
[CCode (array_length = false, array_null_terminated = true)]
- [Version (since = "2.6")]
public unowned string[] get_authors ();
- [Version (since = "2.6")]
public unowned string get_comments ();
- [Version (since = "2.6")]
public unowned string get_copyright ();
[CCode (array_length = false, array_null_terminated = true)]
- [Version (since = "2.6")]
public unowned string[] get_documenters ();
- [Version (since = "2.6")]
public unowned string get_license ();
- [Version (since = "3.0")]
public Gtk.License get_license_type ();
- [Version (since = "2.6")]
public unowned Gdk.Texture get_logo ();
- [Version (since = "2.6")]
public unowned string get_logo_icon_name ();
- [Version (since = "2.12")]
public unowned string get_program_name ();
public unowned string get_system_information ();
- [Version (since = "2.6")]
public unowned string get_translator_credits ();
- [Version (since = "2.6")]
public unowned string get_version ();
- [Version (since = "2.6")]
public unowned string get_website ();
- [Version (since = "2.6")]
public unowned string get_website_label ();
- [Version (since = "2.8")]
public bool get_wrap_license ();
- [Version (since = "2.6")]
public void set_artists ([CCode (array_length = false, array_null_terminated = true)] string[] artists);
- [Version (since = "2.6")]
public void set_authors ([CCode (array_length = false, array_null_terminated = true)] string[] authors);
- [Version (since = "2.6")]
public void set_comments (string? comments);
- [Version (since = "2.6")]
public void set_copyright (string? copyright);
- [Version (since = "2.6")]
public void set_documenters ([CCode (array_length = false, array_null_terminated = true)] string[] documenters);
- [Version (since = "2.6")]
public void set_license (string? license);
- [Version (since = "3.0")]
public void set_license_type (Gtk.License license_type);
- [Version (since = "2.6")]
public void set_logo (Gdk.Texture? logo);
- [Version (since = "2.6")]
public void set_logo_icon_name (string? icon_name);
- [Version (since = "2.12")]
public void set_program_name (string name);
public void set_system_information (string? system_information);
- [Version (since = "2.6")]
public void set_translator_credits (string? translator_credits);
- [Version (since = "2.6")]
public void set_version (string? version);
- [Version (since = "2.6")]
public void set_website (string? website);
- [Version (since = "2.6")]
public void set_website_label (string website_label);
- [Version (since = "2.8")]
public void set_wrap_license (bool wrap_license);
[CCode (array_length = false, array_null_terminated = true)]
- [Version (since = "2.6")]
public string[] artists { get; set; }
[CCode (array_length = false, array_null_terminated = true)]
- [Version (since = "2.6")]
public string[] authors { get; set; }
- [Version (since = "2.6")]
public string comments { get; set; }
- [Version (since = "2.6")]
public string copyright { get; set; }
[CCode (array_length = false, array_null_terminated = true)]
- [Version (since = "2.6")]
public string[] documenters { get; set; }
- [Version (since = "2.6")]
public string license { get; set; }
- [Version (since = "3.0")]
public Gtk.License license_type { get; set; }
- [Version (since = "2.6")]
public Gdk.Texture logo { get; set; }
- [Version (since = "2.6")]
public string logo_icon_name { get; set; }
- [Version (since = "2.12")]
public string program_name { get; set; }
- [Version (since = "3.90")]
public string system_information { get; set; }
- [Version (since = "2.6")]
public string translator_credits { get; set; }
- [Version (since = "2.6")]
public string version { get; set; }
- [Version (since = "2.6")]
public string website { get; set; }
- [Version (since = "2.6")]
public string website_label { get; set; }
- [Version (since = "2.8")]
public bool wrap_license { get; set; }
- [Version (since = "2.24")]
public virtual signal bool activate_link (string uri);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_accel_group_get_type ()")]
@@ -6862,9 +6394,7 @@ namespace Gtk {
public bool disconnect_key (uint accel_key, Gdk.ModifierType accel_mods);
public Gtk.AccelKey* find (Gtk.AccelGroupFindFunc find_func);
public static unowned Gtk.AccelGroup? from_accel_closure (GLib.Closure closure);
- [Version (since = "2.14")]
public bool get_is_locked ();
- [Version (since = "2.14")]
public Gdk.ModifierType get_modifier_mask ();
public void @lock ();
[CCode (array_length_pos = 2.1, array_length_type = "guint")]
@@ -6879,14 +6409,12 @@ namespace Gtk {
public class AccelLabel : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public AccelLabel (string str);
- [Version (since = "3.12")]
public void get_accel (out uint accelerator_key, out Gdk.ModifierType accelerator_mods);
public unowned Gtk.Widget? get_accel_widget ();
public uint get_accel_width ();
public unowned string get_label ();
public bool get_use_underline ();
public bool refetch ();
- [Version (since = "3.6")]
public void set_accel (uint accelerator_key, Gdk.ModifierType accelerator_mods);
public void set_accel_closure ([CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate accel_closure);
public void set_accel_widget (Gtk.Widget? accel_widget);
@@ -6907,28 +6435,22 @@ namespace Gtk {
public static bool change_entry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool replace);
public static void @foreach (void* data, Gtk.AccelMapForeach foreach_func);
public static void foreach_unfiltered (void* data, Gtk.AccelMapForeach foreach_func);
- [Version (since = "2.4")]
public static unowned Gtk.AccelMap @get ();
public static void load (string file_name);
public static void load_fd (int fd);
public static void load_scanner (GLib.Scanner scanner);
- [Version (since = "2.4")]
public static void lock_path (string accel_path);
public static bool lookup_entry (string accel_path, out Gtk.AccelKey key);
public static void save (string file_name);
public static void save_fd (int fd);
- [Version (since = "2.4")]
public static void unlock_path (string accel_path);
- [Version (since = "2.4")]
public signal void changed (string accel_path, uint accel_key, Gdk.ModifierType accel_mods);
}
[CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_accessible_get_type ()")]
public class Accessible : Atk.Object {
[CCode (has_construct_function = false)]
protected Accessible ();
- [Version (since = "2.22")]
public unowned Gtk.Widget? get_widget ();
- [Version (since = "2.22")]
public void set_widget (Gtk.Widget? widget);
[NoWrapper]
public virtual void widget_set ();
@@ -6939,19 +6461,12 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_action_bar_get_type ()")]
public class ActionBar : Gtk.Container, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.12")]
public ActionBar ();
- [Version (since = "3.12")]
public unowned Gtk.Widget? get_center_widget ();
- [Version (since = "3.90")]
public bool get_revealed ();
- [Version (since = "3.12")]
public void pack_end (Gtk.Widget child);
- [Version (since = "3.12")]
public void pack_start (Gtk.Widget child);
- [Version (since = "3.12")]
public void set_center_widget (Gtk.Widget? center_widget);
- [Version (since = "3.90")]
public void set_revealed (bool revealed);
public bool revealed { get; set; }
}
@@ -6960,43 +6475,25 @@ namespace Gtk {
[CCode (has_construct_function = false)]
public Adjustment (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
public void clamp_page (double lower, double upper);
- [Version (since = "2.14")]
public void configure (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
- [Version (since = "2.14")]
public double get_lower ();
- [Version (since = "3.2")]
public double get_minimum_increment ();
- [Version (since = "2.14")]
public double get_page_increment ();
- [Version (since = "2.14")]
public double get_page_size ();
- [Version (since = "2.14")]
public double get_step_increment ();
- [Version (since = "2.14")]
public double get_upper ();
public double get_value ();
- [Version (since = "2.14")]
public void set_lower (double lower);
- [Version (since = "2.14")]
public void set_page_increment (double page_increment);
- [Version (since = "2.14")]
public void set_page_size (double page_size);
- [Version (since = "2.14")]
public void set_step_increment (double step_increment);
- [Version (since = "2.14")]
public void set_upper (double upper);
public void set_value (double value);
- [Version (since = "2.4")]
public double lower { get; set; }
- [Version (since = "2.4")]
public double page_increment { get; set; }
- [Version (since = "2.4")]
public double page_size { get; set; }
- [Version (since = "2.4")]
public double step_increment { get; set; }
- [Version (since = "2.4")]
public double upper { get; set; }
- [Version (since = "2.4")]
public double value { get; set; }
public virtual signal void changed ();
public virtual signal void value_changed ();
@@ -7004,26 +6501,17 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_app_chooser_button_get_type ()")]
public class AppChooserButton : Gtk.ComboBox, Atk.Implementor, Gtk.AppChooser, Gtk.Buildable, Gtk.CellEditable, Gtk.CellLayout {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.0")]
public AppChooserButton (string content_type);
- [Version (since = "3.0")]
public void append_custom_item (string name, string label, GLib.Icon icon);
- [Version (since = "3.0")]
public void append_separator ();
public unowned string? get_heading ();
- [Version (since = "3.2")]
public bool get_show_default_item ();
- [Version (since = "3.0")]
public bool get_show_dialog_item ();
- [Version (since = "3.0")]
public void set_active_custom_item (string name);
public void set_heading (string heading);
- [Version (since = "3.2")]
public void set_show_default_item (bool setting);
- [Version (since = "3.0")]
public void set_show_dialog_item (bool setting);
public string heading { get; set; }
- [Version (since = "3.2")]
public bool show_default_item { get; set construct; }
public bool show_dialog_item { get; set construct; }
public virtual signal void custom_item_activated (string item_name);
@@ -7031,13 +6519,10 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_app_chooser_dialog_get_type ()")]
public class AppChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.AppChooser, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.0")]
public AppChooserDialog (Gtk.Window? parent, Gtk.DialogFlags flags, GLib.File file);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.0")]
public AppChooserDialog.for_content_type (Gtk.Window? parent, Gtk.DialogFlags flags, string content_type);
public unowned string? get_heading ();
- [Version (since = "3.0")]
public unowned Gtk.Widget get_widget ();
public void set_heading (string heading);
[NoAccessorMethod]
@@ -7047,30 +6532,18 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_app_chooser_widget_get_type ()")]
public class AppChooserWidget : Gtk.Widget, Atk.Implementor, Gtk.AppChooser, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.0")]
public AppChooserWidget (string content_type);
- [Version (since = "3.0")]
public unowned string get_default_text ();
- [Version (since = "3.0")]
public bool get_show_all ();
- [Version (since = "3.0")]
public bool get_show_default ();
- [Version (since = "3.0")]
public bool get_show_fallback ();
- [Version (since = "3.0")]
public bool get_show_other ();
- [Version (since = "3.0")]
public bool get_show_recommended ();
public void set_default_text (string text);
- [Version (since = "3.0")]
public void set_show_all (bool setting);
- [Version (since = "3.0")]
public void set_show_default (bool setting);
- [Version (since = "3.0")]
public void set_show_fallback (bool setting);
- [Version (since = "3.0")]
public void set_show_other (bool setting);
- [Version (since = "3.0")]
public void set_show_recommended (bool setting);
public string default_text { get; set; }
public bool show_all { get; set construct; }
@@ -7085,70 +6558,43 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_application_get_type ()")]
public class Application : GLib.Application, GLib.ActionGroup, GLib.ActionMap {
[CCode (has_construct_function = false)]
- [Version (since = "3.0")]
public Application (string? application_id, GLib.ApplicationFlags flags);
- [Version (since = "3.0")]
public void add_window (Gtk.Window window);
[CCode (array_length = false, array_null_terminated = true)]
- [Version (since = "3.12")]
public string[] get_accels_for_action (string detailed_action_name);
[CCode (array_length = false, array_null_terminated = true)]
- [Version (since = "3.14")]
public string[] get_actions_for_accel (string accel);
- [Version (since = "3.6")]
public unowned Gtk.Window? get_active_window ();
- [Version (since = "3.4")]
public unowned GLib.MenuModel? get_app_menu ();
- [Version (since = "3.14")]
public unowned GLib.Menu get_menu_by_id (string id);
- [Version (since = "3.4")]
public unowned GLib.MenuModel get_menubar ();
- [Version (since = "3.6")]
public unowned Gtk.Window? get_window_by_id (uint id);
- [Version (since = "3.0")]
public unowned GLib.List<Gtk.Window> get_windows ();
- [Version (since = "3.4")]
public uint inhibit (Gtk.Window? window, Gtk.ApplicationInhibitFlags flags, string? reason);
[CCode (array_length = false, array_null_terminated = true)]
- [Version (since = "3.12")]
public string[] list_action_descriptions ();
- [Version (since = "3.14")]
public bool prefers_app_menu ();
- [Version (since = "3.0")]
public void remove_window (Gtk.Window window);
- [Version (since = "3.12")]
public void set_accels_for_action (string detailed_action_name, [CCode (array_length = false, array_null_terminated = true)] string[] accels);
- [Version (since = "3.4")]
public void set_app_menu (GLib.MenuModel? app_menu);
- [Version (since = "3.4")]
public void set_menubar (GLib.MenuModel? menubar);
- [Version (since = "3.4")]
public void uninhibit (uint cookie);
public Gtk.Window active_window { get; }
public GLib.MenuModel app_menu { get; set; }
public GLib.MenuModel menubar { get; set; }
[NoAccessorMethod]
- [Version (since = "3.4")]
public bool register_session { get; set; }
- [Version (since = "3.2")]
public virtual signal void window_added (Gtk.Window window);
- [Version (since = "3.2")]
public virtual signal void window_removed (Gtk.Window window);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_application_window_get_type ()")]
public class ApplicationWindow : Gtk.Window, Atk.Implementor, GLib.ActionGroup, GLib.ActionMap, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.4")]
public ApplicationWindow (Gtk.Application application);
- [Version (since = "3.20")]
public unowned Gtk.ShortcutsWindow? get_help_overlay ();
- [Version (since = "3.6")]
public uint get_id ();
- [Version (since = "3.4")]
public bool get_show_menubar ();
- [Version (since = "3.20")]
public void set_help_overlay (Gtk.ShortcutsWindow? help_overlay);
- [Version (since = "3.4")]
public void set_show_menubar (bool show_menubar);
public bool show_menubar { get; set construct; }
}
@@ -7169,65 +6615,36 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_assistant_get_type ()")]
public class Assistant : Gtk.Window, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.10")]
public Assistant ();
- [Version (since = "2.10")]
public void add_action_widget (Gtk.Widget child);
- [Version (since = "2.10")]
public int append_page (Gtk.Widget page);
- [Version (since = "2.22")]
public void commit ();
- [Version (since = "2.10")]
public int get_current_page ();
- [Version (since = "2.10")]
public int get_n_pages ();
- [Version (since = "2.10")]
public unowned Gtk.Widget? get_nth_page (int page_num);
- [Version (since = "2.10")]
public bool get_page_complete (Gtk.Widget page);
- [Version (since = "3.18")]
public bool get_page_has_padding (Gtk.Widget page);
- [Version (since = "2.10")]
public unowned string get_page_title (Gtk.Widget page);
- [Version (since = "2.10")]
public Gtk.AssistantPageType get_page_type (Gtk.Widget page);
- [Version (since = "2.10")]
public int insert_page (Gtk.Widget page, int position);
- [Version (since = "3.0")]
public void next_page ();
- [Version (since = "2.10")]
public int prepend_page (Gtk.Widget page);
- [Version (since = "3.0")]
public void previous_page ();
- [Version (since = "2.10")]
public void remove_action_widget (Gtk.Widget child);
- [Version (since = "3.2")]
public void remove_page (int page_num);
- [Version (since = "2.10")]
public void set_current_page (int page_num);
- [Version (since = "2.10")]
public void set_forward_page_func (owned Gtk.AssistantPageFunc? page_func);
- [Version (since = "2.10")]
public void set_page_complete (Gtk.Widget page, bool complete);
- [Version (since = "3.18")]
public void set_page_has_padding (Gtk.Widget page, bool has_padding);
- [Version (since = "2.10")]
public void set_page_title (Gtk.Widget page, string title);
- [Version (since = "2.10")]
public void set_page_type (Gtk.Widget page, Gtk.AssistantPageType type);
- [Version (since = "2.10")]
public void update_buttons_state ();
[NoAccessorMethod]
- [Version (since = "3.12")]
public int use_header_bar { get; construct; }
- [Version (since = "2.10")]
public virtual signal void apply ();
- [Version (since = "2.10")]
public virtual signal void cancel ();
- [Version (since = "2.10")]
public virtual signal void close ();
public signal void escape ();
- [Version (since = "2.10")]
public virtual signal void prepare (Gtk.Widget page);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_bin_get_type ()")]
@@ -7250,14 +6667,12 @@ namespace Gtk {
public weak Gtk.BindingSignal signals;
public static void add_signal (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, uint n_args, ...);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.0")]
public static GLib.TokenType add_signal_from_string (Gtk.BindingSet binding_set, string signal_desc);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void add_signall (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, [CCode (type = "GSList*")] GLib.SList<Gtk.BindingArg?> binding_args);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void remove (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.12")]
public static void skip (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers);
}
[CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
@@ -7295,9 +6710,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_box_get_type ()")]
public class Box : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.0")]
public Box (Gtk.Orientation orientation, int spacing);
- [Version (since = "3.10")]
public Gtk.BaselinePosition get_baseline_position ();
public bool get_homogeneous ();
public int get_spacing ();
@@ -7305,7 +6718,6 @@ namespace Gtk {
public void pack_start (Gtk.Widget child);
public void query_child_packing (Gtk.Widget child, out Gtk.PackType pack_type);
public void reorder_child (Gtk.Widget child, int position);
- [Version (since = "3.10")]
public void set_baseline_position (Gtk.BaselinePosition position);
public void set_child_packing (Gtk.Widget child, Gtk.PackType pack_type);
public void set_homogeneous (bool homogeneous);
@@ -7317,61 +6729,35 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_builder_get_type ()")]
public class Builder : GLib.Object {
[CCode (has_construct_function = false)]
- [Version (since = "2.12")]
public Builder ();
- [Version (since = "3.10")]
public void add_callback_symbol (string callback_name, [CCode (scope = "async")] GLib.Callback callback_symbol);
- [Version (since = "3.10")]
public void add_callback_symbols (string first_callback_name, ...);
- [Version (since = "2.12")]
public uint add_from_file (string filename) throws GLib.Error;
- [Version (since = "3.4")]
public uint add_from_resource (string resource_path) throws GLib.Error;
- [Version (since = "2.12")]
public uint add_from_string (string buffer, size_t length) throws GLib.Error;
- [Version (since = "2.14")]
public uint add_objects_from_file (string filename, [CCode (array_length = false, array_null_terminated = true)] string[] object_ids) throws GLib.Error;
- [Version (since = "3.4")]
public uint add_objects_from_resource (string resource_path, [CCode (array_length = false, array_null_terminated = true)] string[] object_ids) throws GLib.Error;
- [Version (since = "2.14")]
public uint add_objects_from_string (string buffer, size_t length, [CCode (array_length = false, array_null_terminated = true)] string[] object_ids) throws GLib.Error;
- [Version (since = "2.12")]
public void connect_signals (void* user_data);
- [Version (since = "2.12")]
public void connect_signals_full (Gtk.BuilderConnectFunc func);
- [Version (since = "3.8")]
public void expose_object (string name, GLib.Object object);
public uint extend_with_template (Gtk.Widget widget, GLib.Type template_type, string buffer, size_t length) throws GLib.Error;
[CCode (has_construct_function = false)]
- [Version (since = "3.10")]
public Builder.from_file (string filename);
[CCode (has_construct_function = false)]
- [Version (since = "3.10")]
public Builder.from_resource (string resource_path);
[CCode (has_construct_function = false)]
- [Version (since = "3.10")]
public Builder.from_string (string str, ssize_t length);
- [Version (since = "3.10")]
public unowned Gtk.Application? get_application ();
- [Version (since = "2.12")]
public unowned GLib.Object? get_object (string name);
- [Version (since = "2.12")]
public GLib.SList<weak GLib.Object> get_objects ();
- [Version (since = "2.12")]
public unowned string get_translation_domain ();
- [Version (since = "2.12")]
public virtual GLib.Type get_type_from_name (string type_name);
- [Version (since = "3.10")]
public unowned GLib.Callback? lookup_callback_symbol (string callback_name);
- [Version (since = "3.10")]
public void set_application (Gtk.Application application);
- [Version (since = "2.12")]
public void set_translation_domain (string? domain);
- [Version (since = "2.12")]
public bool value_from_string (GLib.ParamSpec pspec, string str, out GLib.Value value) throws GLib.Error;
- [Version (since = "2.12")]
public bool value_from_string_type (GLib.Type type, string str, out GLib.Value value) throws GLib.Error;
- [Version (since = "2.12")]
public string translation_domain { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_button_get_type ()")]
@@ -7379,14 +6765,11 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Button ();
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.10")]
public Button.from_icon_name (string? icon_name);
- [Version (since = "3.90")]
public unowned string? get_icon_name ();
public unowned string? get_label ();
public Gtk.ReliefStyle get_relief ();
public bool get_use_underline ();
- [Version (since = "3.90")]
public void set_icon_name (string icon_name);
public void set_label (string? label);
public void set_relief (Gtk.ReliefStyle relief);
@@ -7411,14 +6794,10 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_button_box_get_type ()")]
public class ButtonBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.0")]
public ButtonBox (Gtk.Orientation orientation);
- [Version (since = "3.2")]
public bool get_child_non_homogeneous (Gtk.Widget child);
- [Version (since = "2.4")]
public bool get_child_secondary (Gtk.Widget child);
public Gtk.ButtonBoxStyle get_layout ();
- [Version (since = "3.2")]
public void set_child_non_homogeneous (Gtk.Widget child, bool non_homogeneous);
public void set_child_secondary (Gtk.Widget child, bool is_secondary);
public void set_layout (Gtk.ButtonBoxStyle layout_style);
@@ -7431,48 +6810,33 @@ namespace Gtk {
public Calendar ();
public void clear_marks ();
public void get_date (out uint year, out uint month, out uint day);
- [Version (since = "3.0")]
public bool get_day_is_marked (uint day);
- [Version (since = "2.14")]
public int get_detail_height_rows ();
- [Version (since = "2.14")]
public int get_detail_width_chars ();
- [Version (since = "2.4")]
public Gtk.CalendarDisplayOptions get_display_options ();
public void mark_day (uint day);
public void select_day (uint day);
public void select_month (uint month, uint year);
- [Version (since = "2.14")]
public void set_detail_func (owned Gtk.CalendarDetailFunc func);
- [Version (since = "2.14")]
public void set_detail_height_rows (int rows);
- [Version (since = "2.14")]
public void set_detail_width_chars (int chars);
- [Version (since = "2.4")]
public void set_display_options (Gtk.CalendarDisplayOptions flags);
public void unmark_day (uint day);
[NoAccessorMethod]
public int day { get; set; }
- [Version (since = "2.14")]
public int detail_height_rows { get; set; }
- [Version (since = "2.14")]
public int detail_width_chars { get; set; }
[NoAccessorMethod]
public int month { get; set; }
[NoAccessorMethod]
- [Version (since = "2.4")]
public bool no_month_change { get; set; }
[NoAccessorMethod]
- [Version (since = "2.4")]
public bool show_day_names { get; set; }
[NoAccessorMethod]
- [Version (since = "2.14")]
public bool show_details { get; set; }
[NoAccessorMethod]
- [Version (since = "2.4")]
public bool show_heading { get; set; }
[NoAccessorMethod]
- [Version (since = "2.4")]
public bool show_week_numbers { get; set; }
[NoAccessorMethod]
public int year { get; set; }
@@ -7495,137 +6859,78 @@ namespace Gtk {
public abstract class CellArea : GLib.InitiallyUnowned, Gtk.Buildable, Gtk.CellLayout {
[CCode (has_construct_function = false)]
protected CellArea ();
- [Version (since = "3.0")]
public virtual bool activate (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, Gtk.CellRendererState flags, bool edit_only);
- [Version (since = "3.0")]
public bool activate_cell (Gtk.Widget widget, Gtk.CellRenderer renderer, [CCode (type = "GdkEvent*")] Gdk.Event event, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
- [Version (since = "3.0")]
public virtual void add (Gtk.CellRenderer renderer);
- [Version (since = "3.0")]
public void add_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
- [Version (since = "3.0")]
public void add_with_properties (Gtk.CellRenderer renderer, ...);
- [Version (since = "3.0")]
public void attribute_connect (Gtk.CellRenderer renderer, string attribute, int column);
- [Version (since = "3.0")]
public void attribute_disconnect (Gtk.CellRenderer renderer, string attribute);
- [Version (since = "3.14")]
public int attribute_get_column (Gtk.CellRenderer renderer, string attribute);
- [Version (since = "3.0")]
public void cell_get (Gtk.CellRenderer renderer, ...);
- [Version (since = "3.0")]
public void cell_get_property (Gtk.CellRenderer renderer, string property_name, GLib.Value value);
- [Version (since = "3.0")]
public void cell_get_valist (Gtk.CellRenderer renderer, string first_property_name, [CCode (type = "va_list")] va_list var_args);
- [Version (since = "3.0")]
public void cell_set (Gtk.CellRenderer renderer, ...);
- [Version (since = "3.0")]
public void cell_set_property (Gtk.CellRenderer renderer, string property_name, GLib.Value value);
- [Version (since = "3.0")]
public void cell_set_valist (Gtk.CellRenderer renderer, string first_property_name, [CCode (type = "va_list")] va_list var_args);
- [Version (since = "3.0")]
public virtual Gtk.CellAreaContext copy_context (Gtk.CellAreaContext context);
- [Version (since = "3.0")]
public virtual Gtk.CellAreaContext create_context ();
- [Version (since = "3.0")]
public virtual int event (Gtk.CellAreaContext context, Gtk.Widget widget, [CCode (type = "GdkEvent*")] Gdk.Event event, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
[CCode (cname = "gtk_cell_area_class_find_cell_property")]
- [Version (since = "3.0")]
public class unowned GLib.ParamSpec find_cell_property (string property_name);
- [Version (since = "3.0")]
public virtual bool focus (Gtk.DirectionType direction);
- [Version (since = "3.0")]
public virtual void @foreach (Gtk.CellCallback callback);
- [Version (since = "3.0")]
public virtual void foreach_alloc (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, Gdk.Rectangle background_area, Gtk.CellAllocCallback callback);
- [Version (since = "3.0")]
public Gdk.Rectangle get_cell_allocation (Gtk.CellAreaContext context, Gtk.Widget widget, Gtk.CellRenderer renderer, Gdk.Rectangle cell_area);
- [Version (since = "3.0")]
public unowned Gtk.CellRenderer get_cell_at_position (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, int x, int y, out Gdk.Rectangle alloc_area);
[NoWrapper]
public virtual void get_cell_property (Gtk.CellRenderer renderer, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
- [Version (since = "3.0")]
public unowned string get_current_path_string ();
- [Version (since = "3.0")]
public unowned Gtk.CellEditable get_edit_widget ();
- [Version (since = "3.0")]
public unowned Gtk.CellRenderer get_edited_cell ();
- [Version (since = "3.0")]
public unowned Gtk.CellRenderer get_focus_cell ();
- [Version (since = "3.0")]
public unowned Gtk.CellRenderer? get_focus_from_sibling (Gtk.CellRenderer renderer);
- [Version (since = "3.0")]
public unowned GLib.List<Gtk.CellRenderer> get_focus_siblings (Gtk.CellRenderer renderer);
- [Version (since = "3.0")]
public virtual void get_preferred_height (Gtk.CellAreaContext context, Gtk.Widget widget, out int minimum_height, out int natural_height);
- [Version (since = "3.0")]
public virtual void get_preferred_height_for_width (Gtk.CellAreaContext context, Gtk.Widget widget, int width, out int minimum_height, out int natural_height);
- [Version (since = "3.0")]
public virtual void get_preferred_width (Gtk.CellAreaContext context, Gtk.Widget widget, out int minimum_width, out int natural_width);
- [Version (since = "3.0")]
public virtual void get_preferred_width_for_height (Gtk.CellAreaContext context, Gtk.Widget widget, int height, out int minimum_width, out int natural_width);
- [Version (since = "3.0")]
public virtual Gtk.SizeRequestMode get_request_mode ();
- [Version (since = "3.0")]
public bool has_renderer (Gtk.CellRenderer renderer);
- [Version (since = "3.0")]
public Gdk.Rectangle inner_cell_area (Gtk.Widget widget, Gdk.Rectangle cell_area);
[CCode (cname = "gtk_cell_area_class_install_cell_property")]
- [Version (since = "3.0")]
public class void install_cell_property (uint property_id, GLib.ParamSpec pspec);
- [Version (since = "3.0")]
public virtual bool is_activatable ();
- [Version (since = "3.0")]
public bool is_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
[CCode (array_length_pos = 0.1, array_length_type = "guint", cname = "gtk_cell_area_class_list_cell_properties")]
- [Version (since = "3.0")]
public class (unowned GLib.ParamSpec)[] list_cell_properties ();
- [Version (since = "3.0")]
public virtual void remove (Gtk.CellRenderer renderer);
- [Version (since = "3.0")]
public void remove_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
- [Version (since = "3.0")]
public void request_renderer (Gtk.CellRenderer renderer, Gtk.Orientation orientation, Gtk.Widget widget, int for_size, out int minimum_size, out int natural_size);
[NoWrapper]
public virtual void set_cell_property (Gtk.CellRenderer renderer, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
- [Version (since = "3.0")]
public void set_focus_cell (Gtk.CellRenderer renderer);
- [Version (since = "3.90")]
public virtual void snapshot (Gtk.CellAreaContext context, Gtk.Widget widget, Gtk.Snapshot snapshot, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags, bool paint_focus);
- [Version (since = "3.0")]
public void stop_editing (bool canceled);
- [Version (since = "3.0")]
public Gtk.CellEditable edit_widget { get; }
- [Version (since = "3.0")]
public Gtk.CellRenderer edited_cell { get; }
- [Version (since = "3.0")]
public Gtk.CellRenderer focus_cell { get; set; }
- [Version (since = "3.0")]
public signal void add_editable (Gtk.CellRenderer renderer, Gtk.CellEditable editable, Gdk.Rectangle cell_area, string path);
[HasEmitter]
- [Version (since = "3.0")]
public virtual signal void apply_attributes (Gtk.TreeModel tree_model, Gtk.TreeIter iter, bool is_expander, bool is_expanded);
- [Version (since = "3.0")]
public signal void focus_changed (Gtk.CellRenderer renderer, string path);
- [Version (since = "3.0")]
public signal void remove_editable (Gtk.CellRenderer renderer, Gtk.CellEditable editable);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_area_box_get_type ()")]
public class CellAreaBox : Gtk.CellArea, Gtk.Buildable, Gtk.CellLayout, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkCellArea*")]
- [Version (since = "3.0")]
public CellAreaBox ();
- [Version (since = "3.0")]
public int get_spacing ();
[CCode (cname = "gtk_cell_area_box_pack_end")]
- [Version (since = "3.0")]
public void pack_end_full (Gtk.CellRenderer renderer, bool expand = true, bool align = false, bool fixed = true);
[CCode (cname = "gtk_cell_area_box_pack_start")]
- [Version (since = "3.0")]
public void pack_start_full (Gtk.CellRenderer renderer, bool expand = true, bool align = false, bool fixed = true);
- [Version (since = "3.0")]
public void set_spacing (int spacing);
- [Version (since = "3.0")]
public int spacing { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_area_context_get_type ()")]
@@ -7633,36 +6938,23 @@ namespace Gtk {
[CCode (has_construct_function = false)]
protected CellAreaContext ();
public virtual void allocate (int width, int height);
- [Version (since = "3.0")]
public void get_allocation (out int width, out int height);
- [Version (since = "3.0")]
public unowned Gtk.CellArea get_area ();
- [Version (since = "3.0")]
public void get_preferred_height (out int minimum_height, out int natural_height);
- [Version (since = "3.0")]
public virtual void get_preferred_height_for_width (int width, out int minimum_height, out int natural_height);
- [Version (since = "3.0")]
public void get_preferred_width (out int minimum_width, out int natural_width);
- [Version (since = "3.0")]
public virtual void get_preferred_width_for_height (int height, out int minimum_width, out int natural_width);
- [Version (since = "3.0")]
public void push_preferred_height (int minimum_height, int natural_height);
- [Version (since = "3.0")]
public void push_preferred_width (int minimum_width, int natural_width);
public virtual void reset ();
- [Version (since = "3.0")]
public Gtk.CellArea area { get; construct; }
[NoAccessorMethod]
- [Version (since = "3.0")]
public int minimum_height { get; }
[NoAccessorMethod]
- [Version (since = "3.0")]
public int minimum_width { get; }
[NoAccessorMethod]
- [Version (since = "3.0")]
public int natural_height { get; }
[NoAccessorMethod]
- [Version (since = "3.0")]
public int natural_width { get; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_get_type ()")]
@@ -7670,56 +6962,36 @@ namespace Gtk {
[CCode (has_construct_function = false)]
protected CellRenderer ();
public virtual bool activate ([CCode (type = "GdkEvent*")] Gdk.Event event, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
- [Version (since = "3.0")]
public virtual Gdk.Rectangle get_aligned_area (Gtk.Widget widget, Gtk.CellRendererState flags, Gdk.Rectangle cell_area);
- [Version (since = "2.18")]
public void get_alignment (out float xalign, out float yalign);
public void get_fixed_size (out int width, out int height);
- [Version (since = "2.18")]
public void get_padding (out int xpad, out int ypad);
- [Version (since = "3.0")]
public virtual void get_preferred_height (Gtk.Widget widget, out int minimum_size, out int natural_size);
- [Version (since = "3.0")]
public virtual void get_preferred_height_for_width (Gtk.Widget widget, int width, out int minimum_height, out int natural_height);
- [Version (since = "3.0")]
public void get_preferred_size (Gtk.Widget widget, out Gtk.Requisition minimum_size, out Gtk.Requisition natural_size);
- [Version (since = "3.0")]
public virtual void get_preferred_width (Gtk.Widget widget, out int minimum_size, out int natural_size);
- [Version (since = "3.0")]
public virtual void get_preferred_width_for_height (Gtk.Widget widget, int height, out int minimum_width, out int natural_width);
- [Version (since = "3.0")]
public virtual Gtk.SizeRequestMode get_request_mode ();
- [Version (since = "2.18")]
public bool get_sensitive ();
[NoWrapper]
[Version (deprecated = true, replacement = "get_preferred_size")]
public abstract void get_size (Gtk.Widget widget, Gdk.Rectangle cell_area, int x_offset, int y_offset, int width, int height);
- [Version (since = "3.0")]
public Gtk.StateFlags get_state (Gtk.Widget? widget, Gtk.CellRendererState cell_state);
- [Version (since = "2.18")]
public bool get_visible ();
- [Version (since = "3.0")]
public bool is_activatable ();
[CCode (cname = "gtk_cell_renderer_class_set_accessible_type")]
public class void set_accessible_type (GLib.Type type);
- [Version (since = "2.18")]
public void set_alignment (float xalign, float yalign);
public void set_fixed_size (int width, int height);
- [Version (since = "2.18")]
public void set_padding (int xpad, int ypad);
- [Version (since = "2.18")]
public void set_sensitive (bool sensitive);
- [Version (since = "2.18")]
public void set_visible (bool visible);
- [Version (since = "3.90")]
public virtual void snapshot (Gtk.Snapshot snapshot, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
public virtual unowned Gtk.CellEditable? start_editing ([CCode (type = "GdkEvent*")] Gdk.Event event, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
- [Version (since = "2.6")]
public void stop_editing (bool canceled);
[NoAccessorMethod]
public string cell_background { set; }
[NoAccessorMethod]
- [Version (since = "3.0")]
public Gdk.RGBA cell_background_rgba { get; set; }
[NoAccessorMethod]
public bool cell_background_set { get; set; }
@@ -7745,48 +7017,34 @@ namespace Gtk {
public float yalign { get; set; }
[NoAccessorMethod]
public uint ypad { get; set; }
- [Version (since = "2.4")]
public virtual signal void editing_canceled ();
- [Version (since = "2.6")]
public virtual signal void editing_started (Gtk.CellEditable editable, string path);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_accel_get_type ()")]
public class CellRendererAccel : Gtk.CellRendererText {
[CCode (has_construct_function = false, type = "GtkCellRenderer*")]
- [Version (since = "2.10")]
public CellRendererAccel ();
[NoAccessorMethod]
- [Version (since = "2.10")]
public uint accel_key { get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public Gtk.CellRendererAccelMode accel_mode { get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public Gdk.ModifierType accel_mods { get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public uint keycode { get; set; }
- [Version (since = "2.10")]
public virtual signal void accel_cleared (string path_string);
- [Version (since = "2.10")]
public virtual signal void accel_edited (string path_string, uint accel_key, Gdk.ModifierType accel_mods, uint hardware_keycode);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_combo_get_type ()")]
public class CellRendererCombo : Gtk.CellRendererText {
[CCode (has_construct_function = false, type = "GtkCellRenderer*")]
- [Version (since = "2.6")]
public CellRendererCombo ();
[NoAccessorMethod]
- [Version (since = "2.6")]
public bool has_entry { get; set; }
[NoAccessorMethod]
- [Version (since = "2.6")]
public Gtk.TreeModel model { owned get; set; }
[NoAccessorMethod]
- [Version (since = "2.6")]
public int text_column { get; set; }
- [Version (since = "2.14")]
public signal void changed (string path_string, Gtk.TreeIter new_iter);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_pixbuf_get_type ()")]
@@ -7794,13 +7052,10 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkCellRenderer*")]
public CellRendererPixbuf ();
[NoAccessorMethod]
- [Version (since = "2.14")]
public GLib.Icon gicon { owned get; set; }
[NoAccessorMethod]
- [Version (since = "2.8")]
public string icon_name { owned get; set; }
[NoAccessorMethod]
- [Version (since = "3.94")]
public Gtk.IconSize icon_size { get; set; }
[NoAccessorMethod]
public Gdk.Pixbuf pixbuf { owned get; set; }
@@ -7809,62 +7064,47 @@ namespace Gtk {
[NoAccessorMethod]
public Gdk.Pixbuf pixbuf_expander_open { owned get; set; }
[NoAccessorMethod]
- [Version (since = "3.10")]
public Cairo.Surface surface { owned get; set; }
[NoAccessorMethod]
- [Version (since = "3.94")]
public Gdk.Texture texture { owned get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_progress_get_type ()")]
public class CellRendererProgress : Gtk.CellRenderer, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkCellRenderer*")]
- [Version (since = "2.6")]
public CellRendererProgress ();
[NoAccessorMethod]
public bool inverted { get; set; }
[NoAccessorMethod]
- [Version (since = "2.12")]
public int pulse { get; set; }
[NoAccessorMethod]
- [Version (since = "2.6")]
public string text { owned get; set; }
[NoAccessorMethod]
- [Version (since = "2.12")]
public float text_xalign { get; set; }
[NoAccessorMethod]
- [Version (since = "2.12")]
public float text_yalign { get; set; }
[NoAccessorMethod]
- [Version (since = "2.6")]
public int value { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_spin_get_type ()")]
public class CellRendererSpin : Gtk.CellRendererText {
[CCode (has_construct_function = false, type = "GtkCellRenderer*")]
- [Version (since = "2.10")]
public CellRendererSpin ();
[NoAccessorMethod]
- [Version (since = "2.10")]
public Gtk.Adjustment adjustment { owned get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public double climb_rate { get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public uint digits { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_spinner_get_type ()")]
public class CellRendererSpinner : Gtk.CellRenderer {
[CCode (has_construct_function = false, type = "GtkCellRenderer*")]
- [Version (since = "2.20")]
public CellRendererSpinner ();
[NoAccessorMethod]
public bool active { get; set; }
[NoAccessorMethod]
- [Version (since = "2.20")]
public uint pulse { get; set; }
[NoAccessorMethod]
- [Version (since = "2.20")]
public Gtk.IconSize size { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_text_get_type ()")]
@@ -7875,14 +7115,12 @@ namespace Gtk {
[NoAccessorMethod]
public bool align_set { get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public Pango.Alignment alignment { get; set; }
[NoAccessorMethod]
public Pango.AttrList attributes { owned get; set; }
[NoAccessorMethod]
public string background { set; }
[NoAccessorMethod]
- [Version (since = "3.0")]
public Gdk.RGBA background_rgba { get; set; }
[NoAccessorMethod]
public bool background_set { get; set; }
@@ -7891,7 +7129,6 @@ namespace Gtk {
[NoAccessorMethod]
public bool editable_set { get; set; }
[NoAccessorMethod]
- [Version (since = "2.6")]
public Pango.EllipsizeMode ellipsize { get; set; }
[NoAccessorMethod]
public bool ellipsize_set { get; set; }
@@ -7906,7 +7143,6 @@ namespace Gtk {
[NoAccessorMethod]
public string foreground { set; }
[NoAccessorMethod]
- [Version (since = "3.0")]
public Gdk.RGBA foreground_rgba { get; set; }
[NoAccessorMethod]
public bool foreground_set { get; set; }
@@ -7917,7 +7153,6 @@ namespace Gtk {
[NoAccessorMethod]
public string markup { set; }
[NoAccessorMethod]
- [Version (since = "3.0")]
public int max_width_chars { get; set; }
[NoAccessorMethod]
public string placeholder_text { owned get; set; }
@@ -7964,13 +7199,10 @@ namespace Gtk {
[NoAccessorMethod]
public bool weight_set { get; set; }
[NoAccessorMethod]
- [Version (since = "2.6")]
public int width_chars { get; set; }
[NoAccessorMethod]
- [Version (since = "2.8")]
public Pango.WrapMode wrap_mode { get; set; }
[NoAccessorMethod]
- [Version (since = "2.8")]
public int wrap_width { get; set; }
public virtual signal void edited (string path, string new_text);
}
@@ -7978,11 +7210,9 @@ namespace Gtk {
public class CellRendererToggle : Gtk.CellRenderer {
[CCode (has_construct_function = false, type = "GtkCellRenderer*")]
public CellRendererToggle ();
- [Version (since = "2.18")]
public bool get_activatable ();
public bool get_active ();
public bool get_radio ();
- [Version (since = "2.18")]
public void set_activatable (bool setting);
public void set_active (bool setting);
public void set_radio (bool radio);
@@ -7996,35 +7226,22 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_view_get_type ()")]
public class CellView : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.6")]
public CellView ();
- [Version (since = "2.6")]
public Gtk.TreePath? get_displayed_row ();
- [Version (since = "3.0")]
public bool get_draw_sensitive ();
- [Version (since = "3.0")]
public bool get_fit_model ();
- [Version (since = "2.16")]
public unowned Gtk.TreeModel? get_model ();
- [Version (since = "2.6")]
public void set_displayed_row (Gtk.TreePath? path);
- [Version (since = "3.0")]
public void set_draw_sensitive (bool draw_sensitive);
- [Version (since = "3.0")]
public void set_fit_model (bool fit_model);
- [Version (since = "2.6")]
public void set_model (Gtk.TreeModel? model);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.6")]
public CellView.with_context (Gtk.CellArea area, Gtk.CellAreaContext context);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.6")]
public CellView.with_markup (string markup);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.6")]
public CellView.with_text (string text);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.94")]
public CellView.with_texture (Gdk.Texture texture);
[NoAccessorMethod]
public Gtk.CellArea cell_area { owned get; construct; }
@@ -8037,23 +7254,14 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_center_box_get_type ()")]
public class CenterBox : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.92")]
public CenterBox ();
- [Version (since = "3.92")]
public Gtk.BaselinePosition get_baseline_position ();
- [Version (since = "3.92")]
public unowned Gtk.Widget? get_center_widget ();
- [Version (since = "3.92")]
public unowned Gtk.Widget? get_end_widget ();
- [Version (since = "3.92")]
public unowned Gtk.Widget? get_start_widget ();
- [Version (since = "3.92")]
public void set_baseline_position (Gtk.BaselinePosition position);
- [Version (since = "3.92")]
public void set_center_widget (Gtk.Widget? child);
- [Version (since = "3.92")]
public void set_end_widget (Gtk.Widget? child);
- [Version (since = "3.92")]
public void set_start_widget (Gtk.Widget? child);
public Gtk.BaselinePosition baseline_position { get; set; }
}
@@ -8077,11 +7285,9 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public CheckMenuItem ();
public bool get_active ();
- [Version (since = "2.4")]
public bool get_draw_as_radio ();
public bool get_inconsistent ();
public void set_active (bool is_active);
- [Version (since = "2.4")]
public void set_draw_as_radio (bool draw_as_radio);
public void set_inconsistent (bool setting);
[CCode (has_construct_function = false, type = "GtkWidget*")]
@@ -8106,27 +7312,19 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_color_button_get_type ()")]
public class ColorButton : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.ColorChooser {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.4")]
public ColorButton ();
- [Version (since = "2.4")]
public unowned string get_title ();
- [Version (since = "2.4")]
public void set_title (string title);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.0")]
public ColorButton.with_rgba (Gdk.RGBA rgba);
[NoAccessorMethod]
- [Version (since = "3.20")]
public bool show_editor { get; set; }
- [Version (since = "2.4")]
public string title { get; set; }
- [Version (since = "2.4")]
public virtual signal void color_set ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_color_chooser_dialog_get_type ()")]
public class ColorChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.ColorChooser {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.4")]
public ColorChooserDialog (string? title, Gtk.Window? parent);
[NoAccessorMethod]
public bool show_editor { get; set; }
@@ -8134,119 +7332,68 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_color_chooser_widget_get_type ()")]
public class ColorChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.ColorChooser, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.4")]
public ColorChooserWidget ();
[NoAccessorMethod]
- [Version (since = "3.4")]
public bool show_editor { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_combo_box_get_type ()")]
public class ComboBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.CellLayout {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.4")]
public ComboBox ();
- [Version (since = "2.4")]
public int get_active ();
- [Version (since = "3.0")]
public unowned string? get_active_id ();
- [Version (since = "2.4")]
public bool get_active_iter (out Gtk.TreeIter iter);
- [Version (since = "2.14")]
public Gtk.SensitivityType get_button_sensitivity ();
- [Version (since = "2.6")]
public int get_column_span_column ();
- [Version (since = "2.24")]
public int get_entry_text_column ();
- [Version (since = "2.24")]
public bool get_has_entry ();
- [Version (since = "3.0")]
public int get_id_column ();
- [Version (since = "2.4")]
public unowned Gtk.TreeModel get_model ();
- [Version (since = "2.6")]
public unowned Atk.Object get_popup_accessible ();
- [Version (since = "3.0")]
public bool get_popup_fixed_width ();
- [Version (since = "2.6")]
public unowned Gtk.TreeViewRowSeparatorFunc get_row_separator_func ();
- [Version (since = "2.6")]
public int get_row_span_column ();
- [Version (since = "2.6")]
public int get_wrap_width ();
- [Version (since = "3.0")]
public void popup_for_device (Gdk.Device device);
- [Version (since = "2.4")]
public void set_active (int index_);
- [Version (since = "3.0")]
public bool set_active_id (string? active_id);
- [Version (since = "2.4")]
public void set_active_iter (Gtk.TreeIter? iter);
- [Version (since = "2.14")]
public void set_button_sensitivity (Gtk.SensitivityType sensitivity);
- [Version (since = "2.4")]
public void set_column_span_column (int column_span);
- [Version (since = "2.24")]
public void set_entry_text_column (int text_column);
- [Version (since = "3.0")]
public void set_id_column (int id_column);
- [Version (since = "2.4")]
public void set_model (Gtk.TreeModel? model);
- [Version (since = "3.0")]
public void set_popup_fixed_width (bool fixed);
- [Version (since = "2.6")]
public void set_row_separator_func (owned Gtk.TreeViewRowSeparatorFunc func);
- [Version (since = "2.4")]
public void set_row_span_column (int row_span);
- [Version (since = "2.4")]
public void set_wrap_width (int width);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.24")]
public ComboBox.with_entry ();
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.4")]
public ComboBox.with_model (Gtk.TreeModel model);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.24")]
public ComboBox.with_model_and_entry (Gtk.TreeModel model);
- [Version (since = "2.4")]
public int active { get; set; }
- [Version (since = "3.0")]
public string? active_id { get; set; }
- [Version (since = "2.14")]
public Gtk.SensitivityType button_sensitivity { get; set; }
- [Version (since = "2.4")]
public int column_span_column { get; set; }
- [Version (since = "2.24")]
public int entry_text_column { get; set; }
- [Version (since = "2.24")]
public bool has_entry { get; construct; }
[NoAccessorMethod]
- [Version (since = "2.6")]
public bool has_frame { get; set; }
- [Version (since = "3.0")]
public int id_column { get; set; }
- [Version (since = "2.4")]
public Gtk.TreeModel model { get; set; }
- [Version (since = "3.0")]
public bool popup_fixed_width { get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public bool popup_shown { get; }
- [Version (since = "2.4")]
public int row_span_column { get; set; }
- [Version (since = "2.4")]
public int wrap_width { get; set; }
- [Version (since = "2.4")]
public virtual signal void changed ();
- [Version (since = "3.4")]
public virtual signal string format_entry_text (string path);
- [Version (since = "2.12")]
public signal void move_active (Gtk.ScrollType scroll_type);
[HasEmitter]
- [Version (since = "2.12")]
public signal bool popdown ();
[HasEmitter]
- [Version (since = "2.12")]
public signal void popup ();
}
[CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_combo_box_accessible_get_type ()")]
@@ -8257,28 +7404,17 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_combo_box_text_get_type ()")]
public class ComboBoxText : Gtk.ComboBox, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.CellLayout {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.24")]
public ComboBoxText ();
- [Version (since = "2.24")]
public void append (string? id, string text);
- [Version (since = "2.24")]
public void append_text (string text);
- [Version (since = "2.24")]
public string get_active_text ();
- [Version (since = "3.0")]
public void insert (int position, string? id, string text);
- [Version (since = "2.24")]
public void insert_text (int position, string text);
- [Version (since = "2.24")]
public void prepend (string? id, string text);
- [Version (since = "2.24")]
public void prepend_text (string text);
- [Version (since = "2.24")]
public void remove (int position);
- [Version (since = "3.0")]
public void remove_all ();
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.24")]
public ComboBoxText.with_entry ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_container_get_type ()")]
@@ -8289,9 +7425,7 @@ namespace Gtk {
public void child_get (Gtk.Widget child, ...);
public void child_get_property (Gtk.Widget child, string property_name, GLib.Value value);
public void child_get_valist (Gtk.Widget child, string first_property_name, [CCode (type = "va_list")] va_list var_args);
- [Version (since = "3.2")]
public void child_notify (Gtk.Widget child, string child_property);
- [Version (since = "3.18")]
public void child_notify_by_pspec (Gtk.Widget child, GLib.ParamSpec pspec);
public void child_set (Gtk.Widget child, ...);
public void child_set_property (Gtk.Widget child, string property_name, GLib.Value value);
@@ -8309,7 +7443,6 @@ namespace Gtk {
public unowned Gtk.Adjustment? get_focus_vadjustment ();
public virtual Gtk.WidgetPath get_path_for_child (Gtk.Widget child);
[CCode (cname = "gtk_container_class_install_child_properties")]
- [Version (since = "3.18")]
public class void install_child_properties ([CCode (array_length_cname = "n_pspecs", array_length_pos = 0.5, array_length_type = "guint")] GLib.ParamSpec[] pspecs);
[CCode (cname = "gtk_container_class_install_child_property")]
public class void install_child_property (uint property_id, GLib.ParamSpec pspec);
@@ -8356,15 +7489,12 @@ namespace Gtk {
public void load_from_buffer ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gssize")] uint8[] data);
public void load_from_file (GLib.File file);
public void load_from_path (string path);
- [Version (since = "3.16")]
public void load_from_resource (string resource_path);
- [Version (since = "3.2")]
public string to_string ();
public virtual signal void parsing_error (Gtk.CssSection section, GLib.Error error);
}
[CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_css_section_ref", type_id = "gtk_css_section_get_type ()", unref_function = "gtk_css_section_unref")]
[Compact]
- [Version (since = "3.2")]
public class CssSection {
public uint get_end_line ();
public uint get_end_position ();
@@ -8383,13 +7513,9 @@ namespace Gtk {
public void add_action_widget (Gtk.Widget child, int response_id);
public unowned Gtk.Widget add_button (string button_text, int response_id);
public void add_buttons (...);
- [Version (since = "2.14")]
public unowned Gtk.Box get_content_area ();
- [Version (since = "3.12")]
public unowned Gtk.Widget get_header_bar ();
- [Version (since = "2.8")]
public int get_response_for_widget (Gtk.Widget widget);
- [Version (since = "2.20")]
public unowned Gtk.Widget? get_widget_for_response (int response_id);
public int run ();
public void set_default_response (int response_id);
@@ -8397,7 +7523,6 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Dialog.with_buttons (string? title, Gtk.Window? parent, Gtk.DialogFlags flags, ...);
[NoAccessorMethod]
- [Version (since = "3.12")]
public int use_header_bar { get; construct; }
public virtual signal void close ();
[HasEmitter]
@@ -8407,19 +7532,12 @@ namespace Gtk {
public class DrawingArea : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public DrawingArea ();
- [Version (since = "3.90")]
public int get_content_height ();
- [Version (since = "3.90")]
public int get_content_width ();
- [Version (since = "3.90")]
public void set_content_height (int height);
- [Version (since = "3.90")]
public void set_content_width (int width);
- [Version (since = "3.90")]
public void set_draw_func (owned Gtk.DrawingAreaDrawFunc? draw_func);
- [Version (since = "3.90")]
public int content_height { get; set; }
- [Version (since = "3.90")]
public int content_width { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_entry_get_type ()")]
@@ -8427,136 +7545,81 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Entry ();
public bool get_activates_default ();
- [Version (since = "2.4")]
public float get_alignment ();
- [Version (since = "3.6")]
public unowned Pango.AttrList? get_attributes ();
- [Version (since = "2.18")]
public unowned Gtk.EntryBuffer get_buffer ();
- [Version (since = "2.4")]
public unowned Gtk.EntryCompletion get_completion ();
- [Version (since = "2.16")]
public int get_current_icon_drag_source ();
- [Version (since = "2.12")]
public unowned Gtk.Adjustment? get_cursor_hadjustment ();
public bool get_has_frame ();
- [Version (since = "2.16")]
public bool get_icon_activatable (Gtk.EntryIconPosition icon_pos);
- [Version (since = "3.0")]
public Gdk.Rectangle get_icon_area (Gtk.EntryIconPosition icon_pos);
- [Version (since = "2.16")]
public int get_icon_at_pos (int x, int y);
- [Version (since = "2.16")]
public unowned GLib.Icon? get_icon_gicon (Gtk.EntryIconPosition icon_pos);
- [Version (since = "2.16")]
public unowned string? get_icon_name (Gtk.EntryIconPosition icon_pos);
- [Version (since = "2.16")]
public bool get_icon_sensitive (Gtk.EntryIconPosition icon_pos);
- [Version (since = "2.16")]
public Gtk.ImageType get_icon_storage_type (Gtk.EntryIconPosition icon_pos);
- [Version (since = "3.94")]
public unowned Gdk.Texture? get_icon_texture (Gtk.EntryIconPosition icon_pos);
- [Version (since = "2.16")]
public string? get_icon_tooltip_markup (Gtk.EntryIconPosition icon_pos);
- [Version (since = "2.16")]
public string? get_icon_tooltip_text (Gtk.EntryIconPosition icon_pos);
- [Version (since = "3.6")]
public Gtk.InputHints get_input_hints ();
- [Version (since = "3.6")]
public Gtk.InputPurpose get_input_purpose ();
public unichar get_invisible_char ();
public unowned Pango.Layout get_layout ();
public void get_layout_offsets (out int x, out int y);
public int get_max_length ();
- [Version (since = "3.12")]
public int get_max_width_chars ();
- [Version (since = "2.14")]
public bool get_overwrite_mode ();
- [Version (since = "3.2")]
public unowned string get_placeholder_text ();
- [Version (since = "2.16")]
public double get_progress_fraction ();
- [Version (since = "2.16")]
public double get_progress_pulse_step ();
- [Version (since = "3.10")]
public unowned Pango.TabArray? get_tabs ();
public unowned string get_text ();
- [Version (since = "2.14")]
public uint16 get_text_length ();
public bool get_visibility ();
public int get_width_chars ();
- [Version (since = "3.16")]
public void grab_focus_without_selecting ();
- [Version (since = "2.22")]
public bool im_context_filter_keypress ([CCode (type = "GdkEventKey*")] Gdk.Event event);
public int layout_index_to_text_index (int layout_index);
- [Version (since = "2.16")]
public void progress_pulse ();
- [Version (since = "2.22")]
public void reset_im_context ();
public void set_activates_default (bool setting);
- [Version (since = "2.4")]
public void set_alignment (float xalign);
- [Version (since = "3.6")]
public void set_attributes (Pango.AttrList attrs);
- [Version (since = "2.18")]
public void set_buffer (Gtk.EntryBuffer buffer);
- [Version (since = "2.4")]
public void set_completion (Gtk.EntryCompletion? completion);
- [Version (since = "2.12")]
public void set_cursor_hadjustment (Gtk.Adjustment? adjustment);
public void set_has_frame (bool setting);
- [Version (since = "2.16")]
public void set_icon_activatable (Gtk.EntryIconPosition icon_pos, bool activatable);
- [Version (since = "2.16")]
public void set_icon_drag_source (Gtk.EntryIconPosition icon_pos, Gdk.ContentFormats formats, Gdk.DragAction actions);
- [Version (since = "2.16")]
public void set_icon_from_gicon (Gtk.EntryIconPosition icon_pos, GLib.Icon? icon);
- [Version (since = "2.16")]
public void set_icon_from_icon_name (Gtk.EntryIconPosition icon_pos, string? icon_name);
- [Version (since = "3.94")]
public void set_icon_from_texture (Gtk.EntryIconPosition icon_pos, Gdk.Texture? texture);
- [Version (since = "2.16")]
public void set_icon_sensitive (Gtk.EntryIconPosition icon_pos, bool sensitive);
- [Version (since = "2.16")]
public void set_icon_tooltip_markup (Gtk.EntryIconPosition icon_pos, string? tooltip);
- [Version (since = "2.16")]
public void set_icon_tooltip_text (Gtk.EntryIconPosition icon_pos, string? tooltip);
- [Version (since = "3.6")]
public void set_input_hints (Gtk.InputHints hints);
- [Version (since = "3.6")]
public void set_input_purpose (Gtk.InputPurpose purpose);
public void set_invisible_char (unichar ch);
public void set_max_length (int max);
- [Version (since = "3.12")]
public void set_max_width_chars (int n_chars);
- [Version (since = "2.14")]
public void set_overwrite_mode (bool overwrite);
- [Version (since = "3.2")]
public void set_placeholder_text (string? text);
- [Version (since = "2.16")]
public void set_progress_fraction (double fraction);
- [Version (since = "2.16")]
public void set_progress_pulse_step (double fraction);
- [Version (since = "3.10")]
public void set_tabs (Pango.TabArray tabs);
public void set_text (string text);
public void set_visibility (bool visible);
public void set_width_chars (int n_chars);
public int text_index_to_layout_index (int text_index);
- [Version (since = "2.16")]
public void unset_invisible_char ();
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.18")]
public Entry.with_buffer (Gtk.EntryBuffer buffer);
public bool activates_default { get; set; }
- [Version (since = "3.6")]
public Pango.AttrList attributes { get; set; }
public Gtk.EntryBuffer buffer { get; set construct; }
[NoAccessorMethod]
- [Version (since = "2.16")]
public bool caps_lock_warning { get; set; }
- [Version (since = "3.2")]
public Gtk.EntryCompletion completion { get; set; }
[NoAccessorMethod]
public int cursor_position { get; }
@@ -8564,79 +7627,53 @@ namespace Gtk {
public bool editable { get; set; }
public bool has_frame { get; set; }
[NoAccessorMethod]
- [Version (since = "2.16")]
public string im_module { owned get; set; }
- [Version (since = "3.6")]
public Gtk.InputHints input_hints { get; set; }
- [Version (since = "3.6")]
public Gtk.InputPurpose input_purpose { get; set; }
public uint invisible_char { get; set; }
[NoAccessorMethod]
- [Version (since = "2.16")]
public bool invisible_char_set { get; set; }
public int max_length { get; set; }
- [Version (since = "3.12")]
public int max_width_chars { get; set; }
- [Version (since = "2.14")]
public bool overwrite_mode { get; set; }
- [Version (since = "3.2")]
public string placeholder_text { get; set; }
[NoAccessorMethod]
- [Version (since = "3.8")]
public bool populate_all { get; set; }
[NoAccessorMethod]
- [Version (since = "2.16")]
public bool primary_icon_activatable { get; set; }
[NoAccessorMethod]
- [Version (since = "2.16")]
public GLib.Icon primary_icon_gicon { owned get; set; }
[NoAccessorMethod]
- [Version (since = "2.16")]
public string primary_icon_name { owned get; set; }
[NoAccessorMethod]
- [Version (since = "2.16")]
public bool primary_icon_sensitive { get; set; }
[NoAccessorMethod]
- [Version (since = "2.16")]
public Gtk.ImageType primary_icon_storage_type { get; }
[NoAccessorMethod]
- [Version (since = "3.94")]
public Gdk.Texture primary_icon_texture { owned get; set; }
[NoAccessorMethod]
- [Version (since = "2.16")]
public string primary_icon_tooltip_markup { owned get; set; }
[NoAccessorMethod]
- [Version (since = "2.16")]
public string primary_icon_tooltip_text { owned get; set; }
- [Version (since = "2.16")]
public double progress_fraction { get; set; }
- [Version (since = "2.16")]
public double progress_pulse_step { get; set; }
[NoAccessorMethod]
public int scroll_offset { get; }
[NoAccessorMethod]
- [Version (since = "2.16")]
public bool secondary_icon_activatable { get; set; }
[NoAccessorMethod]
- [Version (since = "2.16")]
public GLib.Icon secondary_icon_gicon { owned get; set; }
[NoAccessorMethod]
- [Version (since = "2.16")]
public string secondary_icon_name { owned get; set; }
[NoAccessorMethod]
- [Version (since = "2.16")]
public bool secondary_icon_sensitive { get; set; }
[NoAccessorMethod]
- [Version (since = "2.16")]
public Gtk.ImageType secondary_icon_storage_type { get; }
[NoAccessorMethod]
- [Version (since = "3.94")]
public Gdk.Texture secondary_icon_texture { owned get; set; }
[NoAccessorMethod]
- [Version (since = "2.16")]
public string secondary_icon_tooltip_markup { owned get; set; }
[NoAccessorMethod]
- [Version (since = "2.16")]
public string secondary_icon_tooltip_text { owned get; set; }
[NoAccessorMethod]
public int selection_bound { get; }
@@ -8644,32 +7681,25 @@ namespace Gtk {
public bool show_emoji_icon { get; set; }
public Pango.TabArray tabs { get; set; }
public string text { get; set; }
- [Version (since = "2.14")]
public uint text_length { get; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public bool truncate_multiline { get; set; }
public bool visibility { get; set; }
public int width_chars { get; set; }
[NoAccessorMethod]
- [Version (since = "2.4")]
public float xalign { get; set; }
public virtual signal void activate ();
public virtual signal void backspace ();
public virtual signal void copy_clipboard ();
public virtual signal void cut_clipboard ();
public virtual signal void delete_from_cursor (Gtk.DeleteType type, int count);
- [Version (since = "2.16")]
public signal void icon_press (Gtk.EntryIconPosition icon_pos, Gdk.Event event);
- [Version (since = "2.16")]
public signal void icon_release (Gtk.EntryIconPosition icon_pos, Gdk.Event event);
public virtual signal void insert_at_cursor (string str);
- [Version (since = "3.22.27")]
public virtual signal void insert_emoji ();
public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
public virtual signal void paste_clipboard ();
public virtual signal void populate_popup (Gtk.Menu popup);
- [Version (since = "2.20")]
public signal void preedit_changed (string preedit);
public virtual signal void toggle_overwrite ();
}
@@ -8681,127 +7711,72 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_entry_buffer_get_type ()")]
public class EntryBuffer : GLib.Object {
[CCode (has_construct_function = false)]
- [Version (since = "2.18")]
public EntryBuffer ([CCode (array_length_cname = "n_initial_chars", array_length_pos = 1.1, type = "const gchar*")] uint8[]? initial_chars = null);
- [Version (since = "2.18")]
public virtual uint delete_text (uint position, uint n_chars);
- [Version (since = "2.18")]
public void emit_deleted_text (uint position, uint n_chars);
- [Version (since = "2.18")]
public void emit_inserted_text (uint position, [CCode (array_length_cname = "n_chars", array_length_pos = 2.1, array_length_type = "guint", type = "const gchar*")] uint8[] chars);
- [Version (since = "2.18")]
public size_t get_bytes ();
- [Version (since = "2.18")]
public virtual uint get_length ();
- [Version (since = "2.18")]
public int get_max_length ();
- [Version (since = "2.18")]
public unowned string get_text ();
[CCode (vfunc_name = "get_text")]
[NoWrapper]
public virtual unowned string get_text_internal (out size_t n_bytes = null);
- [Version (since = "2.18")]
public virtual uint insert_text (uint position, [CCode (array_length_cname = "n_chars", array_length_pos = 2.1, array_length_type = "guint", type = "const gchar*")] uint8[] chars);
- [Version (since = "2.18")]
public void set_max_length (int max_length);
- [Version (since = "2.18")]
public void set_text ([CCode (array_length_cname = "n_chars", array_length_pos = 1.1, type = "const gchar*")] uint8[] chars);
- [Version (since = "2.18")]
public uint length { get; }
- [Version (since = "2.18")]
public int max_length { get; set; }
- [Version (since = "2.18")]
public string text { get; set; }
- [Version (since = "2.18")]
public virtual signal void deleted_text (uint position, uint n_chars);
- [Version (since = "2.18")]
public virtual signal void inserted_text (uint position, string chars, uint n_chars);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_entry_completion_get_type ()")]
public class EntryCompletion : GLib.Object, Gtk.Buildable, Gtk.CellLayout {
[CCode (has_construct_function = false)]
- [Version (since = "2.4")]
public EntryCompletion ();
- [Version (since = "2.4")]
public void complete ();
- [Version (since = "3.4")]
public string? compute_prefix (string key);
- [Version (since = "2.4")]
public void delete_action (int index_);
- [Version (since = "2.12")]
public unowned string get_completion_prefix ();
- [Version (since = "2.4")]
public unowned Gtk.Widget get_entry ();
- [Version (since = "2.6")]
public bool get_inline_completion ();
- [Version (since = "2.12")]
public bool get_inline_selection ();
- [Version (since = "2.4")]
public int get_minimum_key_length ();
- [Version (since = "2.4")]
public unowned Gtk.TreeModel? get_model ();
- [Version (since = "2.6")]
public bool get_popup_completion ();
- [Version (since = "2.8")]
public bool get_popup_set_width ();
- [Version (since = "2.8")]
public bool get_popup_single_match ();
- [Version (since = "2.6")]
public int get_text_column ();
- [Version (since = "2.4")]
public void insert_action_markup (int index_, string markup);
- [Version (since = "2.4")]
public void insert_action_text (int index_, string text);
[CCode (cname = "gtk_entry_completion_insert_prefix")]
- [Version (since = "2.6")]
public void request_prefix_insertion ();
- [Version (since = "2.6")]
public void set_inline_completion (bool inline_completion);
- [Version (since = "2.12")]
public void set_inline_selection (bool inline_selection);
- [Version (since = "2.4")]
public void set_match_func (owned Gtk.EntryCompletionMatchFunc func);
- [Version (since = "2.4")]
public void set_minimum_key_length (int length);
- [Version (since = "2.4")]
public void set_model (Gtk.TreeModel? model);
- [Version (since = "2.6")]
public void set_popup_completion (bool popup_completion);
- [Version (since = "2.8")]
public void set_popup_set_width (bool popup_set_width);
- [Version (since = "2.8")]
public void set_popup_single_match (bool popup_single_match);
- [Version (since = "2.4")]
public void set_text_column (int column);
[CCode (has_construct_function = false)]
- [Version (since = "3.0")]
public EntryCompletion.with_area (Gtk.CellArea area);
[NoAccessorMethod]
- [Version (since = "3.0")]
public Gtk.CellArea cell_area { owned get; construct; }
- [Version (since = "2.6")]
public bool inline_completion { get; set; }
- [Version (since = "2.12")]
public bool inline_selection { get; set; }
public int minimum_key_length { get; set; }
public Gtk.TreeModel model { get; set; }
- [Version (since = "2.6")]
public bool popup_completion { get; set; }
- [Version (since = "2.8")]
public bool popup_set_width { get; set; }
- [Version (since = "2.8")]
public bool popup_single_match { get; set; }
- [Version (since = "2.6")]
public int text_column { get; set; }
- [Version (since = "2.4")]
public virtual signal void action_activated (int index_);
- [Version (since = "2.12")]
public virtual signal bool cursor_on_match (Gtk.TreeModel model, Gtk.TreeIter iter);
- [Version (since = "2.6")]
public virtual signal bool insert_prefix (string prefix);
- [Version (since = "2.4")]
public virtual signal bool match_selected (Gtk.TreeModel model, Gtk.TreeIter iter);
- [Version (since = "3.14")]
public virtual signal void no_matches ();
}
[CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_entry_icon_accessible_get_type ()")]
@@ -8813,25 +7788,17 @@ namespace Gtk {
public abstract class EventController : GLib.Object {
[CCode (has_construct_function = false)]
protected EventController ();
- [Version (since = "3.14")]
public Gtk.PropagationPhase get_propagation_phase ();
- [Version (since = "3.14")]
public unowned Gtk.Widget get_widget ();
- [Version (since = "3.14")]
public bool handle_event ([CCode (type = "const GdkEvent*")] Gdk.Event event);
- [Version (since = "3.14")]
public void reset ();
- [Version (since = "3.14")]
public void set_propagation_phase (Gtk.PropagationPhase phase);
- [Version (since = "3.14")]
public Gtk.PropagationPhase propagation_phase { get; set; }
- [Version (since = "3.14")]
public Gtk.Widget widget { get; construct; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_event_controller_motion_get_type ()")]
public class EventControllerMotion : Gtk.EventController {
[CCode (has_construct_function = false, type = "GtkEventController*")]
- [Version (since = "3.94")]
public EventControllerMotion (Gtk.Widget widget);
public signal void enter (double x, double y);
public signal void leave ();
@@ -8840,13 +7807,9 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_event_controller_scroll_get_type ()")]
public class EventControllerScroll : Gtk.EventController {
[CCode (has_construct_function = false, type = "GtkEventController*")]
- [Version (since = "3.93")]
public EventControllerScroll (Gtk.Widget widget, Gtk.EventControllerScrollFlags flags);
- [Version (since = "3.93")]
public Gtk.EventControllerScrollFlags get_flags ();
- [Version (since = "3.93")]
public void set_flags (Gtk.EventControllerScrollFlags flags);
- [Version (since = "3.93")]
public Gtk.EventControllerScrollFlags flags { get; set; }
public signal void decelerate (double vel_x, double vel_y);
public signal void scroll (double dx, double dy);
@@ -8856,44 +7819,27 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_expander_get_type ()")]
public class Expander : Gtk.Container, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.4")]
public Expander (string? label);
- [Version (since = "2.4")]
public bool get_expanded ();
- [Version (since = "2.4")]
public unowned string? get_label ();
- [Version (since = "2.22")]
public bool get_label_fill ();
- [Version (since = "2.4")]
public unowned Gtk.Widget? get_label_widget ();
- [Version (since = "3.2")]
public bool get_resize_toplevel ();
- [Version (since = "2.4")]
public bool get_use_markup ();
- [Version (since = "2.4")]
public bool get_use_underline ();
- [Version (since = "2.4")]
public void set_expanded (bool expanded);
- [Version (since = "2.4")]
public void set_label (string? label);
- [Version (since = "2.22")]
public void set_label_fill (bool label_fill);
- [Version (since = "2.4")]
public void set_label_widget (Gtk.Widget? label_widget);
- [Version (since = "3.2")]
public void set_resize_toplevel (bool resize_toplevel);
- [Version (since = "2.4")]
public void set_use_markup (bool use_markup);
- [Version (since = "2.4")]
public void set_use_underline (bool use_underline);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.4")]
public Expander.with_mnemonic (string? label);
public bool expanded { get; set construct; }
public string label { get; set construct; }
public bool label_fill { get; set construct; }
public Gtk.Widget label_widget { get; set; }
- [Version (since = "3.2")]
public bool resize_toplevel { get; set; }
public bool use_markup { get; set construct; }
public bool use_underline { get; set construct; }
@@ -8907,47 +7853,31 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_button_get_type ()")]
public class FileChooserButton : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.FileChooser {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.6")]
public FileChooserButton (string title, Gtk.FileChooserAction action);
- [Version (since = "2.6")]
public unowned string get_title ();
- [Version (since = "2.6")]
public int get_width_chars ();
- [Version (since = "2.6")]
public void set_title (string title);
- [Version (since = "2.6")]
public void set_width_chars (int n_chars);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.6")]
public FileChooserButton.with_dialog (Gtk.Dialog dialog);
[NoAccessorMethod]
- [Version (since = "2.6")]
public Gtk.FileChooser dialog { construct; }
- [Version (since = "2.6")]
public string title { get; set; }
- [Version (since = "2.6")]
public int width_chars { get; set; }
- [Version (since = "2.12")]
public virtual signal void file_set ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_dialog_get_type ()")]
public class FileChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.FileChooser {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.4")]
public FileChooserDialog (string? title, Gtk.Window? parent, Gtk.FileChooserAction action, ...);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_native_get_type ()")]
public class FileChooserNative : Gtk.NativeDialog, Gtk.FileChooser {
[CCode (has_construct_function = false)]
- [Version (since = "3.20")]
public FileChooserNative (string? title, Gtk.Window? parent, Gtk.FileChooserAction action, string? accept_label, string? cancel_label);
- [Version (since = "3.20")]
public unowned string? get_accept_label ();
- [Version (since = "3.20")]
public unowned string? get_cancel_label ();
- [Version (since = "3.20")]
public void set_accept_label (string? accept_label);
- [Version (since = "3.20")]
public void set_cancel_label (string? cancel_label);
public string? accept_label { get; set; }
public string? cancel_label { get; set; }
@@ -8955,7 +7885,6 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_widget_get_type ()")]
public class FileChooserWidget : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.FileChooser {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.4")]
public FileChooserWidget (Gtk.FileChooserAction action);
[NoAccessorMethod]
public bool search_mode { get; set; }
@@ -8977,31 +7906,20 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_filter_get_type ()")]
public class FileFilter : GLib.InitiallyUnowned, Gtk.Buildable {
[CCode (has_construct_function = false)]
- [Version (since = "2.4")]
public FileFilter ();
- [Version (since = "2.4")]
public void add_custom (Gtk.FileFilterFlags needed, owned Gtk.FileFilterFunc func);
- [Version (since = "2.4")]
public void add_mime_type (string mime_type);
- [Version (since = "2.4")]
public void add_pattern (string pattern);
- [Version (since = "2.6")]
public void add_pixbuf_formats ();
- [Version (since = "2.4")]
public bool filter (Gtk.FileFilterInfo filter_info);
[CCode (has_construct_function = false)]
- [Version (since = "3.22")]
public FileFilter.from_gvariant (GLib.Variant variant);
[CCode (cname = "gtk_file_filter_get_name")]
- [Version (since = "2.4")]
public unowned string? get_filter_name ();
- [Version (since = "2.4")]
public Gtk.FileFilterFlags get_needed ();
[CCode (cname = "gtk_file_filter_set_name")]
- [Version (since = "2.4")]
public void set_filter_name (string? name);
[CCode (returns_floating_reference = true)]
- [Version (since = "3.22")]
public GLib.Variant to_gvariant ();
}
[CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
@@ -9030,63 +7948,34 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_flow_box_get_type ()")]
public class FlowBox : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.12")]
public FlowBox ();
- [Version (since = "3.18")]
public void bind_model (GLib.ListModel? model, owned Gtk.FlowBoxCreateWidgetFunc? create_widget_func);
- [Version (since = "3.12")]
public bool get_activate_on_single_click ();
- [Version (since = "3.12")]
public unowned Gtk.FlowBoxChild? get_child_at_index (int idx);
- [Version (since = "3.22.6")]
public unowned Gtk.FlowBoxChild? get_child_at_pos (int x, int y);
- [Version (since = "3.12")]
public uint get_column_spacing ();
- [Version (since = "3.12")]
public bool get_homogeneous ();
- [Version (since = "3.12")]
public uint get_max_children_per_line ();
- [Version (since = "3.12")]
public uint get_min_children_per_line ();
- [Version (since = "3.12")]
public uint get_row_spacing ();
- [Version (since = "3.12")]
public GLib.List<weak Gtk.FlowBoxChild> get_selected_children ();
- [Version (since = "3.12")]
public Gtk.SelectionMode get_selection_mode ();
- [Version (since = "3.12")]
public void insert (Gtk.Widget widget, int position);
- [Version (since = "3.12")]
public void invalidate_filter ();
- [Version (since = "3.12")]
public void invalidate_sort ();
- [Version (since = "3.12")]
public void select_child (Gtk.FlowBoxChild child);
- [Version (since = "3.12")]
public void selected_foreach (Gtk.FlowBoxForeachFunc func);
- [Version (since = "3.12")]
public void set_activate_on_single_click (bool single);
- [Version (since = "3.12")]
public void set_column_spacing (uint spacing);
- [Version (since = "3.12")]
public void set_filter_func (owned Gtk.FlowBoxFilterFunc? filter_func);
- [Version (since = "3.12")]
public void set_hadjustment (Gtk.Adjustment adjustment);
- [Version (since = "3.12")]
public void set_homogeneous (bool homogeneous);
- [Version (since = "3.12")]
public void set_max_children_per_line (uint n_children);
- [Version (since = "3.12")]
public void set_min_children_per_line (uint n_children);
- [Version (since = "3.12")]
public void set_row_spacing (uint spacing);
- [Version (since = "3.12")]
public void set_selection_mode (Gtk.SelectionMode mode);
- [Version (since = "3.12")]
public void set_sort_func (owned Gtk.FlowBoxSortFunc? sort_func);
- [Version (since = "3.12")]
public void set_vadjustment (Gtk.Adjustment adjustment);
- [Version (since = "3.12")]
public void unselect_child (Gtk.FlowBoxChild child);
[NoAccessorMethod]
public bool accept_unpaired_release { get; set; }
@@ -9115,13 +8004,9 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_flow_box_child_get_type ()")]
public class FlowBoxChild : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.12")]
public FlowBoxChild ();
- [Version (since = "3.12")]
public void changed ();
- [Version (since = "3.12")]
public int get_index ();
- [Version (since = "3.12")]
public bool is_selected ();
public virtual signal void activate ();
}
@@ -9133,42 +8018,28 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_button_get_type ()")]
public class FontButton : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.FontChooser {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.4")]
public FontButton ();
- [Version (since = "2.4")]
public unowned string get_title ();
- [Version (since = "2.4")]
public bool get_use_font ();
- [Version (since = "2.4")]
public bool get_use_size ();
- [Version (since = "2.4")]
public void set_title (string title);
- [Version (since = "2.4")]
public void set_use_font (bool use_font);
- [Version (since = "2.4")]
public void set_use_size (bool use_size);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.4")]
public FontButton.with_font (string fontname);
- [Version (since = "2.4")]
public string title { get; set; }
- [Version (since = "2.4")]
public bool use_font { get; set; }
- [Version (since = "2.4")]
public bool use_size { get; set; }
- [Version (since = "2.4")]
public virtual signal void font_set ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_chooser_dialog_get_type ()")]
public class FontChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.FontChooser {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.2")]
public FontChooserDialog (string? title, Gtk.Window? parent);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_chooser_widget_get_type ()")]
public class FontChooserWidget : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.FontChooser {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.2")]
public FontChooserWidget ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_frame_get_type ()")]
@@ -9199,7 +8070,6 @@ namespace Gtk {
protected FrameAccessible ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gl_area_get_type ()")]
- [Version (since = "3.16")]
public class GLArea : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public GLArea ();
@@ -9210,7 +8080,6 @@ namespace Gtk {
public bool get_has_depth_buffer ();
public bool get_has_stencil_buffer ();
public void get_required_version (out int major, out int minor);
- [Version (since = "3.22")]
public bool get_use_es ();
public void make_current ();
public void queue_render ();
@@ -9219,13 +8088,11 @@ namespace Gtk {
public void set_has_depth_buffer (bool has_depth_buffer);
public void set_has_stencil_buffer (bool has_stencil_buffer);
public void set_required_version (int major, int minor);
- [Version (since = "3.22")]
public void set_use_es (bool use_es);
public bool auto_render { get; set; }
public Gdk.GLContext context { get; }
public bool has_depth_buffer { get; set; }
public bool has_stencil_buffer { get; set; }
- [Version (since = "3.22")]
public bool use_es { get; set; }
public virtual signal Gdk.GLContext create_context ();
public virtual signal bool render (Gdk.GLContext context);
@@ -9235,168 +8102,105 @@ namespace Gtk {
public abstract class Gesture : Gtk.EventController {
[CCode (has_construct_function = false)]
protected Gesture ();
- [Version (since = "3.14")]
public bool get_bounding_box (out Gdk.Rectangle rect);
- [Version (since = "3.14")]
public bool get_bounding_box_center (out double x, out double y);
- [Version (since = "3.14")]
public unowned Gdk.Device? get_device ();
- [Version (since = "3.14")]
public GLib.List<weak Gtk.Gesture> get_group ();
public unowned Gdk.Event? get_last_event (Gdk.EventSequence sequence);
- [Version (since = "3.14")]
public unowned Gdk.EventSequence? get_last_updated_sequence ();
- [Version (since = "3.14")]
public bool get_point (Gdk.EventSequence? sequence, out double x = null, out double y = null);
- [Version (since = "3.14")]
public Gtk.EventSequenceState get_sequence_state (Gdk.EventSequence sequence);
- [Version (since = "3.14")]
public GLib.List<weak Gdk.EventSequence> get_sequences ();
- [Version (since = "3.14")]
public void group (Gtk.Gesture gesture);
- [Version (since = "3.14")]
public bool handles_sequence (Gdk.EventSequence? sequence);
- [Version (since = "3.14")]
public bool is_active ();
- [Version (since = "3.14")]
public bool is_grouped_with (Gtk.Gesture other);
- [Version (since = "3.14")]
public bool is_recognized ();
- [Version (since = "3.14")]
public bool set_sequence_state (Gdk.EventSequence sequence, Gtk.EventSequenceState state);
- [Version (since = "3.14")]
public bool set_state (Gtk.EventSequenceState state);
- [Version (since = "3.14")]
public void ungroup ();
[NoAccessorMethod]
- [Version (since = "3.14")]
public uint n_points { get; construct; }
- [Version (since = "3.14")]
public signal void begin (Gdk.EventSequence sequence);
- [Version (since = "3.14")]
public signal void cancel (Gdk.EventSequence sequence);
- [Version (since = "3.14")]
public signal void end (Gdk.EventSequence sequence);
- [Version (since = "3.14")]
public signal void sequence_state_changed (Gdk.EventSequence sequence, Gtk.EventSequenceState state);
- [Version (since = "3.14")]
public signal void update (Gdk.EventSequence sequence);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_drag_get_type ()")]
public class GestureDrag : Gtk.GestureSingle {
[CCode (has_construct_function = false, type = "GtkGesture*")]
- [Version (since = "3.14")]
public GestureDrag (Gtk.Widget widget);
- [Version (since = "3.14")]
public bool get_offset (out double x, out double y);
- [Version (since = "3.14")]
public bool get_start_point (out double x, out double y);
- [Version (since = "3.14")]
public signal void drag_begin (double start_x, double start_y);
- [Version (since = "3.14")]
public signal void drag_end (double offset_x, double offset_y);
- [Version (since = "3.14")]
public signal void drag_update (double offset_x, double offset_y);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_long_press_get_type ()")]
public class GestureLongPress : Gtk.GestureSingle {
[CCode (has_construct_function = false, type = "GtkGesture*")]
- [Version (since = "3.14")]
public GestureLongPress (Gtk.Widget widget);
[NoAccessorMethod]
public double delay_factor { get; set; }
- [Version (since = "3.14")]
public signal void cancelled ();
- [Version (since = "3.14")]
public signal void pressed (double x, double y);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_multi_press_get_type ()")]
public class GestureMultiPress : Gtk.GestureSingle {
[CCode (has_construct_function = false, type = "GtkGesture*")]
- [Version (since = "3.14")]
public GestureMultiPress (Gtk.Widget widget);
- [Version (since = "3.14")]
public bool get_area (out Gdk.Rectangle rect);
- [Version (since = "3.14")]
public void set_area (Gdk.Rectangle? rect);
- [Version (since = "3.14")]
public signal void pressed (int n_press, double x, double y);
- [Version (since = "3.14")]
public signal void released (int n_press, double x, double y);
- [Version (since = "3.14")]
public signal void stopped ();
- [Version (since = "3.93.")]
public signal void unpaired_release (double x, double y, uint button, Gdk.EventSequence sequence);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_pan_get_type ()")]
public class GesturePan : Gtk.GestureDrag {
[CCode (has_construct_function = false, type = "GtkGesture*")]
- [Version (since = "3.14")]
public GesturePan (Gtk.Widget widget, Gtk.Orientation orientation);
- [Version (since = "3.14")]
public Gtk.Orientation get_orientation ();
- [Version (since = "3.14")]
public void set_orientation (Gtk.Orientation orientation);
- [Version (since = "3.14")]
public Gtk.Orientation orientation { get; set; }
- [Version (since = "3.14")]
public signal void pan (Gtk.PanDirection direction, double offset);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_rotate_get_type ()")]
public class GestureRotate : Gtk.Gesture {
[CCode (has_construct_function = false, type = "GtkGesture*")]
- [Version (since = "3.14")]
public GestureRotate (Gtk.Widget widget);
- [Version (since = "3.14")]
public double get_angle_delta ();
- [Version (since = "3.14")]
public signal void angle_changed (double angle, double angle_delta);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_single_get_type ()")]
public class GestureSingle : Gtk.Gesture {
[CCode (has_construct_function = false)]
protected GestureSingle ();
- [Version (since = "3.14")]
public uint get_button ();
- [Version (since = "3.14")]
public uint get_current_button ();
- [Version (since = "3.14")]
public Gdk.EventSequence? get_current_sequence ();
- [Version (since = "3.14")]
public bool get_exclusive ();
- [Version (since = "3.14")]
public bool get_touch_only ();
- [Version (since = "3.14")]
public void set_button (uint button);
- [Version (since = "3.14")]
public void set_exclusive (bool exclusive);
- [Version (since = "3.14")]
public void set_touch_only (bool touch_only);
- [Version (since = "3.14")]
public uint button { get; set; }
- [Version (since = "3.14")]
public bool exclusive { get; set; }
- [Version (since = "3.14")]
public bool touch_only { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_swipe_get_type ()")]
public class GestureSwipe : Gtk.GestureSingle {
[CCode (has_construct_function = false, type = "GtkGesture*")]
- [Version (since = "3.14")]
public GestureSwipe (Gtk.Widget widget);
- [Version (since = "3.14")]
public bool get_velocity (out double velocity_x, out double velocity_y);
- [Version (since = "3.14")]
public signal void swipe (double velocity_x, double velocity_y);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_zoom_get_type ()")]
public class GestureZoom : Gtk.Gesture {
[CCode (has_construct_function = false, type = "GtkGesture*")]
- [Version (since = "3.14")]
public GestureZoom (Gtk.Widget widget);
- [Version (since = "3.14")]
public double get_scale_delta ();
- [Version (since = "3.14")]
public signal void scale_changed (double scale);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_grid_get_type ()")]
@@ -9405,31 +8209,21 @@ namespace Gtk {
public Grid ();
public void attach (Gtk.Widget child, int left, int top, int width = 1, int height = 1);
public void attach_next_to (Gtk.Widget child, Gtk.Widget? sibling, Gtk.PositionType side, int width = 1, int height = 1);
- [Version (since = "3.10")]
public int get_baseline_row ();
- [Version (since = "3.2")]
public unowned Gtk.Widget? get_child_at (int left, int top);
public bool get_column_homogeneous ();
public uint get_column_spacing ();
- [Version (since = "3.10")]
public Gtk.BaselinePosition get_row_baseline_position (int row);
public bool get_row_homogeneous ();
public uint get_row_spacing ();
- [Version (since = "3.2")]
public void insert_column (int position);
- [Version (since = "3.2")]
public void insert_next_to (Gtk.Widget sibling, Gtk.PositionType side);
- [Version (since = "3.2")]
public void insert_row (int position);
- [Version (since = "3.10")]
public void remove_column (int position);
- [Version (since = "3.10")]
public void remove_row (int position);
- [Version (since = "3.10")]
public void set_baseline_row (int row);
public void set_column_homogeneous (bool homogeneous);
public void set_column_spacing (uint spacing);
- [Version (since = "3.10")]
public void set_row_baseline_position (int row, Gtk.BaselinePosition pos);
public void set_row_homogeneous (bool homogeneous);
public void set_row_spacing (uint spacing);
@@ -9442,43 +8236,25 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_header_bar_get_type ()")]
public class HeaderBar : Gtk.Container, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.10")]
public HeaderBar ();
- [Version (since = "3.10")]
public unowned Gtk.Widget? get_custom_title ();
- [Version (since = "3.12")]
public unowned string get_decoration_layout ();
- [Version (since = "3.12")]
public bool get_has_subtitle ();
- [Version (since = "3.94")]
public bool get_show_title_buttons ();
- [Version (since = "3.10")]
public unowned string? get_subtitle ();
- [Version (since = "3.10")]
public unowned string? get_title ();
- [Version (since = "3.10")]
public void pack_end (Gtk.Widget child);
- [Version (since = "3.10")]
public void pack_start (Gtk.Widget child);
- [Version (since = "3.10")]
public void set_custom_title (Gtk.Widget? title_widget);
- [Version (since = "3.12")]
public void set_decoration_layout (string? layout);
- [Version (since = "3.12")]
public void set_has_subtitle (bool setting);
- [Version (since = "3.94")]
public void set_show_title_buttons (bool setting);
- [Version (since = "3.10")]
public void set_subtitle (string? subtitle);
- [Version (since = "3.10")]
public void set_title (string? title);
public Gtk.Widget custom_title { get; set; }
- [Version (since = "3.12")]
public string decoration_layout { get; set; }
[NoAccessorMethod]
- [Version (since = "3.12")]
public bool decoration_layout_set { get; set; }
- [Version (since = "3.12")]
public bool has_subtitle { get; set; }
public bool show_title_buttons { get; set; }
[NoAccessorMethod]
@@ -9523,9 +8299,7 @@ namespace Gtk {
public class IMMulticontext : Gtk.IMContext {
[CCode (has_construct_function = false, type = "GtkIMContext*")]
public IMMulticontext ();
- [Version (since = "2.16")]
public unowned string get_context_id ();
- [Version (since = "2.16")]
public void set_context_id (string context_id);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_icon_info_get_type ()")]
@@ -9533,245 +8307,132 @@ namespace Gtk {
[CCode (has_construct_function = false)]
protected IconInfo ();
[CCode (has_construct_function = false)]
- [Version (since = "2.14")]
public IconInfo.for_pixbuf (Gtk.IconTheme icon_theme, Gdk.Pixbuf pixbuf);
- [Version (since = "3.10")]
public int get_base_scale ();
- [Version (since = "2.4")]
public int get_base_size ();
- [Version (since = "2.4")]
public unowned string? get_filename ();
- [Version (since = "3.12")]
public bool is_symbolic ();
- [Version (since = "2.4")]
public Gdk.Pixbuf load_icon () throws GLib.Error;
- [Version (since = "3.8")]
public async Gdk.Pixbuf load_icon_async (GLib.Cancellable? cancellable = null) throws GLib.Error;
- [Version (since = "3.10")]
public Cairo.Surface load_surface (Gdk.Window? for_window) throws GLib.Error;
- [Version (since = "3.0")]
public Gdk.Pixbuf load_symbolic (Gdk.RGBA fg, Gdk.RGBA? success_color = null, Gdk.RGBA? warning_color = null, Gdk.RGBA? error_color = null, out bool was_symbolic = null) throws GLib.Error;
- [Version (since = "3.8")]
public async Gdk.Pixbuf load_symbolic_async (Gdk.RGBA fg, Gdk.RGBA? success_color = null, Gdk.RGBA? warning_color = null, Gdk.RGBA? error_color = null, GLib.Cancellable? cancellable = null, out bool was_symbolic = null) throws GLib.Error;
- [Version (since = "3.0")]
public Gdk.Pixbuf load_symbolic_for_context (Gtk.StyleContext context, out bool was_symbolic = null) throws GLib.Error;
- [Version (since = "3.8")]
public async Gdk.Pixbuf load_symbolic_for_context_async (Gtk.StyleContext context, GLib.Cancellable? cancellable = null, out bool was_symbolic = null) throws GLib.Error;
- [Version (since = "3.94")]
public Gdk.Texture load_texture ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_icon_theme_get_type ()")]
public class IconTheme : GLib.Object {
[CCode (has_construct_function = false)]
- [Version (since = "2.4")]
public IconTheme ();
- [Version (since = "3.14")]
public void add_resource_path (string path);
- [Version (since = "2.4")]
public void append_search_path (string path);
- [Version (since = "2.12")]
public Gtk.IconInfo? choose_icon ([CCode (array_length = false, array_null_terminated = true)] string[] icon_names, int size, Gtk.IconLookupFlags flags);
- [Version (since = "3.10")]
public Gtk.IconInfo? choose_icon_for_scale ([CCode (array_length = false, array_null_terminated = true)] string[] icon_names, int size, int scale, Gtk.IconLookupFlags flags);
- [Version (since = "2.4")]
public static unowned Gtk.IconTheme get_default ();
- [Version (since = "2.4")]
public string? get_example_icon_name ();
- [Version (since = "3.94")]
public static unowned Gtk.IconTheme get_for_display (Gdk.Display display);
[CCode (array_length = false, array_null_terminated = true)]
- [Version (since = "2.6")]
public int[] get_icon_sizes (string icon_name);
- [Version (since = "2.4")]
public void get_search_path ([CCode (array_length_cname = "n_elements", array_length_pos = 1.1)] out string[] path);
- [Version (since = "2.4")]
public bool has_icon (string icon_name);
- [Version (since = "2.12")]
public GLib.List<string> list_contexts ();
- [Version (since = "2.4")]
public GLib.List<string> list_icons (string? context);
- [Version (since = "2.4")]
public Gdk.Pixbuf? load_icon (string icon_name, int size, Gtk.IconLookupFlags flags) throws GLib.Error;
- [Version (since = "3.10")]
public Gdk.Pixbuf? load_icon_for_scale (string icon_name, int size, int scale, Gtk.IconLookupFlags flags) throws GLib.Error;
- [Version (since = "3.10")]
public Cairo.Surface? load_surface (string icon_name, int size, int scale, Gdk.Window? for_window, Gtk.IconLookupFlags flags) throws GLib.Error;
- [Version (since = "2.14")]
public Gtk.IconInfo? lookup_by_gicon (GLib.Icon icon, int size, Gtk.IconLookupFlags flags);
- [Version (since = "3.10")]
public Gtk.IconInfo? lookup_by_gicon_for_scale (GLib.Icon icon, int size, int scale, Gtk.IconLookupFlags flags);
- [Version (since = "2.4")]
public Gtk.IconInfo? lookup_icon (string icon_name, int size, Gtk.IconLookupFlags flags);
- [Version (since = "3.10")]
public Gtk.IconInfo? lookup_icon_for_scale (string icon_name, int size, int scale, Gtk.IconLookupFlags flags);
- [Version (since = "2.4")]
public void prepend_search_path (string path);
- [Version (since = "2.4")]
public bool rescan_if_needed ();
- [Version (since = "2.4")]
public void set_custom_theme (string? theme_name);
- [Version (since = "3.94")]
public void set_display (Gdk.Display display);
- [Version (since = "2.4")]
public void set_search_path ([CCode (array_length_cname = "n_elements", array_length_pos = 1.1)] string[] path);
public virtual signal void changed ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_icon_view_get_type ()")]
public class IconView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.Scrollable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.6")]
public IconView ();
- [Version (since = "2.8")]
public Cairo.Surface create_drag_icon (Gtk.TreePath path);
- [Version (since = "2.8")]
public void enable_model_drag_dest (Gdk.ContentFormats formats, Gdk.DragAction actions);
- [Version (since = "2.8")]
public void enable_model_drag_source (Gdk.ModifierType start_button_mask, Gdk.ContentFormats formats, Gdk.DragAction actions);
- [Version (since = "3.8")]
public bool get_activate_on_single_click ();
- [Version (since = "3.6")]
public bool get_cell_rect (Gtk.TreePath path, Gtk.CellRenderer? cell, out Gdk.Rectangle rect);
- [Version (since = "2.6")]
public int get_column_spacing ();
- [Version (since = "2.6")]
public int get_columns ();
- [Version (since = "2.8")]
public bool get_cursor (out Gtk.TreePath path, out unowned Gtk.CellRenderer cell);
- [Version (since = "2.8")]
public bool get_dest_item_at_pos (int drag_x, int drag_y, out Gtk.TreePath path, out Gtk.IconViewDropPosition pos);
- [Version (since = "2.8")]
public void get_drag_dest_item (out Gtk.TreePath path, out Gtk.IconViewDropPosition pos);
- [Version (since = "2.8")]
public bool get_item_at_pos (int x, int y, out Gtk.TreePath path, out unowned Gtk.CellRenderer cell);
- [Version (since = "2.22")]
public int get_item_column (Gtk.TreePath path);
- [Version (since = "2.6")]
public Gtk.Orientation get_item_orientation ();
- [Version (since = "2.18")]
public int get_item_padding ();
- [Version (since = "2.22")]
public int get_item_row (Gtk.TreePath path);
- [Version (since = "2.6")]
public int get_item_width ();
- [Version (since = "2.6")]
public int get_margin ();
- [Version (since = "2.6")]
public int get_markup_column ();
- [Version (since = "2.6")]
public unowned Gtk.TreeModel? get_model ();
- [Version (since = "2.6")]
public Gtk.TreePath? get_path_at_pos (int x, int y);
- [Version (since = "2.6")]
public int get_pixbuf_column ();
- [Version (since = "2.8")]
public bool get_reorderable ();
- [Version (since = "2.6")]
public int get_row_spacing ();
- [Version (since = "2.6")]
public GLib.List<Gtk.TreePath> get_selected_items ();
- [Version (since = "2.6")]
public Gtk.SelectionMode get_selection_mode ();
- [Version (since = "2.6")]
public int get_spacing ();
- [Version (since = "2.6")]
public int get_text_column ();
- [Version (since = "2.12")]
public int get_tooltip_column ();
- [Version (since = "2.12")]
public bool get_tooltip_context (ref int x, ref int y, bool keyboard_tip, out unowned Gtk.TreeModel model, out Gtk.TreePath path, out Gtk.TreeIter iter);
- [Version (since = "2.8")]
public bool get_visible_range (out Gtk.TreePath start_path, out Gtk.TreePath end_path);
- [Version (since = "2.6")]
public bool path_is_selected (Gtk.TreePath path);
- [Version (since = "2.8")]
public void scroll_to_path (Gtk.TreePath path, bool use_align, float row_align, float col_align);
- [Version (since = "2.6")]
public void select_path (Gtk.TreePath path);
- [Version (since = "2.6")]
public void selected_foreach (Gtk.IconViewForeachFunc func);
- [Version (since = "3.8")]
public void set_activate_on_single_click (bool single);
- [Version (since = "2.6")]
public void set_column_spacing (int column_spacing);
- [Version (since = "2.6")]
public void set_columns (int columns);
- [Version (since = "2.8")]
public void set_cursor (Gtk.TreePath path, Gtk.CellRenderer? cell, bool start_editing);
- [Version (since = "2.8")]
public void set_drag_dest_item (Gtk.TreePath? path, Gtk.IconViewDropPosition pos);
- [Version (since = "2.6")]
public void set_item_orientation (Gtk.Orientation orientation);
- [Version (since = "2.18")]
public void set_item_padding (int item_padding);
- [Version (since = "2.6")]
public void set_item_width (int item_width);
- [Version (since = "2.6")]
public void set_margin (int margin);
- [Version (since = "2.6")]
public void set_markup_column (int column);
- [Version (since = "2.6")]
public void set_model (Gtk.TreeModel? model);
- [Version (since = "2.6")]
public void set_pixbuf_column (int column);
- [Version (since = "2.8")]
public void set_reorderable (bool reorderable);
- [Version (since = "2.6")]
public void set_row_spacing (int row_spacing);
- [Version (since = "2.6")]
public void set_selection_mode (Gtk.SelectionMode mode);
- [Version (since = "2.6")]
public void set_spacing (int spacing);
- [Version (since = "2.6")]
public void set_text_column (int column);
- [Version (since = "2.12")]
public void set_tooltip_cell (Gtk.Tooltip tooltip, Gtk.TreePath path, Gtk.CellRenderer? cell);
- [Version (since = "2.12")]
public void set_tooltip_column (int column);
- [Version (since = "2.12")]
public void set_tooltip_item (Gtk.Tooltip tooltip, Gtk.TreePath path);
- [Version (since = "2.6")]
public void unselect_path (Gtk.TreePath path);
- [Version (since = "2.8")]
public void unset_model_drag_dest ();
- [Version (since = "2.8")]
public void unset_model_drag_source ();
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.0")]
public IconView.with_area (Gtk.CellArea area);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.6")]
public IconView.with_model (Gtk.TreeModel model);
- [Version (since = "3.8")]
public bool activate_on_single_click { get; set; }
[NoAccessorMethod]
- [Version (since = "3.0")]
public Gtk.CellArea cell_area { owned get; construct; }
- [Version (since = "2.6")]
public int column_spacing { get; set; }
- [Version (since = "2.6")]
public int columns { get; set; }
- [Version (since = "2.6")]
public Gtk.Orientation item_orientation { get; set; }
- [Version (since = "2.18")]
public int item_padding { get; set; }
- [Version (since = "2.6")]
public int item_width { get; set; }
- [Version (since = "2.6")]
public int margin { get; set; }
- [Version (since = "2.6")]
public int markup_column { get; set; }
public Gtk.TreeModel model { get; set; }
- [Version (since = "2.6")]
public int pixbuf_column { get; set; }
- [Version (since = "2.8")]
public bool reorderable { get; set; }
- [Version (since = "2.6")]
public int row_spacing { get; set; }
- [Version (since = "2.6")]
public Gtk.SelectionMode selection_mode { get; set; }
- [Version (since = "2.6")]
public int spacing { get; set; }
- [Version (since = "2.6")]
public int text_column { get; set; }
public int tooltip_column { get; set; }
public virtual signal bool activate_cursor_item ();
@@ -9795,67 +8456,46 @@ namespace Gtk {
public class Image : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Image ();
- [Version (since = "2.8")]
public void clear ();
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Image.from_file (string filename);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.14")]
public Image.from_gicon (GLib.Icon icon);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.6")]
public Image.from_icon_name (string? icon_name);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Image.from_pixbuf (Gdk.Pixbuf? pixbuf);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.4")]
public Image.from_resource (string resource_path);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.10")]
public Image.from_surface (Cairo.Surface? surface);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Image.from_texture (Gdk.Texture? texture);
- [Version (since = "2.14")]
public unowned GLib.Icon? get_gicon ();
- [Version (since = "2.6")]
public unowned string? get_icon_name ();
- [Version (since = "3.90")]
public Gtk.IconSize get_icon_size ();
- [Version (since = "2.6")]
public int get_pixel_size ();
public Gtk.ImageType get_storage_type ();
- [Version (since = "3.94.0")]
public unowned Cairo.Surface? get_surface ();
- [Version (since = "3.94")]
public unowned Gdk.Texture? get_texture ();
public void set_from_file (string? filename);
- [Version (since = "2.14")]
public void set_from_gicon (GLib.Icon icon);
- [Version (since = "2.6")]
public void set_from_icon_name (string? icon_name);
public void set_from_pixbuf (Gdk.Pixbuf? pixbuf);
public void set_from_resource (string? resource_path);
- [Version (since = "3.10")]
public void set_from_surface (Cairo.Surface? surface);
- [Version (since = "3.94")]
public void set_from_texture (Gdk.Texture? texture);
- [Version (since = "3.94")]
public void set_icon_size (Gtk.IconSize icon_size);
- [Version (since = "2.6")]
public void set_pixel_size (int pixel_size);
[NoAccessorMethod]
public string file { owned get; set; }
[NoAccessorMethod]
- [Version (since = "2.14")]
public GLib.Icon gicon { owned get; set; }
[NoAccessorMethod]
- [Version (since = "2.6")]
public string icon_name { owned get; set; }
public Gtk.IconSize icon_size { get; set; }
- [Version (since = "2.6")]
public int pixel_size { get; set; }
[NoAccessorMethod]
- [Version (since = "3.8")]
public string resource { owned get; set; }
public Gtk.ImageType storage_type { get; }
[NoAccessorMethod]
@@ -9863,7 +8503,6 @@ namespace Gtk {
[NoAccessorMethod]
public Gdk.Texture texture { owned get; set; }
[NoAccessorMethod]
- [Version (since = "3.0")]
public bool use_fallback { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_image_accessible_get_type ()")]
@@ -9879,45 +8518,27 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_info_bar_get_type ()")]
public class InfoBar : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.18")]
public InfoBar ();
- [Version (since = "2.18")]
public void add_action_widget (Gtk.Widget child, int response_id);
- [Version (since = "2.18")]
public unowned Gtk.Button add_button (string button_text, int response_id);
- [Version (since = "2.18")]
public void add_buttons (...);
- [Version (since = "2.18")]
public unowned Gtk.Widget get_action_area ();
- [Version (since = "2.18")]
public unowned Gtk.Container get_content_area ();
- [Version (since = "2.18")]
public Gtk.MessageType get_message_type ();
- [Version (since = "3.90")]
public bool get_revealed ();
- [Version (since = "3.10")]
public bool get_show_close_button ();
- [Version (since = "2.18")]
public void set_default_response (int response_id);
- [Version (since = "2.18")]
public void set_message_type (Gtk.MessageType message_type);
- [Version (since = "2.18")]
public void set_response_sensitive (int response_id, bool setting);
- [Version (since = "3.90")]
public void set_revealed (bool revealed);
- [Version (since = "3.10")]
public void set_show_close_button (bool setting);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public InfoBar.with_buttons (...);
- [Version (since = "2.18")]
public Gtk.MessageType message_type { get; set construct; }
public bool revealed { get; set; }
- [Version (since = "3.10")]
public bool show_close_button { get; set construct; }
- [Version (since = "2.18")]
public virtual signal void close ();
[HasEmitter]
- [Version (since = "2.18")]
public virtual signal void response (int response_id);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_invisible_get_type ()")]
@@ -9925,11 +8546,8 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Invisible ();
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.94")]
public Invisible.for_display (Gdk.Display display);
- [Version (since = "3.94")]
public unowned Gdk.Display get_display ();
- [Version (since = "3.94")]
public void set_display (Gdk.Display display);
public Gdk.Display display { get; set; }
}
@@ -9938,82 +8556,60 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Label (string? str);
public unowned Pango.AttrList? get_attributes ();
- [Version (since = "2.18")]
public unowned string get_current_uri ();
- [Version (since = "2.6")]
public Pango.EllipsizeMode get_ellipsize ();
public Gtk.Justification get_justify ();
public unowned string get_label ();
public unowned Pango.Layout get_layout ();
public void get_layout_offsets (out int x, out int y);
public bool get_line_wrap ();
- [Version (since = "2.10")]
public Pango.WrapMode get_line_wrap_mode ();
- [Version (since = "3.10")]
public int get_lines ();
- [Version (since = "2.6")]
public int get_max_width_chars ();
public uint get_mnemonic_keyval ();
public unowned Gtk.Widget? get_mnemonic_widget ();
public bool get_selectable ();
public bool get_selection_bounds (out int start, out int end);
- [Version (since = "2.6")]
public bool get_single_line_mode ();
public unowned string get_text ();
- [Version (since = "2.18")]
public bool get_track_visited_links ();
public bool get_use_markup ();
public bool get_use_underline ();
- [Version (since = "2.6")]
public int get_width_chars ();
- [Version (since = "3.16")]
public float get_xalign ();
- [Version (since = "3.16")]
public float get_yalign ();
public void select_region (int start_offset, int end_offset);
public void set_attributes (Pango.AttrList? attrs);
- [Version (since = "2.6")]
public void set_ellipsize (Pango.EllipsizeMode mode);
public void set_justify (Gtk.Justification jtype);
public void set_label (string str);
public void set_line_wrap (bool wrap);
- [Version (since = "2.10")]
public void set_line_wrap_mode (Pango.WrapMode wrap_mode);
- [Version (since = "3.10")]
public void set_lines (int lines);
public void set_markup (string str);
public void set_markup_with_mnemonic (string str);
- [Version (since = "2.6")]
public void set_max_width_chars (int n_chars);
public void set_mnemonic_widget (Gtk.Widget? widget);
public void set_pattern (string pattern);
public void set_selectable (bool setting);
- [Version (since = "2.6")]
public void set_single_line_mode (bool single_line_mode);
public void set_text (string str);
public void set_text_with_mnemonic (string str);
- [Version (since = "2.18")]
public void set_track_visited_links (bool track_links);
public void set_use_markup (bool setting);
public void set_use_underline (bool setting);
- [Version (since = "2.6")]
public void set_width_chars (int n_chars);
- [Version (since = "3.16")]
public void set_xalign (float xalign);
- [Version (since = "3.16")]
public void set_yalign (float yalign);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Label.with_mnemonic (string? str);
public Pango.AttrList attributes { get; set; }
[NoAccessorMethod]
public int cursor_position { get; }
- [Version (since = "2.6")]
public Pango.EllipsizeMode ellipsize { get; set; }
public Gtk.Justification justify { get; set; }
public string label { get; set; }
- [Version (since = "3.10")]
public int lines { get; set; }
- [Version (since = "2.6")]
public int max_width_chars { get; set; }
public uint mnemonic_keyval { get; }
public Gtk.Widget mnemonic_widget { get; set; }
@@ -10021,26 +8617,18 @@ namespace Gtk {
public bool selectable { get; set; }
[NoAccessorMethod]
public int selection_bound { get; }
- [Version (since = "2.6")]
public bool single_line_mode { get; set; }
- [Version (since = "2.18")]
public bool track_visited_links { get; set; }
public bool use_markup { get; set; }
public bool use_underline { get; set; }
- [Version (since = "2.6")]
public int width_chars { get; set; }
[NoAccessorMethod]
public bool wrap { get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public Pango.WrapMode wrap_mode { get; set; }
- [Version (since = "3.16")]
public float xalign { get; set; }
- [Version (since = "3.16")]
public float yalign { get; set; }
- [Version (since = "2.18")]
public signal void activate_current_link ();
- [Version (since = "2.18")]
public virtual signal bool activate_link (string uri);
public virtual signal void copy_clipboard ();
public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
@@ -10071,48 +8659,27 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_level_bar_get_type ()")]
public class LevelBar : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.6")]
public LevelBar ();
- [Version (since = "3.6")]
public void add_offset_value (string name, double value);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.6")]
public LevelBar.for_interval (double min_value, double max_value);
- [Version (since = "3.8")]
public bool get_inverted ();
- [Version (since = "3.6")]
public double get_max_value ();
- [Version (since = "3.6")]
public double get_min_value ();
- [Version (since = "3.6")]
public Gtk.LevelBarMode get_mode ();
- [Version (since = "3.6")]
public bool get_offset_value (string? name, out double value);
- [Version (since = "3.6")]
public double get_value ();
- [Version (since = "3.6")]
public void remove_offset_value (string? name);
- [Version (since = "3.8")]
public void set_inverted (bool inverted);
- [Version (since = "3.6")]
public void set_max_value (double value);
- [Version (since = "3.6")]
public void set_min_value (double value);
- [Version (since = "3.6")]
public void set_mode (Gtk.LevelBarMode mode);
- [Version (since = "3.6")]
public void set_value (double value);
- [Version (since = "3.8")]
public bool inverted { get; set; }
- [Version (since = "3.6")]
public double max_value { get; set; }
- [Version (since = "3.6")]
public double min_value { get; set; }
- [Version (since = "3.6")]
public Gtk.LevelBarMode mode { get; set; }
- [Version (since = "3.6")]
public double value { get; set; }
- [Version (since = "3.6")]
public virtual signal void offset_changed (string name);
}
[CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_level_bar_accessible_get_type ()")]
@@ -10123,22 +8690,14 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_link_button_get_type ()")]
public class LinkButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.10")]
public LinkButton (string uri);
- [Version (since = "2.10")]
public unowned string get_uri ();
- [Version (since = "2.14")]
public bool get_visited ();
- [Version (since = "2.10")]
public void set_uri (string uri);
- [Version (since = "2.14")]
public void set_visited (bool visited);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.10")]
public LinkButton.with_label (string uri, string? label);
- [Version (since = "2.10")]
public string uri { get; set; }
- [Version (since = "2.14")]
public bool visited { get; set; }
public virtual signal bool activate_link ();
}
@@ -10150,57 +8709,31 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_list_box_get_type ()")]
public class ListBox : Gtk.Container, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.10")]
public ListBox ();
- [Version (since = "3.16")]
public void bind_model (GLib.ListModel? model, owned Gtk.ListBoxCreateWidgetFunc? create_widget_func);
- [Version (since = "3.10")]
public void drag_highlight_row (Gtk.ListBoxRow row);
- [Version (since = "3.10")]
public void drag_unhighlight_row ();
- [Version (since = "3.10")]
public bool get_activate_on_single_click ();
- [Version (since = "3.10")]
public unowned Gtk.Adjustment get_adjustment ();
- [Version (since = "3.10")]
public unowned Gtk.ListBoxRow? get_row_at_index (int index_);
- [Version (since = "3.10")]
public unowned Gtk.ListBoxRow? get_row_at_y (int y);
- [Version (since = "3.10")]
public unowned Gtk.ListBoxRow get_selected_row ();
- [Version (since = "3.14")]
public GLib.List<weak Gtk.ListBoxRow> get_selected_rows ();
- [Version (since = "3.10")]
public Gtk.SelectionMode get_selection_mode ();
- [Version (since = "3.10")]
public void insert (Gtk.Widget child, int position);
- [Version (since = "3.10")]
public void invalidate_filter ();
- [Version (since = "3.10")]
public void invalidate_headers ();
- [Version (since = "3.10")]
public void invalidate_sort ();
- [Version (since = "3.10")]
public void prepend (Gtk.Widget child);
- [Version (since = "3.10")]
public void select_row (Gtk.ListBoxRow? row);
- [Version (since = "3.14")]
public void selected_foreach (Gtk.ListBoxForeachFunc func);
- [Version (since = "3.10")]
public void set_activate_on_single_click (bool single);
- [Version (since = "3.10")]
public void set_adjustment (Gtk.Adjustment? adjustment);
- [Version (since = "3.10")]
public void set_filter_func (owned Gtk.ListBoxFilterFunc? filter_func);
- [Version (since = "3.10")]
public void set_header_func (owned Gtk.ListBoxUpdateHeaderFunc? update_header);
- [Version (since = "3.10")]
public void set_placeholder (Gtk.Widget? placeholder);
- [Version (since = "3.10")]
public void set_selection_mode (Gtk.SelectionMode mode);
- [Version (since = "3.10")]
public void set_sort_func (owned Gtk.ListBoxSortFunc? sort_func);
- [Version (since = "3.14")]
public void unselect_row (Gtk.ListBoxRow row);
[NoAccessorMethod]
public bool accept_unpaired_release { get; set; }
@@ -10208,18 +8741,13 @@ namespace Gtk {
public Gtk.SelectionMode selection_mode { get; set; }
public virtual signal void activate_cursor_row ();
public virtual signal void move_cursor (Gtk.MovementStep step, int count);
- [Version (since = "3.10")]
public virtual signal void row_activated (Gtk.ListBoxRow row);
- [Version (since = "3.10")]
public virtual signal void row_selected (Gtk.ListBoxRow? row);
[HasEmitter]
- [Version (since = "3.14")]
public virtual signal void select_all ();
- [Version (since = "3.14")]
public virtual signal void selected_rows_changed ();
public virtual signal void toggle_cursor_row ();
[HasEmitter]
- [Version (since = "3.14")]
public virtual signal void unselect_all ();
}
[CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_list_box_accessible_get_type ()")]
@@ -10230,29 +8758,17 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_list_box_row_get_type ()")]
public class ListBoxRow : Gtk.Bin, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.10")]
public ListBoxRow ();
- [Version (since = "3.10")]
public void changed ();
- [Version (since = "3.14")]
public bool get_activatable ();
- [Version (since = "3.10")]
public unowned Gtk.Widget? get_header ();
- [Version (since = "3.10")]
public int get_index ();
- [Version (since = "3.14")]
public bool get_selectable ();
- [Version (since = "3.14")]
public bool is_selected ();
- [Version (since = "3.14")]
public void set_activatable (bool activatable);
- [Version (since = "3.10")]
public void set_header (Gtk.Widget? header);
- [Version (since = "3.14")]
public void set_selectable (bool selectable);
- [Version (since = "3.14")]
public bool activatable { get; set; }
- [Version (since = "3.14")]
public bool selectable { get; set; }
public virtual signal void activate ();
}
@@ -10271,40 +8787,29 @@ namespace Gtk {
public void insert_after (out Gtk.TreeIter iter, Gtk.TreeIter? sibling);
public void insert_before (out Gtk.TreeIter iter, Gtk.TreeIter? sibling);
[CCode (sentinel = "-1")]
- [Version (since = "2.6")]
public void insert_with_values (out Gtk.TreeIter iter, int position, ...);
- [Version (since = "2.6")]
public void insert_with_valuesv (out Gtk.TreeIter iter, int position, [CCode (array_length_cname = "n_values", array_length_pos = 4.1)] int[] columns, [CCode (array_length_cname = "n_values", array_length_pos = 4.1)] GLib.Value[] values);
- [Version (since = "2.2")]
public bool iter_is_valid (Gtk.TreeIter iter);
- [Version (since = "2.2")]
public void move_after (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
- [Version (since = "2.2")]
public void move_before (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
[CCode (cname = "gtk_list_store_newv", has_construct_function = false)]
public ListStore.newv ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types);
public void prepend (out Gtk.TreeIter iter);
public bool remove (ref Gtk.TreeIter iter);
- [Version (since = "2.2")]
public void reorder ([CCode (array_length = false, array_null_terminated = true)] int[] new_order);
[CCode (sentinel = "-1")]
public void @set (Gtk.TreeIter iter, ...);
public void set_column_types ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types);
public void set_valist (Gtk.TreeIter iter, [CCode (type = "va_list")] va_list var_args);
public void set_value (Gtk.TreeIter iter, int column, GLib.Value value);
- [Version (since = "2.12")]
public void set_valuesv (Gtk.TreeIter iter, [CCode (array_length_cname = "n_values", array_length_pos = 3.1)] int[] columns, [CCode (array_length_cname = "n_values", array_length_pos = 3.1)] GLib.Value[] values);
- [Version (since = "2.2")]
public void swap (Gtk.TreeIter a, Gtk.TreeIter b);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_lock_button_get_type ()")]
public class LockButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.2")]
public LockButton (GLib.Permission? permission);
- [Version (since = "3.2")]
public unowned GLib.Permission get_permission ();
- [Version (since = "3.2")]
public void set_permission (GLib.Permission? permission);
public GLib.Permission permission { get; set; }
[NoAccessorMethod]
@@ -10327,74 +8832,49 @@ namespace Gtk {
public class Menu : Gtk.MenuShell, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Menu ();
- [Version (since = "2.4")]
public void attach (Gtk.Widget child, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach);
public void attach_to_widget (Gtk.Widget attach_widget, [CCode (scope = "async")] Gtk.MenuDetachFunc? detacher);
public void detach ();
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.4")]
public Menu.from_model (GLib.MenuModel model);
public unowned Gtk.AccelGroup get_accel_group ();
- [Version (since = "2.14")]
public unowned string get_accel_path ();
public unowned Gtk.Widget get_active ();
public unowned Gtk.Widget get_attach_widget ();
- [Version (since = "2.6")]
public static unowned GLib.List<Gtk.Menu> get_for_attach_widget (Gtk.Widget widget);
- [Version (since = "2.14")]
public int get_monitor ();
- [Version (since = "2.18")]
public bool get_reserve_toggle_size ();
- [Version (since = "3.22")]
public void place_on_monitor (Gdk.Monitor monitor);
public void popdown ();
public void popup (Gtk.Widget? parent_menu_shell, Gtk.Widget? parent_menu_item, [CCode (delegate_target_pos = 3.5, scope = "async")] Gtk.MenuPositionFunc? func, uint button, uint32 activate_time);
- [Version (since = "3.22")]
public void popup_at_pointer (Gdk.Event? trigger_event = null);
- [Version (since = "3.22")]
public void popup_at_rect (Gdk.Window rect_window, Gdk.Rectangle rect, Gdk.Gravity rect_anchor, Gdk.Gravity menu_anchor, Gdk.Event? trigger_event = null);
- [Version (since = "3.22")]
public void popup_at_widget (Gtk.Widget widget, Gdk.Gravity widget_anchor, Gdk.Gravity menu_anchor, Gdk.Event? trigger_event = null);
- [Version (since = "3.0")]
public void popup_for_device (Gdk.Device? device, Gtk.Widget? parent_menu_shell, Gtk.Widget? parent_menu_item, [CCode (delegate_target_pos = 4.33333, destroy_notify_pos = 4.66667)] owned Gtk.MenuPositionFunc? func, uint button, uint32 activate_time);
public void reorder_child (Gtk.Widget child, int position);
public void reposition ();
public void set_accel_group (Gtk.AccelGroup? accel_group);
public void set_accel_path (string? accel_path);
public void set_active (uint index);
- [Version (since = "3.94")]
public void set_display (Gdk.Display? display);
- [Version (since = "2.4")]
public void set_monitor (int monitor_num);
- [Version (since = "2.18")]
public void set_reserve_toggle_size (bool reserve_toggle_size);
- [Version (since = "2.14")]
public Gtk.AccelGroup accel_group { get; set; }
- [Version (since = "2.14")]
public string accel_path { get; set; }
- [Version (since = "2.14")]
public int active { get; set; }
[NoAccessorMethod]
- [Version (since = "3.22")]
public Gdk.AnchorHints anchor_hints { get; set construct; }
[NoAccessorMethod]
- [Version (since = "2.14")]
public Gtk.Widget attach_widget { owned get; set; }
[NoAccessorMethod]
- [Version (since = "3.22")]
public Gdk.WindowTypeHint menu_type_hint { get; set construct; }
- [Version (since = "2.14")]
public int monitor { get; set; }
[NoAccessorMethod]
- [Version (since = "3.22")]
public int rect_anchor_dx { get; set construct; }
[NoAccessorMethod]
- [Version (since = "3.22")]
public int rect_anchor_dy { get; set construct; }
- [Version (since = "2.18")]
public bool reserve_toggle_size { get; set; }
public signal void move_scroll (Gtk.ScrollType scroll_type);
- [Version (since = "3.22")]
public signal void popped_up ([CCode (type = "gpointer")] Gdk.Rectangle flipped_rect, [CCode (type = "gpointer")] Gdk.Rectangle final_rect, bool flipped_x, bool flipped_y);
}
[CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_accessible_get_type ()")]
@@ -10407,61 +8887,35 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public MenuBar ();
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.4")]
public MenuBar.from_model (GLib.MenuModel model);
- [Version (since = "2.8")]
public Gtk.PackDirection get_child_pack_direction ();
- [Version (since = "2.8")]
public Gtk.PackDirection get_pack_direction ();
- [Version (since = "2.8")]
public void set_child_pack_direction (Gtk.PackDirection child_pack_dir);
- [Version (since = "2.8")]
public void set_pack_direction (Gtk.PackDirection pack_dir);
- [Version (since = "2.8")]
public Gtk.PackDirection child_pack_direction { get; set; }
- [Version (since = "2.8")]
public Gtk.PackDirection pack_direction { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_button_get_type ()")]
public class MenuButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.6")]
public MenuButton ();
- [Version (since = "3.6")]
public unowned Gtk.Widget? get_align_widget ();
- [Version (since = "3.6")]
public Gtk.ArrowType get_direction ();
- [Version (since = "3.6")]
public unowned GLib.MenuModel? get_menu_model ();
- [Version (since = "3.12")]
public unowned Gtk.Popover? get_popover ();
- [Version (since = "3.6")]
public unowned Gtk.Menu? get_popup ();
- [Version (since = "3.12")]
public bool get_use_popover ();
- [Version (since = "3.6")]
public void set_align_widget (Gtk.Widget? align_widget);
- [Version (since = "3.6")]
public void set_direction (Gtk.ArrowType direction);
- [Version (since = "3.6")]
public void set_menu_model (GLib.MenuModel? menu_model);
- [Version (since = "3.12")]
public void set_popover (Gtk.Widget? popover);
- [Version (since = "3.6")]
public void set_popup (Gtk.Widget? menu);
- [Version (since = "3.12")]
public void set_use_popover (bool use_popover);
- [Version (since = "3.6")]
public Gtk.Container align_widget { get; set; }
- [Version (since = "3.6")]
public Gtk.ArrowType direction { get; set; }
- [Version (since = "3.6")]
public GLib.MenuModel menu_model { get; set; }
- [Version (since = "3.12")]
public Gtk.Popover popover { get; set; }
- [Version (since = "3.6")]
public Gtk.Menu popup { get; set; }
- [Version (since = "3.12")]
public bool use_popover { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_button_accessible_get_type ()")]
@@ -10473,34 +8927,23 @@ namespace Gtk {
public class MenuItem : Gtk.Bin, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public MenuItem ();
- [Version (since = "2.14")]
public unowned string? get_accel_path ();
- [Version (since = "2.16")]
public virtual unowned string get_label ();
- [Version (since = "3.0")]
public bool get_reserve_indicator ();
public unowned Gtk.Widget? get_submenu ();
- [Version (since = "2.16")]
public bool get_use_underline ();
public void set_accel_path (string? accel_path);
- [Version (since = "2.16")]
public virtual void set_label (string label);
- [Version (since = "3.0")]
public void set_reserve_indicator (bool reserve);
public void set_submenu (Gtk.Menu? submenu);
- [Version (since = "2.16")]
public void set_use_underline (bool setting);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public MenuItem.with_label (string label);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public MenuItem.with_mnemonic (string label);
- [Version (since = "2.14")]
public string accel_path { get; set; }
- [Version (since = "2.16")]
public string label { get; set; }
- [Version (since = "2.12")]
public Gtk.Menu submenu { get; set; }
- [Version (since = "2.16")]
public bool use_underline { get; set; }
[HasEmitter]
public virtual signal void activate ();
@@ -10525,24 +8968,17 @@ namespace Gtk {
protected MenuShell ();
public void activate_item (Gtk.Widget menu_item, bool force_deactivate);
public void append (Gtk.MenuItem child);
- [Version (since = "3.6")]
public void bind_model (GLib.MenuModel? model, string? action_namespace, bool with_separators);
public void deselect ();
- [Version (since = "3.0")]
public unowned Gtk.Widget get_parent_shell ();
[NoWrapper]
public virtual int get_popup_delay ();
- [Version (since = "3.0")]
public unowned Gtk.Widget get_selected_item ();
- [Version (since = "2.8")]
public bool get_take_focus ();
public void prepend (Gtk.Widget child);
- [Version (since = "2.2")]
public void select_first (bool search_sensitive);
public virtual void select_item (Gtk.Widget menu_item);
- [Version (since = "2.8")]
public void set_take_focus (bool take_focus);
- [Version (since = "2.8")]
public bool take_focus { get; set; }
public virtual signal void activate_current (bool force_hide);
[HasEmitter]
@@ -10551,10 +8987,8 @@ namespace Gtk {
[HasEmitter]
public virtual signal void deactivate ();
[HasEmitter]
- [Version (since = "3.2")]
public virtual signal void insert (Gtk.Widget child, int position);
public virtual signal void move_current (Gtk.MenuDirectionType direction);
- [Version (since = "2.12")]
public virtual signal bool move_selected (int distance);
public virtual signal void selection_done ();
}
@@ -10566,15 +9000,10 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_tool_button_get_type ()")]
public class MenuToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkToolItem*")]
- [Version (since = "2.6")]
public MenuToolButton (Gtk.Widget? icon_widget, string? label);
- [Version (since = "2.6")]
public unowned Gtk.Widget get_menu ();
- [Version (since = "2.12")]
public void set_arrow_tooltip_markup (string markup);
- [Version (since = "2.12")]
public void set_arrow_tooltip_text (string text);
- [Version (since = "2.6")]
public void set_menu (Gtk.Widget menu);
public Gtk.Menu menu { get; set; }
public virtual signal void show_menu ();
@@ -10585,80 +9014,56 @@ namespace Gtk {
[PrintfFormat]
public MessageDialog (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string? message_format, ...);
[PrintfFormat]
- [Version (since = "2.6")]
public void format_secondary_markup (string message_format, ...);
[PrintfFormat]
- [Version (since = "2.6")]
public void format_secondary_text (string? message_format, ...);
- [Version (since = "2.22")]
public unowned Gtk.Widget get_message_area ();
- [Version (since = "2.4")]
public void set_markup (string str);
[CCode (has_construct_function = false, type = "GtkWidget*")]
[PrintfFormat]
- [Version (since = "2.4")]
public MessageDialog.with_markup (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string? message_format, ...);
[NoAccessorMethod]
public Gtk.ButtonsType buttons { construct; }
- [Version (since = "2.22")]
public Gtk.Widget message_area { get; }
[NoAccessorMethod]
public Gtk.MessageType message_type { get; set construct; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public string secondary_text { owned get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public bool secondary_use_markup { get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public string text { owned get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public bool use_markup { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_model_button_get_type ()")]
public class ModelButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.16")]
public ModelButton ();
[NoAccessorMethod]
- [Version (since = "3.16")]
public bool active { get; set; }
[NoAccessorMethod]
- [Version (since = "3.16")]
public bool centered { get; set; }
[NoAccessorMethod]
- [Version (since = "3.16")]
public GLib.Icon icon { owned get; set; }
[NoAccessorMethod]
- [Version (since = "3.16")]
public bool iconic { get; set; }
[NoAccessorMethod]
- [Version (since = "3.16")]
public bool inverted { get; set; }
[NoAccessorMethod]
- [Version (since = "3.16")]
public string menu_name { owned get; set; }
[NoAccessorMethod]
- [Version (since = "3.16")]
public Gtk.ButtonRole role { get; set; }
[NoAccessorMethod]
- [Version (since = "3.16")]
public string text { owned get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_mount_operation_get_type ()")]
public class MountOperation : GLib.MountOperation {
[CCode (has_construct_function = false, type = "GMountOperation*")]
- [Version (since = "2.14")]
public MountOperation (Gtk.Window? parent);
- [Version (since = "3.94")]
public unowned Gdk.Display get_display ();
- [Version (since = "2.14")]
public unowned Gtk.Window get_parent ();
- [Version (since = "3.94")]
public void set_display (Gdk.Display display);
- [Version (since = "2.14")]
public void set_parent (Gtk.Window? parent);
public Gdk.Display display { get; set; }
[NoAccessorMethod]
@@ -10669,38 +9074,22 @@ namespace Gtk {
public abstract class NativeDialog : GLib.Object {
[CCode (has_construct_function = false)]
protected NativeDialog ();
- [Version (since = "3.20")]
public void destroy ();
- [Version (since = "3.20")]
public bool get_modal ();
- [Version (since = "3.20")]
public unowned string? get_title ();
- [Version (since = "3.20")]
public unowned Gtk.Window? get_transient_for ();
- [Version (since = "3.20")]
public bool get_visible ();
- [Version (since = "3.20")]
public virtual void hide ();
- [Version (since = "3.20")]
public int run ();
- [Version (since = "3.20")]
public void set_modal (bool modal);
- [Version (since = "3.20")]
public void set_title (string? title);
- [Version (since = "3.20")]
public void set_transient_for (Gtk.Window? parent);
- [Version (since = "3.20")]
public virtual void show ();
- [Version (since = "3.20")]
public bool modal { get; set; }
- [Version (since = "3.20")]
public string? title { get; set; }
- [Version (since = "3.20")]
public Gtk.Window? transient_for { get; set construct; }
[NoAccessorMethod]
- [Version (since = "3.20")]
public bool visible { get; set; }
- [Version (since = "3.20")]
public virtual signal void response (int response_id);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_notebook_get_type ()")]
@@ -10709,27 +9098,21 @@ namespace Gtk {
public Notebook ();
public int append_page (Gtk.Widget child, Gtk.Widget? tab_label = null);
public int append_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label);
- [Version (since = "3.16")]
public void detach_tab (Gtk.Widget child);
- [Version (since = "2.20")]
public unowned Gtk.Widget? get_action_widget (Gtk.PackType pack_type);
public int get_current_page ();
- [Version (since = "2.24")]
public unowned string? get_group_name ();
public unowned Gtk.Widget? get_menu_label (Gtk.Widget child);
public unowned string? get_menu_label_text (Gtk.Widget child);
- [Version (since = "2.2")]
public int get_n_pages ();
public unowned Gtk.Widget? get_nth_page (int page_num);
public bool get_scrollable ();
public bool get_show_border ();
public bool get_show_tabs ();
- [Version (since = "2.10")]
public bool get_tab_detachable (Gtk.Widget child);
public unowned Gtk.Widget? get_tab_label (Gtk.Widget child);
public unowned string? get_tab_label_text (Gtk.Widget child);
public Gtk.PositionType get_tab_pos ();
- [Version (since = "2.10")]
public bool get_tab_reorderable (Gtk.Widget child);
public int insert_page (Gtk.Widget child, Gtk.Widget? tab_label, int position);
[CCode (vfunc_name = "insert_page")]
@@ -10744,26 +9127,21 @@ namespace Gtk {
public void prev_page ();
public void remove_page (int page_num);
public void reorder_child (Gtk.Widget child, int position);
- [Version (since = "2.20")]
public void set_action_widget (Gtk.Widget widget, Gtk.PackType pack_type);
public void set_current_page (int page_num);
- [Version (since = "2.24")]
public void set_group_name (string? group_name);
public void set_menu_label (Gtk.Widget child, Gtk.Widget? menu_label);
public void set_menu_label_text (Gtk.Widget child, string menu_text);
public void set_scrollable (bool scrollable);
public void set_show_border (bool show_border);
public void set_show_tabs (bool show_tabs);
- [Version (since = "2.10")]
public void set_tab_detachable (Gtk.Widget child, bool detachable);
public void set_tab_label (Gtk.Widget child, Gtk.Widget? tab_label);
public void set_tab_label_text (Gtk.Widget child, string tab_text);
public void set_tab_pos (Gtk.PositionType pos);
- [Version (since = "2.10")]
public void set_tab_reorderable (Gtk.Widget child, bool reorderable);
[NoAccessorMethod]
public bool enable_popup { get; set; }
- [Version (since = "2.24")]
public string group_name { get; set; }
[NoAccessorMethod]
public int page { get; set; }
@@ -10772,15 +9150,11 @@ namespace Gtk {
public bool show_tabs { get; set; }
public Gtk.PositionType tab_pos { get; set; }
public virtual signal bool change_current_page (int offset);
- [Version (since = "2.12")]
public virtual signal unowned Gtk.Notebook create_window (Gtk.Widget page, int x, int y);
public virtual signal bool focus_tab (Gtk.NotebookTab type);
public virtual signal void move_focus_out (Gtk.DirectionType direction);
- [Version (since = "2.10")]
public virtual signal void page_added (Gtk.Widget child, uint page_num);
- [Version (since = "2.10")]
public virtual signal void page_removed (Gtk.Widget child, uint page_num);
- [Version (since = "2.10")]
public virtual signal void page_reordered (Gtk.Widget child, uint page_num);
public virtual signal bool reorder_tab (Gtk.DirectionType direction, bool move_to_last);
public virtual signal bool select_page (bool move_focus);
@@ -10800,26 +9174,18 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_overlay_get_type ()")]
public class Overlay : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.2")]
public Overlay ();
- [Version (since = "3.2")]
public void add_overlay (Gtk.Widget widget);
- [Version (since = "3.18")]
public bool get_overlay_pass_through (Gtk.Widget widget);
- [Version (since = "3.18")]
public void reorder_overlay (Gtk.Widget child, int position);
- [Version (since = "3.18")]
public void set_overlay_pass_through (Gtk.Widget widget, bool pass_through);
public virtual signal bool get_child_position (Gtk.Widget widget, out Gdk.Rectangle allocation);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_pad_controller_get_type ()")]
public class PadController : Gtk.EventController {
[CCode (has_construct_function = false)]
- [Version (since = "3.22")]
public PadController (Gtk.Window window, GLib.ActionGroup group, Gdk.Device? pad);
- [Version (since = "3.22")]
public void set_action (Gtk.PadActionType type, int index, int mode, string label, string action_name);
- [Version (since = "3.22")]
public void set_action_entries ([CCode (array_length_cname = "n_entries", array_length_pos = 1.1)] Gtk.PadActionEntry[] entries);
[NoAccessorMethod]
public GLib.ActionGroup action_group { owned get; construct; }
@@ -10829,106 +9195,65 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_page_setup_get_type ()")]
public class PageSetup : GLib.Object {
[CCode (has_construct_function = false)]
- [Version (since = "2.10")]
public PageSetup ();
- [Version (since = "2.10")]
public Gtk.PageSetup copy ();
[CCode (has_construct_function = false)]
- [Version (since = "2.12")]
public PageSetup.from_file (string file_name) throws GLib.Error;
[CCode (has_construct_function = false)]
- [Version (since = "3.22")]
public PageSetup.from_gvariant (GLib.Variant variant);
[CCode (has_construct_function = false)]
- [Version (since = "2.12")]
public PageSetup.from_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
- [Version (since = "2.10")]
public double get_bottom_margin (Gtk.Unit unit);
- [Version (since = "2.10")]
public double get_left_margin (Gtk.Unit unit);
- [Version (since = "2.10")]
public Gtk.PageOrientation get_orientation ();
- [Version (since = "2.10")]
public double get_page_height (Gtk.Unit unit);
- [Version (since = "2.10")]
public double get_page_width (Gtk.Unit unit);
- [Version (since = "2.10")]
public double get_paper_height (Gtk.Unit unit);
- [Version (since = "2.10")]
public unowned Gtk.PaperSize get_paper_size ();
- [Version (since = "2.10")]
public double get_paper_width (Gtk.Unit unit);
- [Version (since = "2.10")]
public double get_right_margin (Gtk.Unit unit);
- [Version (since = "2.10")]
public double get_top_margin (Gtk.Unit unit);
- [Version (since = "2.14")]
public bool load_file (string file_name) throws GLib.Error;
- [Version (since = "2.14")]
public bool load_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
- [Version (since = "2.10")]
public void set_bottom_margin (double margin, Gtk.Unit unit);
- [Version (since = "2.10")]
public void set_left_margin (double margin, Gtk.Unit unit);
- [Version (since = "2.10")]
public void set_orientation (Gtk.PageOrientation orientation);
- [Version (since = "2.10")]
public void set_paper_size (Gtk.PaperSize size);
- [Version (since = "2.10")]
public void set_paper_size_and_default_margins (Gtk.PaperSize size);
- [Version (since = "2.10")]
public void set_right_margin (double margin, Gtk.Unit unit);
- [Version (since = "2.10")]
public void set_top_margin (double margin, Gtk.Unit unit);
- [Version (since = "2.12")]
public bool to_file (string file_name) throws GLib.Error;
[CCode (returns_floating_reference = true)]
- [Version (since = "3.22")]
public GLib.Variant to_gvariant ();
- [Version (since = "2.12")]
public void to_key_file (GLib.KeyFile key_file, string group_name);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_paned_get_type ()")]
public class Paned : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.0")]
public Paned (Gtk.Orientation orientation);
public void add1 (Gtk.Widget child);
public void add2 (Gtk.Widget child);
- [Version (since = "2.4")]
public unowned Gtk.Widget? get_child1 ();
- [Version (since = "2.4")]
public unowned Gtk.Widget? get_child2 ();
public int get_position ();
- [Version (since = "3.16")]
public bool get_wide_handle ();
public void pack1 (Gtk.Widget child, bool resize, bool shrink);
public void pack2 (Gtk.Widget child, bool resize, bool shrink);
public void set_position (int position);
- [Version (since = "3.16")]
public void set_wide_handle (bool wide);
[NoAccessorMethod]
- [Version (since = "2.4")]
public int max_position { get; }
[NoAccessorMethod]
- [Version (since = "2.4")]
public int min_position { get; }
public int position { get; set; }
[NoAccessorMethod]
public bool position_set { get; set; }
- [Version (since = "3.16")]
public bool wide_handle { get; set; }
- [Version (since = "2.0")]
public virtual signal bool accept_position ();
- [Version (since = "2.0")]
public virtual signal bool cancel_position ();
- [Version (since = "2.0")]
public virtual signal bool cycle_child_focus (bool reverse);
- [Version (since = "2.0")]
public virtual signal bool cycle_handle_focus (bool reverse);
- [Version (since = "2.0")]
public virtual signal bool move_handle (Gtk.ScrollType scroll);
- [Version (since = "2.0")]
public virtual signal bool toggle_handle_focus ();
}
[CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_paned_accessible_get_type ()")]
@@ -10940,110 +9265,67 @@ namespace Gtk {
[Compact]
public class PaperSize {
[CCode (has_construct_function = false)]
- [Version (since = "2.10")]
public PaperSize (string? name);
- [Version (since = "2.10")]
public Gtk.PaperSize copy ();
[CCode (has_construct_function = false)]
- [Version (since = "2.10")]
public PaperSize.custom (string name, string display_name, double width, double height, Gtk.Unit unit);
[DestroysInstance]
- [Version (since = "2.10")]
public void free ();
[CCode (has_construct_function = false)]
- [Version (since = "3.22")]
public PaperSize.from_gvariant (GLib.Variant variant);
[CCode (has_construct_function = false)]
- [Version (since = "3.16")]
public PaperSize.from_ipp (string ipp_name, double width, double height);
[CCode (has_construct_function = false)]
- [Version (since = "2.12")]
public PaperSize.from_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error;
[CCode (has_construct_function = false)]
- [Version (since = "2.10")]
public PaperSize.from_ppd (string ppd_name, string ppd_display_name, double width, double height);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.10")]
public static unowned string get_default ();
- [Version (since = "2.10")]
public double get_default_bottom_margin (Gtk.Unit unit);
- [Version (since = "2.10")]
public double get_default_left_margin (Gtk.Unit unit);
- [Version (since = "2.10")]
public double get_default_right_margin (Gtk.Unit unit);
- [Version (since = "2.10")]
public double get_default_top_margin (Gtk.Unit unit);
- [Version (since = "2.10")]
public unowned string get_display_name ();
- [Version (since = "2.10")]
public double get_height (Gtk.Unit unit);
- [Version (since = "2.10")]
public unowned string get_name ();
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.12")]
public static GLib.List<Gtk.PaperSize> get_paper_sizes (bool include_custom);
- [Version (since = "2.10")]
public unowned string get_ppd_name ();
- [Version (since = "2.10")]
public double get_width (Gtk.Unit unit);
public bool is_custom ();
- [Version (since = "2.10")]
public bool is_equal (Gtk.PaperSize size2);
public bool is_ipp ();
- [Version (since = "2.10")]
public void set_size (double width, double height, Gtk.Unit unit);
[CCode (returns_floating_reference = true)]
- [Version (since = "3.22")]
public GLib.Variant to_gvariant ();
- [Version (since = "2.12")]
public void to_key_file (GLib.KeyFile key_file, string group_name);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_popover_get_type ()")]
public class Popover : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.12")]
public Popover (Gtk.Widget? relative_to);
- [Version (since = "3.12")]
public void bind_model (GLib.MenuModel? model, string? action_namespace);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.12")]
public Popover.from_model (Gtk.Widget? relative_to, GLib.MenuModel model);
- [Version (since = "3.20")]
public Gtk.PopoverConstraint get_constrain_to ();
- [Version (since = "3.18")]
public unowned Gtk.Widget? get_default_widget ();
- [Version (since = "3.12")]
public bool get_modal ();
public bool get_pointing_to (out Gdk.Rectangle rect);
public Gtk.PositionType get_position ();
- [Version (since = "3.12")]
public unowned Gtk.Widget get_relative_to ();
- [Version (since = "3.22")]
public void popdown ();
- [Version (since = "3.22")]
public void popup ();
- [Version (since = "3.20")]
public void set_constrain_to (Gtk.PopoverConstraint constraint);
- [Version (since = "3.18")]
public void set_default_widget (Gtk.Widget? widget);
- [Version (since = "3.12")]
public void set_modal (bool modal);
- [Version (since = "3.12")]
public void set_pointing_to (Gdk.Rectangle rect);
- [Version (since = "3.12")]
public void set_position (Gtk.PositionType position);
- [Version (since = "3.12")]
public void set_relative_to (Gtk.Widget? relative_to);
- [Version (since = "3.20")]
public Gtk.PopoverConstraint constrain_to { get; set; }
- [Version (since = "3.12")]
public bool modal { get; set; }
[NoAccessorMethod]
- [Version (since = "3.12")]
public Gdk.Rectangle pointing_to { get; set; }
- [Version (since = "3.12")]
public Gtk.PositionType position { get; set; }
- [Version (since = "3.12")]
public Gtk.Widget relative_to { get; set; }
public virtual signal void closed ();
}
@@ -11055,9 +9337,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_popover_menu_get_type ()")]
public class PopoverMenu : Gtk.Popover, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.16")]
public PopoverMenu ();
- [Version (since = "3.16")]
public void open_submenu (string name);
[NoAccessorMethod]
public string visible_submenu { owned get; set; }
@@ -11066,349 +9346,197 @@ namespace Gtk {
public class PrintContext : GLib.Object {
[CCode (has_construct_function = false)]
protected PrintContext ();
- [Version (since = "2.10")]
public Pango.Context create_pango_context ();
- [Version (since = "2.10")]
public Pango.Layout create_pango_layout ();
- [Version (since = "2.10")]
public unowned Cairo.Context get_cairo_context ();
- [Version (since = "2.10")]
public double get_dpi_x ();
- [Version (since = "2.10")]
public double get_dpi_y ();
- [Version (since = "2.20")]
public bool get_hard_margins (out double top, out double bottom, out double left, out double right);
- [Version (since = "2.10")]
public double get_height ();
- [Version (since = "2.10")]
public unowned Gtk.PageSetup get_page_setup ();
- [Version (since = "2.10")]
public unowned Pango.FontMap get_pango_fontmap ();
- [Version (since = "2.10")]
public double get_width ();
- [Version (since = "2.10")]
public void set_cairo_context (Cairo.Context cr, double dpi_x, double dpi_y);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_operation_get_type ()")]
public class PrintOperation : GLib.Object, Gtk.PrintOperationPreview {
[CCode (has_construct_function = false)]
- [Version (since = "2.10")]
public PrintOperation ();
- [Version (since = "2.10")]
public void cancel ();
- [Version (since = "2.16")]
public void draw_page_finish ();
- [Version (since = "2.10")]
public unowned Gtk.PageSetup get_default_page_setup ();
- [Version (since = "2.18")]
public bool get_embed_page_setup ();
- [Version (since = "2.10")]
public void get_error () throws GLib.Error;
- [Version (since = "2.18")]
public bool get_has_selection ();
- [Version (since = "2.18")]
public int get_n_pages_to_print ();
- [Version (since = "2.10")]
public unowned Gtk.PrintSettings get_print_settings ();
- [Version (since = "2.10")]
public Gtk.PrintStatus get_status ();
- [Version (since = "2.10")]
public unowned string get_status_string ();
- [Version (since = "2.18")]
public bool get_support_selection ();
- [Version (since = "2.10")]
public bool is_finished ();
- [Version (since = "2.10")]
public Gtk.PrintOperationResult run (Gtk.PrintOperationAction action, Gtk.Window? parent) throws GLib.Error;
- [Version (since = "2.10")]
public void set_allow_async (bool allow_async);
- [Version (since = "2.10")]
public void set_current_page (int current_page);
- [Version (since = "2.10")]
public void set_custom_tab_label (string? label);
- [Version (since = "2.10")]
public void set_default_page_setup (Gtk.PageSetup? default_page_setup);
- [Version (since = "2.16")]
public void set_defer_drawing ();
- [Version (since = "2.18")]
public void set_embed_page_setup (bool embed);
- [Version (since = "2.10")]
public void set_export_filename (string filename);
- [Version (since = "2.18")]
public void set_has_selection (bool has_selection);
- [Version (since = "2.10")]
public void set_job_name (string job_name);
- [Version (since = "2.10")]
public void set_n_pages (int n_pages);
- [Version (since = "2.10")]
public void set_print_settings (Gtk.PrintSettings? print_settings);
- [Version (since = "2.10")]
public void set_show_progress (bool show_progress);
- [Version (since = "2.18")]
public void set_support_selection (bool support_selection);
- [Version (since = "2.10")]
public void set_track_print_status (bool track_status);
- [Version (since = "2.10")]
public void set_unit (Gtk.Unit unit);
- [Version (since = "2.10")]
public void set_use_full_page (bool full_page);
[NoAccessorMethod]
- [Version (since = "2.10")]
public bool allow_async { get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public int current_page { get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public string custom_tab_label { owned get; set; }
- [Version (since = "2.10")]
public Gtk.PageSetup default_page_setup { get; set; }
- [Version (since = "2.18")]
public bool embed_page_setup { get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public string export_filename { owned get; set; }
- [Version (since = "2.18")]
public bool has_selection { get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public string job_name { owned get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public int n_pages { get; set; }
- [Version (since = "2.18")]
public int n_pages_to_print { get; }
- [Version (since = "2.10")]
public Gtk.PrintSettings print_settings { get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public bool show_progress { get; set; }
- [Version (since = "2.10")]
public Gtk.PrintStatus status { get; }
- [Version (since = "2.10")]
public string status_string { get; }
- [Version (since = "2.18")]
public bool support_selection { get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public bool track_print_status { get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public Gtk.Unit unit { get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public bool use_full_page { get; set; }
- [Version (since = "2.10")]
public virtual signal void begin_print (Gtk.PrintContext context);
- [Version (since = "2.10")]
public virtual signal unowned GLib.Object create_custom_widget ();
- [Version (since = "2.10")]
public virtual signal void custom_widget_apply (Gtk.Widget widget);
- [Version (since = "2.10")]
public virtual signal void done (Gtk.PrintOperationResult result);
- [Version (since = "2.10")]
public virtual signal void draw_page (Gtk.PrintContext context, int page_nr);
- [Version (since = "2.10")]
public virtual signal void end_print (Gtk.PrintContext context);
- [Version (since = "2.10")]
public virtual signal bool paginate (Gtk.PrintContext context);
- [Version (since = "2.10")]
public virtual signal bool preview (Gtk.PrintOperationPreview preview, Gtk.PrintContext context, Gtk.Window? parent);
- [Version (since = "2.10")]
public virtual signal void request_page_setup (Gtk.PrintContext context, int page_nr, Gtk.PageSetup setup);
- [Version (since = "2.10")]
public virtual signal void status_changed ();
- [Version (since = "2.18")]
public virtual signal void update_custom_widget (Gtk.Widget widget, Gtk.PageSetup setup, Gtk.PrintSettings settings);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_settings_get_type ()")]
public class PrintSettings : GLib.Object {
[CCode (has_construct_function = false)]
- [Version (since = "2.10")]
public PrintSettings ();
- [Version (since = "2.10")]
public Gtk.PrintSettings copy ();
- [Version (since = "2.10")]
public void @foreach (Gtk.PrintSettingsFunc func);
[CCode (has_construct_function = false)]
- [Version (since = "2.12")]
public PrintSettings.from_file (string file_name) throws GLib.Error;
[CCode (has_construct_function = false)]
- [Version (since = "3.22")]
public PrintSettings.from_gvariant (GLib.Variant variant);
[CCode (has_construct_function = false)]
- [Version (since = "2.12")]
public PrintSettings.from_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
- [Version (since = "2.10")]
public unowned string @get (string key);
- [Version (since = "2.10")]
public bool get_bool (string key);
- [Version (since = "2.10")]
public bool get_collate ();
- [Version (since = "2.10")]
public unowned string get_default_source ();
- [Version (since = "2.10")]
public unowned string get_dither ();
- [Version (since = "2.10")]
public double get_double (string key);
- [Version (since = "2.10")]
public double get_double_with_default (string key, double def);
- [Version (since = "2.10")]
public Gtk.PrintDuplex get_duplex ();
- [Version (since = "2.10")]
public unowned string get_finishings ();
- [Version (since = "2.10")]
public int get_int (string key);
- [Version (since = "2.10")]
public int get_int_with_default (string key, int def);
- [Version (since = "2.10")]
public double get_length (string key, Gtk.Unit unit);
- [Version (since = "2.10")]
public unowned string get_media_type ();
- [Version (since = "2.10")]
public int get_n_copies ();
- [Version (since = "2.10")]
public int get_number_up ();
- [Version (since = "2.14")]
public Gtk.NumberUpLayout get_number_up_layout ();
- [Version (since = "2.10")]
public Gtk.PageOrientation get_orientation ();
- [Version (since = "2.10")]
public unowned string get_output_bin ();
[CCode (array_length_pos = 0.1)]
- [Version (since = "2.10")]
public Gtk.PageRange[] get_page_ranges ();
- [Version (since = "2.10")]
public Gtk.PageSet get_page_set ();
- [Version (since = "2.10")]
public double get_paper_height (Gtk.Unit unit);
- [Version (since = "2.10")]
public Gtk.PaperSize get_paper_size ();
- [Version (since = "2.10")]
public double get_paper_width (Gtk.Unit unit);
- [Version (since = "2.10")]
public Gtk.PrintPages get_print_pages ();
- [Version (since = "2.10")]
public unowned string get_printer ();
- [Version (since = "2.16")]
public double get_printer_lpi ();
- [Version (since = "2.10")]
public Gtk.PrintQuality get_quality ();
- [Version (since = "2.10")]
public int get_resolution ();
- [Version (since = "2.16")]
public int get_resolution_x ();
- [Version (since = "2.16")]
public int get_resolution_y ();
- [Version (since = "2.10")]
public bool get_reverse ();
- [Version (since = "2.10")]
public double get_scale ();
- [Version (since = "2.10")]
public bool get_use_color ();
- [Version (since = "2.10")]
public bool has_key (string key);
- [Version (since = "2.14")]
public bool load_file (string file_name) throws GLib.Error;
- [Version (since = "2.14")]
public bool load_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
- [Version (since = "2.10")]
public void @set (string key, string? value);
- [Version (since = "2.10")]
public void set_bool (string key, bool value);
- [Version (since = "2.10")]
public void set_collate (bool collate);
- [Version (since = "2.10")]
public void set_default_source (string default_source);
- [Version (since = "2.10")]
public void set_dither (string dither);
- [Version (since = "2.10")]
public void set_double (string key, double value);
- [Version (since = "2.10")]
public void set_duplex (Gtk.PrintDuplex duplex);
- [Version (since = "2.10")]
public void set_finishings (string finishings);
- [Version (since = "2.10")]
public void set_int (string key, int value);
- [Version (since = "2.10")]
public void set_length (string key, double value, Gtk.Unit unit);
- [Version (since = "2.10")]
public void set_media_type (string media_type);
- [Version (since = "2.10")]
public void set_n_copies (int num_copies);
- [Version (since = "2.10")]
public void set_number_up (int number_up);
- [Version (since = "2.14")]
public void set_number_up_layout (Gtk.NumberUpLayout number_up_layout);
- [Version (since = "2.10")]
public void set_orientation (Gtk.PageOrientation orientation);
- [Version (since = "2.10")]
public void set_output_bin (string output_bin);
- [Version (since = "2.10")]
public void set_page_ranges ([CCode (array_length_cname = "num_ranges", array_length_pos = 1.1)] Gtk.PageRange[] page_ranges);
- [Version (since = "2.10")]
public void set_page_set (Gtk.PageSet page_set);
- [Version (since = "2.10")]
public void set_paper_height (double height, Gtk.Unit unit);
- [Version (since = "2.10")]
public void set_paper_size (Gtk.PaperSize paper_size);
- [Version (since = "2.10")]
public void set_paper_width (double width, Gtk.Unit unit);
- [Version (since = "2.10")]
public void set_print_pages (Gtk.PrintPages pages);
- [Version (since = "2.10")]
public void set_printer (string printer);
- [Version (since = "2.16")]
public void set_printer_lpi (double lpi);
- [Version (since = "2.10")]
public void set_quality (Gtk.PrintQuality quality);
- [Version (since = "2.10")]
public void set_resolution (int resolution);
- [Version (since = "2.16")]
public void set_resolution_xy (int resolution_x, int resolution_y);
- [Version (since = "2.10")]
public void set_reverse (bool reverse);
- [Version (since = "2.10")]
public void set_scale (double scale);
- [Version (since = "2.10")]
public void set_use_color (bool use_color);
- [Version (since = "2.12")]
public bool to_file (string file_name) throws GLib.Error;
[CCode (returns_floating_reference = true)]
- [Version (since = "3.22")]
public GLib.Variant to_gvariant ();
- [Version (since = "2.12")]
public void to_key_file (GLib.KeyFile key_file, string group_name);
- [Version (since = "2.10")]
public void unset (string key);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_progress_bar_get_type ()")]
public class ProgressBar : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public ProgressBar ();
- [Version (since = "2.6")]
public Pango.EllipsizeMode get_ellipsize ();
public double get_fraction ();
public bool get_inverted ();
public double get_pulse_step ();
- [Version (since = "3.0")]
public bool get_show_text ();
public unowned string? get_text ();
public void pulse ();
- [Version (since = "2.6")]
public void set_ellipsize (Pango.EllipsizeMode mode);
public void set_fraction (double fraction);
public void set_inverted (bool inverted);
public void set_pulse_step (double fraction);
- [Version (since = "3.0")]
public void set_show_text (bool show_text);
public void set_text (string? text);
- [Version (since = "2.6")]
public Pango.EllipsizeMode ellipsize { get; set; }
public double fraction { get; set; }
public bool inverted { get; set; }
public double pulse_step { get; set; }
- [Version (since = "3.0")]
public bool show_text { get; set; }
public string text { get; set; }
}
@@ -11424,7 +9552,6 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public RadioButton.from_widget (Gtk.RadioButton? radio_group_member);
public unowned GLib.SList<Gtk.RadioButton> get_group ();
- [Version (since = "3.0")]
public void join_group (Gtk.RadioButton? group_source);
public void set_group (GLib.SList<Gtk.RadioButton>? group);
[CCode (has_construct_function = false, type = "GtkWidget*")]
@@ -11436,7 +9563,6 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public RadioButton.with_mnemonic_from_widget (Gtk.RadioButton? radio_group_member, string label);
public Gtk.RadioButton group { set; }
- [Version (since = "2.4")]
public virtual signal void group_changed ();
}
[CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_radio_button_accessible_get_type ()")]
@@ -11449,23 +9575,18 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public RadioMenuItem (GLib.SList<Gtk.RadioMenuItem>? group);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.4")]
public RadioMenuItem.from_widget (Gtk.RadioMenuItem? group);
public unowned GLib.SList<Gtk.RadioMenuItem> get_group ();
- [Version (since = "3.18")]
public void join_group (Gtk.RadioMenuItem? group_source);
public void set_group (GLib.SList<Gtk.RadioMenuItem>? group);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public RadioMenuItem.with_label (GLib.SList<Gtk.RadioMenuItem>? group, string label);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.4")]
public RadioMenuItem.with_label_from_widget (Gtk.RadioMenuItem? group, string? label);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public RadioMenuItem.with_mnemonic (GLib.SList<Gtk.RadioMenuItem>? group, string label);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.4")]
public RadioMenuItem.with_mnemonic_from_widget (Gtk.RadioMenuItem? group, string? label);
- [Version (since = "2.8")]
public Gtk.RadioMenuItem group { set; }
public virtual signal void group_changed ();
}
@@ -11477,16 +9598,11 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_tool_button_get_type ()")]
public class RadioToolButton : Gtk.ToggleToolButton, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkToolItem*")]
- [Version (since = "2.4")]
public RadioToolButton (GLib.SList<Gtk.RadioButton>? group);
[CCode (has_construct_function = false, type = "GtkToolItem*")]
- [Version (since = "2.4")]
public RadioToolButton.from_widget (Gtk.RadioToolButton? group);
- [Version (since = "2.4")]
public unowned GLib.SList<Gtk.RadioButton> get_group ();
- [Version (since = "2.4")]
public void set_group (GLib.SList<Gtk.RadioButton>? group);
- [Version (since = "2.4")]
public Gtk.RadioToolButton group { set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_range_get_type ()")]
@@ -11494,61 +9610,42 @@ namespace Gtk {
[CCode (has_construct_function = false)]
protected Range ();
public unowned Gtk.Adjustment get_adjustment ();
- [Version (since = "2.12")]
public double get_fill_level ();
- [Version (since = "2.18")]
public bool get_flippable ();
public bool get_inverted ();
public Gtk.SensitivityType get_lower_stepper_sensitivity ();
[NoWrapper]
public virtual Gtk.Border get_range_border ();
- [Version (since = "2.20")]
public Gdk.Rectangle get_range_rect ();
[NoWrapper]
public virtual void get_range_size_request (Gtk.Orientation orientation, out int minimum, out int natural);
- [Version (since = "2.12")]
public bool get_restrict_to_fill_level ();
- [Version (since = "2.24")]
public int get_round_digits ();
- [Version (since = "2.12")]
public bool get_show_fill_level ();
- [Version (since = "2.20")]
public void get_slider_range (out int slider_start, out int slider_end);
- [Version (since = "2.20")]
public bool get_slider_size_fixed ();
public Gtk.SensitivityType get_upper_stepper_sensitivity ();
public double get_value ();
public void set_adjustment (Gtk.Adjustment adjustment);
- [Version (since = "2.12")]
public void set_fill_level (double fill_level);
- [Version (since = "2.18")]
public void set_flippable (bool flippable);
public void set_increments (double step, double page);
public void set_inverted (bool setting);
public void set_lower_stepper_sensitivity (Gtk.SensitivityType sensitivity);
public void set_range (double min, double max);
- [Version (since = "2.12")]
public void set_restrict_to_fill_level (bool restrict_to_fill_level);
- [Version (since = "2.24")]
public void set_round_digits (int round_digits);
- [Version (since = "2.12")]
public void set_show_fill_level (bool show_fill_level);
- [Version (since = "2.20")]
public void set_slider_size_fixed (bool size_fixed);
public void set_upper_stepper_sensitivity (Gtk.SensitivityType sensitivity);
public void set_value (double value);
public Gtk.Adjustment adjustment { get; set construct; }
- [Version (since = "2.12")]
public double fill_level { get; set; }
public bool inverted { get; set; }
- [Version (since = "2.12")]
public bool restrict_to_fill_level { get; set; }
- [Version (since = "2.24")]
public int round_digits { get; set; }
- [Version (since = "2.12")]
public bool show_fill_level { get; set; }
public virtual signal void adjust_bounds (double new_value);
- [Version (since = "2.6")]
public virtual signal bool change_value (Gtk.ScrollType scroll, double new_value);
public virtual signal void move_slider (Gtk.ScrollType scroll);
public virtual signal void value_changed ();
@@ -11558,72 +9655,8 @@ namespace Gtk {
[CCode (has_construct_function = false)]
protected RangeAccessible ();
}
- [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_dialog_get_type ()")]
- public class RecentChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.RecentChooser {
- [CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.10")]
- public RecentChooserDialog (string? title, Gtk.Window? parent, ...);
- [CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.10")]
- public RecentChooserDialog.for_manager (string? title, Gtk.Window? parent, Gtk.RecentManager manager, ...);
- }
- [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_menu_get_type ()")]
- public class RecentChooserMenu : Gtk.Menu, Atk.Implementor, Gtk.Buildable, Gtk.RecentChooser {
- [CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.10")]
- public RecentChooserMenu ();
- [CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.10")]
- public RecentChooserMenu.for_manager (Gtk.RecentManager manager);
- [Version (since = "2.10")]
- public bool get_show_numbers ();
- [Version (since = "2.10")]
- public void set_show_numbers (bool show_numbers);
- [Version (since = "2.10")]
- public bool show_numbers { get; set; }
- }
- [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_widget_get_type ()")]
- public class RecentChooserWidget : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.RecentChooser {
- [CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.10")]
- public RecentChooserWidget ();
- [CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.10")]
- public RecentChooserWidget.for_manager (Gtk.RecentManager manager);
- }
- [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_filter_get_type ()")]
- public class RecentFilter : GLib.InitiallyUnowned, Gtk.Buildable {
- [CCode (has_construct_function = false)]
- [Version (since = "2.10")]
- public RecentFilter ();
- [Version (since = "2.10")]
- public void add_age (int days);
- [Version (since = "2.10")]
- public void add_application (string application);
- [Version (since = "2.10")]
- public void add_custom (Gtk.RecentFilterFlags needed, owned Gtk.RecentFilterFunc func);
- [Version (since = "2.10")]
- public void add_group (string group);
- [Version (since = "2.10")]
- public void add_mime_type (string mime_type);
- [Version (since = "2.10")]
- public void add_pattern (string pattern);
- [Version (since = "2.10")]
- public void add_pixbuf_formats ();
- [Version (since = "2.10")]
- public bool filter (Gtk.RecentFilterInfo filter_info);
- [CCode (cname = "gtk_recent_filter_get_name")]
- [Version (since = "2.10")]
- public unowned string? get_filter_name ();
- [Version (since = "2.10")]
- public Gtk.RecentFilterFlags get_needed ();
- [CCode (cname = "gtk_recent_filter_set_name")]
- [Version (since = "2.10")]
- public void set_filter_name (string name);
- }
[CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_recent_info_ref", type_id = "gtk_recent_info_get_type ()", unref_function = "gtk_recent_info_unref")]
[Compact]
- [Version (since = "2.10")]
public class RecentInfo {
public GLib.AppInfo? create_app_info (string? app_name) throws GLib.Error;
public bool exists ();
@@ -11634,7 +9667,6 @@ namespace Gtk {
public string[] get_applications ();
public unowned string get_description ();
public unowned string get_display_name ();
- [Version (since = "2.22")]
public GLib.Icon? get_gicon ();
[CCode (array_length = true, array_length_pos = 0.1, array_length_type = "gsize", array_null_terminated = true)]
public string[] get_groups ();
@@ -11654,7 +9686,6 @@ namespace Gtk {
public void unref ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_manager_get_type ()")]
- [Version (since = "2.10")]
public class RecentManager : GLib.Object {
[CCode (has_construct_function = false)]
public RecentManager ();
@@ -11683,21 +9714,13 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_revealer_get_type ()")]
public class Revealer : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.10")]
public Revealer ();
- [Version (since = "3.10")]
public bool get_child_revealed ();
- [Version (since = "3.10")]
public bool get_reveal_child ();
- [Version (since = "3.10")]
public uint get_transition_duration ();
- [Version (since = "3.10")]
public Gtk.RevealerTransitionType get_transition_type ();
- [Version (since = "3.10")]
public void set_reveal_child (bool reveal_child);
- [Version (since = "3.10")]
public void set_transition_duration (uint duration);
- [Version (since = "3.10")]
public void set_transition_type (Gtk.RevealerTransitionType transition);
public bool child_revealed { get; }
public bool reveal_child { get; set construct; }
@@ -11707,28 +9730,20 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scale_get_type ()")]
public class Scale : Gtk.Range, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.0")]
public Scale (Gtk.Orientation orientation, Gtk.Adjustment? adjustment);
- [Version (since = "2.16")]
public void add_mark (double value, Gtk.PositionType position, string? markup);
- [Version (since = "2.16")]
public void clear_marks ();
public int get_digits ();
public bool get_draw_value ();
- [Version (since = "3.4")]
public bool get_has_origin ();
- [Version (since = "2.4")]
public unowned Pango.Layout? get_layout ();
- [Version (since = "2.4")]
public virtual void get_layout_offsets (out int x, out int y);
public Gtk.PositionType get_value_pos ();
public void set_digits (int digits);
public void set_draw_value (bool draw_value);
- [Version (since = "3.4")]
public void set_has_origin (bool has_origin);
public void set_value_pos (Gtk.PositionType pos);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.0")]
public Scale.with_range (Gtk.Orientation orientation, double min, double max, double step);
public int digits { get; set; }
public bool draw_value { get; set; }
@@ -11744,35 +9759,22 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scale_button_get_type ()")]
public class ScaleButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.12")]
public ScaleButton (double min = 0.0, double max = 100.0, double step = 2.0, [CCode (array_length = false, array_null_terminated = true)] string[]? icons = null);
- [Version (since = "2.12")]
public unowned Gtk.Adjustment get_adjustment ();
- [Version (since = "2.14")]
public unowned Gtk.Button get_minus_button ();
- [Version (since = "2.14")]
public unowned Gtk.Button get_plus_button ();
- [Version (since = "2.14")]
public unowned Gtk.Widget get_popup ();
- [Version (since = "2.12")]
public double get_value ();
- [Version (since = "2.12")]
public void set_adjustment (Gtk.Adjustment adjustment);
- [Version (since = "2.12")]
public void set_icons ([CCode (array_length = false, array_null_terminated = true)] string[] icons);
- [Version (since = "2.12")]
public void set_value (double value);
public Gtk.Adjustment adjustment { get; set; }
[CCode (array_length = false, array_null_terminated = true)]
[NoAccessorMethod]
- [Version (since = "2.12")]
public string[] icons { owned get; set; }
public double value { get; set; }
- [Version (since = "2.12")]
public signal void popdown ();
- [Version (since = "2.12")]
public signal void popup ();
- [Version (since = "2.12")]
public virtual signal void value_changed (double value);
}
[CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_scale_button_accessible_get_type ()")]
@@ -11783,7 +9785,6 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scrollbar_get_type ()")]
public class Scrollbar : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.0")]
public Scrollbar (Gtk.Orientation orientation, Gtk.Adjustment? adjustment);
public unowned Gtk.Adjustment get_adjustment ();
public double get_wheel_delta ([CCode (type = "const GdkEventScroll*")] Gdk.Event event);
@@ -11794,76 +9795,47 @@ namespace Gtk {
public class ScrolledWindow : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public ScrolledWindow (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment);
- [Version (since = "3.4")]
public bool get_capture_button_press ();
public unowned Gtk.Adjustment get_hadjustment ();
- [Version (since = "2.8")]
public unowned Gtk.Widget get_hscrollbar ();
- [Version (since = "3.4")]
public bool get_kinetic_scrolling ();
- [Version (since = "3.22")]
public int get_max_content_height ();
- [Version (since = "3.22")]
public int get_max_content_width ();
- [Version (since = "3.0")]
public int get_min_content_height ();
- [Version (since = "3.0")]
public int get_min_content_width ();
- [Version (since = "3.16")]
public bool get_overlay_scrolling ();
public Gtk.CornerType get_placement ();
public void get_policy (out Gtk.PolicyType hscrollbar_policy, out Gtk.PolicyType vscrollbar_policy);
- [Version (since = "3.22")]
public bool get_propagate_natural_height ();
- [Version (since = "3.22")]
public bool get_propagate_natural_width ();
public Gtk.ShadowType get_shadow_type ();
public unowned Gtk.Adjustment get_vadjustment ();
- [Version (since = "2.8")]
public unowned Gtk.Widget get_vscrollbar ();
- [Version (since = "3.4")]
public void set_capture_button_press (bool capture_button_press);
public void set_hadjustment (Gtk.Adjustment hadjustment);
- [Version (since = "3.4")]
public void set_kinetic_scrolling (bool kinetic_scrolling);
- [Version (since = "3.22")]
public void set_max_content_height (int height);
- [Version (since = "3.22")]
public void set_max_content_width (int width);
- [Version (since = "3.0")]
public void set_min_content_height (int height);
- [Version (since = "3.0")]
public void set_min_content_width (int width);
- [Version (since = "3.16")]
public void set_overlay_scrolling (bool overlay_scrolling);
public void set_placement (Gtk.CornerType window_placement);
public void set_policy (Gtk.PolicyType hscrollbar_policy, Gtk.PolicyType vscrollbar_policy);
- [Version (since = "3.22")]
public void set_propagate_natural_height (bool propagate);
- [Version (since = "3.22")]
public void set_propagate_natural_width (bool propagate);
public void set_shadow_type (Gtk.ShadowType type);
public void set_vadjustment (Gtk.Adjustment vadjustment);
- [Version (since = "2.10")]
public void unset_placement ();
public Gtk.Adjustment hadjustment { get; set construct; }
[NoAccessorMethod]
public Gtk.PolicyType hscrollbar_policy { get; set; }
- [Version (since = "3.4")]
public bool kinetic_scrolling { get; set; }
- [Version (since = "3.22")]
public int max_content_height { get; set; }
- [Version (since = "3.22")]
public int max_content_width { get; set; }
- [Version (since = "3.0")]
public int min_content_height { get; set; }
- [Version (since = "3.0")]
public int min_content_width { get; set; }
- [Version (since = "3.16")]
public bool overlay_scrolling { get; set; }
- [Version (since = "3.22")]
public bool propagate_natural_height { get; set; }
- [Version (since = "3.22")]
public bool propagate_natural_width { get; set; }
public Gtk.ShadowType shadow_type { get; set; }
public Gtk.Adjustment vadjustment { get; set construct; }
@@ -11871,9 +9843,7 @@ namespace Gtk {
public Gtk.PolicyType vscrollbar_policy { get; set; }
[NoAccessorMethod]
public Gtk.CornerType window_placement { get; set; }
- [Version (since = "3.16")]
public signal void edge_overshot (Gtk.PositionType pos);
- [Version (since = "3.16")]
public signal void edge_reached (Gtk.PositionType pos);
public virtual signal void move_focus_out (Gtk.DirectionType direction);
public virtual signal bool scroll_child (Gtk.ScrollType scroll, bool horizontal);
@@ -11886,19 +9856,12 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_search_bar_get_type ()")]
public class SearchBar : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.10")]
public SearchBar ();
- [Version (since = "3.10")]
public void connect_entry (Gtk.Entry entry);
- [Version (since = "3.10")]
public bool get_search_mode ();
- [Version (since = "3.10")]
public bool get_show_close_button ();
- [Version (since = "3.10")]
public bool handle_event ([CCode (type = "GdkEvent*")] Gdk.Event event);
- [Version (since = "3.10")]
public void set_search_mode (bool search_mode);
- [Version (since = "3.10")]
public void set_show_close_button (bool visible);
[NoAccessorMethod]
public bool search_mode_enabled { get; set; }
@@ -11907,17 +9870,11 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_search_entry_get_type ()")]
public class SearchEntry : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.Editable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.6")]
public SearchEntry ();
- [Version (since = "3.16")]
public bool handle_event ([CCode (type = "GdkEvent*")] Gdk.Event event);
- [Version (since = "3.16")]
public virtual signal void next_match ();
- [Version (since = "3.16")]
public virtual signal void previous_match ();
- [Version (since = "3.10")]
public virtual signal void search_changed ();
- [Version (since = "3.16")]
public virtual signal void stop_search ();
}
[CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_selection_data_get_type ()")]
@@ -11927,52 +9884,34 @@ namespace Gtk {
[DestroysInstance]
public void free ();
[CCode (array_length = false)]
- [Version (since = "2.14")]
public unowned uint8[] get_data ();
- [Version (since = "2.14")]
public unowned Gdk.Atom get_data_type ();
[CCode (array_length_pos = 0.1)]
- [Version (since = "3.0")]
public unowned uint8[] get_data_with_length ();
- [Version (since = "2.14")]
public unowned Gdk.Display get_display ();
- [Version (since = "2.14")]
public int get_format ();
- [Version (since = "2.14")]
public int get_length ();
- [Version (since = "2.6")]
public Gdk.Pixbuf? get_pixbuf ();
- [Version (since = "3.94")]
public Cairo.Surface? get_surface ();
- [Version (since = "2.14")]
public unowned Gdk.Atom get_target ();
public bool get_targets ([CCode (array_length_cname = "n_atoms", array_length_pos = 1.1)] out (unowned Gdk.Atom)[] targets);
public string? get_text ();
- [Version (since = "3.94")]
public Gdk.Texture? get_texture ();
[CCode (array_length = false, array_null_terminated = true)]
- [Version (since = "2.6")]
public string[] get_uris ();
public void @set (Gdk.Atom type, int format, [CCode (array_length_cname = "length", array_length_pos = 3.1)] uint8[] data);
- [Version (since = "2.6")]
public bool set_pixbuf (Gdk.Pixbuf pixbuf);
- [Version (since = "3.94")]
public bool set_surface (Cairo.Surface surface);
public bool set_text (string str, int len);
- [Version (since = "3.94")]
public bool set_texture (Gdk.Texture texture);
- [Version (since = "2.6")]
public bool set_uris ([CCode (array_length = false, array_null_terminated = true)] string[] uris);
- [Version (since = "2.6")]
public bool targets_include_image (bool writable);
public bool targets_include_text ();
- [Version (since = "2.10")]
public bool targets_include_uri ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_get_type ()")]
public class Separator : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.0")]
public Separator (Gtk.Orientation orientation);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_menu_item_get_type ()")]
@@ -11983,11 +9922,8 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_tool_item_get_type ()")]
public class SeparatorToolItem : Gtk.ToolItem, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkToolItem*")]
- [Version (since = "2.4")]
public SeparatorToolItem ();
- [Version (since = "2.4")]
public bool get_draw ();
- [Version (since = "2.4")]
public void set_draw (bool draw);
public bool draw { get; set; }
}
@@ -11996,34 +9932,27 @@ namespace Gtk {
[CCode (has_construct_function = false)]
protected Settings ();
public static unowned Gtk.Settings? get_default ();
- [Version (since = "3.94")]
public static unowned Gtk.Settings get_for_display (Gdk.Display display);
- [Version (since = "3.20")]
public void reset_property (string name);
[NoAccessorMethod]
public bool gtk_alternative_button_order { get; set; }
[NoAccessorMethod]
- [Version (since = "2.12")]
public bool gtk_alternative_sort_arrows { get; set; }
[NoAccessorMethod]
- [Version (since = "3.0")]
public bool gtk_application_prefer_dark_theme { get; set; }
[NoAccessorMethod]
public bool gtk_cursor_blink { get; set; }
[NoAccessorMethod]
public int gtk_cursor_blink_time { get; set; }
[NoAccessorMethod]
- [Version (since = "2.12")]
public int gtk_cursor_blink_timeout { get; set; }
[NoAccessorMethod]
public string gtk_cursor_theme_name { owned get; set; }
[NoAccessorMethod]
public int gtk_cursor_theme_size { get; set; }
[NoAccessorMethod]
- [Version (since = "3.12")]
public string gtk_decoration_layout { owned get; set; }
[NoAccessorMethod]
- [Version (since = "3.12")]
public bool gtk_dialogs_use_header { get; set; }
[NoAccessorMethod]
public int gtk_dnd_drag_threshold { get; set; }
@@ -12032,26 +9961,20 @@ namespace Gtk {
[NoAccessorMethod]
public int gtk_double_click_time { get; set; }
[NoAccessorMethod]
- [Version (since = "2.12")]
public bool gtk_enable_accels { get; set; }
[NoAccessorMethod]
public bool gtk_enable_animations { get; set; }
[NoAccessorMethod]
- [Version (since = "2.14")]
public bool gtk_enable_event_sounds { get; set; }
[NoAccessorMethod]
- [Version (since = "2.14")]
public bool gtk_enable_input_feedback_sounds { get; set; }
[NoAccessorMethod]
- [Version (since = "3.4")]
public bool gtk_enable_primary_paste { get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public uint gtk_entry_password_hint_timeout { get; set; }
[NoAccessorMethod]
public bool gtk_entry_select_on_focus { get; set; }
[NoAccessorMethod]
- [Version (since = "2.12")]
public bool gtk_error_bell { get; set; }
[NoAccessorMethod]
public string gtk_font_name { owned get; set; }
@@ -12064,29 +9987,22 @@ namespace Gtk {
[NoAccessorMethod]
public string gtk_key_theme_name { owned get; set; }
[NoAccessorMethod]
- [Version (since = "3.20")]
public bool gtk_keynav_use_caret { get; set; }
[NoAccessorMethod]
public bool gtk_label_select_on_focus { get; set; }
[NoAccessorMethod]
- [Version (since = "3.14")]
public uint gtk_long_press_time { get; set; }
[NoAccessorMethod]
public string gtk_modules { owned get; set; }
[NoAccessorMethod]
- [Version (since = "3.6")]
public bool gtk_primary_button_warps_slider { get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public string gtk_print_backends { owned get; set; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public string gtk_print_preview_command { owned get; set; }
[NoAccessorMethod]
- [Version (since = "3.8")]
public bool gtk_recent_files_enabled { get; set; }
[NoAccessorMethod]
- [Version (since = "2.14")]
public int gtk_recent_files_max_age { get; set; }
[NoAccessorMethod]
public bool gtk_shell_shows_app_menu { get; set; }
@@ -12095,20 +10011,16 @@ namespace Gtk {
[NoAccessorMethod]
public bool gtk_shell_shows_menubar { get; set; }
[NoAccessorMethod]
- [Version (since = "2.14")]
public string gtk_sound_theme_name { owned get; set; }
[NoAccessorMethod]
public bool gtk_split_cursor { get; set; }
[NoAccessorMethod]
public string gtk_theme_name { owned get; set; }
[NoAccessorMethod]
- [Version (since = "3.14")]
public string gtk_titlebar_double_click { owned get; set; }
[NoAccessorMethod]
- [Version (since = "3.14")]
public string gtk_titlebar_middle_click { owned get; set; }
[NoAccessorMethod]
- [Version (since = "3.14")]
public string gtk_titlebar_right_click { owned get; set; }
[NoAccessorMethod]
public int gtk_xft_antialias { get; set; }
@@ -12124,19 +10036,12 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcut_label_get_type ()")]
public class ShortcutLabel : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.22")]
public ShortcutLabel (string accelerator);
- [Version (since = "3.22")]
public unowned string? get_accelerator ();
- [Version (since = "3.22")]
public unowned string? get_disabled_text ();
- [Version (since = "3.22")]
public void set_accelerator (string accelerator);
- [Version (since = "3.22")]
public void set_disabled_text (string disabled_text);
- [Version (since = "3.22")]
public string accelerator { get; set; }
- [Version (since = "3.22")]
public string disabled_text { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcuts_group_get_type ()")]
@@ -12177,7 +10082,6 @@ namespace Gtk {
[NoAccessorMethod]
public string accelerator { owned get; set; }
[NoAccessorMethod]
- [Version (since = "3.22")]
public string action_name { owned get; set; }
[NoAccessorMethod]
public Gtk.TextDirection direction { get; set; }
@@ -12213,7 +10117,6 @@ namespace Gtk {
public SizeGroup (Gtk.SizeGroupMode mode);
public void add_widget (Gtk.Widget widget);
public Gtk.SizeGroupMode get_mode ();
- [Version (since = "2.10")]
public unowned GLib.SList<Gtk.Widget> get_widgets ();
public void remove_widget (Gtk.Widget widget);
public void set_mode (Gtk.SizeGroupMode mode);
@@ -12222,21 +10125,16 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
[Compact]
public class Snapshot {
- [Version (since = "3.90")]
public Cairo.Context append_cairo (Graphene.Rect bounds, string name, ...);
public void append_color (Gdk.RGBA color, Graphene.Rect bounds, string name, ...);
public void append_linear_gradient (Graphene.Rect bounds, Graphene.Point start_point, Graphene.Point end_point, Gsk.ColorStop stops, size_t n_stops, string name, ...);
public void append_node (Gsk.RenderNode node);
public void append_repeating_linear_gradient (Graphene.Rect bounds, Graphene.Point start_point, Graphene.Point end_point, Gsk.ColorStop stops, size_t n_stops, string name, ...);
public void append_texture (Gdk.Texture texture, Graphene.Rect bounds, string name, ...);
- [Version (since = "3.90")]
public bool clips_rect (Cairo.RectangleInt bounds);
public void get_offset (out int x, out int y);
- [Version (since = "3.90")]
public void offset (int x, int y);
- [Version (since = "3.90")]
public void pop ();
- [Version (since = "3.90")]
public void push (bool keep_coordinates, string name, ...);
public void push_blend (Gsk.BlendMode blend_mode, string name, ...);
public void push_blur (double radius, string name, ...);
@@ -12248,15 +10146,10 @@ namespace Gtk {
public void push_rounded_clip (Gsk.RoundedRect bounds, string name, ...);
public void push_shadow (Gsk.Shadow shadow, size_t n_shadows, string name, ...);
public void push_transform (Graphene.Matrix transform, string name, ...);
- [Version (since = "3.90")]
public void render_background (Gtk.StyleContext context, double x, double y, double width, double height);
- [Version (since = "3.90")]
public void render_focus (Gtk.StyleContext context, double x, double y, double width, double height);
- [Version (since = "3.90")]
public void render_frame (Gtk.StyleContext context, double x, double y, double width, double height);
- [Version (since = "3.90")]
public void render_insertion_cursor (Gtk.StyleContext context, double x, double y, Pango.Layout layout, int index, Pango.Direction direction);
- [Version (since = "3.90")]
public void render_layout (Gtk.StyleContext context, double x, double y, Pango.Layout layout);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_spin_button_get_type ()")]
@@ -12267,32 +10160,26 @@ namespace Gtk {
public unowned Gtk.Adjustment get_adjustment ();
public uint get_digits ();
public void get_increments (out double step, out double page);
- [Version (since = "3.92")]
public int get_max_width_chars ();
public bool get_numeric ();
public void get_range (out double min, out double max);
public bool get_snap_to_ticks ();
- [Version (since = "3.92")]
public unowned string get_text ();
public Gtk.SpinButtonUpdatePolicy get_update_policy ();
public double get_value ();
public int get_value_as_int ();
- [Version (since = "3.92")]
public int get_width_chars ();
public bool get_wrap ();
public void set_adjustment (Gtk.Adjustment adjustment);
public void set_digits (uint digits);
public void set_increments (double step, double page);
- [Version (since = "3.92")]
public void set_max_width_chars (int max_width_chars);
public void set_numeric (bool numeric);
public void set_range (double min, double max);
public void set_snap_to_ticks (bool snap_to_ticks);
- [Version (since = "3.92")]
public void set_text (string text);
public void set_update_policy (Gtk.SpinButtonUpdatePolicy policy);
public void set_value (double value);
- [Version (since = "3.92")]
public void set_width_chars (int width_chars);
public void set_wrap (bool wrap);
public void spin (Gtk.SpinType direction, double increment);
@@ -12315,7 +10202,6 @@ namespace Gtk {
public virtual signal int input (out double new_value);
public virtual signal bool output ();
public virtual signal void value_changed ();
- [Version (since = "2.10")]
public virtual signal void wrapped ();
}
[CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_spin_button_accessible_get_type ()")]
@@ -12326,11 +10212,8 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_spinner_get_type ()")]
public class Spinner : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.20")]
public Spinner ();
- [Version (since = "2.20")]
public void start ();
- [Version (since = "2.20")]
public void stop ();
[NoAccessorMethod]
public bool active { get; set; }
@@ -12343,58 +10226,34 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_stack_get_type ()")]
public class Stack : Gtk.Container, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.10")]
public Stack ();
- [Version (since = "3.10")]
public void add_named (Gtk.Widget child, string name);
- [Version (since = "3.10")]
public void add_titled (Gtk.Widget child, string name, string title);
- [Version (since = "3.12")]
public unowned Gtk.Widget? get_child_by_name (string name);
- [Version (since = "3.16")]
public bool get_hhomogeneous ();
- [Version (since = "3.10")]
public bool get_homogeneous ();
- [Version (since = "3.18")]
public bool get_interpolate_size ();
- [Version (since = "3.10")]
public uint get_transition_duration ();
- [Version (since = "3.12")]
public bool get_transition_running ();
- [Version (since = "3.10")]
public Gtk.StackTransitionType get_transition_type ();
- [Version (since = "3.16")]
public bool get_vhomogeneous ();
- [Version (since = "3.10")]
public unowned Gtk.Widget? get_visible_child ();
- [Version (since = "3.10")]
public unowned string? get_visible_child_name ();
- [Version (since = "3.16")]
public void set_hhomogeneous (bool hhomogeneous);
- [Version (since = "3.10")]
public void set_homogeneous (bool homogeneous);
- [Version (since = "3.18")]
public void set_interpolate_size (bool interpolate_size);
- [Version (since = "3.10")]
public void set_transition_duration (uint duration);
- [Version (since = "3.10")]
public void set_transition_type (Gtk.StackTransitionType transition);
- [Version (since = "3.16")]
public void set_vhomogeneous (bool vhomogeneous);
- [Version (since = "3.10")]
public void set_visible_child (Gtk.Widget child);
- [Version (since = "3.10")]
public void set_visible_child_full (string name, Gtk.StackTransitionType transition);
- [Version (since = "3.10")]
public void set_visible_child_name (string name);
- [Version (since = "3.16")]
public bool hhomogeneous { get; set; }
public bool homogeneous { get; set; }
public bool interpolate_size { get; set; }
public uint transition_duration { get; set; }
public bool transition_running { get; }
public Gtk.StackTransitionType transition_type { get; set; }
- [Version (since = "3.16")]
public bool vhomogeneous { get; set; }
public Gtk.Widget visible_child { get; set; }
public string visible_child_name { get; set; }
@@ -12407,25 +10266,18 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_stack_sidebar_get_type ()")]
public class StackSidebar : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.16")]
public StackSidebar ();
- [Version (since = "3.16")]
public unowned Gtk.Stack? get_stack ();
- [Version (since = "3.16")]
public void set_stack (Gtk.Stack stack);
public Gtk.Stack stack { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_stack_switcher_get_type ()")]
public class StackSwitcher : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.10")]
public StackSwitcher ();
- [Version (since = "3.10")]
public unowned Gtk.Stack? get_stack ();
- [Version (since = "3.10")]
public void set_stack (Gtk.Stack? stack);
[NoAccessorMethod]
- [Version (since = "3.20")]
public Gtk.IconSize icon_size { get; set; }
public Gtk.Stack stack { get; set construct; }
}
@@ -12434,12 +10286,10 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Statusbar ();
public uint get_context_id (string context_description);
- [Version (since = "2.20")]
public unowned Gtk.Box get_message_area ();
public void pop (uint context_id);
public uint push (uint context_id, string text);
public void remove (uint context_id, uint message_id);
- [Version (since = "2.22")]
public void remove_all (uint context_id);
public virtual signal void text_popped (uint context_id, string text);
public virtual signal void text_pushed (uint context_id, string text);
@@ -12453,151 +10303,94 @@ namespace Gtk {
public class StyleContext : GLib.Object {
[CCode (has_construct_function = false)]
public StyleContext ();
- [Version (since = "3.0")]
public void add_class (string class_name);
- [Version (since = "3.0")]
public void add_provider (Gtk.StyleProvider provider, uint priority);
- [Version (since = "3.94")]
public static void add_provider_for_display (Gdk.Display display, Gtk.StyleProvider provider, uint priority);
- [Version (since = "3.0")]
public void @get (...);
- [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
+ [Version (deprecated = true, deprecated_since = "3.16")]
public Gdk.RGBA get_background_color ();
- [Version (since = "3.0")]
public Gtk.Border get_border ();
- [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
+ [Version (deprecated = true, deprecated_since = "3.16")]
public Gdk.RGBA get_border_color ();
- [Version (since = "3.0")]
public Gdk.RGBA get_color ();
- [Version (since = "3.94")]
public unowned Gdk.Display get_display ();
- [Version (since = "3.8")]
public unowned Gdk.FrameClock? get_frame_clock ();
- [Version (since = "3.0")]
public Gtk.Border get_margin ();
- [Version (since = "3.0")]
public Gtk.Border get_padding ();
- [Version (since = "3.4")]
public unowned Gtk.StyleContext? get_parent ();
- [Version (since = "3.0")]
public unowned Gtk.WidgetPath get_path ();
- [Version (since = "3.0")]
public GLib.Value get_property (string property);
- [Version (since = "3.10")]
public int get_scale ();
public unowned Gtk.CssSection? get_section (string property);
- [Version (since = "3.0")]
public Gtk.StateFlags get_state ();
- [Version (since = "3.0")]
public void get_valist (string first_property_name, [CCode (type = "va_list")] va_list args);
- [Version (since = "3.0")]
public bool has_class (string class_name);
- [Version (since = "3.0")]
public GLib.List<weak string> list_classes ();
public bool lookup_color (string color_name, out Gdk.RGBA color);
- [Version (since = "3.0")]
public void remove_class (string class_name);
- [Version (since = "3.0")]
public void remove_provider (Gtk.StyleProvider provider);
- [Version (since = "3.94")]
public static void remove_provider_for_display (Gdk.Display display, Gtk.StyleProvider provider);
[CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_activity")]
- [Version (since = "3.0")]
public void render_activity (Cairo.Context cr, double x, double y, double width, double height);
[CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_arrow")]
- [Version (since = "3.0")]
public void render_arrow (Cairo.Context cr, double angle, double x, double y, double size);
[CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_background")]
- [Version (since = "3.0.")]
public void render_background (Cairo.Context cr, double x, double y, double width, double height);
[CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_background_get_clip")]
- [Version (since = "3.20")]
public Gdk.Rectangle render_background_get_clip (double x, double y, double width, double height);
[CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_check")]
- [Version (since = "3.0")]
public void render_check (Cairo.Context cr, double x, double y, double width, double height);
[CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_expander")]
- [Version (since = "3.0")]
public void render_expander (Cairo.Context cr, double x, double y, double width, double height);
[CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_focus")]
- [Version (since = "3.0")]
public void render_focus (Cairo.Context cr, double x, double y, double width, double height);
[CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_frame")]
- [Version (since = "3.0")]
public void render_frame (Cairo.Context cr, double x, double y, double width, double height);
[CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_frame_gap")]
- [Version (since = "3.0")]
public void render_frame_gap (Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side, double xy0_gap, double xy1_gap);
[CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_handle")]
- [Version (since = "3.0")]
public void render_handle (Cairo.Context cr, double x, double y, double width, double height);
[CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_icon")]
- [Version (since = "3.2")]
public void render_icon (Cairo.Context cr, Gdk.Texture texture, double x, double y);
[CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_icon_surface")]
- [Version (since = "3.10")]
public void render_icon_surface (Cairo.Context cr, Cairo.Surface surface, double x, double y);
[CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_insertion_cursor")]
- [Version (since = "3.4")]
public void render_insertion_cursor (Cairo.Context cr, double x, double y, Pango.Layout layout, int index, Pango.Direction direction);
[CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_layout")]
- [Version (since = "3.0")]
public void render_layout (Cairo.Context cr, double x, double y, Pango.Layout layout);
[CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_line")]
- [Version (since = "3.0")]
public void render_line (Cairo.Context cr, double x0, double y0, double x1, double y1);
[CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_option")]
- [Version (since = "3.0")]
public void render_option (Cairo.Context cr, double x, double y, double width, double height);
[CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_slider")]
- [Version (since = "3.0")]
public void render_slider (Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
- [Version (since = "3.0")]
public static void reset_widgets (Gdk.Display display);
- [Version (since = "3.0")]
public void restore ();
- [Version (since = "3.0")]
public void save ();
- [Version (since = "3.94")]
public void set_display (Gdk.Display display);
- [Version (since = "3.8")]
public void set_frame_clock (Gdk.FrameClock frame_clock);
- [Version (since = "3.4")]
public void set_parent (Gtk.StyleContext? parent);
- [Version (since = "3.0")]
public void set_path (Gtk.WidgetPath path);
- [Version (since = "3.10")]
public void set_scale (int scale);
- [Version (since = "3.0")]
public void set_state (Gtk.StateFlags flags);
- [Version (since = "3.20")]
public string to_string (Gtk.StyleContextPrintFlags flags);
public Gdk.Display display { get; set; }
[NoAccessorMethod]
public Gdk.FrameClock paint_clock { owned get; set; }
- [Version (since = "3.4")]
public Gtk.StyleContext parent { get; set; }
- [Version (since = "3.0")]
public virtual signal void changed ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_switch_get_type ()")]
public class Switch : Gtk.Widget, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "3.0")]
public Switch ();
- [Version (since = "3.0")]
public bool get_active ();
- [Version (since = "3.14")]
public bool get_state ();
- [Version (since = "3.0")]
public void set_active (bool is_active);
- [Version (since = "3.14")]
public void set_state (bool state);
public bool active { get; set; }
- [Version (since = "3.14")]
public bool state { get; set; }
public virtual signal void activate ();
- [Version (since = "3.14")]
public virtual signal bool state_set (bool state);
}
[CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_switch_accessible_get_type ()")]
@@ -12613,11 +10406,9 @@ namespace Gtk {
public class TextBuffer : GLib.Object {
[CCode (has_construct_function = false)]
public TextBuffer (Gtk.TextTagTable? table);
- [Version (since = "2.12")]
public void add_mark (Gtk.TextMark mark, Gtk.TextIter where);
public void add_selection_clipboard (Gdk.Clipboard clipboard);
public void apply_tag_by_name (string name, Gtk.TextIter start, Gtk.TextIter end);
- [Version (since = "2.6")]
public bool backspace (Gtk.TextIter iter, bool interactive, bool default_editable);
public void copy_clipboard (Gdk.Clipboard clipboard);
public unowned Gtk.TextChildAnchor create_child_anchor (Gtk.TextIter iter);
@@ -12632,7 +10423,6 @@ namespace Gtk {
public void get_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
public int get_char_count ();
public void get_end_iter (out Gtk.TextIter iter);
- [Version (since = "2.10")]
public bool get_has_selection ();
public unowned Gtk.TextMark get_insert ();
public void get_iter_at_child_anchor (out Gtk.TextIter iter, Gtk.TextChildAnchor anchor);
@@ -12654,7 +10444,6 @@ namespace Gtk {
public void insert_at_cursor (string text, int len);
public bool insert_interactive (ref Gtk.TextIter iter, string text, int len, bool default_editable);
public bool insert_interactive_at_cursor (string text, int len, bool default_editable);
- [Version (since = "3.16")]
public void insert_markup (ref Gtk.TextIter iter, string markup, int len);
public void insert_range (ref Gtk.TextIter iter, Gtk.TextIter start, Gtk.TextIter end);
public bool insert_range_interactive (ref Gtk.TextIter iter, Gtk.TextIter start, Gtk.TextIter end, bool default_editable);
@@ -12667,24 +10456,18 @@ namespace Gtk {
public void remove_all_tags (Gtk.TextIter start, Gtk.TextIter end);
public void remove_selection_clipboard (Gdk.Clipboard clipboard);
public void remove_tag_by_name (string name, Gtk.TextIter start, Gtk.TextIter end);
- [Version (since = "2.4")]
public void select_range (Gtk.TextIter ins, Gtk.TextIter bound);
public void set_modified (bool setting);
public void set_text (string text, int len = -1);
[NoAccessorMethod]
- [Version (since = "2.10")]
public Gdk.ContentFormats copy_target_list { owned get; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public int cursor_position { get; }
- [Version (since = "2.10")]
public bool has_selection { get; }
[NoAccessorMethod]
- [Version (since = "2.10")]
public Gdk.ContentFormats paste_target_list { owned get; }
public Gtk.TextTagTable tag_table { get; construct; }
[NoAccessorMethod]
- [Version (since = "2.8")]
public string text { owned get; set; }
[HasEmitter]
public virtual signal void apply_tag (Gtk.TextTag tag, Gtk.TextIter start, Gtk.TextIter end);
@@ -12702,7 +10485,6 @@ namespace Gtk {
public virtual signal void mark_deleted (Gtk.TextMark mark);
public virtual signal void mark_set (Gtk.TextIter location, Gtk.TextMark mark);
public virtual signal void modified_changed ();
- [Version (since = "2.16")]
public virtual signal void paste_done (Gdk.Clipboard clipboard);
[HasEmitter]
public virtual signal void remove_tag (Gtk.TextTag tag, Gtk.TextIter start, Gtk.TextIter end);
@@ -12722,7 +10504,6 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_mark_get_type ()")]
public class TextMark : GLib.Object {
[CCode (has_construct_function = false)]
- [Version (since = "2.12")]
public TextMark (string? name, bool left_gravity = false);
public unowned Gtk.TextBuffer get_buffer ();
public bool get_deleted ();
@@ -12737,12 +10518,10 @@ namespace Gtk {
public class TextTag : GLib.Object {
[CCode (has_construct_function = false)]
public TextTag (string? name = null);
- [Version (since = "3.20")]
public void changed (bool size_changed);
public int get_priority ();
public void set_priority (int priority);
[NoAccessorMethod]
- [Version (since = "2.12")]
public bool accumulative_margin { get; set; }
[NoAccessorMethod]
public string background { set; }
@@ -12751,7 +10530,6 @@ namespace Gtk {
[NoAccessorMethod]
public bool background_full_height_set { get; set; }
[NoAccessorMethod]
- [Version (since = "3.2")]
public Gdk.RGBA background_rgba { get; set; }
[NoAccessorMethod]
public bool background_set { get; set; }
@@ -12762,7 +10540,6 @@ namespace Gtk {
[NoAccessorMethod]
public bool editable_set { get; set; }
[NoAccessorMethod]
- [Version (since = "3.16")]
public bool fallback { get; set; }
[NoAccessorMethod]
public bool fallback_set { get; set; }
@@ -12775,14 +10552,12 @@ namespace Gtk {
[NoAccessorMethod]
public Pango.FontDescription font_desc { owned get; set; }
[NoAccessorMethod]
- [Version (since = "3.18")]
public string font_features { owned get; set; }
[NoAccessorMethod]
public bool font_features_set { get; set; }
[NoAccessorMethod]
public string foreground { set; }
[NoAccessorMethod]
- [Version (since = "3.2")]
public Gdk.RGBA foreground_rgba { get; set; }
[NoAccessorMethod]
public bool foreground_set { get; set; }
@@ -12791,7 +10566,6 @@ namespace Gtk {
[NoAccessorMethod]
public bool indent_set { get; set; }
[NoAccessorMethod]
- [Version (since = "2.8")]
public bool invisible { get; set; }
[NoAccessorMethod]
public bool invisible_set { get; set; }
@@ -12808,17 +10582,14 @@ namespace Gtk {
[NoAccessorMethod]
public bool left_margin_set { get; set; }
[NoAccessorMethod]
- [Version (since = "3.16")]
public int letter_spacing { get; set; }
[NoAccessorMethod]
public bool letter_spacing_set { get; set; }
[NoAccessorMethod]
public string name { owned get; construct; }
[NoAccessorMethod]
- [Version (since = "2.8")]
public string paragraph_background { set; }
[NoAccessorMethod]
- [Version (since = "3.2")]
public Gdk.RGBA paragraph_background_rgba { get; set; }
[NoAccessorMethod]
public bool paragraph_background_set { get; set; }
@@ -12859,10 +10630,8 @@ namespace Gtk {
[NoAccessorMethod]
public bool strikethrough { get; set; }
[NoAccessorMethod]
- [Version (since = "3.16")]
public Gdk.RGBA strikethrough_rgba { get; set; }
[NoAccessorMethod]
- [Version (since = "3.16")]
public bool strikethrough_rgba_set { get; set; }
[NoAccessorMethod]
public bool strikethrough_set { get; set; }
@@ -12877,10 +10646,8 @@ namespace Gtk {
[NoAccessorMethod]
public Pango.Underline underline { get; set; }
[NoAccessorMethod]
- [Version (since = "3.16")]
public Gdk.RGBA underline_rgba { get; set; }
[NoAccessorMethod]
- [Version (since = "3.16")]
public bool underline_rgba_set { get; set; }
[NoAccessorMethod]
public bool underline_set { get; set; }
@@ -12925,80 +10692,61 @@ namespace Gtk {
public virtual void draw_layer (Gtk.TextViewLayer layer, Cairo.Context cr);
public bool forward_display_line (Gtk.TextIter iter);
public bool forward_display_line_end (Gtk.TextIter iter);
- [Version (since = "2.4")]
public bool get_accepts_tab ();
public int get_border_window_size (Gtk.TextWindowType type);
- [Version (since = "3.18")]
public int get_bottom_margin ();
public unowned Gtk.TextBuffer get_buffer ();
- [Version (since = "3.0")]
public void get_cursor_locations (Gtk.TextIter? iter, out Gdk.Rectangle strong, out Gdk.Rectangle @weak);
public bool get_cursor_visible ();
public bool get_editable ();
public int get_indent ();
- [Version (since = "3.6")]
public Gtk.InputHints get_input_hints ();
- [Version (since = "3.6")]
public Gtk.InputPurpose get_input_purpose ();
public bool get_iter_at_location (out Gtk.TextIter iter, int x, int y);
- [Version (since = "2.6")]
public bool get_iter_at_position (out Gtk.TextIter iter, out int trailing, int x, int y);
public void get_iter_location (Gtk.TextIter iter, out Gdk.Rectangle location);
public Gtk.Justification get_justification ();
public int get_left_margin ();
public void get_line_at_y (out Gtk.TextIter target_iter, int y, out int line_top);
public void get_line_yrange (Gtk.TextIter iter, out int y, out int height);
- [Version (since = "3.16")]
public bool get_monospace ();
- [Version (since = "2.4")]
public bool get_overwrite ();
public int get_pixels_above_lines ();
public int get_pixels_below_lines ();
public int get_pixels_inside_wrap ();
public int get_right_margin ();
public Pango.TabArray? get_tabs ();
- [Version (since = "3.18")]
public int get_top_margin ();
public void get_visible_rect (out Gdk.Rectangle visible_rect);
public Gtk.WrapMode get_wrap_mode ();
- [Version (since = "2.22")]
public bool im_context_filter_keypress ([CCode (type = "GdkEventKey*")] Gdk.Event event);
public void move_child (Gtk.Widget child, int xpos, int ypos);
public bool move_mark_onscreen (Gtk.TextMark mark);
public bool move_visually (Gtk.TextIter iter, int count);
public bool place_cursor_onscreen ();
- [Version (since = "3.20")]
public void reset_cursor_blink ();
- [Version (since = "2.22")]
public void reset_im_context ();
public void scroll_mark_onscreen (Gtk.TextMark mark);
public bool scroll_to_iter (Gtk.TextIter iter, double within_margin, bool use_align, double xalign, double yalign);
public void scroll_to_mark (Gtk.TextMark mark, double within_margin, bool use_align, double xalign, double yalign);
- [Version (since = "2.4")]
public void set_accepts_tab (bool accepts_tab);
public void set_border_window_size (Gtk.TextWindowType type, int size);
- [Version (since = "3.18")]
public void set_bottom_margin (int bottom_margin);
public void set_buffer (Gtk.TextBuffer? buffer);
public void set_cursor_visible (bool setting);
public void set_editable (bool setting);
public void set_indent (int indent);
- [Version (since = "3.6")]
public void set_input_hints (Gtk.InputHints hints);
- [Version (since = "3.6")]
public void set_input_purpose (Gtk.InputPurpose purpose);
public void set_justification (Gtk.Justification justification);
public void set_left_margin (int left_margin);
- [Version (since = "3.16")]
public void set_monospace (bool monospace);
- [Version (since = "2.4")]
public void set_overwrite (bool overwrite);
public void set_pixels_above_lines (int pixels_above_lines);
public void set_pixels_below_lines (int pixels_below_lines);
public void set_pixels_inside_wrap (int pixels_inside_wrap);
public void set_right_margin (int right_margin);
public void set_tabs (Pango.TabArray tabs);
- [Version (since = "3.18")]
public void set_top_margin (int top_margin);
public void set_wrap_mode (Gtk.WrapMode wrap_mode);
public bool starts_display_line (Gtk.TextIter iter);
@@ -13006,18 +10754,14 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public TextView.with_buffer (Gtk.TextBuffer buffer);
public bool accepts_tab { get; set; }
- [Version (since = "3.18")]
public int bottom_margin { get; set; }
public Gtk.TextBuffer buffer { get; set; }
public bool cursor_visible { get; set; }
public bool editable { get; set; }
[NoAccessorMethod]
- [Version (since = "2.16")]
public string im_module { owned get; set; }
public int indent { get; set; }
- [Version (since = "3.6")]
public Gtk.InputHints input_hints { get; set; }
- [Version (since = "3.6")]
public Gtk.InputPurpose input_purpose { get; set; }
public Gtk.Justification justification { get; set; }
public int left_margin { get; set; }
@@ -13027,27 +10771,22 @@ namespace Gtk {
public int pixels_below_lines { get; set; }
public int pixels_inside_wrap { get; set; }
[NoAccessorMethod]
- [Version (since = "3.8")]
public bool populate_all { get; set; }
public int right_margin { get; set; }
public Pango.TabArray tabs { owned get; set; }
- [Version (since = "3.18")]
public int top_margin { get; set; }
public Gtk.WrapMode wrap_mode { get; set; }
public virtual signal void backspace ();
public virtual signal void copy_clipboard ();
public virtual signal void cut_clipboard ();
public virtual signal void delete_from_cursor (Gtk.DeleteType type, int count);
- [Version (since = "3.16")]
public virtual signal bool extend_selection (Gtk.TextExtendSelection granularity, Gtk.TextIter location, Gtk.TextIter start, Gtk.TextIter end);
public virtual signal void insert_at_cursor (string str);
- [Version (since = "3.22.27")]
public virtual signal void insert_emoji ();
public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
public signal void move_viewport (Gtk.ScrollStep step, int count);
public virtual signal void paste_clipboard ();
public virtual signal void populate_popup (Gtk.Menu popup);
- [Version (since = "2.20")]
public signal void preedit_changed (string preedit);
public signal void select_all (bool select);
public virtual signal void set_anchor ();
@@ -13081,42 +10820,26 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toggle_tool_button_get_type ()")]
public class ToggleToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkToolItem*")]
- [Version (since = "2.4")]
public ToggleToolButton ();
- [Version (since = "2.4")]
public bool get_active ();
- [Version (since = "2.4")]
public void set_active (bool is_active);
- [Version (since = "2.8")]
public bool active { get; set; }
public virtual signal void toggled ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_button_get_type ()")]
public class ToolButton : Gtk.ToolItem, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkToolItem*")]
- [Version (since = "2.4")]
public ToolButton (Gtk.Widget? icon_widget, string? label);
- [Version (since = "2.8")]
public unowned string? get_icon_name ();
- [Version (since = "2.4")]
public unowned Gtk.Widget? get_icon_widget ();
- [Version (since = "2.4")]
public unowned string? get_label ();
- [Version (since = "2.4")]
public unowned Gtk.Widget? get_label_widget ();
- [Version (since = "2.4")]
public bool get_use_underline ();
- [Version (since = "2.8")]
public void set_icon_name (string? icon_name);
- [Version (since = "2.4")]
public void set_icon_widget (Gtk.Widget? icon_widget);
- [Version (since = "2.4")]
public void set_label (string? label);
- [Version (since = "2.4")]
public void set_label_widget (Gtk.Widget? label_widget);
- [Version (since = "2.4")]
public void set_use_underline (bool use_underline);
- [Version (since = "2.8")]
public string icon_name { get; set; }
public Gtk.Widget icon_widget { get; set; }
public string label { get; set; }
@@ -13127,51 +10850,28 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_item_get_type ()")]
public class ToolItem : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false)]
- [Version (since = "2.4")]
public ToolItem ();
- [Version (since = "2.20")]
public Pango.EllipsizeMode get_ellipsize_mode ();
- [Version (since = "2.4")]
public bool get_expand ();
- [Version (since = "2.4")]
public bool get_homogeneous ();
- [Version (since = "2.4")]
public bool get_is_important ();
- [Version (since = "2.4")]
public Gtk.Orientation get_orientation ();
- [Version (since = "2.4")]
public unowned Gtk.Widget? get_proxy_menu_item (string menu_item_id);
- [Version (since = "2.20")]
public float get_text_alignment ();
- [Version (since = "2.20")]
public Gtk.Orientation get_text_orientation ();
- [Version (since = "2.20")]
public unowned Gtk.SizeGroup get_text_size_group ();
- [Version (since = "2.4")]
public Gtk.ToolbarStyle get_toolbar_style ();
- [Version (since = "2.4")]
public bool get_visible_horizontal ();
- [Version (since = "2.4")]
public bool get_visible_vertical ();
- [Version (since = "2.6")]
public void rebuild_menu ();
- [Version (since = "2.4")]
public unowned Gtk.Widget retrieve_proxy_menu_item ();
- [Version (since = "2.4")]
public void set_expand (bool expand);
- [Version (since = "2.4")]
public void set_homogeneous (bool homogeneous);
- [Version (since = "2.4")]
public void set_is_important (bool is_important);
- [Version (since = "2.4")]
public void set_proxy_menu_item (string menu_item_id, Gtk.Widget? menu_item);
- [Version (since = "2.12")]
public void set_tooltip_markup (string markup);
- [Version (since = "2.12")]
public void set_tooltip_text (string text);
- [Version (since = "2.4")]
public void set_visible_horizontal (bool visible_horizontal);
- [Version (since = "2.4")]
public void set_visible_vertical (bool visible_vertical);
public bool is_important { get; set; }
public bool visible_horizontal { get; set; }
@@ -13180,109 +10880,17 @@ namespace Gtk {
[HasEmitter]
public virtual signal void toolbar_reconfigured ();
}
- [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_item_group_get_type ()")]
- public class ToolItemGroup : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.ToolShell {
- [CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.20")]
- public ToolItemGroup (string label);
- [Version (since = "2.20")]
- public bool get_collapsed ();
- [Version (since = "2.20")]
- public unowned Gtk.ToolItem get_drop_item (int x, int y);
- [Version (since = "2.20")]
- public Pango.EllipsizeMode get_ellipsize ();
- [Version (since = "2.20")]
- public Gtk.ReliefStyle get_header_relief ();
- [Version (since = "2.20")]
- public int get_item_position (Gtk.ToolItem item);
- [Version (since = "2.20")]
- public unowned string get_label ();
- [Version (since = "2.20")]
- public unowned Gtk.Widget get_label_widget ();
- [Version (since = "2.20")]
- public uint get_n_items ();
- [Version (since = "2.20")]
- public unowned Gtk.ToolItem get_nth_item (uint index);
- [Version (since = "2.20")]
- public void insert (Gtk.ToolItem item, int position);
- [Version (since = "2.20")]
- public void set_collapsed (bool collapsed);
- [Version (since = "2.20")]
- public void set_ellipsize (Pango.EllipsizeMode ellipsize);
- [Version (since = "2.20")]
- public void set_header_relief (Gtk.ReliefStyle style);
- [Version (since = "2.20")]
- public void set_item_position (Gtk.ToolItem item, int position);
- [Version (since = "2.20")]
- public void set_label (string label);
- [Version (since = "2.20")]
- public void set_label_widget (Gtk.Widget label_widget);
- public bool collapsed { get; set; }
- public Pango.EllipsizeMode ellipsize { get; set; }
- public Gtk.ReliefStyle header_relief { get; set; }
- public string label { get; set; }
- public Gtk.Widget label_widget { get; set; }
- }
- [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_palette_get_type ()")]
- public class ToolPalette : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.Scrollable {
- [CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.20")]
- public ToolPalette ();
- [Version (since = "2.20")]
- public void add_drag_dest (Gtk.Widget widget, Gtk.DestDefaults flags, Gtk.ToolPaletteDragTargets targets, Gdk.DragAction actions);
- [Version (since = "2.20")]
- public unowned Gtk.Widget get_drag_item (Gtk.SelectionData selection);
- [Version (since = "2.20")]
- public static unowned string get_drag_target_group ();
- [Version (since = "2.20")]
- public static unowned string get_drag_target_item ();
- [Version (since = "2.20")]
- public unowned Gtk.ToolItemGroup? get_drop_group (int x, int y);
- [Version (since = "2.20")]
- public unowned Gtk.ToolItem? get_drop_item (int x, int y);
- [Version (since = "2.20")]
- public bool get_exclusive (Gtk.ToolItemGroup group);
- [Version (since = "2.20")]
- public bool get_expand (Gtk.ToolItemGroup group);
- [Version (since = "2.20")]
- public int get_group_position (Gtk.ToolItemGroup group);
- [Version (since = "2.20")]
- public Gtk.ToolbarStyle get_style ();
- [Version (since = "2.20")]
- public void set_drag_source (Gtk.ToolPaletteDragTargets targets);
- [Version (since = "2.20")]
- public void set_exclusive (Gtk.ToolItemGroup group, bool exclusive);
- [Version (since = "2.20")]
- public void set_expand (Gtk.ToolItemGroup group, bool expand);
- [Version (since = "2.20")]
- public void set_group_position (Gtk.ToolItemGroup group, int position);
- [Version (since = "2.20")]
- public void set_style (Gtk.ToolbarStyle style);
- [Version (since = "2.20")]
- public void unset_style ();
- [NoAccessorMethod]
- [Version (since = "2.20")]
- public Gtk.ToolbarStyle toolbar_style { get; set; }
- }
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toolbar_get_type ()")]
public class Toolbar : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.ToolShell {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Toolbar ();
- [Version (since = "2.4")]
public int get_drop_index (int x, int y);
- [Version (since = "2.4")]
public int get_item_index (Gtk.ToolItem item);
- [Version (since = "2.4")]
public int get_n_items ();
- [Version (since = "2.4")]
public unowned Gtk.ToolItem? get_nth_item (int n);
- [Version (since = "2.4")]
public bool get_show_arrow ();
- [Version (since = "2.4")]
public void insert (Gtk.ToolItem item, int pos);
- [Version (since = "2.4")]
public void set_drop_highlight_item (Gtk.ToolItem? tool_item, int index_);
- [Version (since = "2.4")]
public void set_show_arrow (bool show_arrow);
public void set_style (Gtk.ToolbarStyle style);
public void unset_style ();
@@ -13298,21 +10906,13 @@ namespace Gtk {
public class Tooltip : GLib.Object {
[CCode (has_construct_function = false)]
protected Tooltip ();
- [Version (since = "2.12")]
public void set_custom (Gtk.Widget? custom_widget);
- [Version (since = "3.94")]
public void set_icon (Gdk.Texture? texture);
- [Version (since = "2.20")]
public void set_icon_from_gicon (GLib.Icon? gicon);
- [Version (since = "2.14")]
public void set_icon_from_icon_name (string? icon_name);
- [Version (since = "2.12")]
public void set_markup (string? markup);
- [Version (since = "2.12")]
public void set_text (string? text);
- [Version (since = "2.12")]
public void set_tip_area (Gdk.Rectangle rect);
- [Version (since = "2.12")]
public static void trigger_tooltip_query (Gdk.Display display);
}
[CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_toplevel_accessible_get_type ()")]
@@ -13324,29 +10924,18 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_model_filter_get_type ()")]
public class TreeModelFilter : GLib.Object, Gtk.TreeDragSource, Gtk.TreeModel {
[CCode (has_construct_function = false, type = "GtkTreeModel*")]
- [Version (since = "2.4")]
public TreeModelFilter (Gtk.TreeModel child_model, Gtk.TreePath? root);
- [Version (since = "2.4")]
public void clear_cache ();
- [Version (since = "2.4")]
public bool convert_child_iter_to_iter (out Gtk.TreeIter filter_iter, Gtk.TreeIter child_iter);
- [Version (since = "2.4")]
public Gtk.TreePath? convert_child_path_to_path (Gtk.TreePath child_path);
- [Version (since = "2.4")]
public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter filter_iter);
- [Version (since = "2.4")]
public Gtk.TreePath? convert_path_to_child_path (Gtk.TreePath filter_path);
- [Version (since = "2.4")]
public unowned Gtk.TreeModel get_model ();
[NoWrapper]
public virtual void modify (Gtk.TreeModel child_model, Gtk.TreeIter iter, GLib.Value value, int column);
- [Version (since = "2.4")]
public void refilter ();
- [Version (since = "2.4")]
public void set_modify_func ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types, owned Gtk.TreeModelFilterModifyFunc func);
- [Version (since = "2.4")]
public void set_visible_column (int column);
- [Version (since = "2.4")]
public void set_visible_func (owned Gtk.TreeModelFilterVisibleFunc func);
[NoWrapper]
public virtual bool visible (Gtk.TreeModel child_model, Gtk.TreeIter iter);
@@ -13365,7 +10954,6 @@ namespace Gtk {
public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter sorted_iter);
public Gtk.TreePath? convert_path_to_child_path (Gtk.TreePath sorted_path);
public unowned Gtk.TreeModel get_model ();
- [Version (since = "2.2")]
public bool iter_is_valid (Gtk.TreeIter iter);
public void reset_default_sort_func ();
[CCode (has_construct_function = false, type = "GtkTreeModel*")]
@@ -13386,16 +10974,13 @@ namespace Gtk {
[DestroysInstance]
public void free ();
[CCode (has_construct_function = false, sentinel = "-1")]
- [Version (since = "2.2")]
public TreePath.from_indices (...);
[CCode (has_construct_function = false)]
- [Version (since = "3.12")]
public TreePath.from_indicesv ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gsize")] int[] indices);
[CCode (has_construct_function = false)]
public TreePath.from_string (string path);
public int get_depth ();
[CCode (array_length_pos = 0.1, cname = "gtk_tree_path_get_indices_with_depth")]
- [Version (since = "3.0")]
public unowned int[] get_indices ();
public bool is_ancestor (Gtk.TreePath descendant);
public bool is_descendant (Gtk.TreePath ancestor);
@@ -13410,13 +10995,11 @@ namespace Gtk {
public class TreeRowReference {
[CCode (has_construct_function = false)]
public TreeRowReference (Gtk.TreeModel model, Gtk.TreePath path);
- [Version (since = "2.2")]
public Gtk.TreeRowReference copy ();
[CCode (cheader_filename = "gtk/gtk.h")]
public static void deleted (GLib.Object proxy, Gtk.TreePath path);
[DestroysInstance]
public void free ();
- [Version (since = "2.8")]
public unowned Gtk.TreeModel get_model ();
public Gtk.TreePath? get_path ();
[CCode (cheader_filename = "gtk/gtk.h")]
@@ -13431,13 +11014,10 @@ namespace Gtk {
public class TreeSelection : GLib.Object {
[CCode (has_construct_function = false)]
protected TreeSelection ();
- [Version (since = "2.2")]
public int count_selected_rows ();
public Gtk.SelectionMode get_mode ();
- [Version (since = "2.14")]
public unowned Gtk.TreeSelectionFunc get_select_function ();
public bool get_selected (out unowned Gtk.TreeModel model, out Gtk.TreeIter iter);
- [Version (since = "2.2")]
public GLib.List<Gtk.TreePath> get_selected_rows (out unowned Gtk.TreeModel model);
public unowned Gtk.TreeView get_tree_view ();
public void* get_user_data ();
@@ -13453,9 +11033,7 @@ namespace Gtk {
public void unselect_all ();
public void unselect_iter (Gtk.TreeIter iter);
public void unselect_path (Gtk.TreePath path);
- [Version (since = "2.2")]
public void unselect_range (Gtk.TreePath start_path, Gtk.TreePath end_path);
- [Version (since = "3.2")]
public Gtk.SelectionMode mode { get; set; }
public virtual signal void changed ();
}
@@ -13469,32 +11047,24 @@ namespace Gtk {
public void insert_after (out Gtk.TreeIter iter, Gtk.TreeIter? parent, Gtk.TreeIter? sibling);
public void insert_before (out Gtk.TreeIter iter, Gtk.TreeIter? parent, Gtk.TreeIter? sibling);
[CCode (sentinel = "-1")]
- [Version (since = "2.10")]
public void insert_with_values (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position, ...);
- [Version (since = "2.10")]
public void insert_with_valuesv (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position, [CCode (array_length_cname = "n_values", array_length_pos = 5.1)] int[] columns, [CCode (array_length_cname = "n_values", array_length_pos = 5.1)] GLib.Value[] values);
public bool is_ancestor (Gtk.TreeIter iter, Gtk.TreeIter descendant);
public int iter_depth (Gtk.TreeIter iter);
- [Version (since = "2.2")]
public bool iter_is_valid (Gtk.TreeIter iter);
- [Version (since = "2.2")]
public void move_after (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
- [Version (since = "2.2")]
public void move_before (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
[CCode (cname = "gtk_tree_store_newv", has_construct_function = false)]
public TreeStore.newv ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types);
public void prepend (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
public bool remove (ref Gtk.TreeIter iter);
- [Version (since = "2.2")]
public void reorder (Gtk.TreeIter? parent, [CCode (array_length = false)] int[] new_order);
[CCode (sentinel = "-1")]
public void @set (Gtk.TreeIter iter, ...);
public void set_column_types ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types);
public void set_valist (Gtk.TreeIter iter, [CCode (type = "va_list")] va_list var_args);
public void set_value (Gtk.TreeIter iter, int column, GLib.Value value);
- [Version (since = "2.12")]
public void set_valuesv (Gtk.TreeIter iter, [CCode (array_length_cname = "n_values", array_length_pos = 3.1)] int[] columns, [CCode (array_length_cname = "n_values", array_length_pos = 3.1)] GLib.Value[] values);
- [Version (since = "2.2")]
public void swap (Gtk.TreeIter a, Gtk.TreeIter b);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_view_get_type ()")]
@@ -13505,26 +11075,18 @@ namespace Gtk {
public void collapse_all ();
public bool collapse_row (Gtk.TreePath path);
public void columns_autosize ();
- [Version (since = "2.12")]
public void convert_bin_window_to_tree_coords (int bx, int by, out int tx, out int ty);
- [Version (since = "2.12")]
public void convert_bin_window_to_widget_coords (int bx, int by, out int wx, out int wy);
- [Version (since = "2.12")]
public void convert_tree_to_bin_window_coords (int tx, int ty, out int bx, out int by);
- [Version (since = "2.12")]
public void convert_tree_to_widget_coords (int tx, int ty, out int wx, out int wy);
- [Version (since = "2.12")]
public void convert_widget_to_bin_window_coords (int wx, int wy, out int bx, out int by);
- [Version (since = "2.12")]
public void convert_widget_to_tree_coords (int wx, int wy, out int tx, out int ty);
public Cairo.Surface create_row_drag_icon (Gtk.TreePath path);
public void enable_model_drag_dest (Gdk.ContentFormats formats, Gdk.DragAction actions);
public void enable_model_drag_source (Gdk.ModifierType start_button_mask, Gdk.ContentFormats formats, Gdk.DragAction actions);
public void expand_all ();
public bool expand_row (Gtk.TreePath path, bool open_all);
- [Version (since = "2.2")]
public void expand_to_path (Gtk.TreePath path);
- [Version (since = "3.8")]
public bool get_activate_on_single_click ();
public void get_background_area (Gtk.TreePath? path, Gtk.TreeViewColumn? column, out Gdk.Rectangle rect);
public void get_cell_area (Gtk.TreePath? path, Gtk.TreeViewColumn? column, out Gdk.Rectangle rect);
@@ -13534,130 +11096,90 @@ namespace Gtk {
public bool get_dest_row_at_pos (int drag_x, int drag_y, out Gtk.TreePath? path, out Gtk.TreeViewDropPosition pos);
public void get_drag_dest_row (out Gtk.TreePath? path, out Gtk.TreeViewDropPosition pos);
public bool get_enable_search ();
- [Version (since = "2.10")]
public bool get_enable_tree_lines ();
public unowned Gtk.TreeViewColumn get_expander_column ();
- [Version (since = "2.6")]
public bool get_fixed_height_mode ();
- [Version (since = "2.10")]
public Gtk.TreeViewGridLines get_grid_lines ();
- [Version (since = "2.10")]
public bool get_headers_clickable ();
public bool get_headers_visible ();
- [Version (since = "2.6")]
public bool get_hover_expand ();
- [Version (since = "2.6")]
public bool get_hover_selection ();
- [Version (since = "2.12")]
public int get_level_indentation ();
public unowned Gtk.TreeModel? get_model ();
- [Version (since = "3.4")]
public uint get_n_columns ();
public bool get_path_at_pos (int x, int y, out Gtk.TreePath? path, out unowned Gtk.TreeViewColumn? column, out int cell_x, out int cell_y);
public bool get_reorderable ();
- [Version (since = "2.6")]
public unowned Gtk.TreeViewRowSeparatorFunc get_row_separator_func ();
- [Version (since = "2.10")]
public bool get_rubber_banding ();
public int get_search_column ();
- [Version (since = "2.10")]
public unowned Gtk.Entry get_search_entry ();
public unowned Gtk.TreeViewSearchEqualFunc get_search_equal_func ();
- [Version (since = "2.10")]
public unowned Gtk.TreeViewSearchPositionFunc get_search_position_func ();
public unowned Gtk.TreeSelection get_selection ();
- [Version (since = "2.12")]
public bool get_show_expanders ();
- [Version (since = "2.12")]
public int get_tooltip_column ();
- [Version (since = "2.12")]
public bool get_tooltip_context (ref int x, ref int y, bool keyboard_tip, out unowned Gtk.TreeModel? model, out Gtk.TreePath path, out Gtk.TreeIter iter);
- [Version (since = "2.8")]
public bool get_visible_range (out Gtk.TreePath start_path, out Gtk.TreePath end_path);
public void get_visible_rect (out Gdk.Rectangle visible_rect);
public int insert_column (Gtk.TreeViewColumn column, int position);
public int insert_column_with_attributes (int position, string? title, Gtk.CellRenderer cell, ...);
public int insert_column_with_data_func (int position, string title, Gtk.CellRenderer cell, owned Gtk.TreeCellDataFunc func);
- [Version (since = "3.0")]
public bool is_blank_at_pos (int x, int y, out Gtk.TreePath path, out Gtk.TreeViewColumn column, out int cell_x, out int cell_y);
[CCode (cname = "gtk_tree_view_row_expanded")]
public bool is_row_expanded (Gtk.TreePath path);
- [Version (since = "2.12")]
public bool is_rubber_banding_active ();
public void map_expanded_rows (Gtk.TreeViewMappingFunc func);
public void move_column_after (Gtk.TreeViewColumn column, Gtk.TreeViewColumn? base_column);
public int remove_column (Gtk.TreeViewColumn column);
public void scroll_to_cell (Gtk.TreePath? path, Gtk.TreeViewColumn? column, bool use_align, float row_align, float col_align);
public void scroll_to_point (int tree_x, int tree_y);
- [Version (since = "3.8")]
public void set_activate_on_single_click (bool single);
public void set_column_drag_function (owned Gtk.TreeViewColumnDropFunc? func);
public void set_cursor (Gtk.TreePath path, Gtk.TreeViewColumn? focus_column, bool start_editing);
- [Version (since = "2.2")]
public void set_cursor_on_cell (Gtk.TreePath path, Gtk.TreeViewColumn? focus_column, Gtk.CellRenderer? focus_cell, bool start_editing);
public void set_drag_dest_row (Gtk.TreePath? path, Gtk.TreeViewDropPosition pos);
public void set_enable_search (bool enable_search);
- [Version (since = "2.10")]
public void set_enable_tree_lines (bool enabled);
public void set_expander_column (Gtk.TreeViewColumn column);
- [Version (since = "2.6")]
public void set_fixed_height_mode (bool enable);
- [Version (since = "2.10")]
public void set_grid_lines (Gtk.TreeViewGridLines grid_lines);
public void set_headers_clickable (bool setting);
public void set_headers_visible (bool headers_visible);
- [Version (since = "2.6")]
public void set_hover_expand (bool expand);
- [Version (since = "2.6")]
public void set_hover_selection (bool hover);
- [Version (since = "2.12")]
public void set_level_indentation (int indentation);
public void set_model (Gtk.TreeModel? model);
public void set_reorderable (bool reorderable);
- [Version (since = "2.6")]
public void set_row_separator_func (owned Gtk.TreeViewRowSeparatorFunc? func);
- [Version (since = "2.10")]
public void set_rubber_banding (bool enable);
public void set_search_column (int column);
- [Version (since = "2.10")]
public void set_search_entry (Gtk.Entry? entry);
public void set_search_equal_func (owned Gtk.TreeViewSearchEqualFunc search_equal_func);
- [Version (since = "2.10")]
public void set_search_position_func (owned Gtk.TreeViewSearchPositionFunc? func);
- [Version (since = "2.12")]
public void set_show_expanders (bool enabled);
- [Version (since = "2.12")]
public void set_tooltip_cell (Gtk.Tooltip tooltip, Gtk.TreePath? path, Gtk.TreeViewColumn? column, Gtk.CellRenderer? cell);
- [Version (since = "2.12")]
public void set_tooltip_column (int column);
- [Version (since = "2.12")]
public void set_tooltip_row (Gtk.Tooltip tooltip, Gtk.TreePath path);
public void unset_rows_drag_dest ();
public void unset_rows_drag_source ();
[CCode (has_construct_function = false, type = "GtkWidget*")]
public TreeView.with_model (Gtk.TreeModel model);
- [Version (since = "3.8")]
public bool activate_on_single_click { get; set; }
[NoAccessorMethod]
public Gtk.TreeViewGridLines enable_grid_lines { get; set; }
public bool enable_search { get; set; }
public bool enable_tree_lines { get; set; }
public Gtk.TreeViewColumn expander_column { get; set; }
- [Version (since = "2.4")]
public bool fixed_height_mode { get; set; }
public bool headers_clickable { get; set; }
public bool headers_visible { get; set; }
- [Version (since = "2.6")]
public bool hover_expand { get; set; }
- [Version (since = "2.6")]
public bool hover_selection { get; set; }
- [Version (since = "2.12")]
public int level_indentation { get; set; }
public Gtk.TreeModel model { get; set; }
public bool reorderable { get; set; }
public bool rubber_banding { get; set; }
public int search_column { get; set; }
- [Version (since = "2.12")]
public bool show_expanders { get; set; }
public int tooltip_column { get; set; }
public virtual signal void columns_changed ();
@@ -13690,13 +11212,10 @@ namespace Gtk {
public void cell_get_size (Gdk.Rectangle? cell_area, out int x_offset, out int y_offset, out int width, out int height);
public bool cell_is_visible ();
public void cell_set_cell_data (Gtk.TreeModel tree_model, Gtk.TreeIter iter, bool is_expander, bool is_expanded);
- [Version (since = "2.2")]
public void focus_cell (Gtk.CellRenderer cell);
public float get_alignment ();
- [Version (since = "3.0")]
public unowned Gtk.Widget get_button ();
public bool get_clickable ();
- [Version (since = "2.4")]
public bool get_expand ();
public int get_fixed_width ();
public int get_max_width ();
@@ -13709,19 +11228,15 @@ namespace Gtk {
public Gtk.SortType get_sort_order ();
public int get_spacing ();
public unowned string get_title ();
- [Version (since = "2.12")]
public unowned Gtk.Widget? get_tree_view ();
public bool get_visible ();
public unowned Gtk.Widget? get_widget ();
public int get_width ();
- [Version (since = "3.2")]
public int get_x_offset ();
- [Version (since = "2.8")]
public void queue_resize ();
public void set_alignment (float xalign);
public void set_attributes (Gtk.CellRenderer cell_renderer, ...);
public void set_clickable (bool clickable);
- [Version (since = "2.4")]
public void set_expand (bool expand);
public void set_fixed_width (int fixed_width);
public void set_max_width (int max_width);
@@ -13737,13 +11252,11 @@ namespace Gtk {
public void set_visible (bool visible);
public void set_widget (Gtk.Widget? widget);
[CCode (has_construct_function = false)]
- [Version (since = "3.0")]
public TreeViewColumn.with_area (Gtk.CellArea area);
[CCode (has_construct_function = false)]
public TreeViewColumn.with_attributes (string? title, Gtk.CellRenderer cell, ...);
public float alignment { get; set; }
[NoAccessorMethod]
- [Version (since = "3.0")]
public Gtk.CellArea cell_area { owned get; construct; }
public bool clickable { get; set; }
public bool expand { get; set; }
@@ -13753,7 +11266,6 @@ namespace Gtk {
public bool reorderable { get; set; }
public bool resizable { get; set; }
public Gtk.TreeViewColumnSizing sizing { get; set; }
- [Version (since = "2.18")]
public int sort_column_id { get; set; }
public bool sort_indicator { get; set; }
public Gtk.SortType sort_order { get; set; }
@@ -13777,10 +11289,8 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_volume_button_get_type ()")]
public class VolumeButton : Gtk.ScaleButton, Atk.Implementor, Gtk.Actionable, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- [Version (since = "2.12")]
public VolumeButton ();
[NoAccessorMethod]
- [Version (since = "3.0")]
public bool use_symbolic { get; set construct; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_widget_get_type ()")]
@@ -13789,358 +11299,229 @@ namespace Gtk {
public Widget (GLib.Type type, ...);
public bool activate ();
public void add_accelerator (string accel_signal, Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags);
- [Version (since = "2.4")]
public void add_mnemonic_label (Gtk.Widget label);
- [Version (since = "3.8")]
public uint add_tick_callback (owned Gtk.TickCallback callback);
[CCode (cname = "gtk_widget_class_bind_template_callback_full")]
- [Version (since = "3.10")]
public class void bind_template_callback_full (string callback_name, [CCode (scope = "async")] GLib.Callback callback_symbol);
[CCode (cname = "gtk_widget_class_bind_template_child_full")]
- [Version (since = "3.10")]
public class void bind_template_child_full (string name, bool internal_child, ssize_t struct_offset);
public bool child_focus (Gtk.DirectionType direction);
public bool compute_expand (Gtk.Orientation orientation);
[CCode (vfunc_name = "compute_expand")]
[NoWrapper]
public virtual void compute_expand_internal (out bool hexpand_p, out bool vexpand_p);
- [Version (since = "3.94")]
public virtual bool contains (double x, double y);
public Pango.Context create_pango_context ();
public Pango.Layout create_pango_layout (string? text);
public void destroyed (ref unowned Gtk.Widget widget_pointer);
- [Version (since = "3.0")]
public bool device_is_shadowed (Gdk.Device device);
[NoWrapper]
public virtual void dispatch_child_properties_changed ([CCode (array_length_cname = "n_pspecs", array_length_pos = 0.5, array_length_type = "guint", type = "GParamSpec**")] GLib.ParamSpec[] pspecs);
[CCode (cname = "gtk_widget_draw")]
- [Version (since = "3.0")]
public void draw_to_cairo_context (Cairo.Context cr);
- [Version (since = "2.12")]
public void error_bell ();
public void freeze_child_notify ();
public virtual unowned Atk.Object get_accessible ();
- [Version (since = "3.16")]
public unowned GLib.ActionGroup? get_action_group (string prefix);
- [Version (since = "3.10")]
public int get_allocated_baseline ();
public int get_allocated_height ();
- [Version (since = "3.20")]
public void get_allocated_size (out Gtk.Allocation allocation, out int baseline);
public int get_allocated_width ();
- [Version (since = "2.18")]
public void get_allocation (out Gtk.Allocation allocation);
public unowned Gtk.Widget? get_ancestor (GLib.Type widget_type);
- [Version (since = "2.18")]
public bool get_can_default ();
- [Version (since = "2.18")]
public bool get_can_focus ();
public bool get_child_visible ();
- [Version (since = "3.14")]
public void get_clip (out Gtk.Allocation clip);
- [Version (since = "3.94")]
public unowned Gdk.Clipboard get_clipboard ();
[CCode (cname = "gtk_widget_class_get_css_name")]
- [Version (since = "3.20")]
public class unowned string get_css_name ();
- [Version (since = "3.94")]
public unowned Gdk.Cursor? get_cursor ();
public static Gtk.TextDirection get_default_direction ();
public Gtk.TextDirection get_direction ();
- [Version (since = "2.2")]
public unowned Gdk.Display get_display ();
- [Version (since = "3.90")]
public unowned Gtk.Widget? get_first_child ();
- [Version (since = "3.20")]
public bool get_focus_on_click ();
- [Version (since = "3.18")]
public unowned Pango.FontMap? get_font_map ();
- [Version (since = "3.18")]
public unowned Cairo.FontOptions? get_font_options ();
- [Version (since = "3.8")]
public unowned Gdk.FrameClock? get_frame_clock ();
public Gtk.Align get_halign ();
- [Version (since = "2.12")]
public bool get_has_tooltip ();
- [Version (since = "2.18")]
public bool get_has_window ();
- [Version (since = "3.94")]
public int get_height ();
public bool get_hexpand ();
public bool get_hexpand_set ();
- [Version (since = "3.90")]
public unowned Gtk.Widget? get_last_child ();
- [Version (since = "2.20")]
public bool get_mapped ();
- [Version (since = "3.0")]
public int get_margin_bottom ();
- [Version (since = "3.12")]
public int get_margin_end ();
- [Version (since = "3.12")]
public int get_margin_start ();
- [Version (since = "3.0")]
public int get_margin_top ();
- [Version (since = "3.4")]
public Gdk.ModifierType get_modifier_mask (Gdk.ModifierIntent intent);
- [Version (since = "3.90")]
public unowned Gtk.Widget? get_next_sibling ();
- [Version (since = "3.8")]
public double get_opacity ();
public unowned Pango.Context get_pango_context ();
public unowned Gtk.Widget? get_parent ();
public unowned Gdk.Window? get_parent_window ();
public unowned Gtk.WidgetPath get_path ();
- [Version (since = "3.0")]
public void get_preferred_size (out Gtk.Requisition minimum_size, out Gtk.Requisition natural_size);
- [Version (since = "3.90")]
public unowned Gtk.Widget? get_prev_sibling ();
- [Version (since = "3.94")]
public unowned Gdk.Clipboard get_primary_clipboard ();
- [Version (since = "2.20")]
public bool get_realized ();
- [Version (since = "2.18")]
public bool get_receives_default ();
- [Version (since = "3.0")]
public virtual Gtk.SizeRequestMode get_request_mode ();
- [Version (since = "3.10")]
public int get_scale_factor ();
- [Version (since = "2.18")]
public bool get_sensitive ();
public unowned Gtk.Settings get_settings ();
public void get_size_request (out int width, out int height);
- [Version (since = "3.0")]
public Gtk.StateFlags get_state_flags ();
public unowned Gtk.StyleContext get_style_context ();
public bool get_support_multidevice ();
public unowned GLib.Object get_template_child (GLib.Type widget_type, string name);
- [Version (since = "2.12")]
public string? get_tooltip_markup ();
- [Version (since = "2.12")]
public string? get_tooltip_text ();
- [Version (since = "2.12")]
public unowned Gtk.Window get_tooltip_window ();
public unowned Gtk.Widget get_toplevel ();
public Gtk.Align get_valign ();
public bool get_vexpand ();
public bool get_vexpand_set ();
- [Version (since = "2.18")]
public bool get_visible ();
- [Version (since = "3.94")]
public int get_width ();
- [Version (since = "2.14")]
public unowned Gdk.Window? get_window ();
public void grab_default ();
- [Version (since = "2.18")]
public bool has_grab ();
- [Version (since = "3.2")]
public bool has_visible_focus ();
public bool in_destruction ();
- [Version (since = "3.10")]
public void init_template ();
- [Version (since = "3.0")]
public void input_shape_combine_region (Cairo.Region? region);
- [Version (since = "3.6")]
public void insert_action_group (string name, GLib.ActionGroup? group);
- [Version (since = "3.92")]
public void insert_after (Gtk.Widget parent, Gtk.Widget? previous_sibling);
- [Version (since = "3.92")]
public void insert_before (Gtk.Widget parent, Gtk.Widget? next_sibling);
public bool intersect (Gdk.Rectangle area, out Gdk.Rectangle? intersection = null);
public bool is_ancestor (Gtk.Widget ancestor);
- [Version (since = "2.18")]
public bool is_drawable ();
- [Version (since = "2.18")]
public bool is_sensitive ();
- [Version (since = "2.18")]
public bool is_toplevel ();
- [Version (since = "3.8")]
public bool is_visible ();
public GLib.List<weak GLib.Closure> list_accel_closures ();
[CCode (array_length = false, array_null_terminated = true)]
- [Version (since = "3.16")]
public (unowned string)[] list_action_prefixes ();
- [Version (since = "2.4")]
public GLib.List<weak Gtk.Widget> list_mnemonic_labels ();
- [Version (since = "3.90")]
public virtual void measure (Gtk.Orientation orientation, int for_size, out int minimum, out int natural, out int minimum_baseline, out int natural_baseline);
- [Version (since = "3.94")]
public virtual unowned Gtk.Widget? pick (double x, double y);
- [Version (since = "3.20")]
public void queue_allocate ();
public void queue_compute_expand ();
public void queue_draw ();
public void queue_draw_area (int x, int y, int width, int height);
- [Version (since = "3.0")]
public void queue_draw_region (Cairo.Region region);
public void queue_resize ();
- [Version (since = "2.4")]
public void queue_resize_no_redraw ();
- [Version (since = "3.8")]
public void register_window (Gdk.Window window);
public bool remove_accelerator (Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods);
- [Version (since = "2.4")]
public void remove_mnemonic_label (Gtk.Widget label);
- [Version (since = "3.8")]
public void remove_tick_callback (uint id);
- [Version (since = "3.0")]
public void reset_style ();
- [Version (since = "2.20")]
public bool send_focus_change ([CCode (type = "GdkEvent*")] Gdk.Event event);
public void set_accel_path (string? accel_path, Gtk.AccelGroup? accel_group);
[CCode (cname = "gtk_widget_class_set_accessible_role")]
- [Version (since = "3.2")]
public class void set_accessible_role (Atk.Role role);
[CCode (cname = "gtk_widget_class_set_accessible_type")]
- [Version (since = "3.2")]
public class void set_accessible_type (GLib.Type type);
- [Version (since = "2.18")]
public void set_can_default (bool can_default);
- [Version (since = "2.18")]
public void set_can_focus (bool can_focus);
public void set_child_visible (bool is_visible);
[CCode (cname = "gtk_widget_class_set_connect_func")]
- [Version (since = "3.10")]
public class void set_connect_func (owned Gtk.BuilderConnectFunc connect_func);
[CCode (cname = "gtk_widget_class_set_css_name")]
- [Version (since = "3.20")]
public class void set_css_name (string name);
- [Version (since = "3.94")]
public void set_cursor (Gdk.Cursor? cursor);
- [Version (since = "3.94")]
public void set_cursor_from_name (string? name);
public static void set_default_direction (Gtk.TextDirection dir);
public void set_direction (Gtk.TextDirection dir);
public void set_focus_child (Gtk.Widget child);
- [Version (since = "3.20")]
public void set_focus_on_click (bool focus_on_click);
- [Version (since = "3.18")]
public void set_font_map (Pango.FontMap? font_map);
- [Version (since = "3.18")]
public void set_font_options (Cairo.FontOptions? options);
public void set_halign (Gtk.Align align);
- [Version (since = "2.12")]
public void set_has_tooltip (bool has_tooltip);
- [Version (since = "2.18")]
public void set_has_window (bool has_window);
public void set_hexpand (bool expand);
public void set_hexpand_set (bool @set);
- [Version (since = "3.0")]
public void set_margin_bottom (int margin);
- [Version (since = "3.12")]
public void set_margin_end (int margin);
- [Version (since = "3.12")]
public void set_margin_start (int margin);
- [Version (since = "3.0")]
public void set_margin_top (int margin);
- [Version (since = "3.8")]
public void set_opacity (double opacity);
public void set_parent (Gtk.Widget parent);
public void set_parent_window (Gdk.Window parent_window);
- [Version (since = "2.20")]
public void set_realized (bool realized);
- [Version (since = "2.18")]
public void set_receives_default (bool receives_default);
public void set_sensitive (bool sensitive);
public void set_size_request (int width, int height);
- [Version (since = "3.0")]
public void set_state_flags (Gtk.StateFlags flags, bool clear);
- [Version (since = "3.0")]
public void set_support_multidevice (bool support_multidevice);
[CCode (cname = "gtk_widget_class_set_template")]
- [Version (since = "3.10")]
public class void set_template (GLib.Bytes template_bytes);
[CCode (cname = "gtk_widget_class_set_template_from_resource")]
- [Version (since = "3.10")]
public class void set_template_from_resource (string resource_name);
- [Version (since = "2.12")]
public void set_tooltip_markup (string? markup);
- [Version (since = "2.12")]
public void set_tooltip_text (string? text);
- [Version (since = "2.12")]
public void set_tooltip_window (Gtk.Window? custom_window);
public void set_valign (Gtk.Align align);
public void set_vexpand (bool expand);
public void set_vexpand_set (bool @set);
- [Version (since = "2.18")]
public void set_visible (bool visible);
- [Version (since = "2.18")]
public void set_window (owned Gdk.Window window);
- [Version (since = "3.0")]
public void shape_combine_region (Cairo.Region? region);
- public void show_now ();
[NoWrapper]
public virtual void snapshot (Gtk.Snapshot snapshot);
public void snapshot_child (Gtk.Widget child, Gtk.Snapshot snapshot);
public void thaw_child_notify ();
public bool translate_coordinates (Gtk.Widget dest_widget, int src_x, int src_y, out int dest_x, out int dest_y);
- [Version (since = "2.12")]
public void trigger_tooltip_query ();
public void unparent ();
- [Version (since = "3.8")]
public void unregister_window (Gdk.Window window);
- [Version (since = "3.0")]
public void unset_state_flags (Gtk.StateFlags flags);
public bool can_default { get; set; }
public bool can_focus { get; set; }
[NoAccessorMethod]
- [Version (since = "3.90")]
public string css_name { owned get; construct; }
- [Version (since = "3.94")]
public Gdk.Cursor cursor { get; set; }
[NoAccessorMethod]
- [Version (since = "3.0")]
public bool expand { get; set; }
- [Version (since = "3.20")]
public bool focus_on_click { get; set; }
- [Version (since = "3.0")]
public Gtk.Align halign { get; set; }
[NoAccessorMethod]
public bool has_default { get; set; }
[NoAccessorMethod]
public bool has_focus { get; set; }
- [Version (since = "2.12")]
public bool has_tooltip { get; set; }
[NoAccessorMethod]
public int height_request { get; set; }
- [Version (since = "3.0")]
public bool hexpand { get; set; }
- [Version (since = "3.0")]
public bool hexpand_set { get; set; }
[NoAccessorMethod]
public bool is_focus { get; set; }
[NoAccessorMethod]
- [Version (since = "3.0")]
public int margin { get; set; }
- [Version (since = "3.0")]
public int margin_bottom { get; set; }
- [Version (since = "3.12")]
public int margin_end { get; set; }
- [Version (since = "3.12")]
public int margin_start { get; set; }
- [Version (since = "3.0")]
public int margin_top { get; set; }
public string name { get; set; }
- [Version (since = "3.8")]
public double opacity { get; set; }
public Gtk.Widget parent { get; }
public bool receives_default { get; set; }
- [Version (since = "3.10")]
public int scale_factor { get; }
public bool sensitive { get; set; }
- [Version (since = "2.12")]
public string tooltip_markup { owned get; set; }
- [Version (since = "2.12")]
public string tooltip_text { owned get; set; }
- [Version (since = "3.0")]
public Gtk.Align valign { get; set; }
- [Version (since = "3.0")]
public bool vexpand { get; set; }
- [Version (since = "3.0")]
public bool vexpand_set { get; set; }
public bool visible { get; set; }
[NoAccessorMethod]
public int width_request { get; set; }
- [Version (since = "2.14")]
public Gdk.Window window { get; }
public signal void accel_closures_changed ();
[HasEmitter]
@@ -14157,11 +11538,9 @@ namespace Gtk {
public virtual signal void drag_data_received (Gdk.DragContext context, Gtk.SelectionData selection_data, uint time_);
public virtual signal bool drag_drop (Gdk.DragContext context, int x, int y, uint time_);
public virtual signal void drag_end (Gdk.DragContext context);
- [Version (since = "2.12")]
public virtual signal bool drag_failed (Gdk.DragContext context, Gtk.DragResult result);
public virtual signal void drag_leave (Gdk.DragContext context, uint time_);
public virtual signal bool drag_motion (Gdk.DragContext context, int x, int y, uint time_);
- [Version (since = "3.0")]
public virtual signal bool draw (Cairo.Context cr);
[HasEmitter]
public virtual signal bool event (Gdk.Event event);
@@ -14175,7 +11554,6 @@ namespace Gtk {
public virtual signal bool key_press_event (Gdk.Event event);
public virtual signal bool key_release_event (Gdk.Event event);
[HasEmitter]
- [Version (since = "2.12")]
public virtual signal bool keynav_failed (Gtk.DirectionType direction);
[HasEmitter]
public virtual signal void map ();
@@ -14183,7 +11561,6 @@ namespace Gtk {
public virtual signal bool mnemonic_activate (bool group_cycling);
public virtual signal void move_focus (Gtk.DirectionType direction);
public virtual signal bool popup_menu ();
- [Version (since = "2.12")]
public virtual signal bool query_tooltip (int x, int y, bool keyboard_tooltip, Gtk.Tooltip tooltip);
[HasEmitter]
public virtual signal void realize ();
@@ -14191,9 +11568,7 @@ namespace Gtk {
public virtual signal void show ();
[HasEmitter]
public virtual signal void size_allocate (Gtk.Allocation allocation, int baseline, out Gtk.Allocation out_clip);
- [Version (since = "3.0")]
public virtual signal void state_flags_changed (Gtk.StateFlags previous_state_flags);
- [Version (since = "3.0")]
public virtual signal void style_updated ();
[HasEmitter]
public virtual signal void unmap ();
@@ -14211,135 +11586,86 @@ namespace Gtk {
[Compact]
public class WidgetPath {
[CCode (has_construct_function = false)]
- [Version (since = "3.0")]
public WidgetPath ();
- [Version (since = "3.2")]
public int append_for_widget (Gtk.Widget widget);
- [Version (since = "3.0")]
public int append_type (GLib.Type type);
- [Version (since = "3.2")]
public int append_with_siblings (Gtk.WidgetPath siblings, uint sibling_index);
- [Version (since = "3.0")]
public Gtk.WidgetPath copy ();
[DestroysInstance]
- [Version (since = "3.0")]
public void free ();
- [Version (since = "3.0")]
public GLib.Type get_object_type ();
- [Version (since = "3.0")]
public bool has_parent (GLib.Type type);
- [Version (since = "3.0")]
public bool is_type (GLib.Type type);
- [Version (since = "3.0")]
public void iter_add_class (int pos, string name);
- [Version (since = "3.0")]
public void iter_clear_classes (int pos);
public unowned string? iter_get_name (int pos);
- [Version (since = "3.20")]
public unowned string? iter_get_object_name (int pos);
- [Version (since = "3.0")]
public GLib.Type iter_get_object_type (int pos);
public uint iter_get_sibling_index (int pos);
public unowned Gtk.WidgetPath iter_get_siblings (int pos);
- [Version (since = "3.14")]
public Gtk.StateFlags iter_get_state (int pos);
- [Version (since = "3.0")]
public bool iter_has_class (int pos, string name);
- [Version (since = "3.0")]
public bool iter_has_name (int pos, string name);
- [Version (since = "3.0")]
public bool iter_has_qclass (int pos, GLib.Quark qname);
- [Version (since = "3.0")]
public bool iter_has_qname (int pos, GLib.Quark qname);
- [Version (since = "3.0")]
public GLib.SList<weak string> iter_list_classes (int pos);
- [Version (since = "3.0")]
public void iter_remove_class (int pos, string name);
- [Version (since = "3.0")]
public void iter_set_name (int pos, string name);
- [Version (since = "3.20")]
public void iter_set_object_name (int pos, string? name);
- [Version (since = "3.0")]
public void iter_set_object_type (int pos, GLib.Type type);
- [Version (since = "3.14")]
public void iter_set_state (int pos, Gtk.StateFlags state);
- [Version (since = "3.0")]
public int length ();
- [Version (since = "3.0")]
public void prepend_type (GLib.Type type);
- [Version (since = "3.2")]
public unowned Gtk.WidgetPath @ref ();
- [Version (since = "3.2")]
public string to_string ();
- [Version (since = "3.2")]
public void unref ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_window_get_type ()")]
public class Window : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Window (Gtk.WindowType type = Gtk.WindowType.TOPLEVEL);
- [Version (since = "2.4")]
public bool activate_key ([CCode (type = "GdkEventKey*")] Gdk.Event event);
public void add_accel_group (Gtk.AccelGroup accel_group);
public void add_mnemonic (uint keyval, Gtk.Widget target);
public void begin_move_drag (int button, int root_x, int root_y, uint32 timestamp);
public void begin_resize_drag (Gdk.WindowEdge edge, int button, int root_x, int root_y, uint32 timestamp);
- [Version (since = "3.10")]
public void close ();
public void deiconify ();
- [Version (since = "2.2")]
public void fullscreen ();
public void fullscreen_on_monitor (Gdk.Monitor monitor);
- [Version (since = "2.4")]
public bool get_accept_focus ();
- [Version (since = "3.0")]
public unowned Gtk.Application? get_application ();
- [Version (since = "3.4")]
public unowned Gtk.Widget? get_attached_to ();
public bool get_decorated ();
public static GLib.List<weak Gdk.Texture> get_default_icon_list ();
- [Version (since = "2.16")]
public static unowned string get_default_icon_name ();
public void get_default_size (out int width, out int height);
- [Version (since = "2.14")]
public unowned Gtk.Widget? get_default_widget ();
- [Version (since = "2.10")]
public bool get_deletable ();
public bool get_destroy_with_parent ();
public unowned Gtk.Widget? get_focus ();
- [Version (since = "2.6")]
public bool get_focus_on_map ();
- [Version (since = "3.2")]
public bool get_focus_visible ();
public Gdk.Gravity get_gravity ();
- [Version (since = "2.10")]
public unowned Gtk.WindowGroup get_group ();
- [Version (since = "3.94")]
public bool get_hide_on_close ();
public unowned Gdk.Texture? get_icon ();
public GLib.List<weak Gdk.Texture> get_icon_list ();
- [Version (since = "2.6")]
public unowned string? get_icon_name ();
public Gdk.ModifierType get_mnemonic_modifier ();
- [Version (since = "2.20")]
public bool get_mnemonics_visible ();
public bool get_modal ();
public void get_position (out int root_x, out int root_y);
public bool get_resizable ();
public unowned string? get_role ();
public void get_size (out int width, out int height);
- [Version (since = "2.2")]
public bool get_skip_pager_hint ();
- [Version (since = "2.2")]
public bool get_skip_taskbar_hint ();
public unowned string? get_title ();
- [Version (since = "3.16")]
public unowned Gtk.Widget? get_titlebar ();
public unowned Gtk.Window? get_transient_for ();
public Gdk.WindowTypeHint get_type_hint ();
- [Version (since = "2.8")]
public bool get_urgency_hint ();
- [Version (since = "2.20")]
public Gtk.WindowType get_window_type ();
public bool has_group ();
public void iconify ();
@@ -14348,128 +11674,89 @@ namespace Gtk {
public bool mnemonic_activate (uint keyval, Gdk.ModifierType modifier);
public void move (int x, int y);
public void present ();
- [Version (since = "2.8")]
public void present_with_time (uint32 timestamp);
- [Version (since = "2.4")]
public bool propagate_key_event ([CCode (type = "GdkEventKey*")] Gdk.Event event);
public void remove_accel_group (Gtk.AccelGroup accel_group);
public void remove_mnemonic (uint keyval, Gtk.Widget target);
public void resize (int width, int height);
- [Version (since = "2.4")]
public void set_accept_focus (bool setting);
- [Version (since = "3.0")]
public void set_application (Gtk.Application? application);
- [Version (since = "3.4")]
public void set_attached_to (Gtk.Widget? attach_widget);
- [Version (since = "2.2")]
public static void set_auto_startup_notification (bool setting);
public void set_decorated (bool setting);
public void set_default (Gtk.Widget? default_widget);
- [Version (since = "2.4")]
public static void set_default_icon (Gdk.Texture icon);
- [Version (since = "2.2")]
public static bool set_default_icon_from_file (string filename) throws GLib.Error;
public static void set_default_icon_list (owned GLib.List<weak Gdk.Texture> list);
- [Version (since = "2.6")]
public static void set_default_icon_name (string name);
public void set_default_size (int width, int height);
- [Version (since = "2.10")]
public void set_deletable (bool setting);
public void set_destroy_with_parent (bool setting);
- [Version (since = "3.94")]
public void set_display (Gdk.Display display);
- [Version (since = "2.6")]
public void set_focus_on_map (bool setting);
- [Version (since = "3.2")]
public void set_focus_visible (bool setting);
public void set_gravity (Gdk.Gravity gravity);
- [Version (since = "3.0")]
public void set_has_user_ref_count (bool setting);
- [Version (since = "3.94")]
public void set_hide_on_close (bool setting);
public void set_icon (Gdk.Texture? icon);
- [Version (since = "2.2")]
public bool set_icon_from_file (string filename) throws GLib.Error;
public void set_icon_list (GLib.List<Gdk.Texture> list);
- [Version (since = "2.6")]
public void set_icon_name (string? name);
- [Version (since = "3.14")]
public static void set_interactive_debugging (bool enable);
- [Version (since = "2.4")]
public void set_keep_above (bool setting);
- [Version (since = "2.4")]
public void set_keep_below (bool setting);
public void set_mnemonic_modifier (Gdk.ModifierType modifier);
- [Version (since = "2.20")]
public void set_mnemonics_visible (bool setting);
public void set_modal (bool modal);
public void set_position (Gtk.WindowPosition position);
public void set_resizable (bool resizable);
public void set_role (string role);
- [Version (since = "2.2")]
public void set_skip_pager_hint (bool setting);
- [Version (since = "2.2")]
public void set_skip_taskbar_hint (bool setting);
- [Version (since = "2.12")]
public void set_startup_id (string startup_id);
public void set_title (string title);
- [Version (since = "3.10")]
public void set_titlebar (Gtk.Widget? titlebar);
public void set_transient_for (Gtk.Window? parent);
public void set_type_hint (Gdk.WindowTypeHint hint);
- [Version (since = "2.8")]
public void set_urgency_hint (bool setting);
public void stick ();
[CCode (cname = "gtk_window_activate_default")]
public bool try_activate_default ();
[CCode (cname = "gtk_window_activate_focus")]
public bool try_activate_focus ();
- [Version (since = "2.2")]
public void unfullscreen ();
public void unmaximize ();
public void unstick ();
- [Version (since = "2.4")]
public bool accept_focus { get; set; }
- [Version (since = "3.0")]
public Gtk.Application application { get; set; }
- [Version (since = "3.4")]
public Gtk.Widget attached_to { get; set construct; }
- [Version (since = "2.4")]
public bool decorated { get; set; }
[NoAccessorMethod]
public int default_height { get; set; }
[NoAccessorMethod]
public int default_width { get; set; }
- [Version (since = "2.10")]
public bool deletable { get; set; }
public bool destroy_with_parent { get; set; }
[NoAccessorMethod]
public Gdk.Display display { owned get; set; }
- [Version (since = "2.6")]
public bool focus_on_map { get; set; }
- [Version (since = "2.20")]
public bool focus_visible { get; set; }
- [Version (since = "2.4")]
public Gdk.Gravity gravity { get; set; }
public bool hide_on_close { get; set; }
public Gdk.Texture icon { get; set; }
- [Version (since = "2.6")]
public string icon_name { get; set; }
[NoAccessorMethod]
public bool is_active { get; }
[NoAccessorMethod]
public bool is_maximized { get; }
- [Version (since = "2.20")]
public bool mnemonics_visible { get; set; }
public bool modal { get; set; }
public bool resizable { get; set; }
public string role { get; set; }
public bool skip_pager_hint { get; set; }
public bool skip_taskbar_hint { get; set; }
- [Version (since = "2.12")]
public string startup_id { set; }
public string title { get; set; }
- [Version (since = "2.10")]
public Gtk.Window transient_for { get; set construct; }
[NoAccessorMethod]
public Gtk.WindowType type { get; construct; }
@@ -14499,27 +11786,18 @@ namespace Gtk {
[CCode (has_construct_function = false)]
public WindowGroup ();
public void add_window (Gtk.Window window);
- [Version (since = "3.0")]
public unowned Gtk.Widget? get_current_device_grab (Gdk.Device device);
- [Version (since = "2.22")]
public unowned Gtk.Widget get_current_grab ();
- [Version (since = "2.14")]
public GLib.List<weak Gtk.Window> list_windows ();
public void remove_window (Gtk.Window window);
}
[CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkActionableInterface", type_id = "gtk_actionable_get_type ()")]
public interface Actionable : Gtk.Widget {
- [Version (since = "3.4")]
public abstract unowned string? get_action_name ();
- [Version (since = "3.4")]
public abstract unowned GLib.Variant get_action_target_value ();
- [Version (since = "3.4")]
public abstract void set_action_name (string? action_name);
- [Version (since = "3.4")]
public void set_action_target (string format_string, ...);
- [Version (since = "3.4")]
public abstract void set_action_target_value (GLib.Variant target_value);
- [Version (since = "3.4")]
public void set_detailed_action_name (string detailed_action_name);
public abstract string action_name { get; set; }
[NoAccessorMethod]
@@ -14527,36 +11805,23 @@ namespace Gtk {
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_app_chooser_get_type ()")]
public interface AppChooser : Gtk.Widget {
- [Version (since = "3.0")]
public GLib.AppInfo? get_app_info ();
- [Version (since = "3.0")]
public string get_content_type ();
- [Version (since = "3.0")]
public void refresh ();
[ConcreteAccessor]
public abstract string content_type { owned get; construct; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_buildable_get_type ()")]
public interface Buildable : GLib.Object {
- [Version (since = "2.12")]
public abstract void add_child (Gtk.Builder builder, GLib.Object child, string? type);
- [Version (since = "2.12")]
public abstract GLib.Object construct_child (Gtk.Builder builder, string name);
- [Version (since = "2.12")]
public abstract void custom_finished (Gtk.Builder builder, GLib.Object? child, string tagname, void* data);
- [Version (since = "2.12")]
public abstract void custom_tag_end (Gtk.Builder builder, GLib.Object? child, string tagname, void* data);
- [Version (since = "2.12")]
public abstract bool custom_tag_start (Gtk.Builder builder, GLib.Object? child, string tagname, out GLib.MarkupParser parser, out void* data);
- [Version (since = "2.12")]
public abstract unowned GLib.Object get_internal_child (Gtk.Builder builder, string childname);
- [Version (since = "2.12")]
public abstract unowned string get_name ();
- [Version (since = "2.12")]
public abstract void parser_finished (Gtk.Builder builder);
- [Version (since = "2.12")]
public abstract void set_buildable_property (Gtk.Builder builder, string name, GLib.Value value);
- [Version (since = "2.12")]
public abstract void set_name (string name);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_accessible_parent_get_type ()")]
@@ -14575,7 +11840,6 @@ namespace Gtk {
public interface CellEditable : Gtk.Widget {
public abstract void start_editing ([CCode (type = "GdkEvent*")] Gdk.Event event);
[NoAccessorMethod]
- [Version (since = "2.20")]
public abstract bool editing_canceled { get; set; }
[HasEmitter]
public virtual signal void editing_done ();
@@ -14584,46 +11848,28 @@ namespace Gtk {
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_layout_get_type ()")]
public interface CellLayout : GLib.Object {
- [Version (since = "2.4")]
public abstract void add_attribute (Gtk.CellRenderer cell, string attribute, int column);
- [Version (since = "2.4")]
public abstract void clear ();
- [Version (since = "2.4")]
public abstract void clear_attributes (Gtk.CellRenderer cell);
- [Version (since = "3.0")]
public abstract unowned Gtk.CellArea? get_area ();
- [Version (since = "2.12")]
public abstract GLib.List<weak Gtk.CellRenderer> get_cells ();
- [Version (since = "2.4")]
public abstract void pack_end (Gtk.CellRenderer cell, bool expand);
- [Version (since = "2.4")]
public abstract void pack_start (Gtk.CellRenderer cell, bool expand);
- [Version (since = "2.4")]
public abstract void reorder (Gtk.CellRenderer cell, int position);
- [Version (since = "2.4")]
public void set_attributes (Gtk.CellRenderer cell, ...);
- [Version (since = "2.4")]
public abstract void set_cell_data_func (Gtk.CellRenderer cell, owned Gtk.CellLayoutDataFunc? func);
}
[CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkColorChooserInterface", type_id = "gtk_color_chooser_get_type ()")]
public interface ColorChooser : GLib.Object {
- [Version (since = "3.4")]
public abstract void add_palette (Gtk.Orientation orientation, int colors_per_line, [CCode (array_length_cname = "n_colors", array_length_pos = 2.5)] Gdk.RGBA[]? colors);
- [Version (since = "3.4")]
public abstract Gdk.RGBA get_rgba ();
- [Version (since = "3.4")]
public bool get_use_alpha ();
- [Version (since = "3.4")]
public abstract void set_rgba (Gdk.RGBA color);
- [Version (since = "3.4")]
public void set_use_alpha (bool use_alpha);
[ConcreteAccessor]
- [Version (since = "3.4")]
public abstract Gdk.RGBA rgba { get; set; }
[ConcreteAccessor]
- [Version (since = "3.4")]
public abstract bool use_alpha { get; set; }
- [Version (since = "3.4")]
public virtual signal void color_activated (Gdk.RGBA color);
}
[CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkEditableInterface", type_id = "gtk_editable_get_type ()")]
@@ -14650,138 +11896,74 @@ namespace Gtk {
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_get_type ()")]
public interface FileChooser : GLib.Object {
- [Version (since = "3.22")]
public void add_choice (string id, string label, [CCode (array_length = false, array_null_terminated = true)] string[]? options, [CCode (array_length = false, array_null_terminated = true)] string[]? option_labels);
- [Version (since = "2.4")]
public void add_filter (owned Gtk.FileFilter filter);
- [Version (since = "2.4")]
public bool add_shortcut_folder (string folder) throws GLib.Error;
- [Version (since = "2.4")]
public bool add_shortcut_folder_uri (string uri) throws GLib.Error;
- [Version (since = "2.4")]
public Gtk.FileChooserAction get_action ();
- [Version (since = "3.22")]
public unowned string get_choice (string id);
- [Version (since = "2.18")]
public bool get_create_folders ();
- [Version (since = "2.4")]
public string? get_current_folder ();
- [Version (since = "2.14")]
public GLib.File get_current_folder_file ();
- [Version (since = "2.4")]
public string? get_current_folder_uri ();
- [Version (since = "3.10")]
public string get_current_name ();
- [Version (since = "2.8")]
public bool get_do_overwrite_confirmation ();
- [Version (since = "2.4")]
public unowned Gtk.Widget? get_extra_widget ();
- [Version (since = "2.14")]
public GLib.File get_file ();
- [Version (since = "2.4")]
public string? get_filename ();
- [Version (since = "2.4")]
public GLib.SList<string> get_filenames ();
- [Version (since = "2.14")]
public GLib.SList<GLib.File> get_files ();
- [Version (since = "2.4")]
public unowned Gtk.FileFilter? get_filter ();
- [Version (since = "2.4")]
public bool get_local_only ();
- [Version (since = "2.14")]
public GLib.File? get_preview_file ();
- [Version (since = "2.4")]
public string? get_preview_filename ();
- [Version (since = "2.4")]
public string? get_preview_uri ();
- [Version (since = "2.4")]
public unowned Gtk.Widget? get_preview_widget ();
- [Version (since = "2.4")]
public bool get_preview_widget_active ();
- [Version (since = "2.4")]
public bool get_select_multiple ();
- [Version (since = "2.6")]
public bool get_show_hidden ();
- [Version (since = "2.4")]
public string? get_uri ();
- [Version (since = "2.4")]
public GLib.SList<string> get_uris ();
public bool get_use_preview_label ();
- [Version (since = "2.4")]
public GLib.SList<weak Gtk.FileFilter> list_filters ();
- [Version (since = "2.4")]
public GLib.SList<string>? list_shortcut_folder_uris ();
- [Version (since = "2.4")]
public GLib.SList<string>? list_shortcut_folders ();
- [Version (since = "3.22")]
public void remove_choice (string id);
- [Version (since = "2.4")]
public void remove_filter (Gtk.FileFilter filter);
- [Version (since = "2.4")]
public bool remove_shortcut_folder (string folder) throws GLib.Error;
- [Version (since = "2.4")]
public bool remove_shortcut_folder_uri (string uri) throws GLib.Error;
- [Version (since = "2.4")]
public void select_all ();
- [Version (since = "2.14")]
public bool select_file (GLib.File file) throws GLib.Error;
- [Version (since = "2.4")]
public bool select_filename (string filename);
- [Version (since = "2.4")]
public bool select_uri (string uri);
- [Version (since = "2.4")]
public void set_action (Gtk.FileChooserAction action);
- [Version (since = "3.22")]
public void set_choice (string id, string option);
- [Version (since = "2.18")]
public void set_create_folders (bool create_folders);
- [Version (since = "2.4")]
public bool set_current_folder (string filename);
- [Version (since = "2.14")]
public bool set_current_folder_file (GLib.File file) throws GLib.Error;
- [Version (since = "2.4")]
public bool set_current_folder_uri (string uri);
- [Version (since = "2.4")]
public void set_current_name (string name);
- [Version (since = "2.8")]
public void set_do_overwrite_confirmation (bool do_overwrite_confirmation);
- [Version (since = "2.4")]
public void set_extra_widget (Gtk.Widget extra_widget);
- [Version (since = "2.14")]
public bool set_file (GLib.File file) throws GLib.Error;
- [Version (since = "2.4")]
public bool set_filename (string filename);
- [Version (since = "2.4")]
public void set_filter (Gtk.FileFilter filter);
- [Version (since = "2.4")]
public void set_local_only (bool local_only);
- [Version (since = "2.4")]
public void set_preview_widget (Gtk.Widget preview_widget);
- [Version (since = "2.4")]
public void set_preview_widget_active (bool active);
- [Version (since = "2.4")]
public void set_select_multiple (bool select_multiple);
- [Version (since = "2.6")]
public void set_show_hidden (bool show_hidden);
- [Version (since = "2.4")]
public bool set_uri (string uri);
- [Version (since = "2.4")]
public void set_use_preview_label (bool use_label);
- [Version (since = "2.4")]
public void unselect_all ();
- [Version (since = "2.14")]
public void unselect_file (GLib.File file);
- [Version (since = "2.4")]
public void unselect_filename (string filename);
- [Version (since = "2.4")]
public void unselect_uri (string uri);
[ConcreteAccessor]
public abstract Gtk.FileChooserAction action { get; set; }
[ConcreteAccessor]
- [Version (since = "2.18")]
public abstract bool create_folders { get; set; }
[ConcreteAccessor]
- [Version (since = "2.8")]
public abstract bool do_overwrite_confirmation { get; set; }
[ConcreteAccessor]
public abstract Gtk.Widget extra_widget { get; set; }
@@ -14799,7 +11981,6 @@ namespace Gtk {
public abstract bool show_hidden { get; set; }
[ConcreteAccessor]
public abstract bool use_preview_label { get; set; }
- [Version (since = "2.8")]
public signal Gtk.FileChooserConfirmation confirm_overwrite ();
public signal void current_folder_changed ();
public signal void file_activated ();
@@ -14808,54 +11989,33 @@ namespace Gtk {
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_chooser_get_type ()")]
public interface FontChooser : GLib.Object {
- [Version (since = "3.2")]
public string? get_font ();
- [Version (since = "3.2")]
public Pango.FontDescription? get_font_desc ();
- [Version (since = "3.2")]
public abstract unowned Pango.FontFace? get_font_face ();
- [Version (since = "3.2")]
public abstract unowned Pango.FontFamily? get_font_family ();
- [Version (since = "3.94")]
public string get_font_features ();
- [Version (since = "3.18")]
public abstract Pango.FontMap? get_font_map ();
- [Version (since = "3.2")]
public abstract int get_font_size ();
- [Version (since = "3.94")]
public string get_language ();
- [Version (since = "3.94")]
public Gtk.FontChooserLevel get_level ();
- [Version (since = "3.2")]
public string get_preview_text ();
- [Version (since = "3.2")]
public bool get_show_preview_entry ();
- [Version (since = "3.2")]
public abstract void set_filter_func (owned Gtk.FontFilterFunc? filter);
- [Version (since = "3.2")]
public void set_font (string fontname);
- [Version (since = "3.2")]
public void set_font_desc (Pango.FontDescription font_desc);
- [Version (since = "3.18")]
public abstract void set_font_map (Pango.FontMap? fontmap);
- [Version (since = "3.94")]
public void set_level (Gtk.FontChooserLevel level);
- [Version (since = "3.2")]
public void set_preview_text (string text);
- [Version (since = "3.2")]
public void set_show_preview_entry (bool show_preview_entry);
[ConcreteAccessor]
public abstract string font { owned get; set; }
[ConcreteAccessor]
public abstract Pango.FontDescription font_desc { owned get; set; }
[ConcreteAccessor]
- [Version (since = "3.94")]
public abstract string font_features { owned get; }
[ConcreteAccessor]
- [Version (since = "3.94")]
public abstract string language { owned get; }
[ConcreteAccessor]
- [Version (since = "3.94")]
public abstract Gtk.FontChooserLevel level { get; set; }
[ConcreteAccessor]
public abstract string preview_text { owned get; set; }
@@ -14865,157 +12025,37 @@ namespace Gtk {
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_orientable_get_type ()")]
public interface Orientable : GLib.Object {
- [Version (since = "2.16")]
public Gtk.Orientation get_orientation ();
- [Version (since = "2.16")]
public void set_orientation (Gtk.Orientation orientation);
[ConcreteAccessor]
- [Version (since = "2.16")]
public abstract Gtk.Orientation orientation { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_operation_preview_get_type ()")]
public interface PrintOperationPreview : GLib.Object {
- [Version (since = "2.10")]
public abstract void end_preview ();
- [Version (since = "2.10")]
public abstract bool is_selected (int page_nr);
- [Version (since = "2.10")]
public abstract void render_page (int page_nr);
public virtual signal void got_page_size (Gtk.PrintContext context, Gtk.PageSetup page_setup);
public virtual signal void ready (Gtk.PrintContext context);
}
- [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_get_type ()")]
- public interface RecentChooser : GLib.Object {
- [Version (since = "2.10")]
- public abstract void add_filter (Gtk.RecentFilter filter);
- [Version (since = "2.10")]
- public Gtk.RecentInfo get_current_item ();
- [Version (since = "2.10")]
- public abstract string get_current_uri ();
- [Version (since = "2.10")]
- public unowned Gtk.RecentFilter get_filter ();
- [Version (since = "2.10")]
- public abstract GLib.List<Gtk.RecentInfo> get_items ();
- [Version (since = "2.10")]
- public int get_limit ();
- [Version (since = "2.10")]
- public bool get_local_only ();
- [NoWrapper]
- public abstract unowned Gtk.RecentManager get_recent_manager ();
- [Version (since = "2.10")]
- public bool get_select_multiple ();
- [Version (since = "2.10")]
- public bool get_show_icons ();
- [Version (since = "2.10")]
- public bool get_show_not_found ();
- [Version (since = "2.10")]
- public bool get_show_private ();
- [Version (since = "2.10")]
- public bool get_show_tips ();
- [Version (since = "2.10")]
- public Gtk.RecentSortType get_sort_type ();
- [CCode (array_length = true, array_length_pos = 0.1, array_length_type = "gsize", array_null_terminated = true)]
- [Version (since = "2.10")]
- public string[] get_uris ();
- [Version (since = "2.10")]
- public abstract GLib.SList<weak Gtk.RecentFilter> list_filters ();
- [Version (since = "2.10")]
- public abstract void remove_filter (Gtk.RecentFilter filter);
- [Version (since = "2.10")]
- public abstract void select_all ();
- [Version (since = "2.10")]
- public abstract bool select_uri (string uri) throws GLib.Error;
- [Version (since = "2.10")]
- public abstract bool set_current_uri (string uri) throws GLib.Error;
- [Version (since = "2.10")]
- public void set_filter (Gtk.RecentFilter? filter);
- [Version (since = "2.10")]
- public void set_limit (int limit);
- [Version (since = "2.10")]
- public void set_local_only (bool local_only);
- [Version (since = "2.10")]
- public void set_select_multiple (bool select_multiple);
- [Version (since = "2.10")]
- public void set_show_icons (bool show_icons);
- [Version (since = "2.10")]
- public void set_show_not_found (bool show_not_found);
- [Version (since = "2.10")]
- public void set_show_private (bool show_private);
- [Version (since = "2.10")]
- public void set_show_tips (bool show_tips);
- [Version (since = "2.10")]
- public abstract void set_sort_func (owned Gtk.RecentSortFunc sort_func);
- [Version (since = "2.10")]
- public void set_sort_type (Gtk.RecentSortType sort_type);
- [Version (since = "2.10")]
- public abstract void unselect_all ();
- [Version (since = "2.10")]
- public abstract void unselect_uri (string uri);
- [ConcreteAccessor]
- [Version (since = "2.10")]
- public abstract Gtk.RecentFilter filter { get; set; }
- [ConcreteAccessor]
- [Version (since = "2.10")]
- public abstract int limit { get; set; }
- [ConcreteAccessor]
- [Version (since = "2.10")]
- public abstract bool local_only { get; set; }
- [NoAccessorMethod]
- [Version (since = "2.10")]
- public abstract Gtk.RecentManager recent_manager { construct; }
- [ConcreteAccessor]
- [Version (since = "2.10")]
- public abstract bool select_multiple { get; set; }
- [ConcreteAccessor]
- [Version (since = "2.10")]
- public abstract bool show_icons { get; set; }
- [ConcreteAccessor]
- [Version (since = "2.10")]
- public abstract bool show_not_found { get; set; }
- [ConcreteAccessor]
- public abstract bool show_private { get; set; }
- [ConcreteAccessor]
- [Version (since = "2.10")]
- public abstract bool show_tips { get; set; }
- [ConcreteAccessor]
- [Version (since = "2.10")]
- public abstract Gtk.RecentSortType sort_type { get; set; }
- [Version (since = "2.10")]
- public virtual signal void item_activated ();
- [Version (since = "2.10")]
- public virtual signal void selection_changed ();
- }
[CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkScrollableInterface", type_id = "gtk_scrollable_get_type ()")]
public interface Scrollable : GLib.Object {
- [Version (since = "3.16")]
public abstract bool get_border (out Gtk.Border border);
- [Version (since = "3.0")]
public unowned Gtk.Adjustment get_hadjustment ();
- [Version (since = "3.0")]
public Gtk.ScrollablePolicy get_hscroll_policy ();
- [Version (since = "3.0")]
public unowned Gtk.Adjustment get_vadjustment ();
- [Version (since = "3.0")]
public Gtk.ScrollablePolicy get_vscroll_policy ();
- [Version (since = "3.0")]
public void set_hadjustment (Gtk.Adjustment? hadjustment);
- [Version (since = "3.0")]
public void set_hscroll_policy (Gtk.ScrollablePolicy policy);
- [Version (since = "3.0")]
public void set_vadjustment (Gtk.Adjustment? vadjustment);
- [Version (since = "3.0")]
public void set_vscroll_policy (Gtk.ScrollablePolicy policy);
[ConcreteAccessor]
- [Version (since = "3.0")]
public abstract Gtk.Adjustment hadjustment { get; set construct; }
[ConcreteAccessor]
- [Version (since = "3.0")]
public abstract Gtk.ScrollablePolicy hscroll_policy { get; set; }
[ConcreteAccessor]
- [Version (since = "3.0")]
public abstract Gtk.Adjustment vadjustment { get; set construct; }
[ConcreteAccessor]
- [Version (since = "3.0")]
public abstract Gtk.ScrollablePolicy vscroll_policy { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_provider_get_type ()")]
@@ -15024,19 +12064,12 @@ namespace Gtk {
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_shell_get_type ()")]
public interface ToolShell : Gtk.Widget {
- [Version (since = "2.20")]
public abstract Pango.EllipsizeMode get_ellipsize_mode ();
- [Version (since = "2.14")]
public abstract Gtk.Orientation get_orientation ();
- [Version (since = "2.14")]
public abstract Gtk.ToolbarStyle get_style ();
- [Version (since = "2.20")]
public abstract float get_text_alignment ();
- [Version (since = "2.20")]
public abstract Gtk.Orientation get_text_orientation ();
- [Version (since = "2.20")]
public abstract unowned Gtk.SizeGroup get_text_size_group ();
- [Version (since = "2.14")]
public abstract void rebuild_menu ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_drag_dest_get_type ()")]
@@ -15062,7 +12095,6 @@ namespace Gtk {
public bool get_iter_from_string (out Gtk.TreeIter iter, string path_string);
public abstract int get_n_columns ();
public abstract Gtk.TreePath? get_path (Gtk.TreeIter iter);
- [Version (since = "2.2")]
public string get_string_from_iter (Gtk.TreeIter iter);
public void get_valist (Gtk.TreeIter iter, [CCode (type = "va_list")] va_list var_args);
public abstract void get_value (Gtk.TreeIter iter, int column, out GLib.Value value);
@@ -15072,10 +12104,8 @@ namespace Gtk {
public abstract bool iter_next (ref Gtk.TreeIter iter);
public abstract bool iter_nth_child (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int n);
public abstract bool iter_parent (out Gtk.TreeIter iter, Gtk.TreeIter child);
- [Version (since = "3.0")]
public virtual bool iter_previous (ref Gtk.TreeIter iter);
public virtual void ref_node (Gtk.TreeIter iter);
- [Version (since = "3.10")]
public void rows_reordered_with_length (Gtk.TreePath path, Gtk.TreeIter? iter, [CCode (array_length_cname = "length", array_length_pos = 3.1)] int[] new_order);
public virtual void unref_node (Gtk.TreeIter iter);
[HasEmitter]
@@ -15131,7 +12161,6 @@ namespace Gtk {
public int16 top;
public int16 bottom;
[CCode (has_construct_function = false, type = "GtkBorder*")]
- [Version (since = "2.14")]
public Border ();
public Gtk.Border? copy ();
public void free ();
@@ -15169,18 +12198,6 @@ namespace Gtk {
public bool is_private;
}
[CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
- public struct RecentFilterInfo {
- public Gtk.RecentFilterFlags contains;
- public weak string? uri;
- public weak string? display_name;
- public weak string? mime_type;
- [CCode (array_length = false, array_null_terminated = true)]
- public weak string[]? applications;
- [CCode (array_length = false, array_null_terminated = true)]
- public weak string[]? groups;
- public int age;
- }
- [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
public struct RequestedSize {
public void* data;
public int minimum_size;
@@ -15191,7 +12208,6 @@ namespace Gtk {
public int width;
public int height;
[CCode (has_construct_function = false, type = "GtkRequisition*")]
- [Version (since = "3.0")]
public Requisition ();
public Gtk.Requisition? copy ();
public void free ();
@@ -15203,7 +12219,6 @@ namespace Gtk {
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_iter_get_type ()")]
public struct TextIter {
- [Version (since = "3.2")]
public void assign (Gtk.TextIter other);
public bool backward_char ();
public bool backward_chars (int count);
@@ -15216,17 +12231,11 @@ namespace Gtk {
public bool backward_sentence_start ();
public bool backward_sentence_starts (int count);
public bool backward_to_tag_toggle (Gtk.TextTag? tag);
- [Version (since = "2.4")]
public bool backward_visible_cursor_position ();
- [Version (since = "2.4")]
public bool backward_visible_cursor_positions (int count);
- [Version (since = "2.8")]
public bool backward_visible_line ();
- [Version (since = "2.8")]
public bool backward_visible_lines (int count);
- [Version (since = "2.4")]
public bool backward_visible_word_start ();
- [Version (since = "2.4")]
public bool backward_visible_word_starts (int count);
public bool backward_word_start ();
public bool backward_word_starts (int count);
@@ -15252,17 +12261,11 @@ namespace Gtk {
public void forward_to_end ();
public bool forward_to_line_end ();
public bool forward_to_tag_toggle (Gtk.TextTag? tag);
- [Version (since = "2.4")]
public bool forward_visible_cursor_position ();
- [Version (since = "2.4")]
public bool forward_visible_cursor_positions (int count);
- [Version (since = "2.8")]
public bool forward_visible_line ();
- [Version (since = "2.8")]
public bool forward_visible_lines (int count);
- [Version (since = "2.4")]
public bool forward_visible_word_end ();
- [Version (since = "2.4")]
public bool forward_visible_word_ends (int count);
public bool forward_word_end ();
public bool forward_word_ends (int count);
@@ -15303,7 +12306,6 @@ namespace Gtk {
public void set_visible_line_offset (int char_on_line);
public bool starts_line ();
public bool starts_sentence ();
- [Version (since = "3.20")]
public bool starts_tag (Gtk.TextTag? tag);
public bool starts_word ();
public bool toggles_tag (Gtk.TextTag? tag);
@@ -15334,7 +12336,6 @@ namespace Gtk {
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_APPLICATION_INHIBIT_", type_id = "gtk_application_inhibit_flags_get_type ()")]
[Flags]
- [Version (since = "3.4")]
public enum ApplicationInhibitFlags {
LOGOUT,
SWITCH,
@@ -15365,7 +12366,6 @@ namespace Gtk {
CUSTOM
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BASELINE_POSITION_", type_id = "gtk_baseline_position_get_type ()")]
- [Version (since = "3.10")]
public enum BaselinePosition {
TOP,
CENTER,
@@ -15447,7 +12447,6 @@ namespace Gtk {
BOTTOM_RIGHT
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_SECTION_", type_id = "gtk_css_section_type_get_type ()")]
- [Version (since = "3.2")]
public enum CssSectionType {
DOCUMENT,
IMPORT,
@@ -15526,14 +12525,12 @@ namespace Gtk {
ERROR
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ENTRY_ICON_", type_id = "gtk_entry_icon_position_get_type ()")]
- [Version (since = "2.16")]
public enum EntryIconPosition {
PRIMARY,
SECONDARY
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_EVENT_CONTROLLER_SCROLL_", type_id = "gtk_event_controller_scroll_flags_get_type ()")]
[Flags]
- [Version (since = "3.93")]
public enum EventControllerScrollFlags {
NONE,
VERTICAL,
@@ -15543,7 +12540,6 @@ namespace Gtk {
BOTH_AXES
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_EVENT_SEQUENCE_", type_id = "gtk_event_sequence_state_get_type ()")]
- [Version (since = "3.14")]
public enum EventSequenceState {
NONE,
CLAIMED,
@@ -15557,7 +12553,6 @@ namespace Gtk {
CREATE_FOLDER
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_CONFIRMATION_", type_id = "gtk_file_chooser_confirmation_get_type ()")]
- [Version (since = "2.8")]
public enum FileChooserConfirmation {
CONFIRM,
ACCEPT_FILENAME,
@@ -15615,7 +12610,6 @@ namespace Gtk {
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_INPUT_HINT_", type_id = "gtk_input_hints_get_type ()")]
[Flags]
- [Version (since = "3.6")]
public enum InputHints {
NONE,
SPELLCHECK,
@@ -15631,7 +12625,6 @@ namespace Gtk {
NO_EMOJI
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_INPUT_PURPOSE_", type_id = "gtk_input_purpose_get_type ()")]
- [Version (since = "3.6")]
public enum InputPurpose {
FREE_FORM,
ALPHA,
@@ -15652,13 +12645,11 @@ namespace Gtk {
FILL
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_LEVEL_BAR_MODE_", type_id = "gtk_level_bar_mode_get_type ()")]
- [Version (since = "3.6")]
public enum LevelBarMode {
CONTINUOUS,
DISCRETE
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_LICENSE_", type_id = "gtk_license_get_type ()")]
- [Version (since = "3.0")]
public enum License {
UNKNOWN,
CUSTOM,
@@ -15673,7 +12664,8 @@ namespace Gtk {
GPL_3_0_ONLY,
LGPL_2_1_ONLY,
LGPL_3_0_ONLY,
- AGPL_3_0
+ AGPL_3_0,
+ AGPL_3_0_ONLY
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_MENU_DIR_", type_id = "gtk_menu_direction_type_get_type ()")]
public enum MenuDirectionType {
@@ -15764,7 +12756,6 @@ namespace Gtk {
ODD
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAN_DIRECTION_", type_id = "gtk_pan_direction_get_type ()")]
- [Version (since = "3.14")]
public enum PanDirection {
LEFT,
RIGHT,
@@ -15786,7 +12777,6 @@ namespace Gtk {
EXTERNAL
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_POPOVER_CONSTRAINT_", type_id = "gtk_popover_constraint_get_type ()")]
- [Version (since = "3.20")]
public enum PopoverConstraint {
NONE,
WINDOW
@@ -15845,31 +12835,12 @@ namespace Gtk {
FINISHED_ABORTED
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PHASE_", type_id = "gtk_propagation_phase_get_type ()")]
- [Version (since = "3.14")]
public enum PropagationPhase {
NONE,
CAPTURE,
BUBBLE,
TARGET
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_FILTER_", type_id = "gtk_recent_filter_flags_get_type ()")]
- [Flags]
- public enum RecentFilterFlags {
- URI,
- DISPLAY_NAME,
- MIME_TYPE,
- APPLICATION,
- GROUP,
- AGE
- }
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_SORT_", type_id = "gtk_recent_sort_type_get_type ()")]
- [Version (since = "2.10")]
- public enum RecentSortType {
- NONE,
- MRU,
- LRU,
- CUSTOM
- }
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RELIEF_", type_id = "gtk_relief_style_get_type ()")]
public enum ReliefStyle {
NORMAL,
@@ -15953,7 +12924,6 @@ namespace Gtk {
ETCHED_OUT
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SHORTCUT_", type_id = "gtk_shortcut_type_get_type ()")]
- [Version (since = "3.20")]
public enum ShortcutType {
ACCELERATOR,
GESTURE_PINCH,
@@ -16061,7 +13031,6 @@ namespace Gtk {
RTL
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_EXTEND_SELECTION_", type_id = "gtk_text_extend_selection_get_type ()")]
- [Version (since = "3.16")]
public enum TextExtendSelection {
WORD,
LINE
@@ -16088,12 +13057,6 @@ namespace Gtk {
TOP,
BOTTOM
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TOOL_PALETTE_DRAG_", type_id = "gtk_tool_palette_drag_targets_get_type ()")]
- [Flags]
- public enum ToolPaletteDragTargets {
- ITEMS,
- GROUPS
- }
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TOOLBAR_", type_id = "gtk_toolbar_style_get_type ()")]
public enum ToolbarStyle {
ICONS,
@@ -16191,7 +13154,6 @@ namespace Gtk {
ALREADY_EXISTS,
INCOMPLETE_HOSTNAME;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.4")]
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_THEME_")]
@@ -16208,19 +13170,9 @@ namespace Gtk {
NOMEM,
INVALID_FILE;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.10")]
- public static GLib.Quark quark ();
- }
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_CHOOSER_ERROR_")]
- [Version (since = "2.10")]
- public errordomain RecentChooserError {
- NOT_FOUND,
- INVALID_URI;
- [CCode (cheader_filename = "gtk/gtk.h")]
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_MANAGER_ERROR_")]
- [Version (since = "2.10")]
public errordomain RecentManagerError {
NOT_FOUND,
INVALID_URI,
@@ -16235,17 +13187,14 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public delegate bool AccelGroupActivate (Gtk.AccelGroup accel_group, GLib.Object acceleratable, uint keyval, Gdk.ModifierType modifier);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
- [Version (since = "2.2")]
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", instance_pos = 1.9)]
public delegate int AssistantPageFunc (int current_page);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 6.9)]
- [Version (since = "2.12")]
public delegate void BuilderConnectFunc (Gtk.Builder builder, GLib.Object object, string signal_name, string handler_name, GLib.Object? connect_object, GLib.ConnectFlags flags);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
- [Version (since = "2.14")]
public delegate string? CalendarDetailFunc (Gtk.Calendar calendar, uint year, uint month, uint day);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
public delegate void Callback (Gtk.Widget widget);
@@ -16256,49 +13205,38 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
public delegate void CellLayoutDataFunc (Gtk.CellLayout cell_layout, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
- [Version (since = "3.90")]
public delegate void DrawingAreaDrawFunc (Gtk.DrawingArea drawing_area, Cairo.Context cr, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
public delegate bool EntryCompletionMatchFunc (Gtk.EntryCompletion completion, string key, Gtk.TreeIter iter);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
public delegate bool FileFilterFunc (Gtk.FileFilterInfo filter_info);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
- [Version (since = "3.18")]
public delegate Gtk.Widget FlowBoxCreateWidgetFunc ([CCode (type = "gpointer")] GLib.Object item);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
- [Version (since = "3.12")]
public delegate bool FlowBoxFilterFunc (Gtk.FlowBoxChild child);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
- [Version (since = "3.12")]
public delegate void FlowBoxForeachFunc (Gtk.FlowBox box, Gtk.FlowBoxChild child);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
- [Version (since = "3.12")]
public delegate int FlowBoxSortFunc (Gtk.FlowBoxChild child1, Gtk.FlowBoxChild child2);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
public delegate bool FontFilterFunc (Pango.FontFamily family, Pango.FontFace face);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
public delegate void IconViewForeachFunc (Gtk.IconView icon_view, Gtk.TreePath path);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
- [Version (since = "3.16")]
public delegate Gtk.Widget ListBoxCreateWidgetFunc (GLib.Object item);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
- [Version (since = "3.10")]
public delegate bool ListBoxFilterFunc (Gtk.ListBoxRow row);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
- [Version (since = "3.14")]
public delegate void ListBoxForeachFunc (Gtk.ListBox box, Gtk.ListBoxRow row);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
- [Version (since = "3.10")]
public delegate int ListBoxSortFunc (Gtk.ListBoxRow row1, Gtk.ListBoxRow row2);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
- [Version (since = "3.10")]
public delegate void ListBoxUpdateHeaderFunc (Gtk.ListBoxRow row, Gtk.ListBoxRow? before);
[CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
public delegate void MenuDetachFunc (Gtk.Widget attach_widget, Gtk.Menu menu);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
public delegate void MenuPositionFunc (Gtk.Menu menu, ref int x, ref int y, out bool push_in);
[CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
- [Version (since = "2.2")]
public delegate void ModuleDisplayInitFunc (Gdk.Display display);
[CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
public delegate void ModuleInitFunc ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] string[]? argv);
@@ -16309,15 +13247,10 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
public delegate bool RcPropertyParser (GLib.ParamSpec pspec, GLib.StringBuilder rc_string, GLib.Value property_value);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
- public delegate bool RecentFilterFunc (Gtk.RecentFilterInfo filter_info);
- [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
- public delegate int RecentSortFunc (Gtk.RecentInfo a, Gtk.RecentInfo b);
- [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 delegate void TextTagTableForeach (Gtk.TextTag tag);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
- [Version (since = "3.8")]
public delegate bool TickCallback (Gtk.Widget widget, Gdk.FrameClock frame_clock);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
public delegate void TreeCellDataFunc (Gtk.TreeViewColumn tree_column, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter);
@@ -16350,13 +13283,10 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_INTERFACE_AGE")]
public const int INTERFACE_AGE;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_LEVEL_BAR_OFFSET_FULL")]
- [Version (since = "3.20")]
public const string LEVEL_BAR_OFFSET_FULL;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_LEVEL_BAR_OFFSET_HIGH")]
- [Version (since = "3.6")]
public const string LEVEL_BAR_OFFSET_HIGH;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_LEVEL_BAR_OFFSET_LOW")]
- [Version (since = "3.6")]
public const string LEVEL_BAR_OFFSET_LOW;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_MAJOR_VERSION")]
public const int MAJOR_VERSION;
@@ -16401,12 +13331,10 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_ORIENTATION")]
public const string PRINT_SETTINGS_ORIENTATION;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_BASENAME")]
- [Version (since = "3.6")]
public const string PRINT_SETTINGS_OUTPUT_BASENAME;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_BIN")]
public const string PRINT_SETTINGS_OUTPUT_BIN;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_DIR")]
- [Version (since = "3.6")]
public const string PRINT_SETTINGS_OUTPUT_DIR;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT")]
public const string PRINT_SETTINGS_OUTPUT_FILE_FORMAT;
@@ -16469,14 +13397,12 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CONTEXT_MENU")]
public const string STYLE_CLASS_CONTEXT_MENU;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CSD")]
- [Version (since = "3.14")]
public const string STYLE_CLASS_CSD;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CURSOR_HANDLE")]
public const string STYLE_CLASS_CURSOR_HANDLE;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DEFAULT")]
public const string STYLE_CLASS_DEFAULT;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DESTRUCTIVE_ACTION")]
- [Version (since = "3.12")]
public const string STYLE_CLASS_DESTRUCTIVE_ACTION;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DIM_LABEL")]
public const string STYLE_CLASS_DIM_LABEL;
@@ -16491,7 +13417,6 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_EXPANDER")]
public const string STYLE_CLASS_EXPANDER;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_FLAT")]
- [Version (since = "3.14")]
public const string STYLE_CLASS_FLAT;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_FRAME")]
public const string STYLE_CLASS_FRAME;
@@ -16510,7 +13435,6 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_INSERTION_CURSOR")]
public const string STYLE_CLASS_INSERTION_CURSOR;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LABEL")]
- [Version (since = "3.16")]
public const string STYLE_CLASS_LABEL;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LEFT")]
public const string STYLE_CLASS_LEFT;
@@ -16531,31 +13455,24 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MENUITEM")]
public const string STYLE_CLASS_MENUITEM;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MESSAGE_DIALOG")]
- [Version (since = "3.14")]
public const string STYLE_CLASS_MESSAGE_DIALOG;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MONOSPACE")]
- [Version (since = "3.16")]
public const string STYLE_CLASS_MONOSPACE;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_NEEDS_ATTENTION")]
- [Version (since = "3.12")]
public const string STYLE_CLASS_NEEDS_ATTENTION;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_NOTEBOOK")]
public const string STYLE_CLASS_NOTEBOOK;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_OSD")]
public const string STYLE_CLASS_OSD;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_OVERSHOOT")]
- [Version (since = "3.14")]
public const string STYLE_CLASS_OVERSHOOT;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PANE_SEPARATOR")]
public const string STYLE_CLASS_PANE_SEPARATOR;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PAPER")]
- [Version (since = "3.16")]
public const string STYLE_CLASS_PAPER;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_POPOVER")]
- [Version (since = "3.14")]
public const string STYLE_CLASS_POPOVER;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_POPUP")]
- [Version (since = "3.14")]
public const string STYLE_CLASS_POPUP;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PRIMARY_TOOLBAR")]
public const string STYLE_CLASS_PRIMARY_TOOLBAR;
@@ -16596,16 +13513,12 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SPINNER")]
public const string STYLE_CLASS_SPINNER;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_STATUSBAR")]
- [Version (since = "3.16")]
public const string STYLE_CLASS_STATUSBAR;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SUBTITLE")]
- [Version (since = "3.14")]
public const string STYLE_CLASS_SUBTITLE;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SUGGESTED_ACTION")]
- [Version (since = "3.12")]
public const string STYLE_CLASS_SUGGESTED_ACTION;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TITLE")]
- [Version (since = "3.14")]
public const string STYLE_CLASS_TITLE;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TITLEBAR")]
public const string STYLE_CLASS_TITLEBAR;
@@ -16616,12 +13529,10 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TOP")]
public const string STYLE_CLASS_TOP;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TOUCH_SELECTION")]
- [Version (since = "3.16")]
public const string STYLE_CLASS_TOUCH_SELECTION;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TROUGH")]
public const string STYLE_CLASS_TROUGH;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_UNDERSHOOT")]
- [Version (since = "3.16")]
public const string STYLE_CLASS_UNDERSHOOT;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_VERTICAL")]
public const string STYLE_CLASS_VERTICAL;
@@ -16630,7 +13541,6 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_WARNING")]
public const string STYLE_CLASS_WARNING;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_WIDE")]
- [Version (since = "3.16")]
public const string STYLE_CLASS_WIDE;
[CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BACKGROUND_COLOR")]
public const string STYLE_PROPERTY_BACKGROUND_COLOR;
@@ -16675,20 +13585,16 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static Gdk.ModifierType accelerator_get_default_mod_mask ();
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.6")]
public static string accelerator_get_label (uint accelerator_key, Gdk.ModifierType accelerator_mods);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.4")]
public static string accelerator_get_label_with_keycode (Gdk.Display? display, uint accelerator_key, uint keycode, Gdk.ModifierType accelerator_mods);
[CCode (cheader_filename = "gtk/gtk.h")]
public static string accelerator_name (uint accelerator_key, Gdk.ModifierType accelerator_mods);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.4")]
public static string accelerator_name_with_keycode (Gdk.Display? display, uint accelerator_key, uint keycode, Gdk.ModifierType accelerator_mods);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void accelerator_parse (string accelerator, out uint accelerator_key, out Gdk.ModifierType accelerator_mods);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.4")]
public static void accelerator_parse_with_keycode (string accelerator, out uint accelerator_key, [CCode (array_length = false, array_null_terminated = true)] out uint[] accelerator_codes, out Gdk.ModifierType accelerator_mods);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void accelerator_set_default_mod_mask (Gdk.ModifierType default_mod_mask);
@@ -16697,59 +13603,46 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static bool bindings_activate (GLib.Object object, uint keyval, Gdk.ModifierType modifiers);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.4")]
public static bool bindings_activate_event (GLib.Object object, [CCode (type = "GdkEventKey*")] Gdk.Event event);
[CCode (cheader_filename = "gtk/gtk.h")]
public static unowned string? check_version (uint required_major, uint required_minor, uint required_micro);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.6")]
public static Gdk.ContentFormats content_formats_add_image_targets (Gdk.ContentFormats list, bool writable);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.6")]
public static Gdk.ContentFormats content_formats_add_text_targets (Gdk.ContentFormats list);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.6")]
public static Gdk.ContentFormats content_formats_add_uri_targets (Gdk.ContentFormats list);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.0")]
public static void device_grab_add (Gtk.Widget widget, Gdk.Device device, bool block_others);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.0")]
public static void device_grab_remove (Gtk.Widget widget, Gdk.Device device);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void disable_setlocale ();
[CCode (cheader_filename = "gtk/gtk.h")]
public static int distribute_natural_allocation (int extra_space, uint n_requested_sizes, Gtk.RequestedSize sizes);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.10")]
public static unowned Gdk.DragContext drag_begin_with_coordinates (Gtk.Widget widget, Gdk.Device? device, Gdk.ContentFormats targets, Gdk.DragAction actions, int x, int y);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.16")]
public static void drag_cancel (Gdk.DragContext context);
[CCode (cheader_filename = "gtk/gtk.h")]
public static bool drag_check_threshold (Gtk.Widget widget, int start_x, int start_y, int current_x, int current_y);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.6")]
public static void drag_dest_add_image_targets (Gtk.Widget widget);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.6")]
public static void drag_dest_add_text_targets (Gtk.Widget widget);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.6")]
public static void drag_dest_add_uri_targets (Gtk.Widget widget);
[CCode (cheader_filename = "gtk/gtk.h")]
public static unowned string? drag_dest_find_target (Gtk.Widget widget, Gdk.DragContext context, Gdk.ContentFormats? target_list);
[CCode (cheader_filename = "gtk/gtk.h")]
public static unowned Gdk.ContentFormats? drag_dest_get_target_list (Gtk.Widget widget);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.10")]
public static bool drag_dest_get_track_motion (Gtk.Widget widget);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void drag_dest_set (Gtk.Widget widget, Gtk.DestDefaults flags, Gdk.ContentFormats? targets, Gdk.DragAction actions);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void drag_dest_set_target_list (Gtk.Widget widget, Gdk.ContentFormats? target_list);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.10")]
public static void drag_dest_set_track_motion (Gtk.Widget widget, bool track_motion);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void drag_dest_unset (Gtk.Widget widget);
@@ -16764,10 +13657,8 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static void drag_set_icon_default (Gdk.DragContext context);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.2")]
public static void drag_set_icon_gicon (Gdk.DragContext context, GLib.Icon icon, int hot_x, int hot_y);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.8")]
public static void drag_set_icon_name (Gdk.DragContext context, string icon_name, int hot_x, int hot_y);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void drag_set_icon_surface (Gdk.DragContext context, Cairo.Surface surface);
@@ -16776,30 +13667,22 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static void drag_set_icon_widget (Gdk.DragContext context, Gtk.Widget widget, int hot_x, int hot_y);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.6")]
public static void drag_source_add_image_targets (Gtk.Widget widget);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.6")]
public static void drag_source_add_text_targets (Gtk.Widget widget);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.6")]
public static void drag_source_add_uri_targets (Gtk.Widget widget);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.4")]
public static unowned Gdk.ContentFormats? drag_source_get_target_list (Gtk.Widget widget);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void drag_source_set (Gtk.Widget widget, Gdk.ModifierType start_button_mask, Gdk.ContentFormats? targets, Gdk.DragAction actions);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.2")]
public static void drag_source_set_icon_gicon (Gtk.Widget widget, GLib.Icon icon);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.8")]
public static void drag_source_set_icon_name (Gtk.Widget widget, string icon_name);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.94")]
public static void drag_source_set_icon_surface (Gtk.Widget widget, Cairo.Surface surface);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.4")]
public static void drag_source_set_target_list (Gtk.Widget widget, Gdk.ContentFormats? target_list);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void drag_source_unset (Gtk.Widget widget);
@@ -16808,7 +13691,6 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static bool events_pending ();
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.0")]
public static uint get_binary_age ();
[CCode (cheader_filename = "gtk/gtk.h")]
public static Gdk.Event? get_current_event ();
@@ -16823,27 +13705,20 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static unowned Pango.Language get_default_language ();
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.92")]
public static unowned Gtk.Widget? get_event_target ([CCode (type = "const GdkEvent*")] Gdk.Event event);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.92")]
public static unowned Gtk.Widget? get_event_target_with_type ([CCode (type = "GdkEvent*")] Gdk.Event event, GLib.Type type);
[CCode (cheader_filename = "gtk/gtk.h")]
public static unowned Gtk.Widget? get_event_widget ([CCode (type = "const GdkEvent*")] Gdk.Event event);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.0")]
public static uint get_interface_age ();
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.12")]
public static Gtk.TextDirection get_locale_direction ();
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.0")]
public static uint get_major_version ();
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.0")]
public static uint get_micro_version ();
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.0")]
public static uint get_minor_version ();
[CCode (cheader_filename = "gtk/gtk.h")]
public static void grab_add (Gtk.Widget widget);
@@ -16852,7 +13727,6 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static void grab_remove (Gtk.Widget widget);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.14")]
public static void hsv_to_rgb (double h, double s, double v, out double r, out double g, out double b);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void init ();
@@ -16871,44 +13745,32 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static void main_quit ();
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.10")]
public static Gtk.PageSetup print_run_page_setup_dialog (Gtk.Window? parent, Gtk.PageSetup? page_setup, Gtk.PrintSettings settings);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.10")]
public static void print_run_page_setup_dialog_async (Gtk.Window? parent, Gtk.PageSetup? page_setup, Gtk.PrintSettings settings, [CCode (scope = "async")] Gtk.PageSetupDoneFunc done_cb);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void propagate_event (Gtk.Widget widget, [CCode (type = "GdkEvent*")] Gdk.Event event);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.14")]
public static void rgb_to_hsv (double r, double g, double b, out double h, out double s, out double v);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void set_debug_flags (uint flags);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.6")]
public static void show_about_dialog (Gtk.Window? parent, ...);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.22")]
public static bool show_uri_on_window (Gtk.Window? parent, string uri, uint32 timestamp) throws GLib.Error;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.10")]
public static bool targets_include_image ([CCode (array_length_cname = "n_targets", array_length_pos = 1.5)] Gdk.Atom[] targets, bool writable);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.10")]
public static bool targets_include_text ([CCode (array_length_cname = "n_targets", array_length_pos = 1.1)] Gdk.Atom[] targets);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.10")]
public static bool targets_include_uri ([CCode (array_length_cname = "n_targets", array_length_pos = 1.1)] Gdk.Atom[] targets);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.14")]
public static void test_init ([CCode (array_length_cname = "argcp", array_length_pos = 0.5)] ref unowned string[] argvp, ...);
[CCode (array_length = true, array_length_pos = 0.1, array_length_type = "guint", array_null_terminated = true, cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.14")]
public static unowned GLib.Type[] test_list_all_types ();
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.14")]
public static void test_register_all_types ();
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.10")]
public static void test_widget_wait_for_draw (Gtk.Widget widget);
[CCode (cheader_filename = "gtk/gtk.h")]
public static bool tree_get_row_drag_data (Gtk.SelectionData selection_data, out unowned Gtk.TreeModel? tree_model, out Gtk.TreePath? path);
diff --git a/vapi/metadata/Gdk-4.0.metadata b/vapi/metadata/Gdk-4.0.metadata
index 18ffd126d..03475611f 100644
--- a/vapi/metadata/Gdk-4.0.metadata
+++ b/vapi/metadata/Gdk-4.0.metadata
@@ -64,7 +64,4 @@ EventTouchpadPinch skip
EventTouchpadSwipe skip
FilterFunc.data closure=2
-threads_add_idle skip=false
-threads_add_timeout skip=false
-threads_add_timeout_seconds skip=false
XEvent skip
diff --git a/vapi/metadata/Gtk-4.0.metadata b/vapi/metadata/Gtk-4.0.metadata
index 087b643af..a2575aa06 100644
--- a/vapi/metadata/Gtk-4.0.metadata
+++ b/vapi/metadata/Gtk-4.0.metadata
@@ -42,8 +42,6 @@ TextView
Widget
.compute_expand#virtual_method.* out
.dispatch_child_properties_changed.pspecs array array_length_idx=0
-RecentChooser
- .get_recent_manager skip=false
// Bug #657202: Floating references
FileFilter
@@ -101,9 +99,6 @@ MessageDialog
.format_secondary_markup skip=false printf_format
.format_secondary_text skip=false printf_format
.new_with_markup skip=false printf_format
-RecentChooserDialog
- .new skip=false
- .new_for_manager skip=false
Snapshot
.append* skip=false
.push* skip=false
@@ -205,9 +200,6 @@ CellAreaBox
FileFilter
.get_name name="get_filter_name"
.set_name name="set_filter_name"
-RecentFilter
- .get_name name="get_filter_name"
- .set_name name="set_filter_name"
// Field ownership
RecentData
@@ -218,12 +210,6 @@ ComboBox.active_id nullable
RecentData
.display_name nullable
.description nullable
-RecentFilterInfo
- .uri nullable
- .display_name nullable
- .mime_type nullable
- .applications nullable
- .groups nullable
// Skipped for G-I, but usable from Vala
FlowBox