Questions tagged [pygobject]

GTK+ and other GObject bindings are provided by PyGObject through introspection.

Python library providing bindings for GObject based libraries through GObject-Introspection.

For more information:

817 questions
-1
votes
2 answers

what is the equivalent of pyqtsignal in PyGObject?

I have some python code I'm trying to convert from Qt to Gtk. I'm fairly new to Gtk and have no experience with Qt. There are some lines in python which create new signals in Qt that I'd like to convert to Gtk. The code is like this: fpssig =…
-2
votes
1 answer

How do I set OpenGL version for GtkGLArea in Python GTK?

I have this class below that works in Windows using OpenGL 3.0. However, in Linux this fails because it appears to be using an OpenGL 2.0 methods on an OpenGL 4.6 context. I get this error. How do tell the GtkGLArea in Python GTK to use OpenGL 4.6…
-2
votes
1 answer

Coding errors when moving the application

I am porting an application from linux to windows. Changing the encoding from utf-8 to windows-1250 doesn't help event.keyval which reports the following message for Polish letters: character_e = event.string UnicodeDecodeError: 'utf-8' codec can't…
Roman Nowak
  • 3
  • 1
  • 3
-2
votes
1 answer

Can i write a GUI for fedora using pygtk?

I would like to write my own frontend for an operating system in python my current choice is linux fedora but after the install i would then remove the x window system so that i could write my own OS frontend but would it still work or does pygtk…
Oliver Strong
  • 415
  • 1
  • 7
  • 15
-3
votes
1 answer

How can I create a gedit plugin using python?

I wanted to create a simple gedit plugin that could save the current file when mouse leaves the text area (just like the <> event in tkinter) using python3. I went through wiki but I couldn't get much from it (All I could do was to create a…
Rio_Nyx
  • 96
  • 3
  • 7
-3
votes
1 answer

Use button to call a file.py with glade

i'm trying through a python script in conjunction with glade, create a button that opens me a file in python so I can edit if I want to make some changes later. Can anyone help me if you please ? What i did was this: import…
Ricardo Alves
  • 145
  • 1
  • 2
  • 8
1 2 3
54
55