Menu
  • HOME
  • TAGS

How do I change the size of a GTK container widget?

python,gtk3,pygobject,gio

Instead of Gtk.Box, use Gtk.Grid and set the hexpand and vexpand properties on the buttons that you pack into the grid. Also, consider using a Gtk.AspectFrame for the square button....

Registering an Object on DBus using pythons Gio-Bindings

python,dbus,gio

This certainly not what you'll want to hear, but you have hit a 4 year old bug in the GDBus Python bindings that makes it impossible to register objects on the bus. A patch had been proposed quite some time ago, but every time it looked like it was actually...

How to specify source address for source-specific multicasting in Gstreamer

gstreamer,gst,gio

Just found it. Set the uri property in the following format: udp://[email protected]:10108' http://lists.freedesktop.org/archives/gstreamer-bugs/2011-June/079642.html...

Glib/Gio Asynchronous or Threaded UDP Server

c,multithreading,glib,asyncsocket,gio

I figure it out. I am indeed quite a beginner. Because, when I wanted to test my udp application (the second code block), I used telnet to connect to it and try to send messages. However, we can not telnet udp applications of course... So I tried with a simple...