[Gambas-user] DirChooser bug

Gianluigi bagonergi at gmail.com
Thu Oct 24 18:13:58 CEST 2019


Hi Charlie,

I think thet FileChosser uses the mentioned events internally.
See if the attached project works.

Regards
Gianluigi

Il giorno gio 24 ott 2019 alle ore 17:32 Charlie Ogier <charlie at cogier.com>
ha scritto:

> Hi,
>
> Is this just me but I can't get the following code to do anything: -
>
> *Public Sub FileChooser1_MouseUp()*
>
> * Print "Up"*
>
> *End*
>
> *Public Sub FileChooser1_MouseDown()*
>
> *  Print "Down"*
>
> *End*
>
> *Public Sub FileChooser1_DblClick()*
>
> *  Print "Dbl Click"*
>
> *End*
>
> Thanks,
>
> Charlie
>
> [System]
> Gambas=3.14
> OperatingSystem=Linux
> Kernel=4.15.0-66-generic
> Architecture=x86_64
> Distribution=Linux Mint 19.2 Tina
> Desktop=CINNAMON
> Theme=Qt5CTProxy
> Language=en_GB.UTF-8
> Memory=7848M
>
> [Libraries]
> Cairo=libcairo.so.2.11510.0
> Curl=libcurl.so.4.5.0
> DBus=libdbus-1.so.3.19.4
> GStreamer=libgstreamer-1.0.so.0.1405.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]
> CINNAMON_VERSION=4.2.4
> DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
> DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path
> DERBY_HOME=/usr/lib/jvm/java-8-oracle/db
> DESKTOP_SESSION=cinnamon
> DISPLAY=:0
> GB_GUI=gb.qt5
> GDMSESSION=cinnamon
> GDM_LANG=en_GB
> GJS_DEBUG_OUTPUT=stderr
> GJS_DEBUG_TOPICS=JS ERROR;JS LOG
> GNOME_DESKTOP_SESSION_ID=this-is-deprecated
> GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
> GTK_MODULES=gail:atk-bridge
> GTK_OVERLAY_SCROLLING=1
> HOME=<home>
> J2REDIR=/usr/lib/jvm/java-8-oracle/jre
> J2SDKDIR=/usr/lib/jvm/java-8-oracle
> JAVA_HOME=/usr/lib/jvm/java-8-oracle
> LANG=en_GB.UTF-8
> LANGUAGE=en_GB.UTF-8
> LC_ADDRESS=en_GB.UTF-8
> LC_IDENTIFICATION=en_GB.UTF-8
> LC_MEASUREMENT=en_GB.UTF-8
> LC_MONETARY=en_GB.UTF-8
> LC_NAME=en_GB.UTF-8
> LC_NUMERIC=en_GB.UTF-8
> LC_PAPER=en_GB.UTF-8
> LC_TELEPHONE=en_GB.UTF-8
> LC_TIME=en_GB.UTF-8
> LOGNAME=<user>
> MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path
> PAPERSIZE=a4
>
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin
> PWD=<home>
> QT_ACCESSIBILITY=1
> QT_QPA_PLATFORMTHEME=qt5ct
>
> SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/2172,unix/<hostname>:/tmp/.ICE-unix/2172
> SHELL=/bin/bash
> SHLVL=0
> SSH_AGENT_PID=2239
> SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
> S_COLORS=auto
> TZ=:/etc/localtime
> USER=<user>
> XAUTHORITY=<home>/.Xauthority
> XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg
> XDG_CURRENT_DESKTOP=X-Cinnamon
>
> XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop
> XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user>
> XDG_RUNTIME_DIR=/run/user/1000
> XDG_SEAT=seat0
> XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
> XDG_SESSION_DESKTOP=cinnamon
> XDG_SESSION_ID=c1
> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
> XDG_SESSION_TYPE=x11
> XDG_VTNR=7
>
> ----[ 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/20191024/f6c1853f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Chooser-0.0.1.tar.gz
Type: application/gzip
Size: 12079 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20191024/f6c1853f/attachment-0001.gz>


More information about the User mailing list