Finding an item in treeview by its name, implemented now ?

2005-07-21 Thread Colossus
Hi, I found this on the archive: http://mail.gnome.org/archives/gtk-app-devel-list/2002-October/msg00139.html but it is of 2002, has that way been implemented now ? Or I have to traverse the entire treeview and compare the string as suggested in the link above ? -- Colossus Cpsed, a Linux

Printing with gtk on windows

2005-07-21 Thread Razvan Gavril
I need to do some printing in a gtk application that runs on windows os and i can't find any starting point to look for documentation. Can anyone help me ? -- Razvan Gavril [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list

GtkMenu map callback

2005-07-21 Thread Gaurav Jain
Hi, I'm trying to implement a function that needs to be called before the menu attached to the menu bar is mapped. I tried doing this by connecting to the activate signal for the menu item which is the parent of this menu, but what's happening is that the map callback is getting called BEFORE

drag selection in gtk2-treweview?

2005-07-21 Thread Björn Martensen
Hi, I would like to know, if there is some kind of dragging-selection for the gtk2 treeview, as there is for the deprecated clist. At the moment I use a workaround in which I save the first selected row and in motion-notify I unselect all rows and reselect the range between the saved first row

Destroy GtkWidget doesnot descrese the amount of memories

2005-07-21 Thread kyanh
hi list, I have tested in Bluefish, GEdit, Winefish, GPHPEdit, Kile. The problem is describe as below: When I open a document in the Editor (any of above), the amount of memory increased [ i used 'top' to monitor ]. After closing that document, 'top' reports that the Editor keep the same

Re: Fwd: How will cairo influence GTK's performance?

2005-07-21 Thread Richard Stellingwerff
On 7/20/05, Billy Biggs [EMAIL PROTECTED] wrote: Richard Stellingwerff ([EMAIL PROTECTED]): FWIW, I noticed that GTK+2 performance is a LOT better on my Ati Mobility 9200 with DRI drivers than my NVidia FX5200 with nvidia drivers. Ati's proprietary drivers are just as slow as NVidia's, at

Re: Fwd: How will cairo influence GTK's performance?

2005-07-21 Thread Clemens Eisserer
With the DRI drivers however, resizing the window is a LOT smoother, and scrolling trough the entire page is smooth as silk, no matter how hard I pull that scrollbar :P Ofcourse, it would be better to have a real benchmark. One such app that could prove useful here, is GtkPerf

gtk+-2.6.7 compile problem

2005-07-21 Thread frankie
Hello all: I met a problem when i compiled gtk 2.6.7 on RedHat9. I compiled followed the order of GLib, Pango, ATK, then GTK+ which is recommanded in the GTK+ Reference Manual. Glib, Pango, ATK is just ok, but turn to gtk , i met the configure: error: Xft Pango backend is required for x11

Re: Fwd: How will cairo influence GTK's performance?

2005-07-21 Thread Billy Biggs
Richard Stellingwerff ([EMAIL PROTECTED]): Is there a way you could create a programmatic benchmark (or a command line that does not require user interaction)? User perception. But the difference is so huge, that I can tell with absolute certainty that it's there. I just can't give you

Re: Fwd: How will cairo influence GTK's performance?

2005-07-21 Thread Richard Stellingwerff
On 7/21/05, Billy Biggs [EMAIL PROTECTED] wrote: Resizing mozilla tests your window manager and mozilla's rendering more than GTK+ itself. Correct, but both use GDK to draw their things, so what makes this different from any GTK widget, that uses GDK internally as well? However, since

Re: Fwd: How will cairo influence GTK's performance?

2005-07-21 Thread Billy Biggs
Richard Stellingwerff ([EMAIL PROTECTED]): On 7/21/05, Billy Biggs [EMAIL PROTECTED] wrote: Resizing mozilla tests your window manager and mozilla's rendering more than GTK+ itself. Correct, but both use GDK to draw their things, so what makes this different from any GTK widget, that

Re: Fwd: How will cairo influence GTK's performance?

2005-07-21 Thread Antonio Gomes
Resizing mozilla tests your window manager and mozilla's rendering more than GTK+ itself. Correct, but both use GDK to draw their things, so what makes this different from any GTK widget, that uses GDK internally as well? AFAIK the mozilla family of browsers (both mozilla suite and

Re: Fwd: How will cairo influence GTK's performance?

2005-07-21 Thread Clemens Eisserer
AFAIK the mozilla family of browsers (both mozilla suite and firefox) use XUL as ui toolkit, not GTK. If it is the case, perhaps you should choice another app as benchmark for measure the gtk performance. XUL is just the description-format how widgets should be layouted - they use the

Re: catch logout/SIGHUP

2005-07-21 Thread Ben Johnson
On Thu, Jul 21, 2005 at 03:39:46AM +0200, Jochen Baier wrote: hi, i wonder what is the right procedure to do some cleanup if the user logout from session and the program is still alive. (Save file before exit etc) I thought system (SIGHUP,...) is the right way, but i didnt find this

Re: catch logout/SIGHUP

2005-07-21 Thread Jochen Baier
Ben Johnson wrote: On Thu, Jul 21, 2005 at 03:39:46AM +0200, Jochen Baier wrote: hi, i wonder what is the right procedure to do some cleanup if the user logout from session and the program is still alive. (Save file before exit etc) I thought system (SIGHUP,...) is the right way, but i

Re: Can a GtkHandleBox be made transient?

2005-07-21 Thread Jan-Marek Glogowski
Is there any reason that windows created by GtkHandleBox aren't transient by default? This is the behaviour I would expect. Different people expect different behaviour... Is there a simple way to make them transient? I think a GtkHandleBox has its own GdkWindow, so just use

Re: Discarding key pressed events.

2005-07-21 Thread Jan-Marek Glogowski
How to avoid this? maybe i could delete the keys' event from the events queue? Any help? Actually I did a workaround for this problem: ... The problem actually is that I cant call set_events on a widget which is already realized, and I am get a lot of warnings indeed. So, my problem is

dialog box outside its parrent window

2005-07-21 Thread Beast
I'm trying to use separate window by subclassing Gtk2::Dialog. However, the placement is random, mostly it 'outside' of its parrent window. Is there any way to make this dialog box appear 'inside' parent window (something like MDI)? -- --beast ___

Re: table layout

2005-07-21 Thread Vincent LADEUIL
Scott == Scott Lanning [EMAIL PROTECTED] writes: To see what can be done, and how, I use to play with Glade gui-builder before starting coding. (Actually, now I'm using GladeXML and I forgot about all this :-p) Scott I've tried to get into Glade several times, but never

Re: dialog box outside its parrent window

2005-07-21 Thread Jens Luedicke
On 7/21/05, Beast [EMAIL PROTECTED] wrote: However, I got this warning when trying to add VBox to Dialog window : Gtk-WARNING **: Attempting to add a widget with type GtkVBox to a GtkDialog, but as a GtkBin subclass a GtkDialog can only contain one widget at a time; it already contains a

Re: A little fix for Gtk2::Dialog

2005-07-21 Thread A. Pagaltzis
* muppet [EMAIL PROTECTED] [2005-07-21 23:10]: That's an oversight. We have our own producct at http://bugzilla.gnome.org . Where's the obvious place on gtk2-perl.sf.net to put that link? Links? In the navigation to the right, I’d say, not burried somewhere on a page. Gtk2-Perl is, after

Re: table layout

2005-07-21 Thread Chris Debenham
Yep, I have two gtk2-perl apps. Lyricue : www.adebenham.com/lyricue Gournal: www.adebenham.com/gournal Lyricue is mature (about 2-3 years) and is used weekly in production in many churches Chris On Fri, 2005-07-22 at 09:51 +0700, Beast wrote: Vincent LADEUIL wrote: All in all, in the

Re: table layout

2005-07-21 Thread Daniel Kasak
Beast wrote: Vincent LADEUIL wrote: All in all, in the last year I solve nearly all my layout problems with glade-only solutions (the glade files amount for around 10.000 lines in my current project). Seriously, is there any seriuos project written using gtk-perl? I found