move mouse/pointer programmatically or generate mouse move signal

2009-06-04 Thread Praveen Innamuri
Hello, I would like to know whether there is any way to move mouse
programmatically?
Also, is there any way to generate motion-notify signal (which is the
mouse move signal) ?

Any help is appreciated.

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


Re: glib uses wrong prefix for base-2 units

2009-06-04 Thread Brian J. Tarricone

On 06/03/2009 05:36 PM, Paul LeoNerd Evans wrote:


Yes; we messed up 30 years ago and said k when we
meant Ki. Oops. Sorry about that.


Well, no, 30 years ago there was no Ki.  So people did the logical 
thing and picked the prefix that represented the correct *magnitude* of 
the value.



Lets not do it wrong for another 30, please?


Wrong is somewhat relative here.  Things can have different meanings 
in different contexts[1].


-brian

[1] Of course, the marketing departments of some storage media companies 
arbitrarily decided it could have different meanings in the *same* 
context too.

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


RGBA support in GDK.

2009-06-04 Thread Eduard Bagrov
Hi!
The function gdk_screen_get_rgba_visual returns NULL, it means that
the capability is not available (according to the documentation).
I make a call with the default screen.
Can anybody help me how RGBA support can be added?
Or maybe how can I set the visual as the default?
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: glib uses wrong prefix for base-2 units

2009-06-04 Thread Kevin Fox
On Wed, 2009-06-03 at 23:10 -0700, Brian J. Tarricone wrote:

 [1] Of course, the marketing departments of some storage media companies 
 arbitrarily decided it could have different meanings in the *same* 
 context too.

I believe those storage companies have been sued and have either settled
or lost. I would then say mostly in the legal system, KB = 1024. If we
muddy the waters by encouraging 1000=KB, we will see more vendor
foolishness, and less legal support for when people are lied to by a
vendor.

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

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


Re: RGBA support in GDK.

2009-06-04 Thread Travis Watkins
On Thu, Jun 4, 2009 at 7:51 AM, Eduard Bagrov ebag...@gmail.com wrote:
 Hi!
 The function gdk_screen_get_rgba_visual returns NULL, it means that
 the capability is not available (according to the documentation).
 I make a call with the default screen.
 Can anybody help me how RGBA support can be added?
 Or maybe how can I set the visual as the default?

This kinds of post would be more suited for the gtk-app-devel-list as
this one is for development of GTK+ itself, not applications using it.

However, this function is most likely returning NULL because you are
not using a compositor like the metacity compositor or compiz. You
can't use RGBA without one.

-- 
Travis Watkins
http://www.realistanew.com
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: glib uses wrong prefix for base-2 units

2009-06-04 Thread Daniel Elstner
Am Mittwoch, den 03.06.2009, 23:10 -0700 schrieb Brian J. Tarricone:
 On 06/03/2009 05:36 PM, Paul LeoNerd Evans wrote:
 
  Yes; we messed up 30 years ago and said k when we
  meant Ki. Oops. Sorry about that.
 
 Well, no, 30 years ago there was no Ki.  So people did the logical 
 thing and picked the prefix that represented the correct *magnitude* of 
 the value.

s/correct/approximate/

  Lets not do it wrong for another 30, please?
 
 Wrong is somewhat relative here.  Things can have different meanings 
 in different contexts[1].

That's indeed the problem.

   -brian
 
 [1] Of course, the marketing departments of some storage media companies 
 arbitrarily decided it could have different meanings in the *same* 
 context too.

The marketing departments happen to have the SI standard on their side,
like it or not.

I completely agree that this is an utterly trivial issue, but if that's
the case then why the hell don't we just change to the now standardized
unit prefix and forget about it?

I think it's either:

a) Who cares about the exact value anyway.  Let's just display
human-friendly quantities as used everywhere else, i.e. powers of 10.

b) Well some people do care, and powers of two are convenient in the
world of computers.  Let's keep that and remove the ambiguity.

Arguing that the exact value isn't important, but then insisting on the
1024 convention just seems silly to me.  Either it is important or it
isn't.  In those situation where the difference matters, you need to
know the factor.

Personally, I don't care about the color of the bike shed, all I care
about is that it gets any coating at all.

--Daniel


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


Re: glib uses wrong prefix for base-2 units

2009-06-04 Thread Olav Vitters
On Thu, Jun 04, 2009 at 08:31:03PM +0200, Daniel Elstner wrote:
 Arguing that the exact value isn't important, but then insisting on the
 1024 convention just seems silly to me.  Either it is important or it
 isn't.  In those situation where the difference matters, you need to
 know the factor.

Up to the maintainers to decide on this.

Suggest people stop with this bike shed and wait until the maintainers
answer. And with suggest I mean that the thread is now moderated and
I'll discard any non-maintainer replies.

-- 
Regards,
Olav
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Gtk+ merges

2009-06-04 Thread Federico Mena Quintero
On Wed, 2009-06-03 at 22:16 -0400, Matthias Clasen wrote:
 As a data point, I've also preferred to go with cherry-picking from
 master so far. It just seems closer to the way I'm working with our
 branches.

OK, no big deal... I'll cherry-pick in the future.

  Federico

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