Re: FW: compiling gtk-engines under mingw

2007-11-12 Thread Tor Lillqvist
 PS: I meant to say XML Parser above (not X11 Parser)

Ah yes. The lack of the XML::Parser module in the Perl that comes with
MSYS can be a pain. If I recall correctly it is quite hard to install
it afterwards into MSYS, presumably because one would need the
MSYS-targetting compiler (i.e. a compiler that produces MSYS binaries,
recall that MSYS as such is a fork of Cygwin), and/or it would drag in
a bunch of dependencies that are also hard to make work, etc.

I have avoided this problem by setting the environment variable
INTLTOOL_PERL to point to the perl.exe in my installation of
ActiveState's Perl, which has XML::Parser.

Just setting INTLTOOL_PERL means that otherwise the Perl used to run
stuff from Makefiles etc will still be the MSYS one, but the Perl used
for the intltool configury (which is where XML::Parser is needed) will
be the ActiveState one.

--tml
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


notebook tab with other widget

2007-11-12 Thread sphurti durgade
hello,
i am using notebook in my application. i want to reduce the tab size and 
placing other widget next/near to tab(e.g search label with entry box = search 
box ). if i use hbox  to pack the notebook with widget  it is placing  
horizontally with notebook . how can i place my search box near to tab of 
notebook.
as well as reducing the size the notebook tab 

also how to put button and image inside the tab (image -label -closebutton)

thank you.
sphurti



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: GTK win32 port: jpeg and TIFF dlls

2007-11-12 Thread Ivan Baldo


El 11/11/07 23:22, Allin Cottrell escribió:
 In 2.12.0 I built in the loaders into the gdk-pixbuf library. 
 There are no separate loader dlls. This has the benefit that there 
 are less files in the gtk+ distribution, and there is one less 
 thing that might go wrong, as the built-in loaders don't need to 
 be listed in a gdk-pixbuf.loaders file. But ... those who use 
 gdk-pixbuf but not for jpeg or tiff images, have earlier managed 
 without the jpeg and tiff dlls...

 If I get more complaints like yours, I guess I will have to 
 revert this, and build the loaders separately again.

 Could I put in a vote for building the loader dlls separately, as 
 before, please?  I'm sure I'm not the only one wanting to offer a 
 minimal stand-alone GTK installation to accompany my app.  It's 
 not a very big deal -- but is a bit of a pain -- to have to 
 include redundant DLLs in such a package.

   
Can I vote to have the loaders separated too? Thanks!!!
Programmers should figure out how to package a GTK application on
Windows, it isn't that difficult.

Bye.

-- 
Ivan Baldo - [EMAIL PROTECTED] - http://ibaldo.codigolibre.net/
ICQ 10215364 - Phone/FAX (598) (2) 613 3223.
Caldas 1781, Malvin, Montevideo, Uruguay, South America.
We believe that we are free, but in reality we are not! Are we?
Alternatives: [EMAIL PROTECTED] - http://go.to/ibaldo


___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

A selectable sequence of EventBoxes

2007-11-12 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I am trying to make a GUI with a number of widget groups.  You can see a draft
screenshot at:
http://dev.laptop.org/~bemasc/screenshot.png

I would like to allow the user to operate the GUI by keyboard alone.  The user
should be able to use the arrow keys to move between the groups, with some
indication of which group has focus.  Then, when they type, the button
accelerators should go to the buttons in the group, and all other keystrokes
should go to the group's gtk.Entry field.

I tried wrapping each row in a gtk.EventBox with 'can-focus' set to True, but
none of the EventBoxes ever received focus.  How can I build this GUI?

- --Ben
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHOJjLUJT6e6HFtqQRAobrAJ0SXecm/7X9FcHYomlrVspNABV81gCfV79m
713ErAjiuffJp35cEeNxSdg=
=QA2d
-END PGP SIGNATURE-
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Getting a GdkPixbuf from any GtkImage

2007-11-12 Thread Andrew Smith
Hi

I have a function that makes a GdkPixbuf from whatever, and I want to 
use gtk_image_new_from_stock(GTK_STOCK_MISSING_IMAGE) as a fallback.

But I can't use gtk_image_get_pixbuf() on that image, apparently because 
a GdkPixbuf wasn't used to crate it, or something.

Help?

Thanks in advance,

Andrew
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


GtkFileChooserDialog and GtkFileChooser problem

2007-11-12 Thread zz
Hi,
I'm experiencing a little problem with GtkFileChooserDialog and GtkFileChooser:
I'm writing an app that needs to select a path to operate on it.
This path could be a file or a directory (to be handled recursively).
While it was possible to select a file OR a directory with the old
GtkFileSelection widget it seems to be impossible to do the same
thing with the new GtkFileChooserDialog and GtkFileChooser widgets
as the GtkFileChooserAction(s) don't allow it:
 
GTK_FILE_CHOOSER_ACTION_OPEN,
GTK_FILE_CHOOSER_ACTION_SAVE,
GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER

Is there a way to force a GtkFileChooserDialog to be able to select
files or directories?
Am i overlooking the obvious?

Best regards,
Tito
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: gdk_pixbuf_scale_simple() resizes when it shouldn't

2007-11-12 Thread Dr. Michael J. Chudobiak
Andrew Smith wrote:
 Hi
 
 I can't find where to file a GDK bug so I'll post it here, please file 
 it if you know where.
 
 A call to gdk_pixbuf_scale_simple() with the GDK_INTERP_HYPER parameter 
 for some reason ends up resizing an image, even if the size requested 
 matches the size of the pixbuf I give it.

File here:

http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B

under the gdk-pixbuf component.

- Mike
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list