pango or any other way to format text

2012-05-14 Thread Rudra Banerjee
Can anybody please take some time to show me simple way of implementing pango formatting to get greek letters, subscripts and superscripts in gtk2+? A minimal(complete with headers) example will be very appriciated.   -- Rudra JRF; SNBNCBS http://www.bose.res.in/~rudra A bus station is where a

Re: pango or any other way to format text

2012-05-14 Thread Liam R E Quin
On Mon, 2012-05-14 at 20:20 +0800, Rudra Banerjee wrote: Can anybody please take some time to show me simple way of implementing pango formatting to get greek letters, subscripts and superscripts in gtk2+? A minimal(complete with headers) example will be very appriciated. Greek is the same as

Re: pango or any other way to format text

2012-05-14 Thread David Nečas
On Mon, May 14, 2012 at 08:20:26PM +0800, Rudra Banerjee wrote: Can anybody please take some time to show me simple way of implementing pango formatting to get greek letters, subscripts and superscripts in gtk2+? What do you mean by ‘implementing Pango formatting'? I suppose you are not

Re: Event Mask Question

2012-05-14 Thread Chris Sparks
Well I have taken a different approach to my programming given how events changed. I just turn on all events and then my code will determine which event I'll inhibit or not depending on the widget I am building. Seems to be working fine, exception for key_press and key_release. Can't get

Re: pango or any other way to format text

2012-05-14 Thread Dov Grobgeld
See http://developer.gnome.org/pango/stable/PangoMarkupFormat.html for the syntax for subscripts and superscripts. Regards, Dov On Mon, May 14, 2012 at 3:38 PM, David Nečas y...@physics.muni.cz wrote: On Mon, May 14, 2012 at 08:20:26PM +0800, Rudra Banerjee wrote: Can anybody please take

MSAA or UIA

2012-05-14 Thread Mike
Searches on the internet give me nothing. Who knows when/if gtk+ applications will be accessible using MSAA or UIA? What are the reasons we're not there yet? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: MSAA or UIA

2012-05-14 Thread Michael Cronenworth
Mike wrote: Searches on the internet give me nothing. Who knows when/if gtk+ applications will be accessible using MSAA or UIA? What are the reasons we're not there yet? Googling for uia gtk brought me this up in 30 seconds:

Re: MSAA or UIA

2012-05-14 Thread Mike
Unfortunately I couldnt view the whole thread. Your web page ends in the middle of the conversation, strangely. The web site doesnt have links to view the whole thread; it's a horrible mailing list reader. It helped though. Thanks. :) I'll try asking M$. On 5/14/2012 1:14 PM, Michael

Re: MSAA or UIA

2012-05-14 Thread Michael Cronenworth
Mike wrote: Unfortunately I couldnt view the whole thread. Your web page ends in the middle of the conversation, strangely. The web site doesnt have links to view the whole thread; it's a horrible mailing list reader. Your web browser must be busted. I can view the entire thread by clicking

GRegex regular expression failing to match

2012-05-14 Thread Christopher Howard
I'm trying glib's GRegex functionality for the first time, and apparently I am doing something wrong. I have some code like so: code: GError * error = NULL; GRegex * regex = g_regex_new (^/(d+)$, 0, 0, error); if (error != NULL) { // ... } GMatchInfo *

Re: GRegex regular expression failing to match

2012-05-14 Thread David Nečas
On Mon, May 14, 2012 at 01:36:02PM -0800, Christopher Howard wrote: Is there anything wrong with the regexp, Sure. Two things. It should be ^/[0-9]+$ not ^/d+$ First, it lacks the backslash to make \d a digit atom. But, second, since \d matches a digit (possibly whatever Unicode

GtkTable cells resizing

2012-05-14 Thread James Steward
Hi, I have an application with a tabbed view. On two tabs I have a table, one is a 2x2 table, the other a 3x1 table (3 rows). In each cell is a canvas that has a gtk plot. I want to be able to click one of the plots in the 3x1 table and change the canvas size to 2/3 the original, with the

Re: GtkTable cells resizing

2012-05-14 Thread Tristan Van Berkom
Are you using GTK+ 3 ? If so, use GtkGrid instead... possibly just that will fix things for you. Short of that, if I understand correctly, you have a target state/configuration of a GtkTable (or GtkGrid), if you construct the table in the target configuration from scratch, I take it things work

Re: GtkTable cells resizing

2012-05-14 Thread James Steward
On 15/05/12 11:56, Tristan Van Berkom wrote: Are you using GTK+ 3 ? Still on GTK+ 2.0. If so, use GtkGrid instead... possibly just that will fix things for you. Short of that, if I understand correctly, you have a target state/configuration of a GtkTable (or GtkGrid), if you construct

Re: GtkTable cells resizing

2012-05-14 Thread Tristan Van Berkom
On Mon, May 14, 2012 at 10:29 PM, James Steward jamesstew...@optusnet.com.au wrote: On 15/05/12 11:56, Tristan Van Berkom wrote: Are you using GTK+ 3 ? Still on GTK+ 2.0. If so, use GtkGrid instead... possibly just that will fix things for you. Short of that, if I understand correctly,