Where can i find the fonts that GTK uses

2003-11-19 Thread Ma Frank-W4195C
Title: Message Hi:    I am not sure where the fonts that Pango uses are located. Are they in X11 or /usr/share. Is there any config file specifying the font directory.     I currently have two types of GTK, one of which is based on Xwindows and the other is built on DirectFB. So y

RE: (GObject) What are "properties"?

2003-11-19 Thread Liu Neo-W4135C
Install property is a way for g_object_set_xxx series functions. An implementation of OO with C. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 2003年11月19日 21:42 To: [EMAIL PROTECTED] Subject: Re: (GObject) What are "properties"?

GtkEntry and validating user input

2003-11-19 Thread Roger Leigh
In many places, I get user input using a GtkEntry (well, Gtk::Entry, since I'm using Gtkmm). I'd like to validate the input and, if the input is invalid, set the background colour of the Entry to red and restore focus to the Entry, if needed. I can do this by connecting to the "changed" signal of

Re: GTK TreeView Column Header Colors

2003-11-19 Thread Tim Evans
Carl B. Constantine wrote: * Mike Dailey ([EMAIL PROTECTED]) wrote: Is it possible to change the foreground and background color of the column header in a GTK TreeView, using a ListStore as the model? Nope, I tried and tried. the Header lables, AFAICT, cannot be changed from the standard colors

glib compilation problem--undefined references in glib-genmarshal.c

2003-11-19 Thread Alan Arehart
No one knows what this problem is and how to fix it? - Forwarded by Alan Arehart/US/Raytheon on 11/19/2003 11:05 AM - "Alan Arehart" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 11/17/2003 05:52 PM                 To:        [EMAIL PROTECTED]         cc:                 Subject:  

Re: GTK TreeView Column Header Colors

2003-11-19 Thread Carl B. Constantine
* Mike Dailey ([EMAIL PROTECTED]) wrote: > Is it possible to change the foreground and background > color of the column header in a GTK TreeView, using a > ListStore as the model? Nope, I tried and tried. the Header lables, AFAICT, cannot be changed from the standard colors. I'd be interested if a

TreeView Functionality Questions

2003-11-19 Thread Mike Dailey
A few questions regarding TreeViews (yes, I read the FAQs and API documentation)... Is it possible to add spacing between TreeView columns? Is it possible to add a verticle line/seperator between columns? Thanks! -Mike ___ gtk-list mailing list [E

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

GTK TreeView Column Header Colors

2003-11-19 Thread Mike Dailey
Is it possible to change the foreground and background color of the column header in a GTK TreeView, using a ListStore as the model? I found that I can successfully pack a widget (say, a button with a label) into the column header, and change the colors of this button/label widget, but it just doe

RE: (GObject) What are "properties"?

2003-11-19 Thread Murray . Cumming
> [EMAIL PROTECTED] writes: > > > 4) don't mess with ABI. You can add a property without > worrying about > > changing the size of the struct. > > Sorry, but this is not true. The property doesn't provide a > place to store the value, it only provides a way to get and > set the value in a gen

Re: (GObject) What are "properties"?

2003-11-19 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: > 4) don't mess with ABI. You can add a property without worrying > about changing the size of the struct. Sorry, but this is not true. The property doesn't provide a place to store the value, it only provides a way to get and set the value in a general fashion. Fo

RE: (GObject) What are "properties"?

2003-11-19 Thread iain
On Wed, 2003-11-19 at 14:04, [EMAIL PROTECTED] wrote: > > 2) they can emit signals when changed > > These are true, though I don't think 1) is that useful. Two is kinda annoying too, because they always seem to emit signals, and occasionally that messes up when you start playing around with mul

RE: (GObject) What are "properties"?

2003-11-19 Thread Murray . Cumming
> I guess I haven't quite wrapped my head around properties, > but am I right in assuming that their main advantages (as > opposed to, say, ordinary class members) are: > > 1) they are installable at runtime > > 2) they can emit signals when changed These are true, though I don't think 1) is t

leer el id de un programa externo

2003-11-19 Thread rosa muñoz
hola: necesito saber como puedo leer el id de una ventana externa para luego poder moverla tambien necesito saber como moverla. chao espero vuestras respuestas gracias _ Descubre el mayor catálogo de coches de la Red en MSN Motor. h

Re: (GObject) What are "properties"?

2003-11-19 Thread dhaude
> Does your object "some_gtk_widget" have a property named "foo" that > takes a string value? If not, it is not surprising that the call > fails. It's a bit surprising that it crashes; I'd have expected a > warning. Ah. No, of course it doesn't have that property, which explains why my experiment

mover ventanas

2003-11-19 Thread rosa muñoz
Hola: necesito que alguien me diga como puedo mover una ventana externa a mi programa principal. Yo tengo un boton que al ser pulsado ejecuta un programa independiente a mi programa principal.necesito averiguar como puedo colocar esa nueva ventana en un lugar determinado de la pantalla.tambien n

Problems with compiler-dependent switches in gthread-2.0.pc file

2003-11-19 Thread Greg Earle
Hi, I'm not sure if this is the right list to ask on (if not, please inform me what the right one is), but just in case it is ... I'm trying to upgrade to glib 2.2.3/atk 1.2.4/gtk+-2.2.4/gimp-1.3.22 on Solaris 7. I'm already using pkg-config 0.15.0. I'm trying to do this with the following snip

Re: GtkTreeView alignment

2003-11-19 Thread Manuel Op de Coul
Andrej wrote: >Example: out of the three, only the 1st one gets aligned when the row is >appended with e.g.: Well according to the documentation the xalign property doesn't exist for toggle- and pixbuf-renderers. For pixbufs you could work around it by drawing them into other ones with equal size.

Re: (GObject) What are "properties"?

2003-11-19 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: > what are the "properties" of GObjects, how are they used, and how > are they different from the things that can be stored/retrieved > via g_object_set/get_data() ? I've once tried, just for giggles, > > g_object_set(G_OBJECT(some_gtk_widget), "foo", "bar", NULL);

(GObject) What are "properties"?

2003-11-19 Thread dhaude
Hi all, what are the "properties" of GObjects, how are they used, and how are they different from the things that can be stored/retrieved via g_object_set/get_data() ? I've once tried, just for giggles, g_object_set(G_OBJECT(some_gtk_widget), "foo", "bar", NULL); and got a segfault. Little wonde