[Gambas-user] [Gambas Bug Tracker] Bug #843: [gtk2/gtk3] ActiveWindow event in DesktopWatcher class can't work

2015-11-17 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.843=L21haW4-

Zainudin AHMAD reported a new bug.

Summary
---

[gtk2/gtk3]  ActiveWindow event in DesktopWatcher class can't work

Type : Bug
Priority : Low
Gambas version   : 3.8.90 (TRUNK)
Product  : GUI components


Description
---

It's fine with qt4 this happens only with gtk2 and gtk3.
in my project (attach project) if any window active in desktop the ActiveWindow 
event still not raised.


System information
--

[System]
Gambas=3.8.90 r7457
OperatingSystem=Linux
Kernel=3.2.0-88-generic
Architecture=x86
Distribution=Ubuntu 12.04.5 LTS
Desktop=LXDE
Theme=Gtk
Language=en_US.UTF-8
Memory=494M

[Libraries]
Cairo=libcairo.so.2.11000.2
Curl=libcurl.so.4.2.0
DBus=libdbus-1.so.3.5.8
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.7.0
GTK+2=libgtk-x11-2.0.so.0.2400.10
GTK+3=libgtk-3.so.0.400.2
OpenGL=libGL.so.96.43.23
Poppler=libpoppler.so.19.0.0
QT4=libQtCore.so.4.8.1
QT5=libQt5Core.so.5.0.2
SDL=libSDL-1.2.so.0.11.3

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-bS9wnTCZrH,guid=87c5358bb5c3998bf7cb957b0027
DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path
DESKTOP_SESSION=Lubuntu
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=Lubuntu
GNOME_KEYRING_CONTROL=/tmp/keyring-9dJvqY
GNOME_KEYRING_PID=1630
HOME=
LANG=en_US.UTF-8
LOGNAME=
MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path
PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PWD=
SAL_USE_VCLPLUGIN=gtk
SHELL=/bin/bash
SSH_AGENT_PID=1621
SSH_AUTH_SOCK=/tmp/keyring-9dJvqY/ssh
TZ=:/etc/localtime
USER=
XAUTHORITY=/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg
XDG_CONFIG_HOME=/.config
XDG_CURRENT_DESKTOP=LXDE
XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg
XDG_MENU_PREFIX=lxde-
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_COOKIE=2d9710af0959f6893eb828f10008-1447020998.408513-1201412477
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
_LXSESSION_PID=1591



--
Give your users amazing mobile app experiences with Intel XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2-D/3-D games for multiple OSs.
Then get your creation into app stores sooner, with many ways to monetize.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #843: [gtk2/gtk3] ActiveWindow event in DesktopWatcher class can't work

2015-11-17 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.843=L21haW4-

Zainudin AHMAD added an attachment:

test-activeWindow-0.0.1.tar.gz



--
Give your users amazing mobile app experiences with Intel XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2-D/3-D games for multiple OSs.
Then get your creation into app stores sooner, with many ways to monetize.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gb.desktop Desktop.ActiveWindow

2015-11-17 Thread zainudin ahmad
and Gtk issue : Bug report 843


On Wed, Nov 18, 2015 at 4:57 AM, herberth guzman 
wrote:

> Regards Zainudin Ahmad
>
> Thanks for taking time to help me.
>
> Your example is useful for my project and adapt your code, and My_panel
> works as I wanted.
>
> I am making changes in the area of desktop settings and very soon will show
> a new version of the project Innova_Desktop 1.4
>
> Thousand thanks
>
>
> Herberth Guzmán
>
> --
> Give your users amazing mobile app experiences with Intel XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2-D/3-D games for multiple OSs.
> Then get your creation into app stores sooner, with many ways to monetize.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Give your users amazing mobile app experiences with Intel XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2-D/3-D games for multiple OSs.
Then get your creation into app stores sooner, with many ways to monetize.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Navigation in TableView with keyboard 'Enter'

2015-11-17 Thread Ru Vuott
maybe do you want approximately...


Private m As Short


Public Sub TableView1_KeyPress()

If Key.Enter Then
  TableView1.MoveTo(m, 0)
  TableView1.Edit
  Inc m
  m = m Mod TableView1.Rows.Count
Endif

End







Lun 16/11/15, wi...@develop.earthshipeurope.org 
 ha scritto:

 Oggetto: Re: [Gambas-user] Navigation in TableView with keyboard 'Enter'
 A: "mailing list for gambas users" 
 Data: Lunedì 16 novembre 2015, 17:45
 
 On 2015-11-16 17:09, wi...@develop.earthshipeurope.org
 wrote:
 > Hi all,
 > 
 > Is there an simple manner of making an
 editable TableView only move
 > through 1
 Column upon hitting the 'Enter' on keyboard?
 > 
 > OR EVEN BETTER
 > 
 > make only one column
 editable instead of the whole table (I assume that
 > would eliminate moving through all non
 editable fields)?
 > 
 >
 Thanks,
 > 
 >
 gbWilly
 > 
 Nevermind,
 figured it out myself eventually
 
 Here is what I did to make only column one
 editable:
 
 Public Sub
 tvwResult2_Click()
 
    If tvwResult2.Column = 1 Then
      tvwResult2.Edit
    Endif
 
 End
 
 
 --
 Presto, an open source distributed SQL query
 engine for big data, initially
 developed by
 Facebook, enables you to easily query your data on Hadoop in
 a 
 more interactive manner. Teradata is also
 now providing full enterprise
 support for
 Presto. Download a free open source copy now.
 http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user