Using GTK3 Vision library on Ubuntu; how to specify?

15 views
Skip to first unread message

Thomas Beale

unread,
Mar 31, 2020, 1:07:17 PM3/31/20
to Eiffel Users
I see there is a GTK3.4 implementation of Vision2. Is there any documentation about what it fixes compared to GTK2?

And how do I enabled it? I assume something like the following:

                <library name="ise_vision2" location="$ISE_LIBRARY\library\vision2\vision2.ecf">
                        <target="vision2_gtk34"/>
                </library>

But I don't know what that middle bit should really be, or if it's something else entirely. (I just spent an hour searching for ECF syntax, documentation on GTK3 in Eiffel and how to switch Vision implementations... not much there, unfortunately).

thanks

Thomas Beale

unread,
Mar 31, 2020, 1:09:00 PM3/31/20
to Eiffel Users
Typo... not
                        <target="vision2_gtk34"/>
but presumably something like
                        <xxxx target="vision2_gtk34"/>
but I don't know what the xxx is.

Jocelyn Fiat

unread,
Mar 31, 2020, 1:22:54 PM3/31/20
to Eiffel Users
If you look at the vision2.ecf file, you will see the variable "vision_implementation"
so you should put in your application target the line

<variable name="vision_implementation" value="gtk34"/>

However, I fear the gtk3 implementation has never been completed.

Regards,
-- Jocelyn

--
You received this message because you are subscribed to the Google Groups "Eiffel Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eiffel-users/b31bd8a9-8bc6-4871-8b94-bef657dc4a78%40googlegroups.com.


--
Jocelyn
------------------------------------------------------------------------
Eiffel Software
https://www.eiffel.com
Customer support: https://support.eiffel.com
User group: https://groups.google.com/forum/#!forum/eiffel-users
------------------------------------------------------------------------

Thomas Beale

unread,
Mar 31, 2020, 1:28:59 PM3/31/20
to Eiffel Users
I did finally figure it out ... but if the implementation isn't finished, probably it should not be an option there in the libraries? (It doesn't compile at any rate).


On Tuesday, 31 March 2020 18:22:54 UTC+1, Jocelyn Fiat wrote:
If you look at the vision2.ecf file, you will see the variable "vision_implementation"
so you should put in your application target the line

<variable name="vision_implementation" value="gtk34"/>

However, I fear the gtk3 implementation has never been completed.

Regards,
-- Jocelyn

On Tue, Mar 31, 2020 at 7:09 PM Thomas Beale <wolan...@gmail.com> wrote:
Typo... not
                        <target="vision2_gtk34"/>
but presumably something like
                        <xxxx target="vision2_gtk34"/>
but I don't know what the xxx is.

On Tuesday, 31 March 2020 18:07:17 UTC+1, Thomas Beale wrote:
I see there is a GTK3.4 implementation of Vision2. Is there any documentation about what it fixes compared to GTK2?

And how do I enabled it? I assume something like the following:

                <library name="ise_vision2" location="$ISE_LIBRARY\library\vision2\vision2.ecf">
                        <target="vision2_gtk34"/>
                </library>

But I don't know what that middle bit should really be, or if it's something else entirely. (I just spent an hour searching for ECF syntax, documentation on GTK3 in Eiffel and how to switch Vision implementations... not much there, unfortunately).

thanks

--
You received this message because you are subscribed to the Google Groups "Eiffel Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages