wandersonp Posted December 9, 2014 Share Posted December 9, 2014 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 Quote Link to comment Share on other sites More sharing options...
Guest mantragora Posted December 9, 2014 Share Posted December 9, 2014 (edited) This => http://forums.odforce.net/topic/2888-how-do-you-make-a-callback-for-the-gui/ and => http://forums.odforce.net/topic/21167-update-attribute-menu/ should help. EDIT: Example from Cortex => http://cortex-vfx.googlecode.com/svn-history/r3673/trunk/contrib/IECoreHoudini/src/SOP_ProceduralHolder.cpp Edited December 9, 2014 by mantragora Quote Link to comment Share on other sites More sharing options...
wandersonp Posted December 9, 2014 Author Share Posted December 9, 2014 thanks a lot mantragora Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.