def add_textbox(self, name = "name", text = "", width = 0, height = 0, type = "string", layout = "Layout"): message = "dlg.add_textbox(name = '{}', text = '{}', width = {}, height = {}, type = '{}', layout = '{}')".format(name, text, width, height, type, layout) JPT_RUN_LINE(message)
def enable_item(self, component_name): message = "dlg.enable_item('{}')".format(component_name) JPT_RUN_LINE(message)
def set_item_text(self, component_name, text): message = "dlg.set_item_text('{}', '{}')".format(component_name, text) JPT_RUN_LINE(message)
def add_vertex_selector(self): message = "dlg.add_vertex_selector()" JPT_RUN_LINE(message)
def on_selected(self, list): message = "dlg.on_selected(dlg, {})".format(list) JPT_RUN_LINE(message)
def get_total_column(self, table_name): message = "dlg.get_total_column('{}')".format(table_name) JPT_RUN_LINE(message)
def add_elementedge_selector(self): message = "dlg.add_elementedge_selector()" JPT_RUN_LINE(message)
def set_slider_vertical(self, name, Bool): message = "dlg.set_slider_vertical('{}', {})".format(name, Bool) JPT_RUN_LINE(message)
def set_slider_show_border(self, name, Bool): message = "dlg.set_slider_show_border('{}', {})".format(name, Bool) JPT_RUN_LINE(message)
def add_spin(self, name = "name", layout = "Layout"): message = "dlg.add_spin(name = '{}', layout = '{}')".format(name, layout) JPT_RUN_LINE(message)
def add_slider(self, name = "name", width = 120, height = 60, layout = "Layout"): message = "dlg.add_slider(name = '{}', width = {}, height = {}, layout = '{}')".format(name, width, height, layout) JPT_RUN_LINE(message)
def add_richeditbox(self, name = "name", text = "", width = 0, height = 0, layout = "Layout"): message = "dlg.add_richeditbox(name = '{}', text = '{}', width = {}, height = {}, layout = '{}')".format(name, text, width, height, layout) JPT_RUN_LINE(message)
def add_pagesctrl_page(self, pagesctrl_name = "PagesCtrl", page_name = "PageItem5", page_header = "PageItem"): message = "dlg.add_pagesctrl_page(pagesctrl_name = '{}', page_name = '{}', page_header = '{}')".format(pagesctrl_name, page_name, page_header) JPT_RUN_LINE(message)
def add_pagesctrl(self, name = "PagesCtrl", show_header = False, current_page = 1, layout = "Layout"): message = "dlg.add_pagesctrl(name = '{}', show_header = {}, current_page = {}, layout = '{}')".format(name, show_header, current_page, layout) JPT_RUN_LINE(message)
def get_len_listbox(self, name): message = "dlg.get_len_listbox('{}')".format(name) JPT_RUN_LINE(message)
def set_slider_bothtics(self, name, Bool): message = "dlg.set_slider_bothtics('{}', {})".format(name, Bool) JPT_RUN_LINE(message)
def get_cell_value(self, table_name, cell_row_id_cell_column_id, value): message = "dlg.get_cell_value('{}', '{}', '{}')".format(table_name, cell_row_id_cell_column_id, value) JPT_RUN_LINE(message)
def add_separator(self, layout = "Layout"): message = "dlg.add_separator(layout = '{}')".format(layout) JPT_RUN_LINE(message)
def set_combobox_state(self, name, Bool): message = "dlg.set_combobox_state('{}', '{}')".format(name, Bool) JPT_RUN_LINE(message)
def add_tabwnd(self, name = "name", width = 100, height = 100, layout = "Window"): message = "dlg.add_tabwnd(name = '{}', width = {}, height = {}, layout = '{}')".format(name, width, height, layout) JPT_RUN_LINE(message)
def add_part_selector(self): message = "dlg.add_part_selector()" JPT_RUN_LINE(message)
def add_tabwnd_page(self, tabwnd_name = "tabctrl_name", page_name = "tabitem_name", page_text = "tab1", page_orientation = "horizontal"): message = "dlg.add_tabwnd_page(tabwnd_name = '{}', page_name = '{}', page_text = '{}', page_orientation = '{}')".format(tabwnd_name, page_name, page_text, page_orientation) JPT_RUN_LINE(message)
def get_selected_entities(self, selector_id): message = "dlg.get_selected_entities({})".format(selector_id) JPT_RUN_LINE(message)
def add_table(self, name = "name", menu_clear = True, menu_cut = True, menu_copy = True, menu_paste = True, menu_insert_row = True, menu_delete_row = True, menu_from_file = True, menu_to_file = True, width = 200, show_grid_line = 0, show_line_number = 0, height = 200, columns = ["Heading1","Heading2","Heading3"], rows = 4, layout = "Layout"): message = "dlg.add_table(name = '{}', menu_clear = {}, menu_cut = {}, menu_copy = {}, menu_paste = {}, menu_insert_row = {}, menu_delete_row = {}, menu_from_file = {}, menu_to_file = {}, width = {}, show_grid_line = {}, show_line_number = {}, height = {}, columns = {}, rows = {}, layout = '{}')".format(name, menu_clear, menu_cut, menu_copy, menu_paste, menu_insert_row, menu_delete_row, menu_from_file, menu_to_file, width, show_grid_line, show_line_number, height, columns, rows, layout) JPT_RUN_LINE(message)
def isbutton_checked(self, component_name): message = "dlg.isbutton_checked('{}')".format(component_name) JPT_RUN_LINE(message)
def add_space(self, orientation = "horizontal", layout = "Layout"): message = "dlg.add_space(orientation = '{}', layout = '{}')".format(orientation, layout) JPT_RUN_LINE(message)
def on_command(self, name, function): message = "dlg.on_command('{}', {})".format(name, function) JPT_RUN_LINE(message)
def add_3delement_selector(self): message = "dlg.add_3delement_selector()" JPT_RUN_LINE(message)
def get_item_text(self, component_name): message = "dlg.get_item_text('{}')".format(component_name) JPT_RUN_LINE(message)
def insert_listbox_option(self, name, position, text): message = "dlg.insert_listbox_option('{}', '{}', '{}')".format(name, position, text) JPT_RUN_LINE(message)