On 06/01/2018 08:10 AM, xclae...@gmail.com wrote:
> Disclaimer: I'm not a GLib maintainer so this email is only about
> opening the discussion. There is no decision made yet.
>
> Opinions?
I think the risk area is python3 support on some commercially supported
distributions. Although, that is
With Python 2.x getting EOL in less than 2 years, I suspect that commercial
distros will need to provide Python 3 pretty quickly.
Ciao,
Emmanuele.
On Fri, 1 Jun 2018 at 21:10, Christian Hergert wrote:
> On 06/01/2018 08:10 AM, xclae...@gmail.com wrote:
> > Disclaimer: I'm not a GLib
Hi,
Things are looking pretty well with meson in GLib master. We have CI
working for pretty much all interesting platforms (more to come) and
there are only a few remaining issues with "Meson" tag in gitlab[1].
I think the longer we keep 2 build systems, the more time we waste on
useless tasks.
Hi;
this mailing list is not for the GTK port of WebKit; you should ask on:
https://lists.webkit.org/mailman/listinfo/webkit-gtk
Ciao,
Emmanuele.
On 31 May 2018 at 23:04, Leo Ufimtsev wrote:
> Hello guys,
>
> The following method:
> guchar * webkit_web_resource_get_data_finish(..)
>
>
Please show us a minimal working example. Give us code to show us what
you have tried so far.
And doesn't it had to be a GtkApplicationWindow? Why not using a simpler
GtkWindow?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
Hi;
g_file_load_bytes() is available since GLib 2.56:
https://developer.gnome.org/gio/stable/GFile.html#g-file-load-bytes
so you'll need to make sure that the version of GLib provided by MSYS2 is
new enough if you want to use that method.
Ciao,
Emmanuele.
On 1 June 2018 at 01:21, PC
Hello guys,
The following method:
guchar * webkit_web_resource_get_data_finish(..)
Sometimes returns utf8 and sometimes utf16. Is there a way to tell them
apart?
Thank you.
--
Leo Ufimtsev, Software Engineer, Red Hat
___
gtk-app-devel-list mailing
During my application programming, I had to use the GIO function
g_file_load_bytes().
I have my GTK+ installation installed from MSYS (the new method)
so I obviously have GIO. I previously even used g_file_load_contents()
without problems, but now, it weirdly doesn't find definition for
The other way to go about it is to just use cairo. I don't think that it will
give a speed improvement but it might be worth a try. I figure you are trying
to scale the png first and then draw it in a widget. Once the image is sized it
shouldn't be a problem to draw quickly.
Eric
//gcc
Code that uses PyGObject can't be PEP8 conformant without generating
version warnings. My practice is to minimise E402 by moving imports,
then add .flake8 file with;
[flake8]
# E402 module level import not at top of file
# gi.require_version() is required before later imports
ignore = E402
--
I opened a question on StackOverflow about this and created a (not so)
minimal working example for it there.
https://stackoverflow.com/q/50643938/4865723
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
How do I make PyGObject code PEP8 konform?
e.g.
#!/usr/bin/env python3
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
This code causes
E402 module level import not at top of file
E402 module level import not at top of file
My take would be to ignore this specific line with a magic comment. Or, if
you really donʼt want to d that, a
from importlib import import_module # isnʼt that line wonderful?
Gtk = import_module('gi.repository.Gtk')
might do the trick.
(Note that I wrote it without having Python at hand; maybe
- Цитат от Emmanuele Bassi (eba...@gmail.com), на 01.06.2018
в 11:20 - Hi;
g_file_load_bytes() is available since GLib 2.56:
https://developer.gnome.org/gio/stable/GFile.html#g-file-load-bytes
so you'll need to make sure that the version of GLib provided by MSYS2 is
new enough
14 matches
Mail list logo