/* libxfce4ui-2.vapi generated by vapigen-0.56, do not modify. */

[CCode (cprefix = "Xfce", gir_namespace = "Libxfce4ui", gir_version = "2.0", lower_case_cprefix = "xfce_")]
namespace Xfce {
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h", type_id = "xfce_filename_input_get_type ()")]
	public class FilenameInput : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
		[CCode (has_construct_function = false)]
		protected FilenameInput ();
		[Version (since = "4.16")]
		public void check ();
		[Version (since = "4.16")]
		public static void desensitise_widget (Gtk.Widget widget);
		[Version (since = "4.16")]
		public unowned Gtk.Entry get_entry ();
		[Version (since = "4.16")]
		public unowned string get_text ();
		[Version (since = "4.16")]
		public static void sensitise_widget (Gtk.Widget widget);
		[NoAccessorMethod]
		[Version (since = "4.16")]
		public int max_text_length { construct; }
		[NoAccessorMethod]
		[Version (since = "4.16")]
		public string original_filename { construct; }
		[Version (since = "4.16")]
		public signal void text_invalid ();
		[Version (since = "4.16")]
		public signal void text_valid ();
	}
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h", type_id = "xfce_screensaver_get_type ()")]
	public class ScreenSaver : Xfce.Screensaver {
		[CCode (has_construct_function = false)]
		protected ScreenSaver ();
	}
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h", type_id = "xfce_screensaver_get_type ()")]
	public class Screensaver : GLib.Object {
		[CCode (has_construct_function = false)]
		[Version (since = "4.18.2")]
		public Screensaver ();
		[Version (since = "4.18.2")]
		public void inhibit (bool inhibit);
		[Version (since = "4.18.2")]
		public bool @lock ();
		[NoAccessorMethod]
		public string heartbeat_command { owned get; set construct; }
		[NoAccessorMethod]
		public string lock_command { owned get; set construct; }
		[NoAccessorMethod]
		public bool lock_on_sleep { get; set construct; }
	}
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h", type_id = "xfce_titled_dialog_get_type ()")]
	public class TitledDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
		[CCode (has_construct_function = false, type = "GtkWidget*")]
		public TitledDialog ();
		[Version (since = "4.16")]
		public void add_action_widget (Gtk.Widget child, int response_id);
		[Version (since = "4.16")]
		public unowned Gtk.Widget add_button (string button_text, int response_id);
		[Version (deprecated = true, deprecated_since = "4.19.3", since = "4.16")]
		public void create_action_area ();
		public unowned string get_subtitle ();
		[Version (since = "4.16")]
		public void set_default_response (int response_id);
		public void set_subtitle (string? subtitle);
		[CCode (has_construct_function = false, type = "GtkWidget*")]
		[Version (deprecated = true, deprecated_since = "4.16")]
		public TitledDialog.with_buttons (string? title, Gtk.Window? parent, Gtk.DialogFlags flags, ...);
		[CCode (has_construct_function = false, type = "GtkWidget*")]
		[Version (since = "4.14")]
		public TitledDialog.with_mixed_buttons (string? title, Gtk.Window? parent, Gtk.DialogFlags flags, string first_button_icon_name, ...);
		public string subtitle { get; set; }
	}
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h", has_type_id = false)]
	public struct GtkActionEntry {
		public uint id;
		public weak string accel_path;
		public weak string default_accelerator;
		public Xfce.GtkMenuItem menu_item_type;
		public weak string menu_item_label_text;
		public weak string menu_item_tooltip_text;
		public weak string menu_item_icon_name;
		public weak GLib.Callback callback;
	}
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h", cprefix = "XFCE_GTK_", has_type_id = false)]
	public enum GtkMenuItem {
		MENU_ITEM,
		IMAGE_MENU_ITEM,
		CHECK_MENU_ITEM,
		RADIO_MENU_ITEM;
		[Version (since = "4.16")]
		public static unowned Gtk.Widget @new (string label_text, string? tooltip_text, string? accel_path, GLib.Callback? callback, GLib.Object? callback_param, Gtk.MenuShell? menu_to_append_item);
		[Version (since = "4.16")]
		public static unowned Gtk.Widget? new_from_action_entry (Xfce.GtkActionEntry action_entry, GLib.Object? callback_param, Gtk.MenuShell? menu_to_append_item);
		[Version (since = "4.16")]
		public static void set_accel_label (Gtk.MenuItem menu_item, string? accel_path);
	}
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h", cprefix = "XFCE_SM_CLIENT_PRIORITY_", has_type_id = false)]
	public enum SMClientPriority {
		HIGHEST,
		WM,
		CORE,
		DESKTOP,
		DEFAULT,
		LOWEST
	}
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h", cprefix = "XFCE_SM_CLIENT_RESTART_", has_type_id = false)]
	public enum SMClientRestartStyle {
		NORMAL,
		IMMEDIATELY
	}
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h", cprefix = "XFCE_SM_CLIENT_SHUTDOWN_HINT_", has_type_id = false)]
	public enum SMClientShutdownHint {
		ASK,
		LOGOUT,
		HALT,
		REBOOT
	}
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h", cname = "XfceSmCLientErrorEnum", cprefix = "XFCE_SM_CLIENT_ERROR_", has_type_id = false)]
	[GIR (name = "SmCLientErrorEnum")]
	public enum SmCLientError {
		FAILED,
		INVALID_CLIENT
	}
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h", cname = "XFCE_BUTTON_TYPE_MIXED")]
	public const string BUTTON_TYPE_MIXED;
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h", cname = "XFCE_BUTTON_TYPE_PIXBUF")]
	public const string BUTTON_TYPE_PIXBUF;
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	public static bool dialog_confirm (Gtk.Window? parent, string stock_id, string? confirm_label, string? secondary_text, string? primary_format, ...);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.16")]
	public static int dialog_confirm_close_tabs (Gtk.Window? parent, int num_tabs, bool show_confirm_box, bool? confirm_box_checked);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	public static void dialog_show_error (Gtk.Window? parent, GLib.Error? error, string primary_format, ...);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.10")]
	public static void dialog_show_help (Gtk.Window? parent, string? component, string? page, string? offset);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.12")]
	public static void dialog_show_help_with_version (Gtk.Window? parent, string? component, string? page, string? offset, string? version);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	public static void dialog_show_info (Gtk.Window? parent, string? secondary_text, string primary_format, ...);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	public static void dialog_show_warning (Gtk.Window? parent, string? secondary_text, string primary_format, ...);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.18")]
	public static bool gdk_device_grab (Gdk.Seat seat, Gdk.Window window, Gdk.SeatCapabilities capabilities, Gdk.Cursor? cursor);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	public static unowned Gdk.Screen gdk_screen_get_active (out int monitor_return);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.14")]
	public static Gdk.Rectangle? gdk_screen_get_geometry ();
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.16")]
	public static GLib.Icon gicon_from_name (string name);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.16")]
	public static void gtk_accel_group_connect_action_entries (Gtk.AccelGroup accel_group, Xfce.GtkActionEntry action_entries, uint n_action_entries, void* callback_data);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.16")]
	public static void gtk_accel_group_disconnect_action_entries (Gtk.AccelGroup accel_group, Xfce.GtkActionEntry action_entries, uint n_action_entries);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.16")]
	public static void gtk_accel_map_add_entries (Xfce.GtkActionEntry action_entries, uint n_action_entries);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	public static unowned Gtk.Widget gtk_button_new_mixed (string? stock_id, string? label);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.16")]
	public static unowned Gtk.Widget gtk_check_menu_item_new (string label_text, string? tooltip_text, string? accel_path, GLib.Callback? callback, GLib.Object? callback_param, bool active, Gtk.MenuShell? menu_to_append_item);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	public static bool gtk_execute_tab_accel (string accel_path, void* data, Xfce.GtkActionEntry entries, size_t entry_count);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	public static unowned Gtk.Widget gtk_frame_box_new (string label, out Gtk.Widget? container_return);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	public static unowned Gtk.Widget gtk_frame_box_new_with_content (string label, Gtk.Widget content);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.16")]
	public static unowned Xfce.GtkActionEntry? gtk_get_action_entry_by_id (Xfce.GtkActionEntry action_entries, uint n_action_entries, uint id);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	public static bool gtk_handle_tab_accels (Gdk.EventKey key_event, Gtk.AccelGroup accel_group, void* data, Xfce.GtkActionEntry entries, size_t entry_count);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.16")]
	public static unowned Gtk.Widget gtk_image_menu_item_new (string label_text, string? tooltip_text, string? accel_path, GLib.Callback? callback, GLib.Object? callback_param, Gtk.Widget? image, Gtk.MenuShell? menu_to_append_item);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.16")]
	public static unowned Gtk.Widget gtk_image_menu_item_new_from_icon_name (string label_text, string? tooltip_text, string? accel_path, GLib.Callback? callback, GLib.Object? callback_param, string? icon_name, Gtk.MenuShell? menu_to_append_item);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	public static void gtk_label_set_a11y_relation (Gtk.Label label, Gtk.Widget widget);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.16")]
	public static void gtk_menu_append_separator (Gtk.MenuShell menu);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (deprecated = true, deprecated_since = "4.19.1", since = "4.16")]
	public static void gtk_menu_append_seperator (Gtk.MenuShell menu);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.14")]
	public static bool gtk_menu_popup_until_mapped (Gtk.Menu menu, Gtk.Widget? parent_menu_shell, Gtk.Widget? parent_menu_item, [CCode (delegate_target_pos = 4.5)] Gtk.MenuPositionFunc? func, uint button, uint32 activate_time);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.16")]
	public static unowned Gtk.Widget gtk_radio_menu_item_new (string label_text, string? tooltip_text, string? accel_path, GLib.Callback? callback, GLib.Object? callback_param, bool active, Gtk.MenuShell? menu_to_append_item);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.16")]
	public static unowned Gtk.Widget? gtk_toggle_menu_item_new_from_action_entry (Xfce.GtkActionEntry action_entry, GLib.Object? callback_param, bool active, Gtk.MenuShell? menu_to_append_item);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.17.6")]
	public static unowned Gtk.Widget gtk_toggle_tool_button_new_from_action_entry (Xfce.GtkActionEntry action_entry, GLib.Object? callback_param, bool active, Gtk.Toolbar toolbar_to_append_item);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.16")]
	public static unowned Gtk.Widget gtk_tool_button_new_from_action_entry (Xfce.GtkActionEntry action_entry, GLib.Object? callback_param, Gtk.Toolbar toolbar_to_append_item);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.16")]
	public static void gtk_translate_action_entries (Xfce.GtkActionEntry action_entries, uint n_action_entries);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	public static void gtk_window_center_on_active_screen (Gtk.Window window);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.16")]
	public static bool has_gtk_frame_extents (Gdk.Window window, Gtk.Border extents);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.16")]
	public static string icon_name_from_desktop_id (string desktop_id);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	public static int message_dialog (Gtk.Window? parent, string? title, string stock_id, string primary_text, string secondary_text, ...);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	public static unowned Gtk.Widget message_dialog_new (Gtk.Window? parent, string? title, string stock_id, string primary_text, string secondary_text, ...);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	public static unowned Gtk.Widget message_dialog_new_valist (Gtk.Window? parent, string? title, string icon_stock_id, string primary_text, string secondary_text, string first_button_text, va_list args);
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.16")]
	public static bool spawn (Gdk.Screen? screen, string? working_directory, string argv, string? envp, GLib.SpawnFlags flags, bool startup_notify, uint32 startup_timestamp, string? startup_icon_name, bool child_process) throws GLib.Error;
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.16")]
	public static bool spawn_command_line (Gdk.Screen? screen, string command_line, bool in_terminal, bool startup_notify, bool child_process) throws GLib.Error;
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (deprecated = true, deprecated_since = "4.16")]
	public static bool spawn_command_line_on_screen (Gdk.Screen? screen, string command_line, bool in_terminal, bool startup_notify) throws GLib.Error;
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (deprecated = true, deprecated_since = "4.16")]
	public static bool spawn_on_screen (Gdk.Screen? screen, string? working_directory, string argv, string? envp, GLib.SpawnFlags flags, bool startup_notify, uint32 startup_timestamp, string? startup_icon_name) throws GLib.Error;
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	public static bool spawn_on_screen_with_child_watch (Gdk.Screen? screen, string? working_directory, string argv, string? envp, GLib.SpawnFlags flags, bool startup_notify, uint32 startup_timestamp, string? startup_icon_name, GLib.Closure? child_watch_closure) throws GLib.Error;
	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
	[Version (since = "4.14")]
	public static bool widget_reparent (Gtk.Widget widget, Gtk.Widget new_parent);
}
