Re: How to use GtkAllocation to find absolute x,y co-ordinates?

2008-03-29 Thread Ustun ERGENOGLU
you can access allocation values after the widget is realized, not right after you create it. so, to make sure you get it correct you can set an event handler for size-allocate signal http://library.gnome.org/devel/gtk/stable/GtkWidget.html#GtkWidget-size-allocate 2008/3/29, Harinandan S [EMAIL

Re: problem with callback

2008-03-21 Thread Ustun ERGENOGLU
did you try this? http://library.gnome.org/devel/gtk/stable/GtkWidget.html#gtk-widget-grab-focus 2008/3/20, Moises [EMAIL PROTECTED]: Hello again I am making a window that has a menu, two drawing_area and a GtkEntry I added the following events (GDK_BUTTON1_MOTION_MASK,

Re: a reference guide for pixmap engine

2008-02-14 Thread Ustun ERGENOGLU
Did you search on live.gnome.org? thanks. there is at least some kind of explanation. üstün ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

how to use gdk_window_set_back_pixmap ()

2008-02-14 Thread Ustun ERGENOGLU
Hello, I'm trying to avoid windows of widgets drawing their backgrounds, so I use gdk_window_set_back_pixmap (widget-window,NULL,FALSE) but it doesn't seem to work. In particular, actually I'm trying to get the GtkIconView widget without the default background. As far as I could see, widgets

a reference guide for pixmap engine

2008-02-13 Thread Ustun ERGENOGLU
hello folks, does anyone know where I can find a reference guide for pixmap theme engine? the only source I could find so far is to look existing themes which is not always very helpful. thanks in advance. ___ gtk-list mailing list gtk-list@gnome.org

Re: GtkViewport and gtk_widget_set_app_paintable()

2008-02-04 Thread Ustun ERGENOGLU
I already have it TRUE. but the ScrolledWindow still insists on drawing the bg. 2008/2/4, Fred Morcos [EMAIL PROTECTED]: make sure you set app_paintable to TRUE _not_ FALSE (seen this before). On Feb 4, 2008 2:10 PM, Ustun ERGENOGLU [EMAIL PROTECTED] wrote: Hello folks, I'm just trying

GtkViewport and gtk_widget_set_app_paintable()

2008-02-04 Thread Ustun ERGENOGLU
Hello folks, I'm just trying to tell GtkViewport not draw the default background with gtk_widget_set_app_paintable() function, and setting background pixmap gdk_window_set_back_pixmap (vp-window, NULL, FALSE); it still draws the gray background. does anybody have a clue on how to do it? thanks

about GtkScrolledWindow background

2008-01-30 Thread Ustun ERGENOGLU
hello folks, I'm just trying to get a GtkScrolledWindow ( or any other widget with it's own window ) to have a (semi)transparent background. does anybody have a clue about how to do that? br ___ gtk-list mailing list gtk-list@gnome.org

Re: about GtkScrolledWindow background

2008-01-30 Thread Ustun ERGENOGLU
what I actually need is at least some sort of psuedo-transparency. does anyone know a tutorial or example about that? 2008/1/30, Paul Davis [EMAIL PROTECTED]: On Wed, 2008-01-30 at 11:53 +0200, Ustun ERGENOGLU wrote: hello folks, I'm just trying to get a GtkScrolledWindow ( or any other

Re: TAB by pressing '.'

2008-01-16 Thread Ustun ERGENOGLU
put an event handler for the widget you wish to have behaving like that, and inside the handler modify the keyval field of the GdkEventKey* struct you receive as a parameter. and return FALSE so that the signal goes on propagating. 2008/1/16, kartikay malhotra [EMAIL PROTECTED]: Dear All Is