# Ruby-Gnome 2

**URL:** https://www.ruby-forum.com/c/desktop/ruby-gnome-2/12.md?page=8

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 9

---

## [Git and Hiki](https://www.ruby-forum.com/t/git-and-hiki/215772)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [January 16, 2012, 5:05pm UTC](https://www.ruby-forum.com/t/git-and-hiki/215772 "2012-01-16T17:05:59Z")

</div>

Hi all The hiki \[http://ruby-gnome2.sourceforge.jp/\] still have link to the subversion repository and not the git one. I was not able to change this link in the left part of the hiki pages. Can someone change this ?…

---

## [Seek\_simple method for Gstreamer](https://www.ruby-forum.com/t/seek-simple-method-for-gstreamer/215774)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [January 15, 2012, 6:32pm UTC](https://www.ruby-forum.com/t/seek-simple-method-for-gstreamer/215774 "2012-01-15T18:32:48Z")

</div>

Hi. I just wanted to let you know that I have committed a patch to implement Gst::Element#seek\_simple method. A basic seek of the 3rd seconds on a playbin2 element : position=3000000000 playbin2.seek\_simple(Gst::For…

---

## [\[ANN\] Ruby-GNOME2 1.1.2](https://www.ruby-forum.com/t/ann-ruby-gnome2-1-1-2/215771)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [January 15, 2012, 10:12am UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-1-1-2/215771 "2012-01-15T10:12:01Z")

</div>

Hi, The Ruby-GNOME2 project released Ruby-GNOME2 1.1.2: http://ruby-gnome2.sourceforge.jp/hiki.cgi?News\_20120115\_1 This release is a bug fix release of 1.1.1. Users who install Ruby-GNOME2 by RubyGems doesn’t need to …

---

## [\[ANN\] Ruby-GNOME2 1.1.1](https://www.ruby-forum.com/t/ann-ruby-gnome2-1-1-1/215741)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [January 14, 2012, 9:36am UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-1-1-1/215741 "2012-01-14T09:36:38Z")

</div>

Hi, The Ruby-GNOME2 project released Ruby-GNOME2 1.1.1: http://ruby-gnome2.sourceforge.jp/hiki.cgi?News\_20120114\_1 This release is a bug fix release of 1.1.0. We recommend that 1.1.0 users upgrade to 1.1.1. === Inst…

---

## [\[ANN\] Ruby-GNOME2 1.1.0](https://www.ruby-forum.com/t/ann-ruby-gnome2-1-1-0/215477)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [January 12, 2012, 2:03pm UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-1-1-0/215477 "2012-01-12T14:03:10Z")

</div>

Hi, The Ruby-GNOME2 project released Ruby-GNOME2 1.1.0: http://ruby-gnome2.sourceforge.jp/hiki.cgi?News\_20120105\_1 This release includes a crash bug fix by GC on Ruby 1.9. If you’re using Ruby-GNOME2 on Ruby 1.9, we …

---

## [Gtk3: how to use Gtk::DrawingArea Windows](https://www.ruby-forum.com/t/gtk3-how-to-use-gtk-drawingarea-windows/215429)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 9\
**Last updated:** [January 12, 2012, 2:01pm UTC](https://www.ruby-forum.com/t/gtk3-how-to-use-gtk-drawingarea-windows/215429 "2012-01-12T14:01:19Z")

</div>

Good day I understand Gtk3 support is experimental, but I wanted to learn its whereabouts, and since I had to port an application to a new situation, I decided to try and use it. All went OK (with due changes), up to…

---

## [FileChooserDialog raising warnings on Windows](https://www.ruby-forum.com/t/filechooserdialog-raising-warnings-on-windows/215044)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [December 25, 2011, 11:31am UTC](https://www.ruby-forum.com/t/filechooserdialog-raising-warnings-on-windows/215044 "2011-12-25T11:31:51Z")

</div>

Microsoft Windows \[version 6.1.7601\] ruby 1.9.3p0 (2011-10-30) \[i386-mingw32\] gtk2-1.0.3-x86-mingw32 FileChooserDialog complains. It does not find the gtk-file icon nor the hicolor theme : “impossible de trouver l’ic…

---

## [Headless running Segfault](https://www.ruby-forum.com/t/headless-running-segfault/215015)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [December 23, 2011, 9:54am UTC](https://www.ruby-forum.com/t/headless-running-segfault/215015 "2011-12-23T09:54:24Z")

</div>

Hi again, I confirm that if I have started a X server from console and then export DISPLAY=:0 and run the thing, it works. Question is, why not otherwise? :slight\_smile: 2011/12/19 Chlo D. removed\_email\_address@doma…

---

## [The variant attribute seems not to work well](https://www.ruby-forum.com/t/the-variant-attribute-seems-not-to-work-well/214091)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [December 21, 2011, 11:38am UTC](https://www.ruby-forum.com/t/the-variant-attribute-seems-not-to-work-well/214091 "2011-12-21T11:38:55Z")

</div>

Hi folks, I read this: http://ruby-gnome2.sourceforge.jp/hiki.cgi?pango-markup And I ran the following snippet on Windows 7. I’m using Ruby 1.9.3p0. The gtk2, cairo and pango are all 1.0.3. require ‘cairo’ require ‘…

---

## [Gtk::FileChooserDialog](https://www.ruby-forum.com/t/gtk-filechooserdialog/215032)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [December 19, 2011, 11:09pm UTC](https://www.ruby-forum.com/t/gtk-filechooserdialog/215032 "2011-12-19T23:09:16Z")

</div>

I’ve been digging and digging and can’t find a way to do this. I’m using the Gtk::FIleCHooserDialog, but I would like a way to give it a different sort method for the files it displays. I did this once before with Gtk…

---

## [TreeView vertical spacing](https://www.ruby-forum.com/t/treeview-vertical-spacing/226254)

<div class="topic-metadata">

**Author:** [@micheldogger](https://www.ruby-forum.com/u/micheldogger)\
**Replies:** 1\
**Last updated:** [December 19, 2011, 12:04pm UTC](https://www.ruby-forum.com/t/treeview-vertical-spacing/226254 "2011-12-19T12:04:02Z")

</div>

Does anyone knows how to decrease the default (vertical) spacing between lines in a TreeStore (or TreeView) ? I googled, found the question (for Python), but no answer. \_md

---

## [How to query a Gtk::Window for its current height and width?](https://www.ruby-forum.com/t/how-to-query-a-gtk-window-for-its-current-height-and-width/214732)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [December 12, 2011, 10:00pm UTC](https://www.ruby-forum.com/t/how-to-query-a-gtk-window-for-its-current-height-and-width/214732 "2011-12-12T22:00:36Z")

</div>

Hi, I need to react on a resize event. But I also need width and height, before, and after the resize event. How can I find out these two values? Thanks.

---

## [Scope problem with signals and MiniTest](https://www.ruby-forum.com/t/scope-problem-with-signals-and-minitest/214636)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [December 10, 2011, 2:24pm UTC](https://www.ruby-forum.com/t/scope-problem-with-signals-and-minitest/214636 "2011-12-10T14:24:10Z")

</div>

require ‘minitest/autorun’ require ‘gtk2’ class TestWindow \< MiniTest::Unit::TestCase def test\_window\_fires\_event closing = false window = Gtk::Window.new window.signal\_connect(‘delete\_event’) { puts ‘closing’; clo…

---

## [\[Poppler\] Segfault on find\_dest](https://www.ruby-forum.com/t/poppler-segfault-on-find-dest/214496)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [December 7, 2011, 3:03pm UTC](https://www.ruby-forum.com/t/poppler-segfault-on-find-dest/214496 "2011-12-07T15:03:09Z")

</div>

Dear List hello, Run runtime.rb - Pastebin.com is the stacktrace of my running runtime.rb with this file: ftp://tug.ctan.org/tex-archive/macros/latex/contrib/hyperref/doc/manual.pdf A big ugly segfault. In Pastebin …

---

## [Embedding an Audio player or a Video player in a ruby-gtk app](https://www.ruby-forum.com/t/embedding-an-audio-player-or-a-video-player-in-a-ruby-gtk-app/214468)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [December 3, 2011, 9:36pm UTC](https://www.ruby-forum.com/t/embedding-an-audio-player-or-a-video-player-in-a-ruby-gtk-app/214468 "2011-12-03T21:36:17Z")

</div>

Hi, Is there any way to include a minimal videoplayer or audioplayer in a ruby-gtk program? Perhaps with GTK3? Right now I mostly use mplayer, but I also have VLC installed. And Gstreamer and gnome-mplayer. What I a…

---

## [Is it time to announce the Github repository on ruby-talk?](https://www.ruby-forum.com/t/is-it-time-to-announce-the-github-repository-on-ruby-talk/212489)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [November 26, 2011, 7:46pm UTC](https://www.ruby-forum.com/t/is-it-time-to-announce-the-github-repository-on-ruby-talk/212489 "2011-11-26T19:46:28Z")

</div>

Hi! I was thinking that it might be time to announce the Github repository on ruby-talk. We could also include a small statement about where we are, the future, and a request for contributions. What do you think?

---

## [Question about modal window](https://www.ruby-forum.com/t/question-about-modal-window/213948)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [November 17, 2011, 10:41am UTC](https://www.ruby-forum.com/t/question-about-modal-window/213948 "2011-11-17T10:41:44Z")

</div>

Dear all, I need to create a modal child window. So far I use gtk\_window, but it has one problem usually I have self.modal = true in initialize method and \*self.modal false\* in close method. problem is close method d…

---

## [GTK Table - attach to table but minimal rows?](https://www.ruby-forum.com/t/gtk-table-attach-to-table-but-minimal-rows/213572)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [November 11, 2011, 9:45am UTC](https://www.ruby-forum.com/t/gtk-table-attach-to-table-but-minimal-rows/213572 "2011-11-11T09:45:53Z")

</div>

I need a hint to layout a program. Right now I use a table. It has 3 columns: | one | two | three This is fine so far. Now I want to append a Gtk::Statusbar | one | two | three STATUSBAR GOES HERE But I wa…

---

## [Question about Gtk::Builder and connect\_signals](https://www.ruby-forum.com/t/question-about-gtk-builder-and-connect-signals/213241)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [November 6, 2011, 1:39pm UTC](https://www.ruby-forum.com/t/question-about-gtk-builder-and-connect-signals/213241 "2011-11-06T13:39:42Z")

</div>

Looking at the source code of Gtk::Builder#connect\_signals, I see the following code: def \_\_connect\_signals\_\_(connector, object, signal\_name, handler\_name, connect\_object, flags) handler…

---

## [Bigger font size](https://www.ruby-forum.com/t/bigger-font-size/213065)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 9\
**Last updated:** [October 31, 2011, 5:32am UTC](https://www.ruby-forum.com/t/bigger-font-size/213065 "2011-10-31T05:32:22Z")

</div>

Hi all First, I want to thank you developer, for this great library. I like it so much and it really helps me a lot and now, I’m currently making an app for elder people here is there a way to make all font in my a…

---

## [Best way of dealing with progressbars](https://www.ruby-forum.com/t/best-way-of-dealing-with-progressbars/213209)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [October 27, 2011, 11:22am UTC](https://www.ruby-forum.com/t/best-way-of-dealing-with-progressbars/213209 "2011-10-27T11:22:14Z")

</div>

Hi! What’s the best way of dealing with progressbars? I am currently using a Gtk.idle\_add function for updating a progressbar from a different thread. It doesn’t run very well. I was wondering if anyone has a bett…

---

## [Cleaning up requires in glib2.rb](https://www.ruby-forum.com/t/cleaning-up-requires-in-glib2-rb/213235)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [October 27, 2011, 10:41am UTC](https://www.ruby-forum.com/t/cleaning-up-requires-in-glib2-rb/213235 "2011-10-27T10:41:55Z")

</div>

Hi! Currently, glib2.rb requires pathname, English, and thread. Pathname is only used sporadically and can easily be replaced by File methods. English is used for $POSTMATCH. I don’t think this is worth including E…

---

## [Change color of greyed widget](https://www.ruby-forum.com/t/change-color-of-greyed-widget/213153)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [October 25, 2011, 12:39pm UTC](https://www.ruby-forum.com/t/change-color-of-greyed-widget/213153 "2011-10-25T12:39:21Z")

</div>

Dear all, thanks for your answer of my other question now I got another question how to change color of greyed widget? I use style “click button to edit” form, so when my frame is not in editable mode, I set sensit…

---

## [Rg3 / girffi](https://www.ruby-forum.com/t/rg3-girffi/213043)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [October 21, 2011, 3:02pm UTC](https://www.ruby-forum.com/t/rg3-girffi/213043 "2011-10-21T15:02:50Z")

</div>

Hi, Wondering what are views of people interested/using rg2 about the future (gtk3)? What do you think about girffi or a potential rg3? Thanks – Guillaume C.

---

## [Where / how do I submit fixes for rbbr?](https://www.ruby-forum.com/t/where-how-do-i-submit-fixes-for-rbbr/212817)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [October 14, 2011, 2:47pm UTC](https://www.ruby-forum.com/t/where-how-do-i-submit-fixes-for-rbbr/212817 "2011-10-14T14:47:49Z")

</div>

I ran into some problems with rbbr and anonymous modules on ruby 1.9.2 and have made a fix that seems to work (giving the modules names so rbbr has something to work with). What is the proper way to submit it for co…

---

## [Position Gtk::Window where on the screen?](https://www.ruby-forum.com/t/position-gtk-window-where-on-the-screen/212714)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [October 12, 2011, 5:46am UTC](https://www.ruby-forum.com/t/position-gtk-window-where-on-the-screen/212714 "2011-10-12T05:46:06Z")

</div>

Hi, Can I specify where my Application starts on the screen? Like at x:5 px and y:10 px?

---

## [How to get xid on Windows?](https://www.ruby-forum.com/t/how-to-get-xid-on-windows/212370)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 9\
**Last updated:** [October 11, 2011, 6:17am UTC](https://www.ruby-forum.com/t/how-to-get-xid-on-windows/212370 "2011-10-11T06:17:57Z")

</div>

How to get xid on Windows? Hi folks, When I ran the following tiny snippet on my Windows 7, require ‘gtk2’ win = Gtk::Window.new win.signal\_connect(‘expose-event’) do p win.window.xid end win.show\_all Gtk.main I…

---

## [Converting array of Strings to C array of strings](https://www.ruby-forum.com/t/converting-array-of-strings-to-c-array-of-strings/211637)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 9\
**Last updated:** [October 10, 2011, 2:18pm UTC](https://www.ruby-forum.com/t/converting-array-of-strings-to-c-array-of-strings/211637 "2011-10-10T14:18:15Z")

</div>

This pattern is repeated a couple of times in glib2 and gtk2: for (i = 0; i \< gargc; i++) { if (TYPE(RARRAY\_PTR(argary)\[i\]) == T\_STRING) { gargv\[i+1\] = RVAL2CSTR(RARRAY\_PTR(argary)\[i\]); } else { …

---

## [Howto install gstreamer gem on windows](https://www.ruby-forum.com/t/howto-install-gstreamer-gem-on-windows/212584)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [October 10, 2011, 3:56am UTC](https://www.ruby-forum.com/t/howto-install-gstreamer-gem-on-windows/212584 "2011-10-10T03:56:51Z")

</div>

Hello, I would like to run the Satoshi test of gst+gtk on Windows. But what is the procedure for install gstreamer+gem gstreamer ? I have already ruby 1.9.2p180 devkit ossbuid GStreamer-WinBuilds-GPL-x86.msi GStre…

---

## [Ruby 1.9 Threading Support](https://www.ruby-forum.com/t/ruby-1-9-threading-support/212495)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [October 5, 2011, 1:17pm UTC](https://www.ruby-forum.com/t/ruby-1-9-threading-support/212495 "2011-10-05T13:17:41Z")

</div>

Hi, Are there any plans to pepper the codebase with rb\_blocking\_region calls? If so, is there a preferred way to approach it? I’ve attached a sample patch for Gdk::Pixbuf.new that allows loading from disk to play ni…

[Previous page](https://www.ruby-forum.com/c/desktop/ruby-gnome-2/12.md?page=7)

[Next page](https://www.ruby-forum.com/c/desktop/ruby-gnome-2/12.md?page=9)
