How should I use GtkHeaderBar without having a duplicate title bar on older platforms?

2013-07-25 Thread Dylan McCall
For my GSoC project, I'm writing an application that uses GtkHeaderBar. Using Gtk 3.8, with libgd as a handy drop-in replacement for the new features in 3.9+, it looks like this: http://ubuntuone.com/0cr9GKuwrbULXMmL3eExmq As you can see, my application ends up with the title in two places, and I'

Accessible text in a GtkTreeView?

2012-06-29 Thread Dylan McCall
I'm working with a tree view widget which needs to be nice and accessible. Here is a picture: http://ubuntuone.com/1pP5oWD1HCIUQ4OqptHZfw The Install column has three cell renderers, and many of the columns have content that would be unclear coming from a screen reader. Currently, without any speci

Trouble with accessibility and GtkTreeViewColumn with multiple cells

2012-05-23 Thread Dylan McCall
I have a GtkTreeViewColumn with three cell renderers: a toggle, an image and a label. This renders nicely, but Orca only reads the last item in the column: the label. I need it to read the checkbox as well. How can I go about making that happen? Here's a snippet of code, for context. (I'm using Py

Re: Formatting dates according to the region

2012-04-16 Thread Dylan McCall
On Mon, Apr 16, 2012 at 12:13 PM, Michael Cronenworth wrote: > Look at the documentation for g_date_time_format(). You will find the > other format specifiers that you want. %a, %A, %b, %B, and %c look > helpful for you. Thanks for your suggestion, but the trouble I have with those is I would sti

Formatting dates according to the region

2012-04-16 Thread Dylan McCall
GNOME Control Center's Region & Language panel lists four different date formats for the selected region. For Canada, for example, it lists: Monday 16 April 2012 16 April 2012 16 Apr 2012 12-04-16 However, g_date_time_format(datetime, "%x") only returns a date formatted in that last way. How can

Smooth text input field with autocompleted units?

2011-10-30 Thread Dylan McCall
don't see a way to tell EntryCompletion to use a different string in its completion list. It will just use exactly what is in that TreeIter we returned true for. If anyone has an idea, please share. Thank you :) -- Dylan McCall dylanmcc...@gmail.com http://