Re: Image directory

2005-03-09 Thread Iago Rubio
On Wed, 2005-03-09 at 15:33 -0600, Robertson, Ezban wrote:
> Does anyone know if gtk2 looks in a specific directory for image files? I've 
> include all images in a specific location but it's not finding it. Is there a 
> default directory?
No.

If you post your code, may be we could help you.

What load image function are you using ?
-- 
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: time interaction

2005-03-09 Thread Iago Rubio
On Wed, 2005-03-09 at 17:01 -0400, Andrà Pedralho wrote:
> I've heard about a gtk based app that implements some time
> interactions! e.g. one event occurs 10s from now! I think I'll develop
> something using this! ;)
> Someone knows if it is true? And how to do it?

It's indeed true.

Take a look at the documentation on g_timeout_add()

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


GtkIconView set_item_width question

2005-03-09 Thread DaveMDS
I all,
I have a problem with GtkIconView:
when I try to set the width of the icons with:
gtk_icon_view_set_item_width(icon_view,128);
the placement of the icon become strange.
If I don't touch the width all the icon are at the correct position, but if
I try to enlarge some icon take 2 or more cell (like a colspan=2 in html).
I can't find some decente documentation on this widget...
Can someone help?
Thanks
DaveMDS
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: button receives focus but can't be pressed in

2005-03-09 Thread Felix Kater
Felix Kater:

> To sum up:
> 
> If the mouse pointer on a button which was insensitive and gets
> sensitive (by another thread), then the button is never highlighted
> and doesn't receive the click signal when clicked.


Me again.
I found out that this issue is known as bug 56070 which is open since
2001-06-11... (!)

 
So, I'll try to find a solution for the client programmer this way:

When the button is re-set sensitive I would

* check if the mouse is inside the button's gdk window,
* then simulate the enter event

Can I do this somehow?

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


Re: A simple gtk app on ARM

2005-03-09 Thread DaveMDS
I all,
I have a problem with GtkIconView:
when I try to set the width of the icons with:
gtk_icon_view_set_item_width(icon_view,128);
the placement of the icon become strange.
If I don't touch the width all the icon are at the correct position, but if
I try to enlarge some icon take 2 or more cell (like a colspan=2 in html).
I can't find some decente documentation on this widget...
Can someone help?
Thanks
DaveMDS
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Image directory

2005-03-09 Thread Robertson, Ezban

Does anyone know if gtk2 looks in a specific directory for image files? I've 
include all images in a specific location but it's not finding it. Is there a 
default directory?

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


time interaction

2005-03-09 Thread André Pedralho
I've heard about a gtk based app that implements some time
interactions! e.g. one event occurs 10s from now! I think I'll develop
something using this! ;)
Someone knows if it is true? And how to do it?

thanks and let's play!

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


A simple gtk app on ARM

2005-03-09 Thread Robertson, Ezban
Hi All,
I'm fairly new with gtk+ programming. Nonetheless, I'm trying to run a
simple application on an arm platform runninx Xfbdev  - TinyX. I've
compiled the source with the pkg-config options and everything compiles
ok. The problem arises when I run it. The X server is already running,
and the WM is also running (started from commandline), however, I'm
seeing a small "blop" on the screen where a single 40x40 xpm should be.
Does anyone have anyidea what might be happening?
 
thanks.
 
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list