#46 Outdated Python examples

Aperto
aperto 11 mesi fa da RenaKunisaki · 0 commenti

I had to change the beginning of the Python examples to run them:

import gi
gi.require_version('Gtk', '3.0')
gi.require_version('Gdk', '3.0')
gi.require_version('GFlow', '1.0')
gi.require_version('GtkFlow3', '1.0')

from gi.repository import GLib
from gi.repository import Gtk
from gi.repository import Gdk
from gi.repository import GFlow
from gi.repository import GtkFlow3 as GtkFlow
I had to change the beginning of the Python examples to run them: ```py import gi gi.require_version('Gtk', '3.0') gi.require_version('Gdk', '3.0') gi.require_version('GFlow', '1.0') gi.require_version('GtkFlow3', '1.0') from gi.repository import GLib from gi.repository import Gtk from gi.repository import Gdk from gi.repository import GFlow from gi.repository import GtkFlow3 as GtkFlow ```
Sign in to join this conversation.
Nessuna etichetta
Nessuna milestone
Nessun assegnatario
1 Partecipanti
Caricamento...
Annulla
Salva
Non ci sono ancora contenuti.