Re: [Iup-users] IupFlatTabs issue?

2018-03-08 Thread Antonio Scuri
  I tested the following sample in Ubuntu 16.04 with GTK 3.18, the
selection is now back to orange.

  There is one difference from the code you sent me, the imediate child of
the IupFlatTabs should be a native container for better function of the
tabs, like IupBackgroundBox. But I don't think this affects the selection
color.

Best,
Scuri


2018-03-08 14:56 GMT-03:00 許永寬 :

> Thank for your effort! But still the same, am I miss something?
>
> 2018-03-08 5:27 GMT+08:00 Antonio Scuri :
>
>>   Fixed and committed to SVN.
>>
>> Best,
>> Scuri
>>
>>
>> 2018-03-07 12:29 GMT-03:00 Antonio Scuri :
>>
>>>   Hi Ranier,
>>>
>>>   Sometimes to update GTK can be very tricky. So we usually build using
>>> the GTK that is installed on the system. This is specially true for
>>> older systems and we have many of those...
>>>
>>> Best,
>>> Scuri
>>>
>>>
>>> 2018-03-07 11:13 GMT-03:00 Antonio Scuri :
>>>
  Ok. I'll do some tests here.

 Best,
 Scuri


 Em 7 de mar de 2018 10:02 AM, "許永寬"  escreveu:

> It's:
> GTK Version=3.18.9
> GTK Dev Version=3.18.9
>
>
> 2018-03-07 20:14 GMT+08:00 Antonio Scuri :
>
>>   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 許永寬 :
>>
>>> 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 :
>>>
   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 許永寬 :

> 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 許永寬 :
>
>> 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
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>

 
 --
 Check out the vibrant 

Re: [Iup-users] IupFlatTabs issue?

2018-03-08 Thread 許永寬
Thank for your effort! But still the same, am I miss something?

2018-03-08 5:27 GMT+08:00 Antonio Scuri :

>   Fixed and committed to SVN.
>
> Best,
> Scuri
>
>
> 2018-03-07 12:29 GMT-03:00 Antonio Scuri :
>
>>   Hi Ranier,
>>
>>   Sometimes to update GTK can be very tricky. So we usually build using
>> the GTK that is installed on the system. This is specially true for
>> older systems and we have many of those...
>>
>> Best,
>> Scuri
>>
>>
>> 2018-03-07 11:13 GMT-03:00 Antonio Scuri :
>>
>>>  Ok. I'll do some tests here.
>>>
>>> Best,
>>> Scuri
>>>
>>>
>>> Em 7 de mar de 2018 10:02 AM, "許永寬"  escreveu:
>>>
 It's:
 GTK Version=3.18.9
 GTK Dev Version=3.18.9


 2018-03-07 20:14 GMT+08:00 Antonio Scuri :

>   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 許永寬 :
>
>> 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 :
>>
>>>   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 許永寬 :
>>>
 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 許永寬 :

> 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
 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
>>>
>>>
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

Re: [Iup-users] IupFlatTabs issue?

2018-03-07 Thread Antonio Scuri
  Fixed and committed to SVN.

Best,
Scuri


2018-03-07 12:29 GMT-03:00 Antonio Scuri :

>   Hi Ranier,
>
>   Sometimes to update GTK can be very tricky. So we usually build using
> the GTK that is installed on the system. This is specially true for older
> systems and we have many of those...
>
> Best,
> Scuri
>
>
> 2018-03-07 11:13 GMT-03:00 Antonio Scuri :
>
>>  Ok. I'll do some tests here.
>>
>> Best,
>> Scuri
>>
>>
>> Em 7 de mar de 2018 10:02 AM, "許永寬"  escreveu:
>>
>>> It's:
>>> GTK Version=3.18.9
>>> GTK Dev Version=3.18.9
>>>
>>>
>>> 2018-03-07 20:14 GMT+08:00 Antonio Scuri :
>>>
   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 許永寬 :

> 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 :
>
>>   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 許永寬 :
>>
>>> 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 許永寬 :
>>>
 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
>>> 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
>>
>>
>
> 
> --
> 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
>
>

 
 --
 

Re: [Iup-users] IupFlatTabs issue?

2018-03-07 Thread Antonio Scuri
  Hi Ranier,

  Sometimes to update GTK can be very tricky. So we usually build using the
GTK that is installed on the system. This is specially true for older
systems and we have many of those...

Best,
Scuri


2018-03-07 11:13 GMT-03:00 Antonio Scuri :

>  Ok. I'll do some tests here.
>
> Best,
> Scuri
>
>
> Em 7 de mar de 2018 10:02 AM, "許永寬"  escreveu:
>
>> It's:
>> GTK Version=3.18.9
>> GTK Dev Version=3.18.9
>>
>>
>> 2018-03-07 20:14 GMT+08:00 Antonio Scuri :
>>
>>>   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 許永寬 :
>>>
 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 :

>   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 許永寬 :
>
>> 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 許永寬 :
>>
>>> 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
>> 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
>
>

 
 --
 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


>>>
>>> 
>>> --
>>> 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
>>>

Re: [Iup-users] IupFlatTabs issue?

2018-03-07 Thread Antonio Scuri
 Ok. I'll do some tests here.

Best,
Scuri


Em 7 de mar de 2018 10:02 AM, "許永寬"  escreveu:

> It's:
> GTK Version=3.18.9
> GTK Dev Version=3.18.9
>
>
> 2018-03-07 20:14 GMT+08:00 Antonio Scuri :
>
>>   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 許永寬 :
>>
>>> 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 :
>>>
   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 許永寬 :

> 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 許永寬 :
>
>> 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
> 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


>>>
>>> 
>>> --
>>> 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
>>>
>>>
>>
>> 
>> --
>> 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
>>
>>
>
> 
> --
> 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
>
>

Re: [Iup-users] IupFlatTabs issue?

2018-03-07 Thread 許永寬
It's:
GTK Version=3.18.9
GTK Dev Version=3.18.9


2018-03-07 20:14 GMT+08:00 Antonio Scuri :

>   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 許永寬 :
>
>> 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 :
>>
>>>   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 許永寬 :
>>>
 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 許永寬 :

> 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
 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
>>>
>>>
>>
>> 
>> --
>> 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
>>
>>
>
> 
> --
> 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
>
>
--
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


Re: [Iup-users] IupFlatTabs issue?

2018-03-06 Thread Antonio Scuri
  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 許永寬 :

> 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 許永寬 :
>
>> 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
> 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


Re: [Iup-users] IupFlatTabs issue

2017-08-08 Thread Antonio Scuri
  Hi,

>In IUP 3.21, iup_scintilla is build(link) with -static-libgcc and
-static-libstdc+ (MinGW), but IUP 3.22 and SVN r4353 not by default?

 There were no changes regarding those flags. Notice that they are only
used when building DLLs.

Best,
Scuri

Em 08/08/2017 11:54, "許永寬"  escreveu:

> It works...! Thank you!!!
>
> And one little thing:
> In IUP 3.21, iup_scintilla is build(link) with -static-libgcc and
> -static-libstdc+ (MinGW), but IUP 3.22 and SVN r4353 not by default?
>
>
> 2017-08-05 17:37 GMT+08:00 許永寬 :
>
>> Thank you, I need download C++ compiler to build the new SVN then try,
>> thanks~
>>
>> If we can get the tab pos, I think I can use FLATBUTTON_CB
>> and GLOBALBUTTON_CB and IupReparent to do the tabs DnD in my IDE, thanks
>> again~~
>>
>> 2017-08-05 1:42 GMT+08:00 Antonio Scuri :
>>
>>>  Fixed and committed to SVN. Now when the current tab is changed it is
>>> also scrolled to be visible in IupFlatTabs.
>>>
>>>  Just added support for IupConvertXYToPos in IupFlatTabs.
>>>
>>> > Do you have plan about support DnD in IupFlatTabs?
>>>
>>>   No, we don't. But contributions are welcome. :)
>>>
>>> Best,
>>> Scuri
>>>
>>>
>>> 2017-08-02 12:55 GMT-03:00 許永寬 :
>>>
 Very thanks^^
 I'm develop a freeBASIC IDE using IUP3.22 about 2 years, IUP is very
 good GUI framework, thanks~~

 Can we get the tab pos by mouse pos? Just like IupConvertXYToPos but
 for IupFlatTabs, the iup_flattabs.c has similar function but "static", I
 want to support midlle-click to close document, use FLAT_BUTTON_CB can
 catch the button status, but don't know which tab be click~~

 Do you have plan about support DnD in IupFlatTabs?

 2017-08-01 21:08 GMT+08:00 Antonio Scuri :

>   Hi,
>
>   Yes, it is a bug. Thanks for reporting. I'll take a look at his in
> the next couple of days.
>
> Best,
> Scuri
>
>
> 2017-08-01 8:32 GMT-03:00 許永寬 :
>
>> Dear scuri: 
>>
>> Since 3.22 I use IupFlatTabs instead of IupTabs, but I found if I add
>> the many tabs the right-arrow icon will appear, but tab title is hiddle, 
>> I
>> need click the right-arrow icon to sccroll the current tab title show.
>>
>> If I back to IupTabs, the current tab title will scroll to show.
>>
>> Thank you very much~
>>
>> 
>> --
>> 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
>>
>>
>
> 
> --
> 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
>
>

 
 --
 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


>>>
>>> 
>>> --
>>> 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
>>>
>>>
>>
>
> 
> --
> 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
>
>
--
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


Re: [Iup-users] IupFlatTabs issue

2017-08-08 Thread 許永寬
It works...! Thank you!!!

And one little thing:
In IUP 3.21, iup_scintilla is build(link) with -static-libgcc and
-static-libstdc+ (MinGW), but IUP 3.22 and SVN r4353 not by default?


2017-08-05 17:37 GMT+08:00 許永寬 :

> Thank you, I need download C++ compiler to build the new SVN then try,
> thanks~
>
> If we can get the tab pos, I think I can use FLATBUTTON_CB
> and GLOBALBUTTON_CB and IupReparent to do the tabs DnD in my IDE, thanks
> again~~
>
> 2017-08-05 1:42 GMT+08:00 Antonio Scuri :
>
>>  Fixed and committed to SVN. Now when the current tab is changed it is
>> also scrolled to be visible in IupFlatTabs.
>>
>>  Just added support for IupConvertXYToPos in IupFlatTabs.
>>
>> > Do you have plan about support DnD in IupFlatTabs?
>>
>>   No, we don't. But contributions are welcome. :)
>>
>> Best,
>> Scuri
>>
>>
>> 2017-08-02 12:55 GMT-03:00 許永寬 :
>>
>>> Very thanks^^
>>> I'm develop a freeBASIC IDE using IUP3.22 about 2 years, IUP is very
>>> good GUI framework, thanks~~
>>>
>>> Can we get the tab pos by mouse pos? Just like IupConvertXYToPos but for
>>> IupFlatTabs, the iup_flattabs.c has similar function but "static", I want
>>> to support midlle-click to close document, use FLAT_BUTTON_CB can catch the
>>> button status, but don't know which tab be click~~
>>>
>>> Do you have plan about support DnD in IupFlatTabs?
>>>
>>> 2017-08-01 21:08 GMT+08:00 Antonio Scuri :
>>>
   Hi,

   Yes, it is a bug. Thanks for reporting. I'll take a look at his in
 the next couple of days.

 Best,
 Scuri


 2017-08-01 8:32 GMT-03:00 許永寬 :

> Dear scuri: 
>
> Since 3.22 I use IupFlatTabs instead of IupTabs, but I found if I add
> the many tabs the right-arrow icon will appear, but tab title is hiddle, I
> need click the right-arrow icon to sccroll the current tab title show.
>
> If I back to IupTabs, the current tab title will scroll to show.
>
> Thank you very much~
>
> 
> --
> 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
>
>

 
 --
 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


>>>
>>> 
>>> --
>>> 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
>>>
>>>
>>
>> 
>> --
>> 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
>>
>>
>
--
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


Re: [Iup-users] IupFlatTabs issue

2017-08-05 Thread 許永寬
Thank you, I need download C++ compiler to build the new SVN then try,
thanks~

If we can get the tab pos, I think I can use FLATBUTTON_CB
and GLOBALBUTTON_CB and IupReparent to do the tabs DnD in my IDE, thanks
again~~

2017-08-05 1:42 GMT+08:00 Antonio Scuri :

>  Fixed and committed to SVN. Now when the current tab is changed it is
> also scrolled to be visible in IupFlatTabs.
>
>  Just added support for IupConvertXYToPos in IupFlatTabs.
>
> > Do you have plan about support DnD in IupFlatTabs?
>
>   No, we don't. But contributions are welcome. :)
>
> Best,
> Scuri
>
>
> 2017-08-02 12:55 GMT-03:00 許永寬 :
>
>> Very thanks^^
>> I'm develop a freeBASIC IDE using IUP3.22 about 2 years, IUP is very good
>> GUI framework, thanks~~
>>
>> Can we get the tab pos by mouse pos? Just like IupConvertXYToPos but for
>> IupFlatTabs, the iup_flattabs.c has similar function but "static", I want
>> to support midlle-click to close document, use FLAT_BUTTON_CB can catch the
>> button status, but don't know which tab be click~~
>>
>> Do you have plan about support DnD in IupFlatTabs?
>>
>> 2017-08-01 21:08 GMT+08:00 Antonio Scuri :
>>
>>>   Hi,
>>>
>>>   Yes, it is a bug. Thanks for reporting. I'll take a look at his in the
>>> next couple of days.
>>>
>>> Best,
>>> Scuri
>>>
>>>
>>> 2017-08-01 8:32 GMT-03:00 許永寬 :
>>>
 Dear scuri: 

 Since 3.22 I use IupFlatTabs instead of IupTabs, but I found if I add
 the many tabs the right-arrow icon will appear, but tab title is hiddle, I
 need click the right-arrow icon to sccroll the current tab title show.

 If I back to IupTabs, the current tab title will scroll to show.

 Thank you very much~

 
 --
 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


>>>
>>> 
>>> --
>>> 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
>>>
>>>
>>
>> 
>> --
>> 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
>>
>>
>
> 
> --
> 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
>
>
--
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


Re: [Iup-users] IupFlatTabs issue

2017-08-04 Thread Antonio Scuri
 Fixed and committed to SVN. Now when the current tab is changed it is also
scrolled to be visible in IupFlatTabs.

 Just added support for IupConvertXYToPos in IupFlatTabs.

> Do you have plan about support DnD in IupFlatTabs?

  No, we don't. But contributions are welcome. :)

Best,
Scuri


2017-08-02 12:55 GMT-03:00 許永寬 :

> Very thanks^^
> I'm develop a freeBASIC IDE using IUP3.22 about 2 years, IUP is very good
> GUI framework, thanks~~
>
> Can we get the tab pos by mouse pos? Just like IupConvertXYToPos but for
> IupFlatTabs, the iup_flattabs.c has similar function but "static", I want
> to support midlle-click to close document, use FLAT_BUTTON_CB can catch the
> button status, but don't know which tab be click~~
>
> Do you have plan about support DnD in IupFlatTabs?
>
> 2017-08-01 21:08 GMT+08:00 Antonio Scuri :
>
>>   Hi,
>>
>>   Yes, it is a bug. Thanks for reporting. I'll take a look at his in the
>> next couple of days.
>>
>> Best,
>> Scuri
>>
>>
>> 2017-08-01 8:32 GMT-03:00 許永寬 :
>>
>>> Dear scuri: 
>>>
>>> Since 3.22 I use IupFlatTabs instead of IupTabs, but I found if I add
>>> the many tabs the right-arrow icon will appear, but tab title is hiddle, I
>>> need click the right-arrow icon to sccroll the current tab title show.
>>>
>>> If I back to IupTabs, the current tab title will scroll to show.
>>>
>>> Thank you very much~
>>>
>>> 
>>> --
>>> 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
>>>
>>>
>>
>> 
>> --
>> 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
>>
>>
>
> 
> --
> 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
>
>
--
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


Re: [Iup-users] IupFlatTabs issue

2017-08-02 Thread 許永寬
Very thanks^^
I'm develop a freeBASIC IDE using IUP3.22 about 2 years, IUP is very good
GUI framework, thanks~~

Can we get the tab pos by mouse pos? Just like IupConvertXYToPos but for
IupFlatTabs, the iup_flattabs.c has similar function but "static", I want
to support midlle-click to close document, use FLAT_BUTTON_CB can catch the
button status, but don't know which tab be click~~

Do you have plan about support DnD in IupFlatTabs?

2017-08-01 21:08 GMT+08:00 Antonio Scuri :

>   Hi,
>
>   Yes, it is a bug. Thanks for reporting. I'll take a look at his in the
> next couple of days.
>
> Best,
> Scuri
>
>
> 2017-08-01 8:32 GMT-03:00 許永寬 :
>
>> Dear scuri: 
>>
>> Since 3.22 I use IupFlatTabs instead of IupTabs, but I found if I add the
>> many tabs the right-arrow icon will appear, but tab title is hiddle, I need
>> click the right-arrow icon to sccroll the current tab title show.
>>
>> If I back to IupTabs, the current tab title will scroll to show.
>>
>> Thank you very much~
>>
>> 
>> --
>> 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
>>
>>
>
> 
> --
> 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
>
>
--
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