[ Main Table Of Contents | Table Of Contents | Keyword Index ]

famfamfam::flags(n) 1.0.1 doc "FamFamFam Icon Sets For Tcl"

Name

famfamfam::flags - FamFamFam Flags Icon Set

Table Of Contents

Synopsis

  • package require Tk 8.5
  • package require Tcl 8.5
  • package require img::png
  • package require famfamfam ?1.1?
  • package require famfamfam::flags ?1?

Description

Welcome to famfamfam, a set of packages providing access to the same-named icon sets created by Mark James, at http://www.famfamfam.com/lab/icons/

This package provides a programmatic interface to the FamFamFam Flags Icon Set. It enables the user to access any of the icons in the set by name.

It resides in the Icon Set level of the architecture arch_flags

API

::famfamfam flags get name

This command returns a Tk image holding the flags icon whose name was specified as argument of the command. An error will be thrown instead if the name is not valid.

::famfamfam flags list ?pattern?

This command returns a list containing the names of all valid flags icons accessible through the package. If the pattern is specified then only names matching that pattern are returned. Matching is done by string match, i.e. the argument is a glob pattern.

::famfamfam flags path name

This command returns the absolute path of the file containing the flags icon whose name was specified as argument of the command. An error will be thrown instead if the name is not valid.

Examples

package require famfamfam::flags
set w [famfamfam flags list w*]
set wales [famfamfam flags get wales]

References

  1. Homepage of the FamFam Flags Icon Set

Authors

  1. Code by Andreas Kupries.

  2. The underlying Icon Set however was created by Mark James and is available for free under a Creative Commons Attribution 2.5 License.

    Per the terms of this license we give attribution, see the previous paragraph, and section (References).

Bugs, Ideas, Feedback

This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such at the FamFamFam Tcl Tracker. Please also report any ideas for enhancements you may have for either package and/or documentation.

Keywords

famfamfam, flags icons, icon set flags, icons, images

Category

Icon sets