Skip to content Skip to sidebar Skip to footer
Showing posts with the label Gtk2

Need Example/help With Gtktextbuffer (of Gtktextview) Serialize/deserialize

I am trying to save user's bold/italic/font/etc tags in a GtkTextView. Using GtkTextBuffer.get_… Read more Need Example/help With Gtktextbuffer (of Gtktextview) Serialize/deserialize

Get Colors Of Current Gtk Style

I use PyGTK and I want to get colors of a widget (for example bg color), I run such a code: gdkColo… Read more Get Colors Of Current Gtk Style

In Pygtk, What Is A Simple Way To Show A Png File?

The following PyGTK code displays a PNG file in a window. Is there a simpler or better way of displ… Read more In Pygtk, What Is A Simple Way To Show A Png File?