Re: how to hide close button in gtk dialog

2005-08-09 Thread Gus Koppel
Yogesh M wrote: found it, sometimes it is neccessary to avoid confusion. for example in a dialog i have a cancel button, now if the window show a close button, it is a confusion that whether the window closes or the cancel activates or both. It's common convention that title bar close

set current worlking directory to executable path

2005-08-09 Thread Yogesh M
I am using Gtk in windows(as well as linux). I want to set the environment path to executable path so i can load icons present in the executable path. I will be happy if it works both on linux and windows. __ Do You Yahoo!? Tired of spam? Yahoo!

Pango docs

2005-08-09 Thread Russell Shaw
Hi, I compiled pango. How do i turn the stuff in pango/docs/ in to some kind of manual? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: extracting a portion of a GdkPixmap

2005-08-09 Thread John Cupitt
On 8/9/05, Boncek, John [EMAIL PROTECTED] wrote: I have a GdkPixmap. I need to programmatically extract a new GdkPixmap from this image based on x- and y-coordinates, plus width and height. The x, y, width, and height parameters will vary too much at runtime to store all the copies needed.

How to filter the font selection dialog in GTK-2.x

2005-08-09 Thread Saperion
gtk_font_selection_dialog_set_filter and gtk_font_selection_set_filter do not exist in 2.x I want to filter the fonts shown in the dialog to fixed pitch fonts only. I searched the archive and the question has been asked before but never answered. Lets see what happens this time. Norman

Re: Bayer Pattern images in Pixbuf or Pixmaps

2005-08-09 Thread Stefan Kost
it would be helpful if you tell us what the heck a 'bayer pattern' is ... Michal Porzuczek wrote: Hi I was wondering if Pixmaps or Pixbufs support Bayer Pattern data and if not if there is a simple conversion technique to get a Bayer Pattern image into an RGB or other image format that could

Re: Bayer Pattern images in Pixbuf or Pixmaps

2005-08-09 Thread Tor Lillqvist
Stefan Kost writes: it would be helpful if you tell us what the heck a 'bayer pattern' is ... See for instance http://www.cambridgeincolour.com/tutorials/sensors.htm . That was the first Google hit when searching the words bayer array (without the quotes). I was wondering if Pixmaps or

Color Initialization

2005-08-09 Thread MEA-MikeFriedrichs
Lists, OS: win2k/XP Using Unix/Linux you can use an .rc to initialize parameters, like a default color set, anytime GTK+ is used. What is the approach to initialize a default color set when using win2k/XP without adding code to every application? Thanks, MikeF

some things in GTK+ 2.7.5

2005-08-09 Thread Benoit Carpentier
Hi everybody, Some questions and remarks about files of GTK+ 2.7.5 : in GTK+ 2.7.5\gtk\gtkvpaned.c lines 199 to 209 : if (GTK_WIDGET_MAPPED (widget) paned-child1-allocation.height child1_allocation.height) { gtk_widget_size_allocate (paned-child2,

Re: Linking glib with gld in Irix

2005-08-09 Thread Albert Chin
On Mon, Aug 08, 2005 at 03:41:19PM +0200, Magnus Bergman wrote: I have problems building glib (2.6.6) in Irix using GCC, gas and gld (no, I don't forget to use --with-gnu-ld). It fails then linking glib-genmarshal against glib because some symbols, including g_malloc cannot be found. Then I

Re: some things in GTK+ 2.7.5

2005-08-09 Thread Soeren Sandmann
Benoit Carpentier [EMAIL PROTECTED] writes: lines 199 to 209 : if (GTK_WIDGET_MAPPED (widget) paned-child1-allocation.height child1_allocation.height) { gtk_widget_size_allocate (paned-child2, child2_allocation); gtk_widget_size_allocate (paned-child1,

configure.in changes

2005-08-09 Thread Owen Taylor
I just rewrote large chunks of the X checks in configure.in ... there were a couple of points of this: - Remove the entanglements with pangoxft, which I've removed as a dependency of GTK+. - Use pkg-config as much as possible rather than older heuristics. With X11R7 .pc files for the X

About Pango warning : Error loading GPOS table 4097

2005-08-09 Thread Girish
hi all Usally i am getting the fallowing warning from pango. (process:5528): Pango-WARNING **: Error loading GPOS table 4097 i dont know the reason for this warning , i searched in google but i didn't get any proper solution. please provide me a solution to avoid this warning and please

Re: About Pango warning : Error loading GPOS table 4097

2005-08-09 Thread Behdad Esfahbod
On Tue, 9 Aug 2005, Girish wrote: hi all Usally i am getting the fallowing warning from pango. (process:5528): Pango-WARNING **: Error loading GPOS table 4097 i dont know the reason for this warning , i searched in google but i didn't get any proper solution. please provide me a

Re: Expose events not occurring from gdk_window_invalidate_rect

2005-08-09 Thread Luca Cappa
Douglas Vechinski wrote: That appears to have been the problem. Changed the rectangle to begin at (0,0). Seems to be working under all platforms. That part of the code was actually a left over from a gtkglext example that I started with and was modifying. Plus I haven't done much GTK+

Compiling pkgconfig with arm-linux-gcc

2005-08-09 Thread prakhar vig
Hi All, As I am building gtk package, i downloaded all the dependencies and needful things. But facing some prombles: a)I tried to cofigure pkconfig with arm-linux-gcc but it is giving some problem. Can anyone tell me the command for configuring pkgconfig with arm-linux-gcc. b) same problem I

Re: Very confused with pixbufs, pixmaps, images, rgbs and drawables

2005-08-09 Thread Sven Neumann
Hi, Chris Seaton [EMAIL PROTECTED] writes: If these names (any many of the classes themselves) are only around because of the history of X, when are we planning to update them? At the moment the entire architecture of the image system in Gdk reflects the history of one supported platform.

AW: fontconfig: make does not find libraries expat and freetype

2005-08-09 Thread Albrecht Ellinger
Hello, I have compiled a pkgconfig from source (for build system of course not for target) in ~/toolchain/whatever And set export PKG_CONFIG_PATH=~/toolchain/whatever then I placed a symlink to libfreetype.so.6 in ~/toolchain/whatever but still bad luck. I do not know if libtool is even

Uninstalling gtk

2005-08-09 Thread Giovanni De Maio
Hi to all, I have Mandriva and i want to update gtk+. I've downloaded sources from the web site. But i need to remove old gtk+. I can't do it from rpmdrake, because rpmdrake give to me dependencies problems with installed programs. How can i remove old gtk without uninstalling other programs?

Re: Uninstalling gtk

2005-08-09 Thread Daniel Campos
Hi: I've installed GTK+2.7 on a Madriva 2005, and I didn't remove anything: that way the systems thinks the old GTK+ version is already installed, so there's no problem with dependencies. The new libraries overwrite the old ones, provided that you configure the packages with the --prefix=/usr

Re: Compiling pkgconfig with arm-linux-gcc

2005-08-09 Thread ibr
Hello prakhar, On Tue, Aug 09, 2005 at 10:10:35AM +0100, prakhar vig wrote: a)I tried to cofigure pkconfig with arm-linux-gcc but it is giving some problem. Can anyone tell me the command for configuring pkgconfig with arm-linux-gcc. You need to type some command! But seriously, you'd have

designing an XML editor TreeView

2005-08-09 Thread Rick
I need to create an XML editor TreeView for SVG files. Right off I'll ask if anyone knows of a nice example of an XML editor written in GTK+ that I can take a look at. I'd want to be able to drag and drop sections of the markup and edit/add elements, attributes and values. I see the tree view

Re: Compiling pkgconfig with arm-linux-gcc

2005-08-09 Thread prakhar vig
Hello Baurzhan, I used the following settings in arm-linux.cache: glib_cv_stack_grows=no glib_cv_rtldglobal_broken=no glib_cv_uscore=no ac_cv_func_posix_getpwuid_r=yes After creating the file, I started ./configure --host=arm-linux --cache-file=arm-linux.cache I tried the above

Password entry

2005-08-09 Thread Beast
How do I create password entry? (ie. same like Gtk2::Entry but every chars displayed as *) Thanks. -- --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: Password entry

2005-08-09 Thread Juan José 'Peco' San Martín
On Tue, 2005-08-09 at 15:15 +0700, Beast wrote: How do I create password entry? (ie. same like Gtk2::Entry but every chars displayed as *) Use $text-set_visibility(0) For example using Glade: $text=$gladexml-get_widget('entry1'); $text-set_visibility(0); Hope this help. Peco Thanks.

Re: error when starting app

2005-08-09 Thread Jan Hudec
On Tue, Aug 09, 2005 at 11:30:30 +0200, Flatman wrote: * Jens Luedicke [EMAIL PROTECTED] wrote: | | This is some problem with Pango and if it appears only when running | gtk2-perl programs I would try to recompile the bindings against the | system Gtk2. | How to do this ? Depends on

Re: globaly remove icon

2005-08-09 Thread Torsten Schoenfeld
On Tue, 2005-08-09 at 15:20 +0700, Beast wrote: Suppose I want to remove all stock icon next to menu and button for all applications, is it possible? Use the Menus Toolbars preference thingy in GNOME. This isn't related to Gtk2-Perl in any way. -- Bye, -Torsten

circular buttons?

2005-08-09 Thread Boštjan Špetič
hi is there a way to make circular button in gtk2? i guess i could do it with images, but is there a better way? regards, bostjan -- igzebedze - he who speaks loud and say nothing ___ gtk-perl-list mailing list gtk-perl-list@gnome.org

Re: globaly remove icon

2005-08-09 Thread Beast
Torsten Schoenfeld wrote: On Tue, 2005-08-09 at 15:20 +0700, Beast wrote: Suppose I want to remove all stock icon next to menu and button for all applications, is it possible? Use the Menus Toolbars preference thingy in GNOME. This isn't related to Gtk2-Perl in any way. It is from gtk