central::extras(n) 1.0b1 central::extras "Central Extras"

Name

central::extras - Central Extras

Table Of Contents

Synopsis

  • package require Tcl 8.6
  • package require Tk 8.6
  • package require central::extras ?1.0b1?

Description

Central Extras provides functionality that may be used in programs to display Central package info.

COMMANDS

central textDump ?myPackages?

Returns a formatted text dump of discovered packages. If ?myPackages? is not provided then any packages previously discovered with central discover will be used.

central packages->textWidget window ?headingtag? ?myPackages?

If ?myPackages? is not provided then [central discover] packages will be used. The ?headingtags? option does nothing and will be removed in the next version if it continues to do nothing.

central CentralPackageBrowser new window ?toolkit?

A Tcl OO class providing a GUI package browser.

EXAMPLES

	# Dump to text widget:
	package require Tk
	grid [text .t]
	package require central::extras
	namespace import central::central
	central discover
	central packages->textWidget .t
	# Using the CentralPackageBrowser object:
	package require Tk
	package require central::extras
	namespace import central::central
	central CentralPackageBrowser new .

See Also

central

Keywords

GUI, central, pkgconfig

Category

Programming tools