Archive for the ‘gtk’ Category

gcolor2 will help u!

Saturday, August 9th, 2008

As [among many things :) ] a web designer/programmer, I need to know about colors! I need to choose main colors, keep with them until the project is finished, etc!
When doing the design you can just use GIMP’s color chooser but when coding, you sometimes need to test which color fits better.

I recently found gcolor2 (by Justin Spadea), a simple and useful tool for people who need to get/check/test colors without having to start GIMP.

gcolor will allow you to pick any color you’re seeing on your screen with an eyedropper or to choose colors from a GTK color wheel. Also, you can store colors for later usage and check the already saved colors with fancy names ;)

This is one of those little tools that make your life easier!
Thanks Justin.

gcolor2 screenshot

Goocanvas rules!

Tuesday, July 15th, 2008

Recently I needed to come up with some sort of widget in PyGTK to be able to draw selection boxes, drag them around, etc. over a background image. After spending two days with pycairo and having only what would be the basis for what I need done, I found Goocanvas, particularly its Python bindings!!

I already knew the name due to my subscription on PyGTK Mailing List but never had a change to dig in further. It is amazing!! You create items on a canvas, and you can deal with them one by one setting their properties, dealing with input events, etc., really nice.

Now I pretty much have what I needed (the drag selection boxes on top of an image) and I might extract it from the main program and make it available for anyone with such needs like I had.

Checkout this amazing work that allows one to do some neat stuff with cairo without sweating too much!