Re: [Denemo-devel] Tooltips - what am I doing wrong?

2015-11-27 Thread John Coppens
On Thu, 19 Nov 2015 09:56:06 +0100 (CET)
Lucas Levrel  wrote:

> Please see by yourself:

Lucas, 

I think those 'tear-offs' are not the same ones as referred to here.
The 'main menu bar' of GIMP doesn't have tear-offs anymore. I believe
the ones you are showing are from right-clicking on the canvas.

I also suspect that the complexities arise from detaching menus from
the main menu bar, not from the right-click, which is already a
pop-up

John

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: [Denemo-devel] Tooltips - what am I doing wrong?

2015-11-27 Thread Lucas Levrel

Le 27 novembre 2015, John Coppens a écrit :

I think those 'tear-offs' are not the same ones as referred to here.
The 'main menu bar' of GIMP doesn't have tear-offs anymore. I believe
the ones you are showing are from right-clicking on the canvas.


Right.


I also suspect that the complexities arise from detaching menus from
the main menu bar, not from the right-click, which is already a
pop-up


Thanks for clarifying. This said, I don't see much difference between e.g. 
the sub-menus of a menu and those of the right-click pop-up. Never mind.



--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Installation of pygobject with gtk on windows.

2015-11-27 Thread Nicolas Brack
Hello,

I'm writing a small application for name generation, that I want to share with 
various people.  Unfortunately, a lot of said people are not passionate 
GNU/Linux user as I am, and so porting the application for windows is 
important.  I am not a main windows developer.  I didn't use C to write the app 
and I already have a small prototype in python3 that works under Gnu/Linux 
using PyGObject for Gtk3.  I now want to, firstly, have a decent installation 
of PyGObject and Gtk on windows so the program run and, secondly, be able to 
build an installer bundling the python and gnome dependencies to run standalone 
on windows.

I'm already stuck at that first step.  After many failures, I reinstall python3 
with the official install and with pip.  Since pip show PyGObject to be of 
version 2-28-3 when downloading it, which seems  waaay outdated, I tried to 
pick a more official installer from this sourceforge page : 
http://sourceforge.net/projects/pygobjectwin32/files/.  The installer fails to 
recognize a key in the registry and suggest to find the installation path from 
%PATH%.  It does find the correct installation directory 
"C:\Python-35\Lib\site-packages".  I select the base package, Gtk, Glade and 
the documentation browser to be installed.  The installer finishes 
successfully.  Glade and devhelp run without problem, however I cannot load 
pygobject in python itself.

    >>> from gi.repository import Gtk
    Traceback (most recent call last):
      File "", line 1, in 
    ImportError: No module named 'gi'

The folder site-packages, only lists a folder "gnome" (besides pip, setuptools, 
easy_install and pkg_resources).  Importing package "gnome" yield an empty 
package.  Am I missing a step?  What should I do for being able to import "gi" 
under windows?

Python developers concerned with windows, please help me!  I thank you already!
-
Mail.be, WebMail and Virtual Office
http://www.mail.be
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Installation of pygobject with gtk on windows.

2015-11-27 Thread Enno Borgsteede

Hello Nicolas,

I'm writing a small application for name generation, that I want to share with 
various people.  Unfortunately, a lot of said people are not passionate 
GNU/Linux user as I am, and so porting the application for windows is 
important.  I am not a main windows developer.  I didn't use C to write the app 
and I already have a small prototype in python3 that works under Gnu/Linux 
using PyGObject for Gtk3.  I now want to, firstly, have a decent installation 
of PyGObject and Gtk on windows so the program run and, secondly, be able to 
build an installer bundling the python and gnome dependencies to run standalone 
on windows.

I'm already stuck at that first step.  After many failures, I reinstall python3 with the 
official install and with pip.  Since pip show PyGObject to be of version 2-28-3 when 
downloading it, which seems  waaay outdated, I tried to pick a more official installer 
from this sourceforge page : http://sourceforge.net/projects/pygobjectwin32/files/.  The 
installer fails to recognize a key in the registry and suggest to find the installation 
path from %PATH%.  It does find the correct installation directory 
"C:\Python-35\Lib\site-packages".  I select the base package, Gtk, Glade and 
the documentation browser to be installed.  The installer finishes successfully.  Glade 
and devhelp run without problem, however I cannot load pygobject in python itself.

 >>> from gi.repository import Gtk
 Traceback (most recent call last):
   File "", line 1, in 
 ImportError: No module named 'gi'

The folder site-packages, only lists a folder "gnome" (besides pip, setuptools, easy_install and 
pkg_resources).  Importing package "gnome" yield an empty package.  Am I missing a step?  What 
should I do for being able to import "gi" under windows?

Python developers concerned with windows, please help me!  I thank you already!
We have the same sort of configuration issues for the Gramps genealogy 
program. I'm a developer for that, but I only work on Linux myself. We 
have a fellow developer who works on the Windows version though, for 
which we have an all-in-one installer that was initially created by 
another developer.


For Gramps, we have separate installers for 32 and 64 bit Windows 
versions, and you may need the same, although I think that for a simple 
application 32 bit will be enough.


Anyway, if you are interested, you may ask for advice on the Gramps 
developers list:


http://sourceforge.net/p/gramps/mailman/

You can also look at the mail history on that list, and see old 
discussion about this.


regards,

Enno

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Installation of pygobject with gtk on windows.

2015-11-27 Thread Lucas Levrel

Le 27 novembre 2015, Nicolas Brack a écrit :

I'm writing a small application for name generation, that I want to 
share with various people.  Unfortunately, a lot of said people are not 
passionate GNU/Linux user as I am, and so porting the application for 
windows is important.  I am not a main windows developer.  I didn't use 
C to write the app and I already have a small prototype in python3 that 
works under Gnu/Linux using PyGObject for Gtk3.  I now want to, firstly, 
have a decent installation of PyGObject and Gtk on windows so the 
program run and, secondly, be able to build an installer bundling the 
python and gnome dependencies to run standalone on windows.


For my C/C++ app, to avoid these nightmares (compiling on Windows, 
bundling libs and/or create an installer), I cross-compile statically 
using MXE (http://mxe.cc): work on Linux, distribute a single .exe .


It looks like the PyGObject package is not available out-of-the-box, but 
it may be easy to add.


--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list