Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - ksyrx

Pages: [1]
Help requests / CTGUI 0.8.3 MenuBar zero signal ID
« on: 23 June 2020, 09:51:18 »
I use CTGUI and trying create the simple menu bar.

Here is how I connecting the bar:

tguiWidget_connectItemSelected(menu, "menuitemclicked", func);

Here is my callback:

func(const sfUint32 *menu, const sfUint32 *text) {
    /* to handle menu and text */

Signal ID, that returns by tguiWidget_connectItemSelected sets to zero. Is it expected behaviour? Add that tguiWidget_connect returns non-zero and works perfectly.

Pages: [1]