I started putting together a breadcrumbs widget if anyone is interested. Kinda tired of using GtkToggleButton for this.
gmcs -out:Crumbs.exe -pkg:gtk-sharp-2.0 -r:/usr/lib/mono/2.0/Mono.Cairo.dll Crumbs.cs
I'll write this in pygtk this week as well.
I started putting together a breadcrumbs widget if anyone is interested. Kinda tired of using GtkToggleButton for this.
gmcs -out:Crumbs.exe -pkg:gtk-sharp-2.0 -r:/usr/lib/mono/2.0/Mono.Cairo.dll Crumbs.cs
I'll write this in pygtk this week as well.
Comments (9)
Looks good. Would it be easy to angle the inside borders into more of chevron (>)? (ie, to make it look a bit more like iTunes’ bread crumbs) Another idea might be to emulate the Vista Explorer crumbs with chevron menus in between items, and you could do that easily without modifying what you already have.
Good work. I’ll have to keep this in mind should it come in handy for a project.
Oh, this looks nicer than the crumbs in Gnome’s default Open/Save dialogs… Maybe you should offer it as a replacement.
Very cool. I decided to blog this and add a feature: http://manicolosi.blogspot.com/2008/03/eggcrumbs-with-scrolling.html
@Max
I’d like to add the angles too. I just wanted to get something out first. Perhaps I can add that tonight.
I’d like to do animations as well, but it just seems like more effort than its worth.
The Banshee team has been putting together a number of interesting animated widgets… maybe you can borrow some code there?
This is true. I ought to take a closer look at it.
Here is a 10 second modification to give an idea of where i wanted to go with arrows.
Very nice widget.
Thanks for the share!
A long while back, I proposed an idea for widgets (or containers?) to have a property which specified how they are supposed to pack next to the adjacent widget.
At the time, I wanted to recreate a widget _similar_ to a Combo-box, with a text entry and a button – and have “…” on the button to expand a chooser for the text entry.
The property would specify whether two adjacent widgets should “conjoin” (if they know how) to render together.
It would seem that the EggCrumbs widget could be made up from a container of “normal” GtkButton widgets – if a style property was available to tell each widget (or the theme engine) to render it without corners on particular edges.
It might come
That’s a pretty neat idea Peter. I like it.
Trackback/Pingback (1)
A little path bar widget…
So, this week I finally decided to implement a path bar widget for one of my pet projects. There have been some implementations on the net, e.g. a breadcrumb widget with GTK# in C# (download). However, instead of reworking this, I decided to implement…