Jump to content
wandersonp

Simple example button function callback

Recommended Posts

Hey guys anyone have a simple lines example of a button callback in c++

 

im stuck in this lines

 

 

PRM_Item button("button", "Button");
PRM_Template((PRM_Type)(PRM_CALLBACK), 1, &button);
 
I wanna call some_function() that will be executed by button click.
 
what paramaters  I need to put in some_function and where I define some_function in PRM_Template.
 
Thanks
 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×