Re: make tree widget 3-d

2005-09-30 Thread John Vetterli
On Fri, 30 Sep 2005, Ian Zimmerman wrote: Hi, when I put a GtkFreeView in my window, either directly or within an intermediate GtkScrolled Window, the result has a flat white to gray boundary. I'd like my lists and trees to have the same sunken three dimensional look as edit boxes have, is that

Re: GtkFileChooser and case sensitive filters

2005-09-30 Thread Arne Skjaerholt
Have a look at the gtk_file_chooser_add_filter() method and the GtkFileFilter class (especially gtk_file_filter_add_custom()). Then you can test away as much as you want, but in your case I'd probably use the PCRE library or something similar to test the filenames for the correct patterns (in your

Scaling in one direction

2005-09-30 Thread Lachlan Gunn
Hi, I'm making an application that has a vbox that I want to only resize horizontally (ie. when I extend the window horizontally, it becomes wider, but when I extend vertically it stays the same size). I haven't been able to figure this out, is there anyone here who could help me? -- Thanks, Lachl

GtkFileChooser and case sensitive filters

2005-09-30 Thread Luke Biddell
If there any way to set a GtkFileFilter to be case insensitive? For example I want users to be able to see .cue, .CUE files etc. Here is the code I am using: GtkFileFilter *imagefilter = gtk_file_filter_new(); gtk_file_filter_add_pattern (imagefilter, "*.iso"); gtk_file_filter_add_pattern (imagef

make tree widget 3-d

2005-09-30 Thread Ian Zimmerman
Hi, when I put a GtkFreeView in my window, either directly or within an intermediate GtkScrolled Window, the result has a flat white to gray boundary. I'd like my lists and trees to have the same sunken three dimensional look as edit boxes have, is that possible? Is there a general way to do th

First column header in GtkTreeView?

2005-09-30 Thread The Saltydog
Is there any way to have the first column fixed in a GtkTreeView, not scrolling to the left? I need to headers: the first row and the first column... ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/g

Re: Where's the FAQ gone

2005-09-30 Thread Shawn Amundson
Bill Medland wrote: > Does anyone know what's happended to the faq page > (www.gtk.org/faq) > > (I want to have another quick look at 6.15 before I ask the next > question) > It is now back up. Thanks, -Shawn -- Shawn T. Amundson ___ gtk-app-deve

Mnemonic activation for widgets with separate labels

2005-09-30 Thread Catherine Laws
I'm trying to use Glade to create an app that has Gtk spin buttons, combo boxes, and entry fields with separate labels packed in vertical or horizontal boxes. I'm using the underline in the label to create a mnemonic activation for the related spin button, combo box, or entry field, and using the L

is FAQ 6.15 lazily programmed

2005-09-30 Thread Bill Medland
or am I misunderstanding something? Surely the text passed in is a utf8 string and so the testing should be using g_utf8_validate, g_utf8_next_char, g_utf8_get_char and g_unichar_isalpha -- Bill Medland mailto:[EMAIL PROTECTED] http://webhome.idirect.com/~kbmed ___

Where's the FAQ gone

2005-09-30 Thread Bill Medland
Does anyone know what's happended to the faq page (www.gtk.org/faq) (I want to have another quick look at 6.15 before I ask the next question) -- Bill Medland mailto:[EMAIL PROTECTED] http://webhome.idirect.com/~kbmed ___ gtk-app-devel-list mailing

Re: Arabic-Indic digits and g_date_strftime()

2005-09-30 Thread Behdad Esfahbod
On Fri, 30 Sep 2005, Gaurav Jain wrote: > Hi, > > I'm trying to print a date onto a GtkLabel in "ar_SA" (arabic) locale. For > this, I'm using the API g_date_strftime(), in which the format being passed > is "%c" (to use the current locale's prefered format). > > The problem is that the output gen

Re: redirecting output to a file with g_spawn_async

2005-09-30 Thread Colossus
Colossus wrote: Hi, I tried with g_spawn_async_with_pipes and with gspawn_async but it does not work. In the first case the output (the decompressed bzip2 file) is redirected to a GTK window so I used g_spawn_async (no pipes) but the output is directed to the shell window from which I ran my p

redirecting output to a file with g_spawn_async

2005-09-30 Thread Colossus
Hi, I tried with g_spawn_async_with_pipes and with gspawn_async but it does not work. In the first case the output (the decompressed bzip2 file) is redirected to a GTK window so I used g_spawn_async (no pipes) but the output is directed to the shell window from which I ran my program. How can I

Re: more documentation about g_io_add_watch ??

2005-09-30 Thread Colossus
Colossus wrote: The documentation about g_io_add_wath is very poor, can someone share light on this matter: why g_io_add_watch locks the GUI ? As usual one gets the answer after sending the email: it was needed to set the flag G_IO_FLAG_NONBLOCK on the GIOChannel to avoid the lock. GTK ROCKSS

Re: Arabic-Indic digits and g_date_strftime()

2005-09-30 Thread Gaurav Jain
Thanks Behdad for the quick response. -Gaurav On 9/30/05, Behdad Esfahbod <[EMAIL PROTECTED]> wrote: > > On Fri, 30 Sep 2005, Gaurav Jain wrote: > > > Hi, > > > > I'm trying to print a date onto a GtkLabel in "ar_SA" (arabic) locale. > For > > this, I'm using the API g_date_strftime(), in which t

more documentation about g_io_add_watch ??

2005-09-30 Thread Colossus
Hi, I finally found the reason why my GUI freezes while I'm adding file to a rar archive with g_spawn_async_with_pipes. This is what I do 1) Spawn the rar executable with g_spawn_async_with_pipes 2) Create a g_io_add_watch channel this way: GIOChannel *ioc; ioc = g_io_channel_unix_new

Arabic-Indic digits and g_date_strftime()

2005-09-30 Thread Gaurav Jain
Hi, I'm trying to print a date onto a GtkLabel in "ar_SA" (arabic) locale. For this, I'm using the API g_date_strftime(), in which the format being passed is "%c" (to use the current locale's prefered format). The problem is that the output generated is a corrupt value, such as "[??? %.1d ???