Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setAllowedBackends :: (HasCallStack, MonadIO m) => Text -> m ()gi-gdk3 GI.Gdk.Functions Sets a list of backends that GDK should try to use. This can be be useful if your application does not work with certain GDK backends. By default, GDK tries all included backends. For example,
C code
gdk_set_allowed_backends ("wayland,quartz,*");instructs GDK to try the Wayland backend first, followed by the Quartz backend, and then all others. If the GDK_BACKEND environment variable is set, it determines what backends are tried in what order, while still respecting the set of allowed backends that are specified by this function. The possible backend names are x11, win32, quartz, broadway, wayland. You can also include a * in the list to try all remaining backends. This call must happen prior to displayOpen, gtk_init(), gtk_init_with_args() or gtk_init_check() in order to take effect. Since: 3.10type
DeviceChangedCallback = IO ()gi-gdk3 GI.Gdk.Objects.Device The changed signal is emitted either when the Device has changed the number of either axes or keys. For example In X this will normally happen when the slave device routing events through the master device changes (for example, user switches from the USB mouse to a tablet), in that case the master device will change to reflect the new slave device axes and keys.
type
DeviceToolChangedCallback = DeviceTool -> IO ()gi-gdk3 GI.Gdk.Objects.Device The toolChanged signal is emitted on pen/eraser GdkDevices whenever tools enter or leave proximity. Since: 3.22
type
DeviceManagerDeviceAddedCallback = Device -> IO ()gi-gdk3 GI.Gdk.Objects.DeviceManager The deviceAdded signal is emitted either when a new master pointer is created, or when a slave (Hardware) input device is plugged in.
type
DeviceManagerDeviceChangedCallback = Device -> IO ()gi-gdk3 GI.Gdk.Objects.DeviceManager The deviceChanged signal is emitted whenever a device has changed in the hierarchy, either slave devices being disconnected from their master device or connected to another one, or master devices being added or removed a slave device. If a slave device is detached from all master devices (deviceGetAssociatedDevice returns Nothing), its DeviceType will change to DeviceTypeFloating, if it's attached, it will change to DeviceTypeSlave.
type
DeviceManagerDeviceRemovedCallback = Device -> IO ()gi-gdk3 GI.Gdk.Objects.DeviceManager The deviceRemoved signal is emitted either when a master pointer is removed, or when a slave (Hardware) input device is unplugged.
type
DisplayClosedCallback = Bool -> IO ()gi-gdk3 GI.Gdk.Objects.Display The closed signal is emitted when the connection to the windowing system for display is closed. Since: 2.2
type
DisplayMonitorAddedCallback = Monitor -> IO ()gi-gdk3 GI.Gdk.Objects.Display The monitorAdded signal is emitted whenever a monitor is added. Since: 3.22
type
DisplayMonitorRemovedCallback = Monitor -> IO ()gi-gdk3 GI.Gdk.Objects.Display The monitorRemoved signal is emitted whenever a monitor is removed. Since: 3.22
type
DisplayOpenedCallback = IO ()gi-gdk3 GI.Gdk.Objects.Display The opened signal is emitted when the connection to the windowing system for display is opened.