[Gambas-user] to make transparent shown by MapViewer?

Gianluigi bagonergi at gmail.com
Wed Jul 18 19:03:24 CEST 2018


It still doesn't work even if I set alloweffect to false

Regards
Gianluigi

[System]
Gambas=3.11.90 3c84b78 (master)
OperatingSystem=Linux
Kernel=4.15.0-23-generic
Architecture=x86_64
Distribution=Ubuntu 18.04 LTS
Desktop=UBUNTU:GNOME
Theme=Gtk
Language=it_IT.UTF-8
Memory=15969M

[Libraries]
Cairo=libcairo.so.2.11510.0
DBus=libdbus-1.so.3.19.4
GStreamer=libgstreamer-1.0.so.0.1401.0
GTK+2=libgtk-x11-2.0.so.0.2400.32
GTK+3=libgtk-3.so.0.2200.30
OpenGL=libGL.so.1.0.0
Poppler=libpoppler.so.73.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.9.5
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
CLUTTER_IM_MODULE=xim
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=ubuntu
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=ubuntu
GIO_LAUNCHED_DESKTOP_FILE=/etc/xdg/autostart/nautilus-autostart.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=2142
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_SHELL_SESSION_MODE=ubuntu
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GTK_IM_MODULE=ibus
GTK_MODULES=gail:atk-bridge
HOME=/home/<hostname>
IM_CONFIG_PHASE=2
LANG=it_IT.UTF-8
LOGNAME=<hostname>
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=/home/<hostname>
QT4_IM_MODULE=xim
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
QT_QPA_PLATFORMTHEME=qt5ct
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1239,unix/<hostname>:/tmp/.ICE-unix/1239
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=1342
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TEXTDOMAIN=im-config
TEXTDOMAINDIR=/usr/share/locale/
TZ=:/etc/localtime
USER=<hostname>
USERNAME=<hostname>
WINDOWPATH=1
XAUTHORITY=/run/user/1000/gdm/Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
XDG_CURRENT_DESKTOP=ubuntu:GNOME
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_ID=1
XDG_SESSION_TYPE=x11
XDG_VTNR=1
XMODIFIERS=@im=ibus


2018-07-18 18:38 GMT+02:00 Fabien Bodard <gambas.fr at gmail.com>:

> And if you set alloweffect to false ?
>
> Le mer. 18 juil. 2018 18:14, Gianluigi <bagonergi at gmail.com> a écrit :
>
>> :-D Hi Fabien,
>>
>> I attach project that only works at startup.
>> You can take a look
>> Thank you for your attention
>>
>> Regards
>> Gianluigi
>>
>> 2018-07-18 18:00 GMT+02:00 <vuott at tiscali.it>:
>>
>>> Hello Fabien,
>>> with your code map colors simply have the tendency to become grey, but
>>> not "transparent".
>>> bye
>>> vuott
>>>
>>> Il 18.07.2018 16:43 Fabien Bodard ha scritto:
>>>
>>>
>>> Le mar. 17 juil. 2018 à 23:27, Gianluigi <bagonergi at gmail.com> a écrit :
>>>
>>>> Excuse vuott,
>>>> I had not understood the question.
>>>> I believe that this is not possible at present.
>>>> I hope Fabien will deny me :-)
>>>>
>>> kakaka  :-D
>>> yes i deny you :)
>>> MapView.Map["MyLayer"].Opacity = 0 to 1
>>>
>>>
>>>>
>>>> Regards
>>>> Gianluigi
>>>>
>>>> 2018-07-17 20:47 GMT+02:00 Gianluigi <bagonergi at gmail.com>:
>>>>
>>>>> If you go to gb.map > Tests > Form1 you can add this line to the code
>>>>> of Form_Open:
>>>>> $Map!MyShape!zone1.FillColor = Color.SetAlpha(Color.Green, 150)
>>>>>
>>>>> I hope it will be useful
>>>>>
>>>>> Ciao
>>>>> Gianluigi
>>>>>
>>>>> 2018-07-17 18:54 GMT+02:00 <vuott at tiscali.it>:
>>>>>
>>>>>> Hello,
>>>>>> is it possible to make transparent (by setting different levels of
>>>>>> transparency) the geographic image (the map) shown by MapViewer?
>>>>>> bye
>>>>>> vuott
>>>>>>
>>>>>>
>>>>>>
>>>>>> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3€ al mese, per
>>>>>> sempre. Cambi gratis quando e come vuoi e in più hai 10€ di credito omaggio!
>>>>>> SCOPRI DI PIU’ http://tisca.li/myopen
>>>>>>
>>>>>>
>>>>>>
>>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net
>>>>>> ]----
>>>>>>
>>>>>>
>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net
>>>> ]----
>>>
>>>
>>> --
>>> Fabien Bodard
>>>
>>>
>>>
>>>
>>> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3€ al mese, per sempre.
>>> Cambi gratis quando e come vuoi e in più hai 10€ di credito omaggio!
>>> SCOPRI DI PIU’ http://tisca.li/myopen
>>>
>>>
>>>
>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>>>
>>>
>>
>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>>
>
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180718/8f84b171/attachment.html>


More information about the User mailing list