pango text color in textbuffer

2005-07-27 Thread Ahmed El-Helw
hi all - i am trying to write some code to populate a gtktextbuffer with some arabic text. however, due to the nature of the application i am writing, i need to have a certain word be potentially consistent of different colors [ie the first letter is red, the rest of the word is blue, or the

Re: glib bug on windows?

2005-07-27 Thread Tor Lillqvist
Hubert =?ISO-8859-2?Q?Soko=B3owski?= writes: > %% works fine, thanks. but it is strange that \% works on linux and on > windows it doesn't. What's so strange with that? The standard way to get a '%' through printf() and friends has always been to double it. \% isn't even mentioned in the man pag

Re: glib bug on windows?

2005-07-27 Thread Hubert Sokołowski
On Wed, 27 Jul 2005 14:19:29 +0100 Hazael Maldonado Torres <[EMAIL PROTECTED]> wrote: > > > > > >Hi! > > > >I have found a problem in windows version of glib 2.4.7. > >in code > > va_start (args, fmt); > > in = g_strdup_vprintf (fmt, args); > > va_end (args); > >when fmt is for example "blabla

Re: gobject singal firing order

2005-07-27 Thread Tristan Van Berkom
Stefan Kost wrote: hi, when I do an g_object_set() while having a handler connected to the notify:: signal. Is the notify handler triggered before the g_object_set() returns or just soon afterwards? Is this deterministic? When g_signal_emit() returns, all handlers have been called. It may

Re: glib bug on windows?

2005-07-27 Thread Hazael Maldonado Torres
Hi! I have found a problem in windows version of glib 2.4.7. in code va_start (args, fmt); in = g_strdup_vprintf (fmt, args); va_end (args); when fmt is for example "blablabla 100\%" the pointer 'in' is NULL, when fmt is for example "blablabla %c",'%' the problem does not occure. could th

glib bug on windows?

2005-07-27 Thread Hubert Sokołowski
Hi! I have found a problem in windows version of glib 2.4.7. in code va_start (args, fmt); in = g_strdup_vprintf (fmt, args); va_end (args); when fmt is for example "blablabla 100\%" the pointer 'in' is NULL, when fmt is for example "blablabla %c",'%' the problem does not occure. could th

Re: Doubt about free or dont free

2005-07-27 Thread Tristan Van Berkom
Stefan Kost wrote: [...] I think a little example and some notes as part of the longs-description would be sufficient. I usualy don't touch the docs, but for this I'll make an exception :-p Cheers, -Tristan ___ gtk-app-dev

Re: Looking for deprecated items

2005-07-27 Thread John Cupitt
If you add "-DGTK_DISABLE_DEPRECATED" to your compile line you'll get a lot of errors. I'm not sure it's much less work than reading the code though :-( I guess it depends on how the app's been written. On 7/27/05, André Pedralho <[EMAIL PROTECTED]> wrote: > I got an old app that uses some Widgets

Looking for deprecated items

2005-07-27 Thread André Pedralho
Hi, I got an old app that uses some Widgets and functions wich are deprecated. However, I don't have a list of all the deprecated items of this app and just reading the code it is not so easy to find all of them (a boring work). Is there a way to compile my code showing what widgets are deprecated

Which are good applications as examples?

2005-07-27 Thread Hazael Maldonado Torres
Hi guys I am about to start developing a decent-size application using gtk + gnome. I like the idea to do it in the best way possible therefore I am asking you for applications that have been developed in a way that is worth to imitate. I am more interested in the way their structure, file, e

Mouse cursor ficks

2005-07-27 Thread Przemysław Więckowski
Hello, I update my screen 25-50 times per second ( it is needed by my application ) but when i do this, mouse curosr strongly flicks ( probably putting mouse cusor on screen is not synchronised with uptading whole screen by my application) I think that i should hide system mouse cursor a

gobject singal firing order

2005-07-27 Thread Stefan Kost
hi, when I do an g_object_set() while having a handler connected to the notify:: signal. Is the notify handler triggered before the g_object_set() returns or just soon afterwards? Is this deterministic? Stefan ___ gtk-app-devel-list mailing list gtk

Re: To spawn or not to spawn? This is the question...

2005-07-27 Thread The Saltydog
On 7/26/05, Tristan Van Berkom <[EMAIL PROTECTED]> wrote: > if you use threads for this you dont have to bother with all the > gdk_threads_enter/leave stuff as long as your child thread is just > a worker thread, it can communicate with a GAsyncQueue. The online documentation is very poor concerni

Re: Directory selecting

2005-07-27 Thread The Saltydog
On 7/27/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Could anyone tell me how to solve this problem? I'm quite lost. I tried > to google on this, but most results where either irrelevant, or ended up > with this same question, but not the answer :) GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER

Treeview space between columns

2005-07-27 Thread Roberto Cavada
(I apologie if you receive multiple copies of this message) Hi, I noticed that there is always a space around columns in treeviews, even when both the style properties 'GtkTreeView::vertical-separator' and 'GtkTreeView::horizontal-separator' are set to 0. E.g. look at the screenshot at

Directory selecting

2005-07-27 Thread A . Vilkaitis
Hello, I have a question concerning the gtk_file_selection. It is written in the reference, that this widget can be used to select directories as well as files, however I failed to find an example of how it can be done. Or maybe there is another widget used for this task? Could anyone tell

Re: Doubt about free or dont free

2005-07-27 Thread Stefan Kost
Hi Tristan, Greg Breland wrote: [...] What really needs to happen(and I believe is in the works) is that the GTK manual needs user comments or wiki goodness. This would solve almost everything except that each function might have too much information before too long. :) While we're on a ra