Re: Trouble with GtkImage on button press event!

2006-06-20 Thread Jean Bréfort
Le lundi 19 juin 2006 à 18:48 -0700, heavenscape a écrit : > I need to capture the button press event on a GtkImage widget, and I use the > following code: > > w = lookup_widget(MainWnd,"image1"); > gtk_widget_add_events(w, GDK_BUTTON_PRESS_MASK ); > > and I mapped the "Button press

Re: Trouble with GtkImage on button press event!

2006-06-20 Thread Andrew Cowie
On Mon, 2006-06-19 at 18:48 -0700, heavenscape wrote: > I need to capture the button press event on a GtkImage widget... > and I mapped the "Button press event" using glade, but it never worked. > Anyone knows why? [gtk] Images themselves don't have [gdk] Windows underneath them, and only such Wi

How to capture the scroll event of the scrolled window?

2006-06-20 Thread heavenscape
I need to track the scroll events of the GtkScrolledWindow, and i use following code: GtkWidget* w = lookup_widget(MainWnd,"scrolledwindow1"); gtk_widget_add_events (w, GDK_SCROLL_MASK); and I mapped the scroll child event with glade, but it does not work. Anyone knows why? -- V

proggressbar..

2006-06-20 Thread Kalli Math
how to design a progressbar, and add to my application window? with regards, Prashanth km "SASKEN RATED Among THE Top 3 BEST COMPANIES TO WORK FOR IN INDIA - SURVEY 2005 conducted by the BUSINESS TODAY - Mercer - TNS India" SASKEN BUSINESS DISCLAIMER This message ma

Please help me..

2006-06-20 Thread Kalli Math
hi all... I am doing GUI for audio players using *GTK* as framework. i have to design a *playlist* which contains files from one* directory*, on selecting file from playlist another window should open,which contains play,* pause and stop buttons and one progress bar*. i have to write *events*

Re: proggressbar..

2006-06-20 Thread Paul Davis
On Tue, 2006-06-20 at 14:15 +0530, Kalli Math wrote: > how to design a progressbar, and add to my application window? it is customary to show some indication that you've attempted to find an answer to such simple, basic questions before asking a mailing list. www.gtk.org has lots of documentation

Scrolling performance

2006-06-20 Thread Clemens Eisserer
Hi there, I recently updated to OpenSuSE 10.1 since some people suggested that Eclipse/GTK's performance is better with gtk 2.8. My machine is a Athlon 1000 with 512mb SDram and a GeForce FX5200 with latest NVidia binary drivers, renderaccel enabled. GTK applications tend to be very unresponsive

GLib 2.11.4 released

2006-06-20 Thread Matthias Clasen
GLib 2.11.4 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.11/ http://ftp.gnome.org/pub/GNOME/sources/glib/2.11/ glib-2.11.4.tar.bz2 md5sum: 9d3a94baa4bfcd9a579b45eea6de3a8c glib-2.11.4.tar.gz md5sum: f7768bc7ed524c6b40cb87daccb6c2b2 This is a development release l

Re: Please help me..

2006-06-20 Thread Michael L Torrie
On Tue, 2006-06-20 at 16:36 +0530, Kalli Math wrote: > hi all... > > I am doing GUI for audio players using *GTK* as framework. i have to > design a *playlist* which contains files from one* directory*, on > selecting file from playlist another window should open,which contains > play,* pause a

Re: proggressbar..

2006-06-20 Thread Michael Natterer
I think it would help a bit if you a) asked specific questions b) didn't have 3 times as much advertizing as content in your mail c) didn't have this idiotic disclaimer On Tue, 2006-06-20 at 14:15 +0530, Kalli Math wrote: > how to design a progressbar, and add to my application window? > > with

Re: Scrolling performance

2006-06-20 Thread John Cupitt
On 6/20/06, Clemens Eisserer <[EMAIL PROTECTED]> wrote: > I recently updated to OpenSuSE 10.1 since some people suggested that > Eclipse/GTK's performance is better with gtk 2.8. > My machine is a Athlon 1000 with 512mb SDram and a GeForce FX5200 with > latest NVidia binary drivers, renderaccel ena

Re: Drawing images ( with transparency ) one on another

2006-06-20 Thread Patrick Jacquot
Le lundi 19 juin 2006 à 11:35 +0200, hm a écrit : > Hi, > > I`ve got a problem. I`ve got two separate images. One is background for > the secondone. Secondone is partially transparent. There is also table. > Question is : how to draw in one of the table`s cells the backgraound, and on > thi

Re: Scrolling performance

2006-06-20 Thread Valdis . Kletnieks
On Tue, 20 Jun 2006 15:26:51 +0200, Clemens Eisserer said: > Where does all the time go to? I've done some sysprof-profiling and > its shows than pango is not the evil. Are maybe the repaint > algorythmns not optimal, repainting too often too large areas/hidden > components? So where *does* the t

Re: Scrolling performance

2006-06-20 Thread Clemens Eisserer
Hi again, Maybe GTK is using X in a way it does not like? > of 2 other 700x1000 windows, and the window manager is doing the moving window > in translucent mode as well, that *will* spike the processor up to about 100% > and only 8 or 10 redraws per second. Well but then a composition manager is

problem compiling on Windows with MSVC - missing libiconv_set_relocation_prefix

2006-06-20 Thread Mathew Yeates
Hi When I try and compile I get the error in my subject line. This is with a binary libiconv-1.9.1 and glib 2.8. Any windozers seen this before? Mathew ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Scrolling performance

2006-06-20 Thread Valdis . Kletnieks
On Tue, 20 Jun 2006 22:21:16 +0200, Clemens Eisserer said: > 1.) Not even one comment from a developer. Maybe there are not enough, > maybe nobody cares, ore maybe they can't cope with critic? I don't > know. Maybe none of the developers are seeing your issue, and none of the usual bleeding-edge

Re: Scrolling performance

2006-06-20 Thread Mark Leisher
Clemens Eisserer wrote: > >> (1.6Ghz CPU, 768M of RAM, and an NVidia 440Go chipset), hardly a screamer > Well but it should be enough to handle these simple tasks very fast. > If QT can do it fast, GTK should be able too. > > I just wonder why QT performs that well (and many other toolkits I've >

Re: problem compiling on Windows with MSVC - missing libiconv_set_relocation_prefix

2006-06-20 Thread Tor Lillqvist
Mathew Yeates writes: > When I try and compile I get the error in my subject line. This is with > a binary libiconv-1.9.1 and glib 2.8. Any windozers seen this before? Presumably you get the error when running your code, not compiling? Anyway, you probably have an older version of the GNU iconv

Re: Scrolling performance

2006-06-20 Thread John Cupitt
On 6/20/06, Clemens Eisserer <[EMAIL PROTECTED]> wrote: > Thanks for the tip with the theme, the only theme I've installed is > called "Raleigh". I found the package: http://www.novell.com/products/linuxpackages/suselinux/gtk-qt-engine.html it is installed by default, so unless you've removed it

Re: Scrolling performance

2006-06-20 Thread Clemens Eisserer
Hi again, > I'm suspecting you're addressing me with that comment. ;) Well, maybe ;) When I wrote the original post I was quite frustrated since I was unhappy about GTKs performance since a long time (I used FC3 (2.4) and FC4(2.6) and now OpenSuSE 10.1 (2.8), my laptop died (2.6ghz) and now I've t

Re: Scrolling performance

2006-06-20 Thread Valdis . Kletnieks
On Wed, 21 Jun 2006 00:41:31 +0200, Clemens Eisserer said: > I did some oprofiling, however I don't have a vmlinz-file handy so its > quite a bit useless: > 5558 39.2930 no-vmlinux Bummer. With a system time *that* high, I'm wondering if there's something odd going on here... a vmlinux to h