Feb 10 2008

Revamp, GTK+ apps on Windows and more documentation

Posted by Philip Withnall

I’ve just finished converting the site to use Wordpress instead of the custom software I’d previously been using. It’d been getting too time-consuming to keep everything maintained and up-to-date with the latest things going on on the Internet, and I’d been reduced to making posts via phpMyAdmin due to various things breaking. Hopefully, this should be better, and a lot less hassle to keep running. I apologise if the transition has messed up the feed for anyone, but I’ve tried my hardest to redirect all the old URLs, so things should keep working as before.

Recently, I had to compile my computing coursework for Windows, as the person for whom it’s written only uses Windows. Much to my delight, once I’d figured out the terminology and basic principles, getting it to cross-compile for Windows using MinGW was quite easy! Since I couldn’t find much documentation on the process while doing it, I’ve written up the steps I took, and perhaps someone else will find them useful.

Last month, I also managed to write up some API documentation for totem-pl-parser, which has been on the to-do list for a little while. It was quite easy to get the hang of gtk-doc, too, and once I’d got started, the documentation got done quite quickly. If anyone’s implementing anything using totem-pl-parser, I’d appreciate any feedback on the usefulness of the documentation, as it can always be improved.

Filed under : GNOME, drboblog | 5 Comments »
Oct 02 2007

Adding to a GtkTreeView as you scroll?

Posted by Philip Withnall

Tags: ,

I’m writing something for Totem, and I want a GtkTreeView to have more rows added to it as you scroll down.

So far I’ve got it adding more rows nicely when you get to about 80% of the way down the GtkAdjustment, by listening to the adjustment’s “changed” signal, but then it keeps on adding rows (ideally it should only add 20 at a time then stop), and the handle of the scrollbar screws up. I presume this is something to do with the fact that the handle is grabbed at the time, and so probably can’t resize, or something.

Anyway, has anybody implemented anything similar before (or seen such a feature somewhere) so that I can see where I’m going wrong? I could’ve sworn I’d seen something similar before (I’m not original enough to think up such features myself :D), but I can’t find it. Answers on a postcard, please. :)

Filed under : GNOME | 12 Comments »