# Iâ€™m working on GIO bind ings

**URL:** <https://www.ruby-forum.com/t/ia-m-working-on-gio-bind-ings/163360>\
**Category:** Ruby-Gnome 2\
**Created:** [March 19, 2009, 3:52pm UTC](https://www.ruby-forum.com/t/ia-m-working-on-gio-bind-ings/163360 "2009-03-19T15:52:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nikolai\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/df705f/32.png) [@Nikolai\_W](https://www.ruby-forum.com/u/Nikolai_W)\
**Post date:** [March 19, 2009, 3:52pm UTC](https://www.ruby-forum.com/t/ia-m-working-on-gio-bind-ings/163360/1 "2009-03-19T15:52:23Z")

</div>

Hi!

Just wanted to let everyone know that I’m working on GIO bindings. I  
got fed up with FileUtils, Pathname, and File for doing my file  
management at work (on Windows), so I finally got around to trying to  
set this up. It’s been rather straightforward so far. I was  
wondering if anyone has any thoughts on the design of the bindings or  
any other input that can be useful. Relating to the async stuff, I  
think that you can easily get it down to:

G::File.new(“abc”).read\_async(20) do |twenty\_bytes|  
puts twenty\_bytes  
end

which reads so incredibly much nicer than in C. I must say that  
Alexander Larsson has designed an incredibly nice API.

One thought I had was about the namespace. GFile is called just that  
and I don’t have a good alternative to G::File. Should it be  
GLib::File?

Also, I’m hopefully going to be completing this at work and was  
wondering what the status is on ”sponsoring”? I certainly don’t care,  
but it would be nice to be able to tell my boss that I can get a link  
up on the home page, or something similar, in exchange for some of my  
hours at work. If not, then fine, I’ll probably be allowed to  
complete this at work anyway, but it might be something we should  
consider. It doesn’t have to be anything fancy, perhaps we can add a  
link to the left sidebar called Sponsors and there we can list  
companies that allowed their developers to work on ruby-gnome2 during  
work hours :-).

I work for the following company, if anyone cares:  
[Amesto | Simplifying Business](http://www.amesto.com/?catid=1497). (I am in no way responsible for  
the homepage.)

---

<div class="post-metadata">

**Author:** ![Nikolai\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/df705f/32.png) [@Nikolai\_W](https://www.ruby-forum.com/u/Nikolai_W)\
**Post date:** [March 20, 2009, 10:39am UTC](https://www.ruby-forum.com/t/ia-m-working-on-gio-bind-ings/163360/2 "2009-03-20T10:39:14Z")

</div>

> which reads so incredibly much nicer than in C.

I hear you. 🙂

About sponsoring, I think it would be nice if we could collect all  
useful gnome/gtk apps written in ruby on a page - I feel that this is  
the best advertisement one can do, i.e. by specific working examples.

But on the other hand, for example, I personally never care about  
companies - I care about good apps and smart people.

---

<div class="post-metadata">

**Author:** ![Nikolai\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/df705f/32.png) [@Nikolai\_W](https://www.ruby-forum.com/u/Nikolai_W)\
**Post date:** [March 20, 2009, 11:29am UTC](https://www.ruby-forum.com/t/ia-m-working-on-gio-bind-ings/163360/3 "2009-03-20T11:29:39Z")

</div>

> About sponsoring, I think it would be nice if we could collect all  
> useful gnome/gtk apps written in ruby on a page - I feel that this is  
> the best advertisement one can do, i.e. by specific working examples.

?

[http://ruby-gnome2.sourceforge.jp/hiki.cgi?Applications](http://ruby-gnome2.sourceforge.jp/hiki.cgi?Applications)

–  
Guillaume C. - [Guillaume Cottenceau](http://zarb.org/~gc/)

---

<div class="post-metadata">

**Author:** ![Nikolai\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/df705f/32.png) [@Nikolai\_W](https://www.ruby-forum.com/u/Nikolai_W)\
**Post date:** [March 20, 2009, 4:47pm UTC](https://www.ruby-forum.com/t/ia-m-working-on-gio-bind-ings/163360/4 "2009-03-20T16:47:54Z")

</div>

Hi,

In [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
“[ruby-gnome2-devel-en] Iâ€™m working on GIO bindings…” on Thu, 19 Mar  
2009 15:50:35 +0100,  
Nikolai W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Just wanted to let everyone know that Iâ€™m working on GIO bindings.

Great!

> One thought I had was about the namespace. GFile is called just that  
> and I donâ€™t have a good alternative to G::File. Should it be  
> GLib::File?

GLib::File is better.

> Also, Iâ€™m hopefully going to be completing this at work and was  
> wondering what the status is on â€sponsoringâ€? I certainly donâ€™t care,  
> but it would be nice to be able to tell my boss that I can get a link  
> up on the home page, or something similar, in exchange for some of my  
> hours at work. If not, then fine, Iâ€™ll probably be allowed to  
> complete this at work anyway, but it might be something we should  
> consider. It doesnâ€™t have to be anything fancy, perhaps we can add a  
> link to the left sidebar called Sponsors and there we can list  
> companies that allowed their developers to work on ruby-gnome2 during  
> work hours :-).

Umm, I looked at [gnome.org](http://gnome.org) but [gnome.org](http://gnome.org) doesn’t have  
sponsors page…

What about create your page on Authors  
[http://ruby-gnome2.sourceforge.jp/hiki.cgi?Authors](http://ruby-gnome2.sourceforge.jp/hiki.cgi?Authors)  
and mention about “your work is sponsored by your company”?

## Thanks,

kou
