Re: gtktreeview - hide some rows

2005-10-17 Thread Stefan Kost
Hi, HuamiSoft Hubert Sokolowski wrote: Hi! I have a treeview which is a list. is it possible to hide some particular rows? I want to implement some filter on my treeview, so the user could find quicker some rows. regards have look at

Re: How to use pixmaps in GTK+ applications?

2005-10-17 Thread Tor Lillqvist
My question is, how to use pixmaps in GTK+? Can I make them resouces as in Win32? (As already was said, it's more GTKish (and 100% portable) to convert them into constant C data using gdk-pixbuf-csource. If you really want to use Win32 resources, sure, that should work too. If I use them as

Usage of g_str_strip

2005-10-17 Thread Sankar P
Hey all, There is a function g_strstrip defined to strip-off the leading and trailing spaces from a string. However, the working of this function is a bit confusing. I have the following code-snippet : name = g_strstrip ( g_strdup (gtk_entry_get_text(GTK_ENTRY (name_entry; g_free (name);

Invisible/missing cursor in editable

2005-10-17 Thread Nikolaj Kiær Thygesen
Hey list, Has anyone here experienced (and solved) a case of missing cursors when inline editing a string in a GtkTreeView?? If so, I would sure like to see the solution. Everything else works, it's just a bit confusing not knowing where in the string the next character will appear. I

Re: Usage of g_str_strip

2005-10-17 Thread Iago Rubio
On Mon, 2005-10-17 at 14:11 +0530, Sankar P wrote: Hey all, There is a function g_strstrip defined to strip-off the leading and trailing spaces from a string. However, the working of this function is a bit confusing. I have the following code-snippet : name = g_strstrip ( g_strdup

Gtk Xara

2005-10-17 Thread Tomaz Canabrava
Since the Cairo rendering engine is *SLOW* and the Xara Extreme is being ported to linux, with the full API, i think that´s a good idia to port the Gtk engine to use Xara´s System since they are the fastest avaliable. i have *NO* idia how to do this... but since i´m new to software writting, i

gtk window size/position on win32?

2005-10-17 Thread Allin Cottrell
Quoting the reference on gtk_window_position: If you are saving and restoring your application's window positions, you should know that it's impossible for applications to do this without getting it somewhat wrong because applications do not have sufficient knowledge of window manager state.

Re: Multithreading and GTK widgets

2005-10-17 Thread Alan M. Evans
On Sun, 2005-10-16 at 15:59, Michael Matthews wrote: Hi! I am converting my program to use multiple threads: the primary thread for the GTK stuff, and the worker threads for all the time-consuming work that will be performed in the background. The GUI thread takes input from the user and

Re: Multithreading and GTK widgets

2005-10-17 Thread Tristan Van Berkom
Alan M. Evans wrote: [...] I would have the GUI thread update the list/tree models, but the GUI thread spends most of its time sitting in gtk_main. Ofcourse it does, Anything that a GTK+ gui does is inside gtk_main(), you can get the gui thread to do the updating by passing the appropriate

stop on Gtk-WARNING

2005-10-17 Thread Boncek, John
When a GTK app gets Gtk-WARNINGs without actually stopping, it can be hard to determine exactly where they're coming from. Is there a way to tell GTK to stop immediately on such a warning? This would allow using a debugger to localize the first warning much more easily.

RE: stop on Gtk-WARNING

2005-10-17 Thread Boncek, John
The same for GLib-GObject-WARNINGs and other similar ones. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Boncek, John Sent: Monday, October 17, 2005 11:33 AM To: gtk-app-devel-list@gnome.org Subject: stop on Gtk-WARNING When a GTK app gets Gtk-WARNINGs

Re: Gtk Xara

2005-10-17 Thread Michael Torrie
On Mon, 2005-10-17 at 13:59 -0700, Colossus wrote: Tomaz Canabrava wrote: Since the Cairo rendering engine is *SLOW* and the Xara Extreme is being ported to linux, with the full API, i think that´s a good idia to port the Gtk engine to use Xara´s System since Who told you Cairo is slow

Re: stop on Gtk-WARNING

2005-10-17 Thread Tim Flechtner
there is an argument you can pass in to the application at invocation that does this. i think it is --g-fatal-warnings (eg ./foo --g-fatal-warnings). -tim ** http://mail.gnome.org/archives/gtk-devel-list/1998-August/msg00088.htmlBoncek, John wrote:

Re: stop on Gtk-WARNING

2005-10-17 Thread John Cupitt
On 10/17/05, Boncek, John [EMAIL PROTECTED] wrote: When a GTK app gets Gtk-WARNINGs without actually stopping, it can be hard to determine exactly where they're coming from. Is there a way to tell GTK to stop immediately on such a warning? This would allow using a debugger to localize the

Re: Gtk Xara

2005-10-17 Thread John Cupitt
On 10/17/05, Michael Torrie [EMAIL PROTECTED] wrote: On Mon, 2005-10-17 at 13:59 -0700, Colossus wrote: Tomaz Canabrava wrote: Since the Cairo rendering engine is *SLOW* and the Xara Extreme is being ported to linux, with the full API, i think that´s a good idia to port the Gtk engine

data acqusition, display and control

2005-10-17 Thread Premsagar C
I am using gtk to develop a control interface. Am a bit new to this. BAsically I am acquiring data using some library functions and dispalying them in 6 text boxes . When i click on the bacq function this acquistion starts.

Re: Implementing cpio -tv file.cpio with glib routines

2005-10-17 Thread Olivier Sessink
Colossus wrote: - Messaggio originale Da: Olivier Sessink [EMAIL PROTECTED] 1) spawn 'cpio -tv' with a pipe in and a pipe out 2) create non-blocking g_io_channels from these pipes 3) register callbacks with g_io_add_watch() for the io channels, one of these functions

RE: compiling g_module plugin on (cygwin) win32

2005-10-17 Thread Jorge Monsalvo
Tor, Can you point me to the docs for g_module_xxx functions. I checked for g_module_find on version 2.6.7 (which is what I'm working with) and I couldn't find it. Is it new on 2.8.x? Thanks Jorge Monsalvo -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En

RE: compiling g_module plugin on (cygwin) win32

2005-10-17 Thread Tor Lillqvist
Jorge Monsalvo writes: Can you point me to the docs for g_module_xxx functions. http://developer.gnome.org/doc/API/2.0/glib/glib-Dynamic-Loading-of-Modules.html I checked for g_module_find A typo, I meant g_module_symbol. --tml ___