Exemplo n.º 1
0
        /// <summary>
        /// Initializes the signals
        /// </summary>
        protected override void InitSignals()
        {
            base.InitSignals();

            ValueChangedCallback = new CallbackActionFloat((val) => SendSignal(myValueChangedEventKey, new SignalArgsFloat(val)));
            AddInternalSignal(tguiWidget_connectFloat(CPointer, Util.ConvertStringForC_ASCII("ValueChanged"), ValueChangedCallback));
        }
Exemplo n.º 2
0
 static extern protected uint tguiWidget_connectFloat(IntPtr cPointer, IntPtr signalName, [MarshalAs(UnmanagedType.FunctionPtr)] CallbackActionFloat func);