RE: widget appearance getting corrupted

2007-01-24 Thread Kumar Siddharth
Hi Pritesh, This is the program which works the way you expect it i.e it will show only the image(Shaped Widget). I got it running by modifying the GTK example. Hope it works. Note that you have to use 255 as Threshold Alpha and gtk_pixmap_new() is outdated(i think so). Also, you should get asse

Re: capture window for printing

2007-01-24 Thread Fabian Förg
Fabian Förg wrote: > Hello, > > as the topic suggests, I am trying to capture a window which should be > printed afterwards. > > This is my code: > > /* appl_t is a struct created by me which contains "GtkWidget > *print_win", > * the window I want to print. Moreover, appl_t contains gints for th

widget appearance getting corrupted

2007-01-24 Thread Pritesh Kumar
here is my code snippet for displaying a shaped widget . void create_playerbar() { GtkWidget *image ,*window, *pixwid; GdkPixbuf *pixbuf ; GdkPixmap *pixmap; GdkBitmap *bitmap; int alpha; alpha = 32; window = gtk_window_new(GTK_WINDOW_POPUP); image

RE: Help ( Regarding Tailoring of GTK+ )

2007-01-24 Thread Madhusudan E
I still suggest to you all @soc-soft.com people to have a look at LiPS forum too They have already prepared a patch on GTK which reduces the libs by more than 2 MB. Try using DirectFB or TinyX in place of X11 which will reduce our space enormously. Use GTK+ 2.6.10 or lower, so that you can eas

RE:Reducing GTK+ footprint

2007-01-24 Thread Shyjumon N.
Hi May be the following is also a way to strip the foot print. Instead of glibc, use dietlibc, it will reduce a lot of foot print. I don't know you are working on embedded devices. Even it is very easy to use also. http://www.fefe.de/dietlibc/ With regds, Shyjumon N TTEC Tel: +91-80-

Re: Reducing GTK+ footprint

2007-01-24 Thread Attilio Fiandrotti
Mklibs is, IIRC, a python script that takes care of producing a minimal set of required libraries given a binary target application. mklibs is available as a debian package, but whould be as well avalable as sourcecode somewhere. I also know other similar tools exist. Attilio [EMAIL PROTECTED]

RE: Help ( Regarding Tailoring of GTK+ )

2007-01-24 Thread pushpalata.patil
Thanks a lot for your co-operation -Original Message- From: Tor Lillqvist [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 24, 2007 6:24 PM To: Pushpalata B Patil Cc: gtk-app-devel-list@gnome.org Subject: Help ( Regarding Tailoring of GTK+ ) [EMAIL PROTECTED] writes: > We are deve

Help ( Regarding Tailoring of GTK+ )

2007-01-24 Thread Tor Lillqvist
[EMAIL PROTECTED] writes: > We are developing an application (Embedded) using GTK and > Glade(gtk-dev-2.10.6-win32-1), MSYS-1.0.9, MinGW-3.1.0-1. Please don't send me personal mail about GTK+ on Windows. Use an appropriate mailing list, [EMAIL PROTECTED] (You must be subscribed in order to post

Re: Reducing GTK+ footprint

2007-01-24 Thread Tor Lillqvist
[EMAIL PROTECTED] writes: > Can any one tell me or give me some links to know how I can reduce the > footprint of GTK. Do you mean disk space? Or memory space? On what platform? On most modern platforms with virtual memory, presumably only those parts of GTK+ that your code actually uses get pa

RE: Reducing GTK+ footprint

2007-01-24 Thread richa
Hi... Ya even our requirement is to save the space on installation media. Can't we get a copy of mklibs tool for FC5 / FC6 as we cant use that debian-installer. Regards, Richa -Original Message- From: Attilio Fiandrotti [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 24, 2007 5:0

Re: Reducing GTK+ footprint

2007-01-24 Thread Attilio Fiandrotti
[EMAIL PROTECTED] wrote: > Greetings, > > > > Can any one tell me or give me some links to know how I can reduce the > footprint of GTK. > > > > Actually I want to remove some widgets (like frame, color selection, > file selection etc) which I am not using in my application. > > > >

RE: Reducing GTK+ footprint

2007-01-24 Thread Madhusudan E
Hi, I am not sure, to what level you want to strip the GTK Widgets and also the purpose behind it. To port GTK over Mobile phones LiPS forum is trying to strip the unwanted widgets by applying a Patch to GTK. Maybe you can apply LiPS patch to get rid of most of the unwanted and redundant widget.

Reducing GTK+ footprint

2007-01-24 Thread richa
Greetings, Can any one tell me or give me some links to know how I can reduce the footprint of GTK. Actually I want to remove some widgets (like frame, color selection, file selection etc) which I am not using in my application. Also I want to know that if there is any other alternat