# Ruby-Gnome 2

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

[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:** 15

---

## [Ruby-gtk2-0.17.0-10](https://www.ruby-forum.com/t/ruby-gtk2-0-17-0-10/190548)

<div class="topic-metadata">

**Author:** [@unliketea](https://www.ruby-forum.com/u/unliketea)\
**Replies:** 1\
**Last updated:** [June 22, 2010, 7:03pm UTC](https://www.ruby-forum.com/t/ruby-gtk2-0-17-0-10/190548 "2010-06-22T19:03:47Z")

</div>

Due to dependency constraints I am stuck with using only up to ruby-gtk2-0.17.0-10 however, after upgrading I have found that when requiring gtk2 I get the following error: ruby: symbol lookup error: /usr/lib/ruby/si…

---

## [Writing a custom TreeModel](https://www.ruby-forum.com/t/writing-a-custom-treemodel/190439)

<div class="topic-metadata">

**Author:** [@niklas](https://www.ruby-forum.com/u/niklas)\
**Replies:** 0\
**Last updated:** [June 20, 2010, 11:33am UTC](https://www.ruby-forum.com/t/writing-a-custom-treemodel/190439 "2010-06-20T11:33:15Z")

</div>

Hi, I’m trying to implement a custom TreeModel. My primary reason for doing so is, that I don’t want to load all the data into a list/tree store, but only want to load it when the view actually tries to access it. The …

---

## [FileUtils, Threads, and Gtk](https://www.ruby-forum.com/t/fileutils-threads-and-gtk/190360)

<div class="topic-metadata">

**Author:** [@Nikolai\_W](https://www.ruby-forum.com/u/Nikolai_W)\
**Replies:** 4\
**Last updated:** [June 19, 2010, 11:33am UTC](https://www.ruby-forum.com/t/fileutils-threads-and-gtk/190360 "2010-06-19T11:33:30Z")

</div>

Hi! The following code seems to lock up an never complete on 1.8.7: require ‘gtk2’ Gtk.init\_add do Thread.start do FileUtils.cp ‘a’, ‘b’ Gtk.main\_quit end end Gtk.main For any file a. Using code similar to tha…

---

## [Using Ruby/Poppler without an X display](https://www.ruby-forum.com/t/using-ruby-poppler-without-an-x-display/164299)

<div class="topic-metadata">

**Author:** [@raven13](https://www.ruby-forum.com/u/raven13)\
**Replies:** 5\
**Last updated:** [June 11, 2010, 4:47am UTC](https://www.ruby-forum.com/t/using-ruby-poppler-without-an-x-display/164299 "2010-06-11T04:47:58Z")

</div>

Hello. I’d like to use Ruby/Poppler in a server context (Rails application) to render PDF documents. However, it appears that the Poppler bindings require the presence of an X display. For example, the following cod…

---

## [Toggle references](https://www.ruby-forum.com/t/toggle-references/189826)

<div class="topic-metadata">

**Author:** [@yonkey](https://www.ruby-forum.com/u/yonkey)\
**Replies:** 3\
**Last updated:** [June 9, 2010, 4:30pm UTC](https://www.ruby-forum.com/t/toggle-references/189826 "2010-06-09T16:30:47Z")

</div>

Hi, I filed a bug report with two patches for using toggle references for the GObject memory management in ruby-gnome2. I just thought I’d send a note to this list as well in case the Bugzilla isn’t often checked. ht…

---

## [Why not table display?](https://www.ruby-forum.com/t/why-not-table-display/189864)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 3\
**Last updated:** [June 9, 2010, 12:30pm UTC](https://www.ruby-forum.com/t/why-not-table-display/189864 "2010-06-09T12:30:44Z")

</div>

i want to create a blank table ,here is my program: require ‘gtk2’ window = Gtk::Window.new(“Table”) window.signal\_connect(“delete\_event”) do Gtk.main\_quit false end window.border\_width = 200 table = Gtk::Table.n…

---

## [Set\_window can't run](https://www.ruby-forum.com/t/set-window-cant-run/189627)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 8\
**Last updated:** [June 9, 2010, 6:59am UTC](https://www.ruby-forum.com/t/set-window-cant-run/189627 "2010-06-09T06:59:51Z")

</div>

there is a program which i get in the web,it can run. require ‘gtk2’ class RubyApp \< Gtk::Window def initialize super set\_title “Center” signal\_connect “destroy” do Gtk.main\_quit end set\_default\_size 250, 200 …

---

## [Unsetting the active item in a ComboBox](https://www.ruby-forum.com/t/unsetting-the-active-item-in-a-combobox/189810)

<div class="topic-metadata">

**Author:** [@b\_schelberg](https://www.ruby-forum.com/u/b_schelberg)\
**Replies:** 1\
**Last updated:** [June 8, 2010, 9:51am UTC](https://www.ruby-forum.com/t/unsetting-the-active-item-in-a-combobox/189810 "2010-06-08T09:51:53Z")

</div>

Hi, I want to unset the active item in a combobox, but setting active\_iter to nil is giving me an assertion failure. See the attached file for some example code. When I run this script, I get the following: (eval): l…

---

## [Packaging libraries inside a program?](https://www.ruby-forum.com/t/packaging-libraries-inside-a-program/189776)

<div class="topic-metadata">

**Author:** [@Alexander\_Shearn](https://www.ruby-forum.com/u/Alexander_Shearn)\
**Replies:** 2\
**Last updated:** [June 7, 2010, 5:10pm UTC](https://www.ruby-forum.com/t/packaging-libraries-inside-a-program/189776 "2010-06-07T17:10:50Z")

</div>

Hey all, tl;dr - would it be possible to package up glib, gtk, and pango, for installation somewhere with no root access? A friend and I have written a ruby program designed for use at uni: we have a cascading learn…

---

## [Style Property - How to change?](https://www.ruby-forum.com/t/style-property-how-to-change/189703)

<div class="topic-metadata">

**Author:** [@robux](https://www.ruby-forum.com/u/robux)\
**Replies:** 4\
**Last updated:** [June 6, 2010, 11:47am UTC](https://www.ruby-forum.com/t/style-property-how-to-change/189703 "2010-06-06T11:47:33Z")

</div>

Hi everybody! I can see style property: btn = Gtk::Button.new puts btn.style\_get\_property(‘image-spacing’) # “2” But how can change the value?

---

## [RVM question](https://www.ruby-forum.com/t/rvm-question/189611)

<div class="topic-metadata">

**Author:** [@bserviss](https://www.ruby-forum.com/u/bserviss)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 11:15pm UTC](https://www.ruby-forum.com/t/rvm-question/189611 "2010-06-03T23:15:35Z")

</div>

I’m trying to use rvm on Kubuntu 10.04 but can’t get ruby-gnome2 to load with ruby-1.9.2-head. The hello world example runs fine on the system ruby (1.8.7). Any hints?

---

## [The returned integer value](https://www.ruby-forum.com/t/the-returned-integer-value/189462)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 1\
**Last updated:** [June 1, 2010, 1:48pm UTC](https://www.ruby-forum.com/t/the-returned-integer-value/189462 "2010-06-01T13:48:25Z")

</div>

there is tutorial, http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk-signals-more % irb --simple-prompt require ‘gtk2’ =\> true b = Gtk::Button.new(“hoge”) =\> #\<Gtk::Button:0x40a2a858 ptr=0x8237df8\> b.signal\_con…

---

## [Would you mind turning fxruby program into ruby-gtk+?](https://www.ruby-forum.com/t/would-you-mind-turning-fxruby-program-into-ruby-gtk/226067)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 6\
**Last updated:** [May 31, 2010, 3:55pm UTC](https://www.ruby-forum.com/t/would-you-mind-turning-fxruby-program-into-ruby-gtk/226067 "2010-05-31T15:55:50Z")

</div>

there is a fxruby program,would you mind turning it into ruby-gtk+? #!/usr/bin/env ruby require ‘rubygems’ require ‘fox16’ require ‘date’ include Fox class TableWindow \< FXMainWindow def initialize(app) Call the …

---

## [Refresh Gtk::Image (newb question)](https://www.ruby-forum.com/t/refresh-gtk-image-newb-question/189165)

<div class="topic-metadata">

**Author:** [@lljk](https://www.ruby-forum.com/u/lljk)\
**Replies:** 7\
**Last updated:** [May 27, 2010, 9:43am UTC](https://www.ruby-forum.com/t/refresh-gtk-image-newb-question/189165 "2010-05-27T09:43:10Z")

</div>

hello all, first let me say that i’m a complete programming and ruby newbie - haven’t done any programming since writing stuff in basic on my TI99-4a, circa 1984 - so please forgive any questions or code (!) that seem …

---

## [Gtk and threaded scripts - compatible?](https://www.ruby-forum.com/t/gtk-and-threaded-scripts-compatible/188689)

<div class="topic-metadata">

**Author:** [@robyonrails](https://www.ruby-forum.com/u/robyonrails)\
**Replies:** 4\
**Last updated:** [May 16, 2010, 6:09pm UTC](https://www.ruby-forum.com/t/gtk-and-threaded-scripts-compatible/188689 "2010-05-16T18:09:26Z")

</div>

I’ve got a script that launches one thread to show a gui progress bar while another thread sends some files. The gui thread will hang, in a bad way, with: /home/roberto/CÃ³digo/enviado\_de\_web/lib/gui.rb: line 42 Gtk-…

---

## [Can't build with ruby 1.9](https://www.ruby-forum.com/t/cant-build-with-ruby-1-9/187912)

<div class="topic-metadata">

**Author:** [@alexander](https://www.ruby-forum.com/u/alexander)\
**Replies:** 12\
**Last updated:** [May 10, 2010, 8:51pm UTC](https://www.ruby-forum.com/t/cant-build-with-ruby-1-9/187912 "2010-05-10T20:51:34Z")

</div>

Hello, I can’t build ruby-gstreamer from ruby-gnome2 0.19.4 with ruby 1.9.1p376. I can build ruby-glib from the very same package but not gstreamer. Also I can build gstreamer bindings just fine for ruby 1.8. See bu…

---

## [Global hotkeys](https://www.ruby-forum.com/t/global-hotkeys/187685)

<div class="topic-metadata">

**Author:** [@coubi](https://www.ruby-forum.com/u/coubi)\
**Replies:** 1\
**Last updated:** [May 10, 2010, 8:15pm UTC](https://www.ruby-forum.com/t/global-hotkeys/187685 "2010-05-10T20:15:10Z")

</div>

Hi everyone. I needed to set global hotkeys (hotkeys that can be used even if the application does not have focus). As I do not found a way to do it with ruby-gnome2 I write rghk (ruby global hotkeys) a small librair…

---

## [File.read block in Thread](https://www.ruby-forum.com/t/file-read-block-in-thread/188330)

<div class="topic-metadata">

**Author:** [@miao](https://www.ruby-forum.com/u/miao)\
**Replies:** 2\
**Last updated:** [May 10, 2010, 5:57pm UTC](https://www.ruby-forum.com/t/file-read-block-in-thread/188330 "2010-05-10T17:57:44Z")

</div>

Ruby Version: ruby 1.8.7 (2010-04-20 patchlevel 254) \[i686-linux\] Ruby-Gnome 2 Version: ruby-gtk2-0.19.4.tar.gz Code: require ‘rubygems’ require ‘gtk2’ w=Gtk::Window.new w.signal\_connect(‘destroy’) do Gtk.main\_qui…

---

## [Ruby and glade/gtk+](https://www.ruby-forum.com/t/ruby-and-glade-gtk/187893)

<div class="topic-metadata">

**Author:** [@rorra](https://www.ruby-forum.com/u/rorra)\
**Replies:** 1\
**Last updated:** [May 1, 2010, 8:28am UTC](https://www.ruby-forum.com/t/ruby-and-glade-gtk/187893 "2010-05-01T08:28:06Z")

</div>

Hi, well i’m going to explain my problem. RUBY I’m a windows user, but i want to program on ruby 1.9, there wasn’t a msi installer so i downloaded the binaries (Ruby 1.9.1-p129-i386 Binary) and put it on “C:”, then i …

---

## [Gtk 2.20, Gtk::Builder and 'name'](https://www.ruby-forum.com/t/gtk-2-20-gtk-builder-and-name/186447)

<div class="topic-metadata">

**Author:** [@mazwak](https://www.ruby-forum.com/u/mazwak)\
**Replies:** 6\
**Last updated:** [April 29, 2010, 5:10am UTC](https://www.ruby-forum.com/t/gtk-2-20-gtk-builder-and-name/186447 "2010-04-29T05:10:13Z")

</div>

Hi I struggled with this bug for a few hours, so I’m sharing it here. With gtk 2.20, Gtk::Builder does NOT set the name property anymore. I don’t really understand yet the diference between gtk\_widget\_get\_name and gt…

---

## [\[ANN\] Ruby-GNOME2 0.19.4](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-19-4/187107)

<div class="topic-metadata">

**Author:** [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Replies:** 6\
**Last updated:** [April 22, 2010, 2:26pm UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-19-4/187107 "2010-04-22T14:26:04Z")

</div>

Hi, The Ruby-GNOME2 project released Ruby-GNOME2 0.19.4: Download ruby-gtk2-0.19.4.tar.gz (Ruby-GNOME 2) Download ruby-gnome2-all-0.19.4.tar.gz (Ruby-GNOME 2) This release has many bug fixes and some improvements. Th…

---

## [Scrolledwindow: scrolling automatically to the bottom](https://www.ruby-forum.com/t/scrolledwindow-scrolling-automatically-to-the-bottom/110681)

<div class="topic-metadata">

**Author:** [@giorgian](https://www.ruby-forum.com/u/giorgian)\
**Replies:** 5\
**Last updated:** [April 18, 2010, 12:18am UTC](https://www.ruby-forum.com/t/scrolledwindow-scrolling-automatically-to-the-bottom/110681 "2010-04-18T00:18:10Z")

</div>

hi, i have a textview inside a scrolledwindow; the textview is not editable, and only the scripts adds text to it. when new text is added, i want to scroll to the bottom, so that the new text is always visible. as y…

---

## [How do I reconstruct columns dynamically on GtkTreeView](https://www.ruby-forum.com/t/how-do-i-reconstruct-columns-dynamically-on-gtktreeview/185779)

<div class="topic-metadata">

**Author:** [@ayanami](https://www.ruby-forum.com/u/ayanami)\
**Replies:** 6\
**Last updated:** [April 8, 2010, 1:49pm UTC](https://www.ruby-forum.com/t/how-do-i-reconstruct-columns-dynamically-on-gtktreeview/185779 "2010-04-08T13:49:07Z")

</div>

Any idea? thanks in advance

---

## [0.19.3 in windows?](https://www.ruby-forum.com/t/0-19-3-in-windows/186270)

<div class="topic-metadata">

**Author:** [@ribbed21](https://www.ruby-forum.com/u/ribbed21)\
**Replies:** 1\
**Last updated:** [April 7, 2010, 9:51am UTC](https://www.ruby-forum.com/t/0-19-3-in-windows/186270 "2010-04-07T09:51:51Z")

</div>

Hei Everyone, i've been trying to get ruby/gnome2 0.19.3 installed on windows (XP service pack 2) with no luck. Following the compile guide and hacking my way out of a lot of small little problems (especially …

---

## [0.19.3 on windows?](https://www.ruby-forum.com/t/0-19-3-on-windows/197227)

<div class="topic-metadata">

**Author:** [@ribbed21](https://www.ruby-forum.com/u/ribbed21)\
**Replies:** 0\
**Last updated:** [April 3, 2010, 12:31pm UTC](https://www.ruby-forum.com/t/0-19-3-on-windows/197227 "2010-04-03T12:31:08Z")

</div>

Hei Everyone, i’ve been trying to get ruby/gnome2 0.19.3 installed on windows (XP service pack 2) with no luck. Following the compile guide and hacking my way out of a lot of small little problems (especially in the…

---

## [0.19.3 on windows?](https://www.ruby-forum.com/t/0-19-3-on-windows/186271)

<div class="topic-metadata">

**Author:** [@ribbed21](https://www.ruby-forum.com/u/ribbed21)\
**Replies:** 0\
**Last updated:** [April 3, 2010, 12:28pm UTC](https://www.ruby-forum.com/t/0-19-3-on-windows/186271 "2010-04-03T12:28:13Z")

</div>

Hei Everyone, i’ve been trying to get ruby/gnome2 0.19.3 installed on windows (XP service pack 2) with no luck. Following the compile guide and hacking my way out of a lot of small little problems (especially in the…

---

## [Ruby/GStreamer and querying file duration](https://www.ruby-forum.com/t/ruby-gstreamer-and-querying-file-duration/185869)

<div class="topic-metadata">

**Author:** [@Marcin\_L](https://www.ruby-forum.com/u/Marcin_L)\
**Replies:** 1\
**Last updated:** [March 27, 2010, 11:08pm UTC](https://www.ruby-forum.com/t/ruby-gstreamer-and-querying-file-duration/185869 "2010-03-27T23:08:01Z")

</div>

Hi, can anyone provide working example for querying duration of an audio file using Ruby/GStreamer? Code in gstreamer/src/samples/ is completely outdated and IMHO should be removed from the repository. I attach my …

---

## [TreeView(list),Knowing the active column to the right mouse](https://www.ruby-forum.com/t/treeview-list-knowing-the-active-column-to-the-right-mouse/185625)

<div class="topic-metadata">

**Author:** [@ayanami](https://www.ruby-forum.com/u/ayanami)\
**Replies:** 1\
**Last updated:** [March 23, 2010, 11:43pm UTC](https://www.ruby-forum.com/t/treeview-list-knowing-the-active-column-to-the-right-mouse/185625 "2010-03-23T23:43:32Z")

</div>

Hello, Well, someone could guide me how to do this, what event do I have to captur? and what object does I need?. Thank you.

---

## [Making a treeview reorderable AND drag/drop sensitive](https://www.ruby-forum.com/t/making-a-treeview-reorderable-and-drag-drop-sensitive/185500)

<div class="topic-metadata">

**Author:** [@marcop](https://www.ruby-forum.com/u/marcop)\
**Replies:** 5\
**Last updated:** [March 23, 2010, 10:51pm UTC](https://www.ruby-forum.com/t/making-a-treeview-reorderable-and-drag-drop-sensitive/185500 "2010-03-23T22:51:00Z")

</div>

Hi, does anyone knows if it is possible to make a gtk treeview drag/drop sensitive (from the same app and/or from another app) and making it reorderable? It looks like it’s mutually exclusive: connecting the treeview…

---

## [Curious GStreamer bug](https://www.ruby-forum.com/t/curious-gstreamer-bug/226061)

<div class="topic-metadata">

**Author:** [@coubi](https://www.ruby-forum.com/u/coubi)\
**Replies:** 9\
**Last updated:** [March 4, 2010, 9:36am UTC](https://www.ruby-forum.com/t/curious-gstreamer-bug/226061 "2010-03-04T09:36:22Z")

</div>

Hi everyone! I have a very strange behaviour with gstreamer. Under certain circonstances, the play method of a playbin object freeze my Gtk/Gst applycation. This is an example of a freezing code. ====================…

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

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