Hoogle Search
Within LTS Haskell 24.42 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
PlacesSidebar :: ManagedPtr PlacesSidebar -> PlacesSidebargi-gtk3 GI.Gtk.Objects.PlacesSidebar No documentation available.
type
PlacesSidebarDragActionAskCallback = Int32 -> IO Int32gi-gtk3 GI.Gtk.Objects.PlacesSidebar The places sidebar emits this signal when it needs to ask the application to pop up a menu to ask the user for which drag action to perform. Since: 3.10
type
PlacesSidebarDragActionRequestedCallback = DragContext -> File -> [File] -> IO Int32gi-gtk3 GI.Gtk.Objects.PlacesSidebar When the user starts a drag-and-drop operation and the sidebar needs to ask the application for which drag action to perform, then the sidebar will emit this signal. The application can evaluate the context for customary actions, or it can check the type of the files indicated by sourceFileList against the possible actions for the destination destFile. The drag action to use must be the return value of the signal handler. Since: 3.10
type
PlacesSidebarDragPerformDropCallback = File -> [File] -> Int32 -> IO ()gi-gtk3 GI.Gtk.Objects.PlacesSidebar The places sidebar emits this signal when the user completes a drag-and-drop operation and one of the sidebar's items is the destination. This item is in the destFile, and the sourceFileList has the list of files that are dropped into it and which should be copied/moved/etc. based on the specified action. Since: 3.10
type
PlacesSidebarMountCallback = MountOperation -> IO ()gi-gtk3 GI.Gtk.Objects.PlacesSidebar The places sidebar emits this signal when it starts a new operation because the user clicked on some location that needs mounting. In this way the application using the PlacesSidebar can track the progress of the operation and, for example, show a notification. Since: 3.20
type
PlacesSidebarOpenLocationCallback = File -> [PlacesOpenFlags] -> IO ()gi-gtk3 GI.Gtk.Objects.PlacesSidebar The places sidebar emits this signal when the user selects a location in it. The calling application should display the contents of that location; for example, a file manager should show a list of files in the specified location. Since: 3.10
type
PlacesSidebarPopulatePopupCallback = Widget -> Maybe File -> Maybe Volume -> IO ()gi-gtk3 GI.Gtk.Objects.PlacesSidebar The places sidebar emits this signal when the user invokes a contextual popup on one of its items. In the signal handler, the application may add extra items to the menu as appropriate. For example, a file manager may want to add a "Properties" command to the menu. It is not necessary to store the selectedItem for each menu item; during their callbacks, the application can use placesSidebarGetLocation to get the file to which the item refers. The selectedItem argument may be Nothing in case the selection refers to a volume. In this case, selectedVolume will be non-Nothing. In this case, the calling application will have to objectRef the selectedVolume and keep it around to use it in the callback. The container and all its contents are destroyed after the user dismisses the popup. The popup is re-created (and thus, this signal is emitted) every time the user activates the contextual menu. Before 3.18, the container always was a Menu, and you were expected to add your items as GtkMenuItems. Since 3.18, the popup may be implemented as a Popover, in which case container will be something else, e.g. a Box, to which you may add GtkModelButtons or other widgets, such as GtkEntries, GtkSpinButtons, etc. If your application can deal with this situation, you can set PlacesSidebar::populate-all to True to request that this signal is emitted for populating popovers as well. Since: 3.10
type
PlacesSidebarShowConnectToServerCallback = IO ()gi-gtk3 GI.Gtk.Objects.PlacesSidebar Deprecated: (Since version 3.18)use the PlacesSidebar::showOtherLocations signalto connect to network servers.
type
PlacesSidebarShowEnterLocationCallback = IO ()gi-gtk3 GI.Gtk.Objects.PlacesSidebar The places sidebar emits this signal when it needs the calling application to present an way to directly enter a location. For example, the application may bring up a dialog box asking for a URL like "http://http.example.com". Since: 3.14
type
PlacesSidebarShowErrorMessageCallback = Text -> Text -> IO ()gi-gtk3 GI.Gtk.Objects.PlacesSidebar The places sidebar emits this signal when it needs the calling application to present an error message. Most of these messages refer to mounting or unmounting media, for example, when a drive cannot be started for some reason. Since: 3.10