Choose hpgcc - Hewlett Packard

This is a discussion on Choose hpgcc - Hewlett Packard ; i try to make a choose box in hpgcc with win_choose but i make something wrong. test = win_choose_new(); win_choose_add_with_label(test,"test1","test1"); win_choose_add_with_label(test,"test2","test2"); win_choose_set_index(test, 2); win_widget_set_location(test, 20, 20); win_widget_set_size(test, 50, 50); win_choose_set_menu(test,test,2); win_add_widget(test); i don't know what is wrong. iam a dump ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Choose hpgcc

  1. Choose hpgcc

    i try to make a choose box in hpgcc with win_choose but i make
    something wrong.

    test = win_choose_new();
    win_choose_add_with_label(test,"test1","test1");
    win_choose_add_with_label(test,"test2","test2");
    win_choose_set_index(test, 2);
    win_widget_set_location(test, 20, 20);
    win_widget_set_size(test, 50, 50);
    win_choose_set_menu(test,test,2);
    win_add_widget(test);

    i don't know what is wrong. iam a dump i know. But help are really
    appreciate.

    thx

    Sylvain L.


  2. Re: Choose hpgcc

    No one have this information ? i try to understand the source but iam
    a newbie, i try to search on the net a documented file i don't find
    anything.



  3. Re: Choose hpgcc

    test = win_choose_new();
    win_widget_set_location(test, 0, 0);
    win_widget_set_size(test, 30, 30);
    win_choose_add(test, "test1");
    win_choose_add(test, "test2");
    win_add_widget(test);


    i see a black square with "test1" write on.

    someone have a hint ?


+ Reply to Thread