Hi,
Why not GTK 3.22.28, the latest gtk?
Support multiple versions is very expensive.

Notice Firefox will drop gtk2!

Best regards,
Ranier Vilela

________________________________________
De: 許永寬 <nagahiro....@gmail.com>
Enviado: quarta-feira, 7 de março de 2018 13:02
Para: IUP discussion list.
Assunto: Re: [Iup-users] IupFlatTabs issue?

It's:
GTK Version=3.18.9
GTK Dev Version=3.18.9


2018-03-07 20:14 GMT+08:00 Antonio Scuri 
<antonio.sc...@gmail.com<mailto:antonio.sc...@gmail.com>>:
  Hi,

  Thanks for the feedback.

  You have installed both GTKs, but I need to know which GTK that IUP is using. 
You can do this, after IupOpen:

printf("GTK Version=%s", IupGetGlobal("GTKVERSION"));
printf("GTK Dev Version=%s", IupGetGlobal("GTKDEVVERSION"));

  They should be equal.

Best,
Scuri

2018-03-07 9:07 GMT-03:00 許永寬 
<nagahiro....@gmail.com<mailto:nagahiro....@gmail.com>>:
Dear Scuri:

The picture about the issue:
https://i.imgur.com/JPtF0Rj.png

Top one is the GTK version
Bottom-L is use IupTabs, the selection and V-scrollbar is show correctly
Bottom-R is use IupFlatTabs, the selection become same color as background and 
the V-scrollbar is disappear( but can work)

2018-03-07 7:19 GMT+08:00 Antonio Scuri 
<antonio.sc...@gmail.com<mailto:antonio.sc...@gmail.com>>:
  Ok.

  You had a similar issue in October last year, right?

  Can you check what is the GTK version on your system?

  And send screenshots of the problem with IupTabs and IupFlatTabs?

Thanks,
Scuri


2018-03-06 14:47 GMT-03:00 許永寬 
<nagahiro....@gmail.com<mailto:nagahiro....@gmail.com>>:
Sorry, I'm test on Linux mint 18.3 Cinnamon 64bit, I also compile same code on 
Win7, it is OK no problem~

2018-03-07 1:45 GMT+08:00 許永寬 
<nagahiro....@gmail.com<mailto:nagahiro....@gmail.com>>:
Dear Scuri:

I test below at IUP3.23 / 3.24, the selection of IupText is the same as 
background color( can't see ), but it's OK if using IupTabs

D Language:
void main()
{
    if( IupOpen( null, null ) == IUP_ERROR )
    {
        Stdout( "IUP open error!!!" ).newline;
        return;
    }

    Ihandle* mainDlg = IupDialog( null );
    IupSetHandle( "MAIN_DIALOG", mainDlg );
    IupSetAttributes( mainDlg, "SHRINK=YES,SIZE=300x200,TITLE=TEST" );


    Ihandle* text0 = IupText( null );
    IupSetAttributes( text0, "EXPAND=YES,MULTILINE=YES=YES,WORDWRAP=YES" );

    Ihandle* text1 = IupText( null );
    IupSetAttributes( text1, "EXPAND=YES,MULTILINE=YES=YES,WORDWRAP=YES" );

    //Ihandle* tabs = IupTabs( text0, text1, null );
    Ihandle* tabs = IupFlatTabs( text0, text1, null );
    IupSetAttributeId( tabs, "TABTITLE", 0, "TEST0" );
    IupSetAttributeId( tabs, "TABTITLE", 1, "TEST1" );

    IupAppend( mainDlg, tabs );

    // Shows dialog
    IupShow( mainDlg );


    //IUP main Loop
    IupMainLoop();
    IupClose();
}


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net<mailto:Iup-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/iup-users



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net<mailto:Iup-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/iup-users



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net<mailto:Iup-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/iup-users



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net<mailto:Iup-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/iup-users


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to