8.18
top
← prev up next →

Package Management GUI LibrariesπŸ”— i

Matthew Flatt <mflatt@racket-lang.org>,
Jay McCarthy <jay@racket-lang.org>,
and Robert Bruce Findler <robby@racket-lang.org>

The pkg/gui module provides GUI support for package management.

procedure

( make-pkg-gui [ #:wrap-terminal-actionwrap-terminal-action
#:initial-tabinitial-tab])
(is-a?/ctop-level-window<%> )
wrap-terminal-action:(-> (-> any )any )=(λ (t)(t))
initial-tab : (or/c 'by-source'installed'from-list'migrate)
= 'by-source
Opens the package manager GUI starting with the initial-tab selected.

The wrap-terminal-action function is passed a thunk that it is expected to invoke, possibly after redirecting the current-output-port and current-error-port to point to an existing GUI window.

procedure

[ #:parentparent
#:wrap-terminal-actionwrap-terminal-action
#:package-to-offerpackage-to-offer])
(is-a?/ctop-level-window<%> )
parent:(or/c #f(is-a?/ctop-level-window<%> ))=#f
wrap-terminal-action:(-> (-> any )any )=(λ (t)(t))
package-to-offer:(or/c #fstring? )=#f
Opens a specialized version of the make-pkg-gui window that contains only the 'by-source panel.

The wrap-terminal-action function is passed a thunk that it is expected to invoke, possibly after redirecting the current-output-port and current-error-port to point to an existing GUI window.

procedure

( pkg-catalog-update-local/simple-status-dialog [#:parentparent])

void?
parent:(or/c (is-a?/cframe% )(is-a?/cdialog% )#f)=#f
Calls pkg-catalog-update-local with a simple dialog% that shows which catalog servers are being consulted.

top
← prev up next →

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /