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

This is an abstract class. More...

Inheritance diagram for dialog.builder.Builder:
dialog.dialog.Dialog dialog.field.Field dialog.frame.Frame dialog.page.Page dialog.pmdialog.PMDialog dialog.scrollbar.ScrollableFrame dialog.subdialog.Subdialog dialog.tabset.Tab

Methods defined here:

def __init__
def __initialize_lbl_width__
def __recalculate_lbl_width__
def button
def check
def checkbutton
def column
def column_group_begin
def column_group_end
def dim
def entry
def file
def file_save
def frame
def get_label_width
def group
def group_end
def group_title
def group_end
def image
def label
def lframe
def line
def listbox
def menu
def mtrl_browse
def radio
def scrollbar
def set_label_width
def tab
def table
def table_column
def table_end
def tabset_begin
def tabset_end
def text

Data descriptors defined here:

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

Data and other attributes defined here:

list CurrentContainer = []
 InitializedLabelWidth = False
int Label_width = 0
 SB_Clear = False

Detailed Description

This is an abstract class.

It's missing the property children, which should be an array of the immediate children.

This is intended to be mixed with item.Item

This class provides the backward compatibiliy layer with 7.1 dialogs. It provides that set of functions available on any class which inherits it. The resulting objects will be added using the inheriting object as if it were the toplevel dialog.

Constructor & Destructor Documentation

def dialog.builder.Builder.__init__ (   args)

Member Function Documentation

def dialog.builder.Builder.__dict__ (   args)
def dialog.builder.Builder.__initialize_lbl_width__ (   args)
def dialog.builder.Builder.__recalculate_lbl_width__ (   args)
def dialog.builder.Builder.__weakref__ (   args)
def dialog.builder.Builder.button (   args)
def dialog.builder.Builder.check (   args)
def dialog.builder.Builder.checkbutton (   args)
def dialog.builder.Builder.column (   args)
def dialog.builder.Builder.column_group_begin (   args)
def dialog.builder.Builder.column_group_end (   args)
def dialog.builder.Builder.dim (   args)
 Create a dimension field which is a label to the left of an entry
 widget and displays dimensions as strings and floats.
 
 @param name The name of this field
 @param initial_value This is the default value to start with
                      if a model is not provided to the dialog.
 @param label a string to display in a label to the left of
              the entry box
 @param width
 @param length
 @param style The style of the dimension.  @see dimension.DimensionStyled

Reimplemented in dialog.frame.LoadableFrame, dialog.frame.Frame, Layout3DEditor.Layout3DEditor, dialog.lockablefield.LockableCheckbox, dialog.combo_choose.ChooseColor, dialog.table.TableColumn, dialog.lockablefield.DeletableEntry, dialog.listbox.Listbox, dialog.checkbox.Checkbox, dialog.pmdialog.PMDialog, dialog.dialog.Dialog, dialog.radio.Radio, dialog.lockablefield.DeletableCombobox, dialog.combobox.BareCombobox, JoistMemberCore.Setup.Choose, dialog.entry.BareEntry, dialog.subdialog.Subdialog, dialog.listbox.ContentListbox, dialog.tabset.Tab, dialog.page.Page, dialog.field.Field, dialog.text.Text, dialog.hidden.Hidden, dialog.checkbox.CheckButtons, dialog.frame.Column, and dialog.scrollbar.ScrollableFrame.

def dialog.builder.Builder.entry (   args)
 @param name The name of this field
 @param initial_value This is the default value to start with
                      if a model is not provided to the dialog.
 @param label a string to display in a label to the left of
              the entry box
 @param width
 @param length
 @param kind If you do not provide an initial_value then you
             must provide this.  @see kind module documentation
 @return the entry.Entry object

Reimplemented in dialog.frame.LoadableFrame, dialog.frame.Frame, Layout3DEditor.Layout3DEditor, dialog.lockablefield.LockableCheckbox, dialog.combo_choose.ChooseColor, dialog.table.TableColumn, dialog.lockablefield.DeletableEntry, dialog.listbox.Listbox, dialog.checkbox.Checkbox, dialog.dialog.Dialog, dialog.radio.Radio, dialog.lockablefield.DeletableCombobox, dialog.combobox.BareCombobox, JoistMemberCore.Setup.Choose, dialog.entry.BareEntry, dialog.subdialog.Subdialog, dialog.listbox.ContentListbox, dialog.tabset.Tab, dialog.page.Page, dialog.field.Field, dialog.text.Text, dialog.hidden.Hidden, dialog.checkbox.CheckButtons, dialog.frame.Column, dialog.scrollbar.ScrollableFrame, and dialog.pmdialog.PMDialog.

def dialog.builder.Builder.file (   args)
def dialog.builder.Builder.file_save (   args)
def dialog.builder.Builder.frame (   args)
def dialog.builder.Builder.get_label_width (   args)
def dialog.builder.Builder.group (   args)
def dialog.builder.Builder.group_end (   args)
def dialog.builder.Builder.group_end (   args)
def dialog.builder.Builder.group_title (   args)
def dialog.builder.Builder.image (   args)
def dialog.builder.Builder.label (   args)
def dialog.builder.Builder.label_width (   args)
def dialog.builder.Builder.lframe (   args)
def dialog.builder.Builder.line (   args)
def dialog.builder.Builder.listbox (   args)
def dialog.builder.Builder.menu (   args)
 Creates a combobox widget
 @param name The name of this field
 @param values The list of items in the checkbox, these will
               be displayed to the user.
 @param initial_value This should be a list of strings or indexes to
                      be checked on corresponding to the values list.
 @param label a string to display in a label to the left of
              the entry box
 @param editable If this is True the menu will allow the user to type
                 in strings that do not match any strings in your list.
 @return the combobox.Combobox object

Reimplemented in dialog.frame.LoadableFrame, dialog.frame.Frame, Layout3DEditor.Layout3DEditor, dialog.lockablefield.LockableCheckbox, dialog.combo_choose.ChooseColor, dialog.table.TableColumn, dialog.lockablefield.DeletableEntry, dialog.listbox.Listbox, dialog.checkbox.Checkbox, dialog.dialog.Dialog, dialog.pmdialog.PMDialog, dialog.radio.Radio, dialog.lockablefield.DeletableCombobox, dialog.combobox.BareCombobox, JoistMemberCore.Setup.Choose, dialog.entry.BareEntry, dialog.subdialog.Subdialog, dialog.listbox.ContentListbox, dialog.tabset.Tab, dialog.page.Page, dialog.field.Field, dialog.text.Text, dialog.hidden.Hidden, dialog.checkbox.CheckButtons, dialog.frame.Column, and dialog.scrollbar.ScrollableFrame.

def dialog.builder.Builder.mtrl_browse (   args)
def dialog.builder.Builder.radio (   args)
 Creates a set of radio buttons.
 @param name The name of this field
 @param values The list of items in the radio button, these will
               be displayed to the user.
 @param initial_value This should be a list of strings or indexes to
                      be checked on corresponding to the values list.
 @param label a string to display in a label to the left of
              the entry box
 @return the radio.Radio object

Reimplemented in dialog.frame.LoadableFrame, dialog.frame.Frame, Layout3DEditor.Layout3DEditor, dialog.lockablefield.LockableCheckbox, dialog.combo_choose.ChooseColor, dialog.table.TableColumn, dialog.lockablefield.DeletableEntry, dialog.listbox.Listbox, dialog.checkbox.Checkbox, dialog.dialog.Dialog, dialog.pmdialog.PMDialog, dialog.radio.Radio, dialog.lockablefield.DeletableCombobox, dialog.combobox.BareCombobox, JoistMemberCore.Setup.Choose, dialog.entry.BareEntry, dialog.subdialog.Subdialog, dialog.listbox.ContentListbox, dialog.tabset.Tab, dialog.page.Page, dialog.field.Field, dialog.text.Text, dialog.hidden.Hidden, dialog.checkbox.CheckButtons, dialog.frame.Column, and dialog.scrollbar.ScrollableFrame.

def dialog.builder.Builder.scrollbar (   args)
def dialog.builder.Builder.set_label_width (   args)
def dialog.builder.Builder.tab (   args)
def dialog.builder.Builder.table (   args)
def dialog.builder.Builder.table_column (   args)
def dialog.builder.Builder.table_end (   args)
def dialog.builder.Builder.tabset_begin (   args)
def dialog.builder.Builder.tabset_end (   args)
def dialog.builder.Builder.text (   args)

Member Data Documentation

list dialog.builder.Builder.CurrentContainer = []
static
dialog.builder.Builder.InitializedLabelWidth = False
static
int dialog.builder.Builder.Label_width = 0
static
dialog.builder.Builder.SB_Clear = False
static