Table Of Contents

Previous topic

pyviblib.gui.rendering

Next topic

pyviblib.gui.widgets

This Page

pyviblib.gui.resources

Resources used in PyVib2

Functions

get_font_molecules()
optimal font for displaying names of molecules

The following prefices are used to identify the type of the resources:

  • STRING_ – string
  • STRINGS_ – tuple of strings
  • NUM_ – number
  • FONT_ – font
  • LIST_ – list of objects
Author:Maxim Fedorovsky
pyviblib.gui.resources.get_font_molecules(tk_widget)

Return the optimal font for displaying names of molecules.

Parameter:tk_widget – Tkinter widget

SourceForge.net Logo