Python Forum
[PyGUI] Pushbutton in ANSA
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGUI] Pushbutton in ANSA
#1
Hi everyone,
I am using python to create a gui interface in the software ANSA.
I want to add a pushbutton which is created using this layout:
ansa.guitk.BCPushButtonCreate(p, text, funct, data)
My question is: is it possible to add more than one data to this function?
Reply
#2
ANSA is not a GUI framework I have heard of do you have a link to where you get it from and its documents.
Reply
#3
Photo 
I am not sure about where to get it from, but here is a link to ANSA's API documentation. file:///M:/BETA_CAE_Systems/Ansa_v19.1.6/ansa_v19.1.6/docs/extending/python_api/html/index.html

Actually what i want to achieve is, when the button is clicked it should read the data "x" that the user enters, and uses it for further calculations, then print some things found from the calculations in a BCListView .so i have two data required for the pushbutton: x and BCListView
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyQt] pushbutton with image issac_n 1 1,786 Jul-13-2020, 05:04 PM
Last Post: Knight18
  [PyQt] Add command to PushButton skaailet 1 1,713 Apr-11-2020, 01:46 PM
Last Post: deanhystad
  TypeError when using PushButton (PyQt5) lmsavk 1 6,772 Mar-03-2019, 04:21 PM
Last Post: Alfalfa
  pyqt clickable pushbutton problem pythonck 1 7,662 Dec-12-2017, 03:38 PM
Last Post: pythonck
  keeping track of pushbutton click iFunKtion 3 4,289 Mar-13-2017, 12:18 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020