Store a function in a variable
Posted: Mon May 07, 2012 4:48 am
Is it possible to store a function in a variable?
I am creating a button with xlib (the button being a struct) and i want to store the function in that button, so when that button is clicked or activated, it will follow through with the function thats stored inside that button
I am creating a button with xlib (the button being a struct) and i want to store the function in that button, so when that button is clicked or activated, it will follow through with the function thats stored inside that button