SDS2 Parametric API
 All Classes Namespaces Functions Variables Pages
List of all members
dialog.item.MenuFacade Class Reference

This object looks like a Tkinter.Menu in that you can add the same sorts of items to it. More...

Methods defined here:

def __init__
def add_cascade
def add_checkbutton
def add_command
def add_radiobutton
def add_separator

Data descriptors defined here:

def __dict__
 dictionary for instance variables (if defined)
def __weakref__
 list of weak references to the object (if defined)

Detailed Description

This object looks like a Tkinter.Menu in that you can add the same sorts of items to it.

We're hiding the actual Tkinter.Menu object because

  1. It may not actually be there, someone might be calling Context rules for another purpose so we're limiting the interface they'd need to implement.
  2. We need to know if we should add extra separators for your ease and good appearance to the user. You can't tell whether or not you're the first context so there's no way to tell if you should start or end with a separator. So, don't, we'll do that for you.

Constructor & Destructor Documentation

def dialog.item.MenuFacade.__init__ (   args)
 __init__(args)

Member Function Documentation

def dialog.item.MenuFacade.__dict__ (   args)

dictionary for instance variables (if defined)

def dialog.item.MenuFacade.__weakref__ (   args)

list of weak references to the object (if defined)

def dialog.item.MenuFacade.add_cascade (   args)
 add_cascade(args)
def dialog.item.MenuFacade.add_checkbutton (   args)
 add_checkbutton(args)
def dialog.item.MenuFacade.add_command (   args)
 add_command(args)
def dialog.item.MenuFacade.add_radiobutton (   args)
 add_radiobutton(args)
def dialog.item.MenuFacade.add_separator (   args)
 add_separator(args)