Package schrodinger :: Package ui :: Package widget :: Module tkinterwidget
[hide private]
[frames] | no frames]

Module tkinterwidget

Schrodinger themed Tkinter widgets.

Do not import this module directly. Instead do:

 import schrodinger.ui.widget as stk
 
 button = stk.Button(...)

Copyright Schrodinger, LLC. All rights reserved.

Classes [hide private]
  GroundClass
Necessary method for "grounding" all of the pick toggle preset methods in the event that the GUI is run outside of Maestro (Since pick toggles are used for choosing molecules, etc.
  Tk
This is a Schrodinger-ized Tk instance.
  schroWidget
Class for all schrodinger Tkinter widgets.
  Toplevel
Class that mimics the Tkinter.Toplevel class.
  Button
Class that mimics the Tkinter.Button class.
  NoteBookButton
Button Specifically designed for use with the Schoridinger-ized NoteBook Mega-Widget.
  Listbox
Class that mimics the Tkinter.Listbox class.
  Checkbutton
Class that mimics the Tkinter.Checkbutton class.
  Radiobutton
Class that mimics the Tkinter.Radiobutton class.
  Canvas
Class that mimics the Tkinter.Canvas class.
  PhotoImage
Class that mimics the Tkinter.PhotoImage class.
  Entry
Class that mimics the Tkinter.Entry class.
  TableEntry
Class of Tkinter.Entry widget intended for use with Schrodinger Table class which is still under development.
  Frame
Class that mimics the Tkinter.Frame class.
  HorizontalBar
Class intended to mimic the horizontal bar that divides the bottom buttons from the rest of the panel in Maestro.
  Label
Class that mimics the Tkinter.Label class.
  LabelFrame
Class that mimics the Tkinter.LabelFrame class.
  Menu
Class that mimics the Tkinter.Menu class.
  Menubutton
Class that mimics the Tkinter.Menubutton class.
  Message
Class that mimics the Tkinter.Message class.
  PanedWindow
Class that mimics the Tkinter.PanedWindow class.
  Scale
Class that mimics the Tkinter.Scale class.
  Scrollbar
Class that mimics the Tkinter.Scrollbar class.
  Spinbox
Class that mimics the Tkinter.Spinbox class.
  Text
Class that mimics the Tkinter.Text class.
  StringVar
Class that mimics the Tkinter.StringVar class.
  DoubleVar
Class that mimics the Tkinter.DoubleVar class.
  IntVar
Class that mimics the Tkinter.IntVar class.
  BooleanVar
Class that mimics the Tkinter.BooleanVar class.
  PickToggle
Class meant to replicate Maestro pick toggles.
  PickAtomToggle
Class meant to replicate Maestro atom pick toggles.
  PickBondToggle
Class meant to replicate Maestro bond pick toggles.
Functions [hide private]
 
Pmw_initialise(*arg, **kwarg)
 
_update_options(parent, options)
Modify the passed dictionary to conatin 'initialdir'
 
_setdir(filename)
 
askopenfilename(parent, **options)
Ask for a filename to open
 
asksaveasfilename(parent, **options)
Ask for a filename to save as
 
askopenfilenames(parent, **options)
Ask for multiple filenames to open
 
askdirectory(parent, **options)
Ask for a directory, and return the file name
Variables [hide private]
  __doc__ = ...
  MAIN_FONT = '-b&h-lucida-medium-r-normal-sans-12-*'
  BOLD_FONT = '-b&h-lucida-bold-r-normal-sans-12-*'
  SMALL_FONT = '-b&h-lucida-bold-r-normal-sans-10-*'
  FIXED_WIDTH_FONT = '-b&h-lucidatypewriter-medium-r-normal-sans...
  OK = 1
  ERROR = 0
  PARTIAL = -1
  maestro = None
hash(x)
  _inMaestro = False
  _last_dir_used = '.'
  __package__ = 'schrodinger.ui.widget'
Function Details [hide private]

askopenfilenames(parent, **options)

 

Ask for multiple filenames to open

Returns a list of filenames or empty list if cancel button selected


Variables Details [hide private]

__doc__

Value:
"""
Schrodinger themed Tkinter widgets.

Do not import this module directly. Instead do::

  import schrodinger.ui.widget as stk
  
  button = stk.Button(...)
...

FIXED_WIDTH_FONT

Value:
'-b&h-lucidatypewriter-medium-r-normal-sans-12-*'