RE: Limiting the number of characters

2006-06-22 Thread Andrea Zagli
> Thank You Andrea, but I'm wondering can it be embedded into GtkListStore. > Sorry to trouble you but please throw some light on this. > gtkmaskedentry version 0.0.2 has a gtkcellrenderer ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.or

Re: Gtk+ Modality Problem

2006-06-22 Thread Atanas Atanasov
I managed to make it partially modal using a combination of functions: set_modal, grab_add and set_transient_for. However I can still say resize the window behind. It seems as you said that this i supposed to be the behaviour since gtk_message_dialow_new creates a dialog with identical functionalit

Re: Gtk+ Modality Problem

2006-06-22 Thread Yeti
On Thu, Jun 22, 2006 at 10:02:39AM +0200, Atanas Atanasov wrote: > A Windows API person told me that when a window is modal all events > except a small set are filtered out for the back window. This small > set should definitely include paint and clicks and keyboard should be > out of it. Right now

Re: Gtk+ Modality Problem

2006-06-22 Thread Atanas Atanasov
The way ti works under windows: The window manager can distinguish between what is called the client (the inside) and non-client (titlebar & borders) areas a window. Subsequently all mouse events are separated in two classes - normal and NC (non-client). Then the default handlers (through DefWindow

In gtk+ application,how to parse xml file

2006-06-22 Thread yeajchao
Hello everybody First,I apologize for my terrible English. My application is developed by gtk+,and the application need a config file for startup initialization.The config file's name is config.xml What I need your help is that: I didn't known how to parse the ``.xml'' file Any

In gtk+ application,how to parse xml file

2006-06-22 Thread yeajchao
Hello everybody First,I apologize for my terrible English. My application is developed by gtk+,and the application need a config file for startup initialization.The config file's name is config.xml What I need your help is that: I didn't known how to parse the ``.xml'' file Any

Re: In gtk+ application,how to parse xml file

2006-06-22 Thread Atanas Atanasov
In such cases always check GLib. This is most probably the most useful library ever written. If you check the GLib Utilities section of http://developer.gnome.org/doc/API/2.0/glib/index.html you will find there is a simple XML (a subset actually) parser (see http://developer.gnome.org/doc/API/2.0/g

Re: In gtk+ application,how to parse xml file

2006-06-22 Thread Ricardo Malafaia
man, you are with luck. GLib -- which is a base library for GTK+ -- comes with a simple but easy parser for a subset of XML: http://developer.gnome.org/doc/API/2.0/glib/glib-Simple-XML-Subset-Parser.html#GMarkupParser should be enough to handle config files... On 6/22/06, yeajchao <[EMAIL PROTE

Re: Gtk+ Modality Problem

2006-06-22 Thread Yeti
On Thu, Jun 22, 2006 at 10:46:02AM +0200, Atanas Atanasov wrote: > The way ti works under windows: The window manager can distinguish > between what is called the client (the inside) and non-client > (titlebar & borders) areas a window. Subsequently all mouse events are > separated in two classes -

gtk 2.8 on Windows 98

2006-06-22 Thread Allin Cottrell
Just wanted to check: is the statement by Tor Lillqvist at http://bugzilla.gnome.org/show_bug.cgi?id=316878 the "last word" on this issue? (The issue concerns gtk, cairo, and fonts on win98.) Tor says -- or rather, asks: "[W]hat this bug actually means is that GTK+ 2.8.* doesn't run on Win9x

Make duplicate of a complete GtkMenu

2006-06-22 Thread Enrico Tröger
Hi, I'm implementing two GtkMenus, which are identical and inserted in the menubar and in a popup menu. Since I can't reparent the menu, I have to create two menus which are identical. Is there some possibility two copy the complete menu so that I don't have to create two identical menus? This is

Re: In gtk+ application,how to parse xml file

2006-06-22 Thread Vladislav Grinchenko
libxml2 is a full-featured XML parser library. -Vlad On Thu, 2006-06-22 at 18:48 +0800, yeajchao wrote: > Hello everybody > First,I apologize for my terrible English. > My application is developed by gtk+,and the application need a config > file > for startup initialization.The config

libegg

2006-06-22 Thread 3saul
Can someone tell me where I can download libegg from? I can't find it anywhere! -- View this message in context: http://www.nabble.com/libegg-t1834586.html#a5006790 Sent from the Gtk+ - Apps Dev forum at Nabble.com. ___ gtk-app-devel-list mailing list

Multi monitor environment

2006-06-22 Thread 3saul
How do I find out which monitor my application is on in a multiple monitor environment? -- View this message in context: http://www.nabble.com/Multi-monitor-environment-t1834631.html#a5006908 Sent from the Gtk+ - Apps Dev forum at Nabble.com. ___ gtk-a

Re: Multi monitor environment

2006-06-22 Thread Tor Lillqvist
3saul writes: > How do I find out which monitor my application is on in a multiple monitor > environment? Does your application have just one or several top-level windows? If it has several, and the user has placed them on different monitors, is there even a clear answer? And what if some of the