/* xapp.vapi generated by vapigen, do not modify. */

[CCode (cprefix = "XApp", gir_namespace = "XApp", gir_version = "1.0", lower_case_cprefix = "xapp__")]
namespace XApp {
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", type_id = "xapp_dark_mode_manager_get_type ()")]
	public class DarkModeManager : GLib.Object {
		[CCode (cname = "xapp_dark_mode_manager_new", has_construct_function = false)]
		[Version (since = "2.6")]
		public DarkModeManager (bool prefer_dark_mode);
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "xapp_favorite_info_get_type ()")]
	[Compact]
	public class FavoriteInfo {
		public weak string cached_mimetype;
		public weak string display_name;
		public weak string uri;
		[CCode (cname = "xapp_favorite_info_copy")]
		public XApp.FavoriteInfo copy ();
		[CCode (cname = "xapp_favorite_info_free")]
		public void free ();
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", type_id = "xapp_favorites_get_type ()")]
	public class Favorites : GLib.Object {
		[CCode (has_construct_function = false)]
		protected Favorites ();
		[CCode (cname = "xapp_favorites_add")]
		[Version (since = "2.0")]
		public void add (string uri);
		[CCode (cname = "xapp_favorites_create_actions")]
		[Version (since = "2.0")]
		public GLib.List<Gtk.Action> create_actions (string? mimetypes);
		[CCode (cname = "xapp_favorites_create_menu")]
		[Version (since = "2.0")]
		public Gtk.Widget create_menu (string? mimetypes, owned XApp.FavoritesItemSelectedCallback callback);
		[CCode (cname = "xapp_favorites_find_by_display_name")]
		[Version (since = "2.0")]
		public unowned XApp.FavoriteInfo find_by_display_name (string display_name);
		[CCode (cname = "xapp_favorites_find_by_uri")]
		[Version (since = "2.0")]
		public unowned XApp.FavoriteInfo find_by_uri (string uri);
		[CCode (cname = "xapp_favorites_get_default")]
		[Version (since = "2.0")]
		public static unowned XApp.Favorites get_default ();
		[CCode (cname = "xapp_favorites_get_favorites")]
		[Version (since = "2.0")]
		public GLib.List<XApp.FavoriteInfo> get_favorites ([CCode (array_length = false, array_null_terminated = true)] string[]? mimetypes);
		[CCode (cname = "xapp_favorites_get_n_favorites")]
		[Version (since = "2.0")]
		public int get_n_favorites ();
		[CCode (cname = "xapp_favorites_launch")]
		[Version (since = "2.0")]
		public void launch (string uri, uint32 timestamp);
		[CCode (cname = "xapp_favorites_remove")]
		[Version (since = "2.0")]
		public void remove (string uri);
		[CCode (cname = "xapp_favorites_rename")]
		[Version (since = "2.0")]
		public void rename (string old_uri, string new_uri);
		public signal void changed ();
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "xapp_gpu_info_get_type ()")]
	[Compact]
	public class GpuInfo {
		public weak string display_name;
		[CCode (array_length = false, array_null_terminated = true)]
		public weak string[] env_strv;
		public int id;
		public bool is_default;
		[CCode (cname = "xapp_gpu_info_get_shell_env_prefix")]
		public string get_shell_env_prefix ();
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", type_id = "xapp_gpu_offload_helper_get_type ()")]
	public class GpuOffloadHelper : GLib.Object {
		[CCode (has_construct_function = false)]
		protected GpuOffloadHelper ();
		[CCode (cname = "xapp_gpu_offload_helper_get")]
		[Version (since = "2.6")]
		public static unowned XApp.GpuOffloadHelper @get ();
		[CCode (cname = "xapp_gpu_offload_helper_get_default_info")]
		[Version (since = "2.6")]
		public unowned XApp.GpuInfo get_default_info ();
		[CCode (cname = "xapp_gpu_offload_helper_get_info_by_id")]
		[Version (since = "2.6")]
		public unowned XApp.GpuInfo get_info_by_id (int id);
		[CCode (cname = "xapp_gpu_offload_helper_get_n_gpus")]
		[Version (since = "2.6")]
		public int get_n_gpus ();
		[CCode (cname = "xapp_gpu_offload_helper_get_offload_infos")]
		[Version (since = "2.6")]
		public GLib.List<weak XApp.GpuInfo> get_offload_infos ();
		[CCode (cname = "xapp_gpu_offload_helper_get_sync")]
		[Version (since = "2.6")]
		public static unowned XApp.GpuOffloadHelper get_sync ();
		[CCode (cname = "xapp_gpu_offload_helper_is_offload_supported")]
		[Version (since = "2.6")]
		public bool is_offload_supported ();
		[CCode (cname = "xapp_gpu_offload_helper_is_ready")]
		[Version (since = "2.6")]
		public bool is_ready ();
		public signal void ready (bool success);
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", type_id = "xapp_gtk_window_get_type ()")]
	public class GtkWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable {
		[CCode (cname = "xapp_gtk_window_new", has_construct_function = false, type = "GtkWidget*")]
		public GtkWindow (Gtk.WindowType type);
		[CCode (cname = "xapp_gtk_window_set_icon_from_file")]
		public void set_icon_from_file (string? file_name) throws GLib.Error;
		[CCode (cname = "xapp_gtk_window_set_icon_name")]
		public void set_icon_name (string? icon_name);
		[CCode (cname = "xapp_gtk_window_set_progress")]
		public void set_progress (int progress);
		[CCode (cname = "xapp_gtk_window_set_progress_pulse")]
		public void set_progress_pulse (bool pulse);
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", type_id = "xapp_icon_chooser_button_get_type ()")]
	public class IconChooserButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
		[CCode (cname = "xapp_icon_chooser_button_new", has_construct_function = false)]
		public IconChooserButton ();
		[CCode (cname = "xapp_icon_chooser_button_get_dialog")]
		public unowned XApp.IconChooserDialog get_dialog ();
		[CCode (cname = "xapp_icon_chooser_button_get_icon")]
		public unowned string get_icon ();
		[CCode (cname = "xapp_icon_chooser_button_set_default_category")]
		public void set_default_category (string? category);
		[CCode (cname = "xapp_icon_chooser_button_set_icon")]
		public void set_icon (string? icon);
		[CCode (cname = "xapp_icon_chooser_button_set_icon_size")]
		public void set_icon_size (Gtk.IconSize icon_size);
		[CCode (cname = "xapp_icon_chooser_button_new_with_size", has_construct_function = false)]
		public IconChooserButton.with_size (Gtk.IconSize icon_size);
		[NoAccessorMethod]
		public string category { owned get; set; }
		[NoAccessorMethod]
		public string icon { owned get; set; }
		[NoAccessorMethod]
		public Gtk.IconSize icon_size { get; set; }
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", type_id = "xapp_icon_chooser_dialog_get_type ()")]
	public class IconChooserDialog : XApp.GtkWindow, Atk.Implementor, Gtk.Buildable {
		[CCode (cname = "xapp_icon_chooser_dialog_new", has_construct_function = false)]
		public IconChooserDialog ();
		[CCode (cname = "xapp_icon_chooser_dialog_add_button")]
		public void add_button (Gtk.Widget button, Gtk.PackType packing, Gtk.ResponseType response_id);
		[CCode (cname = "xapp_icon_chooser_dialog_add_custom_category")]
		public void add_custom_category (string name, owned GLib.List<string> icons);
		[CCode (cname = "xapp_icon_chooser_dialog_get_default_icon")]
		public string get_default_icon ();
		[CCode (cname = "xapp_icon_chooser_dialog_get_icon_string")]
		public string get_icon_string ();
		[CCode (cname = "xapp_icon_chooser_dialog_run")]
		public int run ();
		[CCode (cname = "xapp_icon_chooser_dialog_run_with_category")]
		public int run_with_category (string category);
		[CCode (cname = "xapp_icon_chooser_dialog_run_with_icon")]
		public int run_with_icon (string icon);
		[CCode (cname = "xapp_icon_chooser_dialog_set_default_icon")]
		public void set_default_icon (string icon);
		[NoAccessorMethod]
		public bool allow_paths { get; set; }
		[NoAccessorMethod]
		public string default_icon { owned get; set; }
		[NoAccessorMethod]
		public XApp.IconSize icon_size { get; set; }
		public signal void close ();
		public signal void select ();
	}
	[CCode (cheader_filename = "libxapp/xapp-kbd-layout-controller.h", type_id = "xapp_kbd_layout_controller_get_type ()")]
	public class KbdLayoutController : GLib.Object {
		[CCode (cname = "xapp_kbd_layout_controller_new", has_construct_function = false)]
		public KbdLayoutController ();
		[CCode (array_length = false, array_null_terminated = true, cname = "xapp_kbd_layout_controller_get_all_names")]
		public unowned string[] get_all_names ();
		[CCode (cname = "xapp_kbd_layout_controller_get_current_flag_id")]
		public int get_current_flag_id ();
		[CCode (cname = "xapp_kbd_layout_controller_get_current_group")]
		public uint get_current_group ();
		[CCode (cname = "xapp_kbd_layout_controller_get_current_icon_name")]
		public string get_current_icon_name ();
		[CCode (cname = "xapp_kbd_layout_controller_get_current_name")]
		public string get_current_name ();
		[CCode (cname = "xapp_kbd_layout_controller_get_current_short_group_label")]
		public string get_current_short_group_label ();
		[CCode (cname = "xapp_kbd_layout_controller_get_current_variant_label")]
		public string get_current_variant_label ();
		[CCode (cname = "xapp_kbd_layout_controller_get_enabled")]
		public bool get_enabled ();
		[CCode (cname = "xapp_kbd_layout_controller_get_flag_id_for_group")]
		public int get_flag_id_for_group (uint group);
		[CCode (cname = "xapp_kbd_layout_controller_get_icon_name_for_group")]
		public string get_icon_name_for_group (uint group);
		[CCode (cname = "xapp_kbd_layout_controller_get_short_group_label_for_group")]
		public string get_short_group_label_for_group (uint group);
		[CCode (cname = "xapp_kbd_layout_controller_get_variant_label_for_group")]
		public string get_variant_label_for_group (uint group);
		[CCode (cname = "xapp_kbd_layout_controller_next_group")]
		public void next_group ();
		[CCode (cname = "xapp_kbd_layout_controller_previous_group")]
		public void previous_group ();
		[CCode (cname = "xapp_kbd_layout_controller_render_cairo_subscript")]
		public static void render_cairo_subscript (Cairo.Context cr, double x, double y, double width, double height, int subscript);
		[CCode (cname = "xapp_kbd_layout_controller_set_current_group")]
		public void set_current_group (uint group);
		[NoAccessorMethod]
		public bool enabled { get; }
		public signal void config_changed ();
		public signal void layout_changed (uint object);
	}
	[CCode (cheader_filename = "libxapp/xapp-monitor-blanker.h", type_id = "xapp_monitor_blanker_get_type ()")]
	public class MonitorBlanker : GLib.Object {
		[CCode (cname = "xapp_monitor_blanker_new", has_construct_function = false)]
		public MonitorBlanker ();
		[CCode (cname = "xapp_monitor_blanker_are_monitors_blanked")]
		public bool are_monitors_blanked ();
		[CCode (cname = "xapp_monitor_blanker_blank_other_monitors")]
		public void blank_other_monitors (Gtk.Window window);
		[CCode (cname = "xapp_monitor_blanker_unblank_monitors")]
		public void unblank_monitors ();
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", type_id = "xapp_object_manager_client_get_type ()")]
	public class ObjectManagerClient : GLib.DBusObjectManagerClient, GLib.AsyncInitable, GLib.DBusObjectManager, GLib.Initable {
		[CCode (cname = "xapp_object_manager_client_new", has_construct_function = false)]
		public async ObjectManagerClient (GLib.DBusConnection connection, GLib.DBusObjectManagerClientFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (cname = "xapp_object_manager_client_new_for_bus", has_construct_function = false)]
		public async ObjectManagerClient.for_bus (GLib.BusType bus_type, GLib.DBusObjectManagerClientFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (cname = "xapp_object_manager_client_new_for_bus_sync", has_construct_function = false, type = "GDBusObjectManager*")]
		public ObjectManagerClient.for_bus_sync (GLib.BusType bus_type, GLib.DBusObjectManagerClientFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (cname = "xapp_object_manager_client_get_proxy_type")]
		public static GLib.Type get_proxy_type (GLib.DBusObjectManagerClient manager, string object_path, string? interface_name, void* user_data);
		[CCode (cname = "xapp_object_manager_client_new_sync", has_construct_function = false, type = "GDBusObjectManager*")]
		public ObjectManagerClient.sync (GLib.DBusConnection connection, GLib.DBusObjectManagerClientFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", type_id = "xapp_object_proxy_get_type ()")]
	public class ObjectProxy : GLib.DBusObjectProxy, GLib.DBusObject, XApp.Object {
		[CCode (cname = "xapp_object_proxy_new", has_construct_function = false)]
		public ObjectProxy (GLib.DBusConnection connection, string object_path);
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", type_id = "xapp_object_skeleton_get_type ()")]
	public class ObjectSkeleton : GLib.DBusObjectSkeleton, GLib.DBusObject, XApp.Object {
		[CCode (cname = "xapp_object_skeleton_new", has_construct_function = false)]
		public ObjectSkeleton (string object_path);
		[CCode (cname = "xapp_object_skeleton_set_status_icon_interface")]
		public void set_status_icon_interface (XApp.StatusIconInterface? interface_);
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", type_id = "xapp_preferences_window_get_type ()")]
	public class PreferencesWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable {
		[CCode (cname = "xapp_preferences_window_new", has_construct_function = false)]
		public PreferencesWindow ();
		[CCode (cname = "xapp_preferences_window_add_button")]
		public void add_button (Gtk.Widget button, Gtk.PackType pack_type);
		[CCode (cname = "xapp_preferences_window_add_page")]
		public void add_page (Gtk.Widget widget, string name, string title);
		public virtual signal void close ();
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", type_id = "xapp_stack_sidebar_get_type ()")]
	public class StackSidebar : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
		[CCode (cname = "xapp_stack_sidebar_new", has_construct_function = false)]
		public StackSidebar ();
		[CCode (cname = "xapp_stack_sidebar_get_stack")]
		public unowned Gtk.Stack? get_stack ();
		[CCode (cname = "xapp_stack_sidebar_set_stack")]
		public void set_stack (Gtk.Stack stack);
		[NoAccessorMethod]
		public Gtk.Stack stack { owned get; set; }
	}
	[CCode (cheader_filename = "libxapp/xapp-status-icon.h", type_id = "xapp_status_icon_get_type ()")]
	public class StatusIcon : GLib.Object {
		[CCode (cname = "xapp_status_icon_new", has_construct_function = false)]
		[Version (since = "1.6")]
		public StatusIcon ();
		[CCode (cname = "xapp_status_icon_any_monitors")]
		[Version (since = "1.6")]
		public static bool any_monitors ();
		[CCode (cname = "xapp_status_icon_get_icon_size")]
		[Version (since = "1.8")]
		public int get_icon_size ();
		[CCode (cname = "xapp_status_icon_get_primary_menu")]
		[Version (since = "1.6")]
		public unowned Gtk.Widget get_primary_menu ();
		[CCode (cname = "xapp_status_icon_get_secondary_menu")]
		[Version (since = "1.6")]
		public unowned Gtk.Widget get_secondary_menu ();
		[CCode (cname = "xapp_status_icon_get_state")]
		[Version (since = "1.6")]
		public XApp.StatusIconState get_state ();
		[CCode (cname = "xapp_status_icon_get_visible")]
		[Version (since = "1.8.5")]
		public bool get_visible ();
		[CCode (cname = "xapp_status_icon_popup_menu")]
		[Version (since = "1.8.6")]
		public void popup_menu (Gtk.Menu? menu, int x, int y, uint button, uint _time, int panel_position);
		[CCode (cname = "xapp_status_icon_set_icon_name")]
		[Version (since = "1.6")]
		public void set_icon_name (string icon_name);
		[CCode (cname = "xapp_status_icon_set_label")]
		[Version (since = "1.6")]
		public void set_label (string label);
		[CCode (cname = "xapp_status_icon_set_metadata")]
		[Version (since = "1.8.7")]
		public void set_metadata (string? metadata);
		[CCode (cname = "xapp_status_icon_set_name")]
		[Version (since = "1.6")]
		public void set_name (string name);
		[CCode (cname = "xapp_status_icon_set_primary_menu")]
		[Version (since = "1.6")]
		public void set_primary_menu (Gtk.Menu? menu);
		[CCode (cname = "xapp_status_icon_set_secondary_menu")]
		[Version (since = "1.6")]
		public void set_secondary_menu (Gtk.Menu? menu);
		[CCode (cname = "xapp_status_icon_set_tooltip_text")]
		[Version (since = "1.6")]
		public void set_tooltip_text (string tooltip_text);
		[CCode (cname = "xapp_status_icon_set_visible")]
		[Version (since = "1.6")]
		public void set_visible (bool visible);
		[CCode (cname = "xapp_status_icon_new_with_name", has_construct_function = false)]
		[Version (since = "1.6")]
		public StatusIcon.with_name (string name);
		[NoAccessorMethod]
		public int icon_size { get; set; }
		[NoAccessorMethod]
		public string name { owned get; set construct; }
		[NoAccessorMethod]
		public Gtk.Widget primary_menu { owned get; set; }
		[NoAccessorMethod]
		public Gtk.Widget secondary_menu { owned get; set; }
		public signal void activate (uint button, uint time);
		public signal void button_press_event (int x, int y, uint button, uint time, int panel_position);
		public signal void button_release_event (int x, int y, uint button, uint time, int panel_position);
		public signal void scroll_event (int amount, XApp.ScrollDirection direction, uint time);
		public signal void state_changed (XApp.StatusIconState new_state);
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", type_id = "xapp_status_icon_interface_proxy_get_type ()")]
	public class StatusIconInterfaceProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, XApp.StatusIconInterface {
		[CCode (cname = "xapp_status_icon_interface_proxy_new", has_construct_function = false)]
		public async StatusIconInterfaceProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (cname = "xapp_status_icon_interface_proxy_new_for_bus", has_construct_function = false)]
		public async StatusIconInterfaceProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (cname = "xapp_status_icon_interface_proxy_new_for_bus_sync", has_construct_function = false, type = "XAppStatusIconInterface*")]
		public StatusIconInterfaceProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (cname = "xapp_status_icon_interface_proxy_new_sync", has_construct_function = false, type = "XAppStatusIconInterface*")]
		public StatusIconInterfaceProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", type_id = "xapp_status_icon_interface_skeleton_get_type ()")]
	public class StatusIconInterfaceSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, XApp.StatusIconInterface {
		[CCode (cname = "xapp_status_icon_interface_skeleton_new", has_construct_function = false, type = "XAppStatusIconInterface*")]
		public StatusIconInterfaceSkeleton ();
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", type_id = "xapp_status_icon_monitor_get_type ()")]
	public class StatusIconMonitor : GLib.Object {
		[CCode (cname = "xapp_status_icon_monitor_new", has_construct_function = false)]
		[Version (since = "1.6")]
		public StatusIconMonitor ();
		[CCode (cname = "xapp_status_icon_monitor_list_icons")]
		[Version (since = "1.6")]
		public GLib.List<weak XApp.StatusIconMonitor> list_icons ();
		public signal void icon_added (XApp.StatusIconInterfaceProxy proxy);
		public signal void icon_removed (XApp.StatusIconInterfaceProxy proxy);
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", type_id = "xapp_style_manager_get_type ()")]
	public class StyleManager : GLib.Object {
		[CCode (cname = "xapp_style_manager_new", has_construct_function = false)]
		[Version (since = "2.2")]
		public StyleManager ();
		[CCode (cname = "xapp_style_manager_get_widget")]
		[Version (since = "2.2")]
		public unowned Gtk.Widget get_widget ();
		[CCode (cname = "xapp_style_manager_remove_style_property")]
		[Version (since = "2.2")]
		public void remove_style_property (string name);
		[CCode (cname = "xapp_style_manager_set_from_pango_font_string")]
		[Version (since = "2.2")]
		public void set_from_pango_font_string (string desc_string);
		[CCode (cname = "xapp_style_manager_set_style_property")]
		[Version (since = "2.2")]
		public void set_style_property (string name, string value);
		[CCode (cname = "xapp_style_manager_set_widget")]
		[Version (since = "2.2")]
		public void set_widget (Gtk.Widget widget);
		[NoAccessorMethod]
		public Gtk.Widget widget { owned get; set; }
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", type_id = "xapp_switcheroo_control_proxy_get_type ()")]
	public class SwitcherooControlProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, XApp.SwitcherooControl {
		[CCode (cname = "xapp_switcheroo_control_proxy_new", has_construct_function = false)]
		public async SwitcherooControlProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (cname = "xapp_switcheroo_control_proxy_new_for_bus", has_construct_function = false)]
		public async SwitcherooControlProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (cname = "xapp_switcheroo_control_proxy_new_for_bus_sync", has_construct_function = false, type = "XAppSwitcherooControl*")]
		public SwitcherooControlProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (cname = "xapp_switcheroo_control_proxy_new_sync", has_construct_function = false, type = "XAppSwitcherooControl*")]
		public SwitcherooControlProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", type_id = "xapp_switcheroo_control_skeleton_get_type ()")]
	public class SwitcherooControlSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, XApp.SwitcherooControl {
		[CCode (cname = "xapp_switcheroo_control_skeleton_new", has_construct_function = false, type = "XAppSwitcherooControl*")]
		public SwitcherooControlSkeleton ();
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "xapp_visibility_group_get_type ()")]
	[Compact]
	public class VisibilityGroup {
		public bool sensitive;
		public bool visible;
		public weak GLib.SList<Gtk.Widget> widgets;
		[CCode (cname = "xapp_visibility_group_new", has_construct_function = false)]
		[Version (since = "2.2.15")]
		public VisibilityGroup (bool visible, bool sensitive, GLib.SList<Gtk.Widget>? widgets);
		[CCode (cname = "xapp_visibility_group_add_widget")]
		[Version (since = "2.2.15")]
		public void add_widget (Gtk.Widget widget);
		[CCode (cname = "xapp_visibility_group_free")]
		public void free ();
		[CCode (cname = "xapp_visibility_group_get_sensitive")]
		[Version (since = "2.2.15")]
		public bool get_sensitive ();
		[CCode (cname = "xapp_visibility_group_get_visible")]
		[Version (since = "2.2.15")]
		public bool get_visible ();
		[CCode (cname = "xapp_visibility_group_get_widgets")]
		[Version (since = "2.2.15")]
		public unowned GLib.SList<Gtk.Widget> get_widgets ();
		[CCode (cname = "xapp_visibility_group_hide")]
		[Version (since = "2.2.15")]
		public void hide ();
		[CCode (cname = "xapp_visibility_group_remove_widget")]
		[Version (since = "2.2.15")]
		public bool remove_widget (Gtk.Widget widget);
		[CCode (cname = "xapp_visibility_group_set_sensitive")]
		[Version (since = "2.2.15")]
		public void set_sensitive (bool sensitive);
		[CCode (cname = "xapp_visibility_group_set_visible")]
		[Version (since = "2.2.15")]
		public void set_visible (bool visible);
		[CCode (cname = "xapp_visibility_group_set_widgets")]
		[Version (since = "2.2.15")]
		public void set_widgets (GLib.SList<Gtk.Widget>? widgets);
		[CCode (cname = "xapp_visibility_group_show")]
		[Version (since = "2.2.15")]
		public void show ();
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", type_id = "xapp_object_get_type ()")]
	public interface Object : GLib.DBusObject, GLib.Object {
		[CCode (cname = "xapp_object_get_status_icon_interface")]
		public XApp.StatusIconInterface? get_status_icon_interface ();
		[NoAccessorMethod]
		public abstract XApp.StatusIconInterface status_icon_interface { owned get; set; }
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", type_id = "xapp_status_icon_interface_get_type ()")]
	public interface StatusIconInterface : GLib.Object {
		[CCode (cname = "xapp_status_icon_interface_call_button_press")]
		public async bool call_button_press (int arg_x, int arg_y, uint arg_button, uint arg_time, int arg_panel_position, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (cname = "xapp_status_icon_interface_call_button_press_sync")]
		public bool call_button_press_sync (int arg_x, int arg_y, uint arg_button, uint arg_time, int arg_panel_position, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (cname = "xapp_status_icon_interface_call_button_release")]
		public async bool call_button_release (int arg_x, int arg_y, uint arg_button, uint arg_time, int arg_panel_position, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (cname = "xapp_status_icon_interface_call_button_release_sync")]
		public bool call_button_release_sync (int arg_x, int arg_y, uint arg_button, uint arg_time, int arg_panel_position, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (cname = "xapp_status_icon_interface_call_scroll")]
		public async bool call_scroll (int arg_delta, int arg_orientation, uint arg_time, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (cname = "xapp_status_icon_interface_call_scroll_sync")]
		public bool call_scroll_sync (int arg_delta, int arg_orientation, uint arg_time, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (cname = "xapp_status_icon_interface_complete_button_press")]
		public void complete_button_press (owned GLib.DBusMethodInvocation invocation);
		[CCode (cname = "xapp_status_icon_interface_complete_button_release")]
		public void complete_button_release (owned GLib.DBusMethodInvocation invocation);
		[CCode (cname = "xapp_status_icon_interface_complete_scroll")]
		public void complete_scroll (owned GLib.DBusMethodInvocation invocation);
		[CCode (cname = "xapp_status_icon_interface_interface_info")]
		public static unowned GLib.DBusInterfaceInfo interface_info ();
		[CCode (cname = "xapp_status_icon_interface_override_properties")]
		public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
		[NoAccessorMethod]
		public abstract string icon_name { owned get; set; }
		[NoAccessorMethod]
		public abstract int icon_size { get; set; }
		[NoAccessorMethod]
		public abstract string label { owned get; set; }
		[NoAccessorMethod]
		public abstract string metadata { owned get; set; }
		[NoAccessorMethod]
		public abstract string name { owned get; set; }
		[NoAccessorMethod]
		public abstract bool primary_menu_is_open { get; set; }
		[NoAccessorMethod]
		public abstract bool secondary_menu_is_open { get; set; }
		[NoAccessorMethod]
		public abstract string tooltip_text { owned get; set; }
		[NoAccessorMethod]
		public abstract bool visible { get; set; }
		public virtual signal bool handle_button_press (GLib.DBusMethodInvocation invocation, int arg_x, int arg_y, uint arg_button, uint arg_time, int arg_panel_position);
		public virtual signal bool handle_button_release (GLib.DBusMethodInvocation invocation, int arg_x, int arg_y, uint arg_button, uint arg_time, int arg_panel_position);
		public virtual signal bool handle_scroll (GLib.DBusMethodInvocation invocation, int arg_delta, int arg_orientation, uint arg_time);
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", type_id = "xapp_switcheroo_control_get_type ()")]
	public interface SwitcherooControl : GLib.Object {
		[CCode (cname = "xapp_switcheroo_control_interface_info")]
		public static unowned GLib.DBusInterfaceInfo interface_info ();
		[CCode (cname = "xapp_switcheroo_control_override_properties")]
		public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
		[NoAccessorMethod]
		public abstract GLib.Variant gpus { owned get; set; }
		[NoAccessorMethod]
		public abstract bool has_dual_gpu { get; set; }
		[NoAccessorMethod]
		public abstract uint num_gpus { get; set; }
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cprefix = "XAPP_ICON_SIZE_", type_id = "xapp_icon_size_get_type ()")]
	public enum IconSize {
		@16,
		@22,
		@24,
		@32,
		@48,
		@96
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cprefix = "XAPP_SCROLL_", type_id = "xapp_scroll_direction_get_type ()")]
	public enum ScrollDirection {
		UP,
		DOWN,
		LEFT,
		RIGHT
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cprefix = "XAPP_STATUS_ICON_STATE_", type_id = "xapp_status_icon_state_get_type ()")]
	public enum StatusIconState {
		NATIVE,
		FALLBACK,
		NO_SUPPORT
	}
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", instance_pos = 2.9)]
	public delegate void FavoritesItemSelectedCallback (XApp.Favorites favorites, string uri);
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_get_tmp_dir")]
	[Version (since = "2.2.16")]
	public static unowned string get_tmp_dir ();
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_pango_font_string_to_css")]
	[Version (since = "2.2")]
	public static string pango_font_string_to_css (string pango_font_string);
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_window_icon_from_file")]
	public static void set_window_icon_from_file (Gtk.Window window, string? file_name) throws GLib.Error;
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_window_icon_name")]
	public static void set_window_icon_name (Gtk.Window window, string? icon_name);
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_window_progress")]
	public static void set_window_progress (Gtk.Window window, int progress);
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_window_progress_pulse")]
	public static void set_window_progress_pulse (Gtk.Window window, bool pulse);
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_xid_icon_from_file")]
	public static void set_xid_icon_from_file (ulong xid, string? file_name);
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_xid_icon_name")]
	public static void set_xid_icon_name (ulong xid, string? icon_name);
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_xid_progress")]
	public static void set_xid_progress (ulong xid, int progress);
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_xid_progress_pulse")]
	public static void set_xid_progress_pulse (ulong xid, bool pulse);
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_status_icon_interface_interface_info")]
	[Version (replacement = "StatusIconInterface.interface_info")]
	public static unowned GLib.DBusInterfaceInfo status_icon_interface_interface_info ();
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_status_icon_interface_override_properties")]
	[Version (replacement = "StatusIconInterface.override_properties")]
	public static uint status_icon_interface_override_properties (GLib.ObjectClass klass, uint property_id_begin);
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_switcheroo_control_interface_info")]
	[Version (replacement = "SwitcherooControl.interface_info")]
	public static unowned GLib.DBusInterfaceInfo switcheroo_control_interface_info ();
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_switcheroo_control_override_properties")]
	[Version (replacement = "SwitcherooControl.override_properties")]
	public static uint switcheroo_control_override_properties (GLib.ObjectClass klass, uint property_id_begin);
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_util_get_session_is_running")]
	[Version (since = "2.0")]
	public static bool util_get_session_is_running ();
	[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_util_gpu_offload_supported")]
	[Version (since = "1.8")]
	public static bool util_gpu_offload_supported ();
}
