Re: How to use pixmaps in GTK+ applications?

2005-10-16 Thread Zhou Qingbo
Thanks to all of you for your professional instructions! Your replies are great encouragement to me on the way to Linux programming world. Shortly after I posted the question I indeed found the way to use the pixmaps as included files in GTK+. But later I found myself confused again, how to use aud

Re: gtktreeview - hide some rows

2005-10-16 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 http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeModelFilt

Re: How to use pixmaps in GTK+ applications?

2005-10-16 Thread Brian J. Tarricone
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Iago Rubio wrote: > On Sun, 2005-10-16 at 15:03 +0800, 周清博 wrote: > >> If I use them as ordinary files, how can I know the path >>after users' installation? What should I do in the configure.ac and >>Makefile.am? > > > You should install them in a "k

Re: How to use pixmaps in GTK+ applications?

2005-10-16 Thread Iago Rubio
On Sun, 2005-10-16 at 15:03 +0800, 周清博 wrote: > Hi, > > I'm new to GTK development. > In Windows environment, pixmaps are often compiled into the binary as > resources. Or by making an installer, they can be installed as > ordinary files, in a location that fixed relative to the binary > executabl

Multithreading and GTK widgets

2005-10-16 Thread Michael Matthews
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 copies it to a global, shared, synchronized data pool which

Re: How to use pixmaps in GTK+ applications?

2005-10-16 Thread Chris Vine
On Sunday 16 October 2005 08:03, 周清博 wrote: > Hi, > > I'm new to GTK development. > In Windows environment, pixmaps are often compiled into the binary as > resources. Or by making an installer, they can be installed as > ordinary files, in a location that fixed relative to the binary > executable.

Re: compiling g_module plugin on (msvc) win32 [was] on (cygwin) win32

2005-10-16 Thread Tor Lillqvist
Iago Rubio writes: > > In case 1), create an import library for the .exe using dlltool, and > > link the plugin against that import library. > It seems to me that's using gcc and GNU tools but ... > How can it be done with the MSVC compiler ? Use lib.exe instead of dlltool. --tml

Put a callback on a specific entry of a GtkComboBox

2005-10-16 Thread Guillaume Desmottes
Hi! I would like to put a callback when a specific entry of a GtkComboBox is clicked. In fact, i open a popup when this entry is clicked. If i use the "changed" signal, the popup is open at the init if this entry is the default value. The other problem is than if this entry is selected and i recli

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

2005-10-16 Thread Colossus
- 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 should write, the o

How to use pixmaps in GTK+ applications?

2005-10-16 Thread 周清博
Hi, I'm new to GTK development. In Windows environment, pixmaps are often compiled into the binary as resources. Or by making an installer, they can be installed as ordinary files, in a location that fixed relative to the binary executable. My question is, how to use pixmaps in GTK+? Can I make th