Colormap issues

2004-02-24 Thread Dennie, Brooke
Hi everyone, I'm a little confused as to how the following code can produce the output: succeeded... 15736992 256 gdk_color_parse("green", &color); if(gdk_colormap_alloc_color(colormap, &color, FALSE, TRUE)) printf("succeeded... %d %d\n", color.pixel, colormap->size); The pixel value

RE: Why don't all chars display?

2004-02-09 Thread Dennie, Brooke
well be right. I'll have to take a look at the pango src and see if I can find something there. Thanks! Brooke > -Original Message- > From: Mark Leisher [mailto:[EMAIL PROTECTED] > Sent: Monday, February 09, 2004 4:08 PM > To: '[EMAIL PROTECTED]' > Subject:

RE: Why don't all chars display?

2004-02-09 Thread Dennie, Brooke
'[EMAIL PROTECTED]' > Subject: Re: Why don't all chars display? > > > Dennie, Brooke wrote: > > I've been working on getting an iso8859-1 font to display all of > > its chars in an entry widget. For some reason I can't get 0xa0 to > > display. Here&

Why don't all chars display?

2004-02-09 Thread Dennie, Brooke
Hi everyone, I've been working on getting an iso8859-1 font to display all of its chars in an entry widget. For some reason I can't get 0xa0 to display. Here's the code that I'm using: - char buff[2], *buff2; GtkWidget *entry; PangoFontDescription *pfd; . buff[0]

Strange font display

2004-02-02 Thread Dennie, Brooke
Hi all, I'm not sure if this is a gtk, gnome, or messed up system in general problem, but any pointers at all would be greatly appreciated! I'm working with getting the chars of an iso8859-1 font to display in any of the text widgets. I've gotten all of them working by using g_convert, EXCEPT fo

RE: Slow Rendering?

2003-11-21 Thread Dennie, Brooke
Hi, > -Original Message- > From: Brett Granger [mailto:[EMAIL PROTECTED] > Sent: Friday, November 21, 2003 9:47 AM > To: Dennie, Brooke > Cc: 'Sven Neumann'; '[EMAIL PROTECTED]' > Subject: Re: Slow Rendering? > > > > A quick grep of

RE: Slow Rendering?

2003-11-21 Thread Dennie, Brooke
Hi, > -Original Message- > From: Sven Neumann [mailto:[EMAIL PROTECTED] > Sent: Friday, November 21, 2003 6:14 AM > To: Dennie, Brooke > Cc: '[EMAIL PROTECTED]' > Subject: Re: Slow Rendering? > > > Hi, > > "Dennie, Brooke" <[EMA

RE: Slow Rendering?

2003-11-21 Thread Dennie, Brooke
Hi > -Original Message- > From: Tony Denault [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 20, 2003 10:20 PM > To: Dennie, Brooke > Cc: 'Sven Neumann'; '[EMAIL PROTECTED]' > Subject: RE: Slow Rendering? > My initial test using pango ca

RE: Slow Rendering?

2003-11-20 Thread Dennie, Brooke
Hi, > -Original Message- > From: Sven Neumann [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 20, 2003 10:30 AM > To: Dennie, Brooke > Cc: '[EMAIL PROTECTED]' > Subject: Re: Slow Rendering? > > > Hi, > > Sven Neumann <[EMAIL PROTECTED]

RE: Slow Rendering?

2003-11-20 Thread Dennie, Brooke
Hi again, > -Original Message- > From: Sven Neumann [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 20, 2003 6:04 AM > To: Dennie, Brooke > Cc: '[EMAIL PROTECTED]' > Subject: Re: Slow Rendering? > > > Hi, > > "Dennie, Broo

Slow Rendering?

2003-11-19 Thread Dennie, Brooke
Hi to all, I have an application that works perfectly, but rendering is extremely slow (bringing up the application takes over 8 seconds, a popup window takes a little over 4). While I realize that it isn't necessarily a guarantee that this is the problem, stepping through the application with gdb

pango and xfonts

2003-10-22 Thread Dennie, Brooke
Hi, I'm currently working on a library of wrapper functions that converts code written in OLIT into gtk. I've run into a problem with fonts that hopefully someone here can help with. I have a case where I'll be passed an XFontStruct* and need to be able to apply that to any number of widget ty

Signals - newbie

2003-04-06 Thread Dennie, Brooke
Hello, I'm afraid that I'm a bit confused regarding gtk_object_class_user_signal_new. Has it been deprecated? I noticed that it is documented in 1.2's API (with no mention of future deprecation), but that there is little mention of it in the 2.0 API reference short of a brief paragraph in the sign

Newbie in over head -- Marshallers

2003-03-28 Thread Dennie, Brooke
Hello, I need to add a signal to the GtkWidget so that the callback functions will take two pointers instead of one. i.e. foo(GtkWidget *widget, gpointer clientdata, gpointer datastruct){} I realize that I need to use gtk_object_class_user_signal_new(), however, I don't understand