#46 Outdated Python examples

Open
opened 10 months ago by RenaKunisaki · 0 comments

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.
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.