Releasing client-side pixmaps

2002-10-23 Thread Dag Helstad
Hi, I'm trying to minimize the memory usage of a GTK application which uses a GtkPixmap to show a background pixmap. The X server keeps a server-side copy of the pixmap, but it seems a client-side copy is kept in my application. Here is the code fragment which creates a gtk_pixmap from my bitmap

Re: Releasing client-side pixmaps

2002-10-23 Thread Olexiy Avramchenko
Dag Helstad wrote: Hi, I'm trying to minimize the memory usage of a GTK application which uses a GtkPixmap to show a background pixmap. The X server keeps a server-side copy of the pixmap, but it seems a client-side copy is kept in my application. X pixmaps unlike the X images are always (exce

Re: Releasing client-side pixmaps

2002-10-23 Thread Owen Taylor
Dag Helstad <[EMAIL PROTECTED]> writes: > Hi, I'm trying to minimize the memory usage of a GTK application which uses > a GtkPixmap to show a background pixmap. > > The X server keeps a server-side copy of the pixmap, but it seems a > client-side copy is kept in my application. > > Here is the

Re: gtk install problems

2002-10-23 Thread Owen Taylor
Sarah Leitner <[EMAIL PROTECTED]> writes: > To all, > > I have been trying to install GTK for about 2 weeks. I > have solved many problems along the way, but I am > completely stuck on this one. GCC is telling me > > /h/gtk/gtk-query-immodules-2.0*.la > gtk.immodules > make[3]: *** [gtk.immod

Re: Porting GTK, requirements

2002-10-23 Thread Owen Taylor
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > Hello all, > > I was wondering if anybody could list the requirements for a full GTK port > to another operating system. Does a complete posix system need to be in > place ? Does it require a certain directory structure ? Is there a list of > suc

Re: focus_out_event' on GTK_COMBO(..)->entry crashes

2002-10-23 Thread Owen Taylor
calmar <[EMAIL PROTECTED]> writes: > I have just a function 'messagebox(); there actually, which works > properly all the time. I tried it also with just an empty callback > function (messagebox outcommented), what also crashed. > compiled with gcc on linux, wich normally also workes. > > g_sign

Re: Porting GTK, requirements

2002-10-23 Thread Sven Neumann
Hi, Owen Taylor <[EMAIL PROTECTED]> writes: > There are two sets of framebuffer code ... the linux-fb code > in in the GTK+ distribution and the directfb port of GTK+ > (http://www.directfb.org) Both are linux specific; the linux-fb > code is probably easier to port to a different > keyboard/poin

Re: Porting GTK, requirements

2002-10-23 Thread Joost Faassen
The relevant pieces of the picture are: > - The operating system environment ... libraries etc. > Porting GLib deals with differences here. The os env is not posix compliant at all, however a lot of basic functionality is in place such as memory management, filesystems, etc. Is there a central p

Re: Porting GTK, requirements

2002-10-23 Thread Owen Taylor
Sven Neumann <[EMAIL PROTECTED]> writes: > Hi, > > Owen Taylor <[EMAIL PROTECTED]> writes: > > > There are two sets of framebuffer code ... the linux-fb code > > in in the GTK+ distribution and the directfb port of GTK+ > > (http://www.directfb.org) Both are linux specific; the linux-fb > > cod

Re[2]: Porting GTK, requirements

2002-10-23 Thread Phil Krylov
Hello, Owen. 23 îêòÿáðÿ 2002 ã., 20:12:36 you wrote: OT> Sven Neumann <[EMAIL PROTECTED]> writes: >> Hi, >> >> Owen Taylor <[EMAIL PROTECTED]> writes: >> >> > There are two sets of framebuffer code ... the linux-fb code >> > in in the GTK+ distribution and the directfb port of GTK+ >> > (http

Re: Porting GTK, requirements

2002-10-23 Thread Chris Wareham
Phil Krylov wrote: Hello, Owen. 23 îêòÿáðÿ 2002 ã., 20:12:36 you wrote: OT> Sven Neumann writes: >>Hi, >> >>Owen Taylor writes: >> >> >>>There are two sets of framebuffer code ... the linux-fb code >>>in in the GTK+ distribution and the directfb port of GTK+ >>>(http://www.directfb.org) Bo

Re: Releasing client-side pixmaps

2002-10-23 Thread Flavio Alberto Lopes Soares
On Wed, 23 Oct 2002 15:16:20 +0200 Dag Helstad <[EMAIL PROTECTED]> wrote: Hi, all I'm read your mail and I was interested how to use gdk-pixbuf library, I making an application using GTK1.2 in C (in this moment I don't know if gdk-pixbuf is to use with GTK1.2) and I don't know what #includes I

gtk+-2.0.6 not compiling

2002-10-23 Thread Amir 'CG' Caspi
Hi all... I was wondering whether anyone might be able to help me with a problem. I've been trying to build gtk+-2.0.6 and am getting stuck when testgtk.o fails to link properly to another gtk+ library. Specifically, I'm getting an "undefined symbol" error, although the symbols though be

Re: Porting GTK, requirements

2002-10-23 Thread Owen Taylor
"Joost Faassen" <[EMAIL PROTECTED]> writes: > The relevant pieces of the picture are: > > > - The operating system environment ... libraries etc. > > Porting GLib deals with differences here. > The os env is not posix compliant at all, however a lot of basic > functionality is in place such as

Re: Moving canvas item's to new canvas not working

2002-10-23 Thread The Surprises
On Wed, Oct 23, 2002 at 12:00:42PM +0100, [EMAIL PROTECTED] wrote: > The Surprises wrote: > > On Tue, Oct 22, 2002 at 09:48:43PM -0400, Paul Davis wrote: > >>>moving a canvas item from one canvas to another, I would like to delete > >>>the first item, create a new item in the new canvas, and have t

Regarding Multiple Windows

2002-10-23 Thread Preethi Vasanth
Hi all, I was just wondering if I could create multiple windows in a main window. I was suggested to use frames as windows and assign a create_window () to the frame click event.But the argument is tht it is equivalent to clicking a button.I want to create a child window in which some action is r

Re: Still can't configure GTK for Gimp...

2002-10-23 Thread Valdis . Kletnieks
On Tue, 22 Oct 2002 18:41:47 PDT, Paul Thomas <[EMAIL PROTECTED]> said: > config.log gives: > > configure:13753: checking for jpeg_destroy_decompress in -ljpeg OK... So we're alledgedly checking in libjpeg... > configure:13753: gcc -o conftest -g -O2 -Wall conftest.c > -I/usr/local/lib -l

Re: (no subject)

2002-10-23 Thread [EMAIL PROTECTED]
Preethi Vasanth wrote: > How do I create multiple windows in one window?The main idea is to click > on the child window and it should expand to a bigger one. It appears you are looking for the MDI capabilities of of GTK. Does anybody know any good examples of this ? Cheers, Joost

Re: Still can't configure GTK for Gimp...

2002-10-23 Thread Paul Thomas
On Wed, 23 Oct 2002 [EMAIL PROTECTED] wrote: > OK... So we're alledgedly checking in libjpeg... > > > configure:13753: gcc -o conftest -g -O2 -Wall conftest.c > > -I/usr/local/lib -l > > iconv -lintl -liconv >&5 > > But there's no -ljpeg in the actual gcc command. Something's on > Did yo

Re: Moving canvas item's to new canvas not working

2002-10-23 Thread John . Cupitt
The Surprises wrote: > On Tue, Oct 22, 2002 at 09:48:43PM -0400, Paul Davis wrote: >>>moving a canvas item from one canvas to another, I would like to delete >>>the first item, create a new item in the new canvas, and have that new >>>item take over the button press/release event. Is this possible

How to add horizontal scrollingbar to entry field

2002-10-23 Thread rahul karurkar
Hi,     I am using Gtk1.2 and want to have an entry field horizontal scrollbar which I am unable to operate.     The fact is if I add entry widget to scrolling _window then scrollbar appears but they are not operative to scroll the entry field I have supplied NULL adjustments to the scroll

Re: windows_icon .. how to?

2002-10-23 Thread Joost Faassen
calmar wrote: > Hi, > I found the function: > iconw = gdk_image_new_from_file ("icon.xpm"); > but it still don't work. > Well actually I make the program in MSWindows..maybe this is the > reason..it should work now, isn it? Hi Calmar, Did you ever get this to work ? I am experiencing the same prob