GeditOverlay is a new GtkContainer similar to GtkFixed but that only allows you to put the childs in specific positions, north-west/east, south-west/east etc. Apart from this, this container is based on the main-widget idea. Where all the requesitions and allocations are proxied from the main widget or relative widget attached.
The idea of this was in my summer of code when I decided to port the monodevelop’s animated popup to C. With the new solitudes that I had in the last weeks to make it animation-less we decided to improve it a little and create a GeditOverlay (without any animation) and GeditAnimatedOverlay that inherits from GeditOverlay and helps to provide animation specifics to the widgets implementing the GeditAnimatable interface.
To use this new widgets you can check it out from the gedit repository. The main classes are:
GeditOverlay: main container
GeditOverlayChild: this is the widget added to GeditOverlay. You will only want to create this widget if you want to animate it or make it themeable in some way. Usually you don’t have to care about it as GeditOverlay creates it for you if you are not passing one widget of this type.
GeditAnimatedOverlay: container inheriting from GeditOverlay where you can add widget implementing GeditAnimatable
GeditFloatingSlider: widget inheriting from GeditOverlayChild and implementing GeditAnimatable that provides a slide/in/out animation
NautilusFloatingBar: (this one in the nautilus repository) which inherits from GeditOverlayChild and provides a themed floating widget and loading visualizations
Also say that currently there are already a few applications using this: gedit, epiphany and nautilus and we hope to get it included in gtk+ 3.2
I would also like to thank Xan and Cosimo for all the help provided on making this code more polished and fixing a lot of bugs.
Hey everybody, I wanted to say in this post that this week I will be in Prague working on trying to get gedit ported to python introspection. So far we are having quite some progress on fixing the problems that I am finding making this work, so hopefully we will have our well known beloved gedit ready for GNOME 3.0.
Even if the travel until here was quite long, I am having good moments with my mates. It is quite amazing that I finally get to know people like Steve, as we were working together for years but we did not meet in person until now.
I would like to thank the GNOME Foundation for sponsoring my travel and the hotel and I would like to thank also Collabora for all the beers that we are having. Because as you should know, nothing like a couple of beers in the night after a hard work day to get relaxed and be ready for the next hacking day
I also would like to encourage people to come to some hackfest as it is really good experience.
Just inform that I invested the past two weeks porting gtranslator to the last new cool things around. So far is using GtkApplication, GSettings (already in the last release), libpeas, which means that you will able to have python plugins now, and all the new gtk+ 3 porting stuff needed to make it build. There are still some plugins that need to be ported to libpeas but it is not a blocking thing.
With this I want to call the translators to try either the git version or the last release using gtk+ 2 that already uses GSettings, and tell the impressions that they can have about it and of course fill some bugs. I know that the profile creation already sucks but it is something that you will do just once, so that’s why I didn’t get into do it more automagically.
Apart from this I have also been in Prague this past weekend and I managed to meet this great guys, probably you already know them, tomeu in the center and andre in the right. So as you can see in the photo we were working hardly that day Thank you guys for the chatting and the beers by the way
Hey folks, as a new experience in my life I’ll be in Poland doing the Erasmus the whole year, so if anybody from there wants to have a beer, coffee or something please let me know. I’ll be mainly in Bielsko-biala but probably I’ll visit quite frecuently Krakow.
In relation to the hack I’ve been doing this week before arriving to Poland, just tell that gtranslator is now ported to GSettings and that gedit has now the new search dialog in master. So please test it and report bugs
With this post I’d like to point to you the nice work the evince guys and Jose Aliste made to provide support for evince and gedit SyncTex support. Have a look at Jose Aliste’s blog post where you can see a screencast that he made. Keep doing such a great job!!
Hey guys, this week I couldn’t make too much in the SoC as I’ve been in the guadec-es. First of all I’d like to thank the guadec-es organizers as it was pretty cool being there. About what I did this week:
Some improvements in the view abstraction. Just some minor things missing to have it working.
Some fixes in gsettings-desktop-schemas module.
I invested quite some time reading the GtkNotebook internals to figure out how to remove the borders. See the patch in case you want to do something similar.
I continued with the animation framework port and I improved the search animation. Here it is the result:
What I had to achieve this week?
Had the html viewer ready. This was not possible due to a lack of time.
I fixed some gedit bugs.
I continued with the animation framework.
What am I going to do next week?
Try to get the html viewer for real.
Bug fixing in general.
In my schedule the view abstraction and bug fixing is the end of my gsoc. So I’ll continue with this. Now I’m a bit delayed but as last weeks are for bug fixing and I’m already investing time doing bug fixing I guess I’m ok in the schedule.
Another busy week for me. Here it is what I have been doing:
I have invested quite some time on studying the GtkText* internals.
Moved the sealed attributes of GtkTextView and GtkTextBuffer to a private struct. This is already in gtk+ master.
Added annotation for GtkAccelMap needed for a gedit plugin. Already in gtk+ master too.
Updated gedit to use the new GtkNotebook api. This means depending on gtk+ from git.
Managed to build the webkit-gtk monster. Finally I had to download the svn version, as always one version is released the next day doesn’t work due to an update in gtk+ or glib. I’ll use webkit to make a test case for the view abstraction.
I had to make the midterm evaluation.
I worked a bit in the view abstraction, I’m getting close to get something working.
After this I have been stuck due to a bug in Gtk+ that produces an infinite loop and I couldn’t continue working on the view abstraction. If you have this problem now there is a patch in bugzilla that fixes the problem.
Due to the gtk+ bug, I decided to have a look at the MonoDevelop code to see how they make the cool animations and after breaking my head, I managed to port part of the animation framework. What does this mean for gedit?
Another year has passed for me and I continue, and hopefully I’ll continue working in gedit. So, for that, I’d like to thank the gedit team for all the great job they are doing and all the help they gave me so far. By the way, as a birthday present I would like to “just” ask the world cup for Spain
Thanks everyone and keep being such a great comunity.