Jump to content

harsha

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by harsha

  1. Hello Team,

    What we are trying to achieve:

    We want edit box with selected text like in the below picture. Once if you start typing in the keyboard, It should erase and start showing the typed characters.

    Does uGFX TextEdit widget supports text selection? If yes could you help us to find how to do that? We have gone through the code we didn't find any that help our requirement.

    selection.png

  2. So we have container in our application which contains label and image widget. We want to make our container to accept click events.

    So currently in my code I have

     geventListenerInit(&gl);

    gwinAttachListener(&gl);

    Do I need to attach any source. If yes can you tell me how??
     

         while(1) {
                pe = geventEventWait(&gl, TIME_INFINITE);
                switch(pe->type) {
                    case GMETA_MOUSE_CLICK:  (what is the type I have to check for)
                                     std::cout<<"click"<<std::endl;
                        break;

                    default:

                        break;
                }
            }

    contianer.png

  3. Hi Team,

    Thanks for you quick response on the earlier thread. Just we need to know wether container is clickable or not. If yes can you explain a bit on how to get click events on that.

    Thanks in advance,

    Harsha

×
×
  • Create New...