Jump to content

GarblingTeam

Members
  • Posts

    1
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello there, We have to develop onboard an HMI with several elements including a textedit widget which is used to type numerical value. To this aim, we have developed a virtual keyboard with only numerical values and what we would like to do now is to make it appear by clicking on the textfield area. The problem is that, we noticed that no event is associated with the textedit widget in the gwin_textedit.h file whereas such event is implemented in the gwin_keyboard.h file as shown below: #define GEVENT_GWIN_KEYBOARD (GEVENT_GWIN_CTRL_FIRST+6) 35 36 /** 37 * @brief A Keyboard Event 38 * @note There are currently no GEventGWinButton listening flags - use 0 as the flags to @p gwinAttachListener() 39 */ 40 typedef GEventGWin GEventGWinKeyboard; So we would like to find a way to adapt the basic gwin_event (see quotation below) on the widget textedit. Do you think it is possible to implement it lthis way in order to achieve our goal ? typedef struct GEventGWin { 150 GEventType type; /**< The type of this event */ 151 GHandle gwin; /**< The gwin window handle */ 152 #if GWIN_NEED_WIDGET && GWIN_WIDGET_TAGS 153 WidgetTag tag; /**< The tag (if applicable) */ 154 #endif 155 } GEventGWin; Thank you for your answers.
×
×
  • Create New...