# Ruby-Gnome 2

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

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

---

## [Compile problems gtk2, ruby-gnome2-all-1.1.2](https://www.ruby-forum.com/t/compile-problems-gtk2-ruby-gnome2-all-1-1-2/216439)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [April 3, 2012, 4:18am UTC](https://www.ruby-forum.com/t/compile-problems-gtk2-ruby-gnome2-all-1-1-2/216439 "2012-04-03T04:18:41Z")

</div>

I’m using RHEL 5.7. My base ruby is 1.9.3p0 gcc 4.1.2 gtk2-2.10.4-21.el5\_5.6 I have been trying to get gtk2 from 1.1.2 to build, “ruby extconf.rb” checks out fine. Says gtk2 is good to build. However, halfway throu…

---

## [Gtk2 install error](https://www.ruby-forum.com/t/gtk2-install-error/218484)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [April 2, 2012, 2:16pm UTC](https://www.ruby-forum.com/t/gtk2-install-error/218484 "2012-04-02T14:16:24Z")

</div>

OS: redhat3 ruby: 1.9.2 I installed gtk2 by “gem install gtk2” but it show below error messages. In file included from rbglib\_timer.c:22: rbgprivate.h:52: syntax error before “extern” rbgprivate.h:111: syntax error…

---

## [How to install on windows](https://www.ruby-forum.com/t/how-to-install-on-windows/218475)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [April 2, 2012, 6:55am UTC](https://www.ruby-forum.com/t/how-to-install-on-windows/218475 "2012-04-02T06:55:41Z")

</div>

Hi, got some question here any easy way to install this on windows? Tutorial on the net is dated. I need this to deploy my software some pointer on how to do it could be useful Thanks

---

## [GtkGLExt gone?](https://www.ruby-forum.com/t/gtkglext-gone/218348)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [April 1, 2012, 11:10am UTC](https://www.ruby-forum.com/t/gtkglext-gone/218348 "2012-04-01T11:10:56Z")

</div>

Hi, I’m attempting to bring Luz Studio\[1\]\[2\] to Ubuntu 11.10 and I’m having some GL problems. It seems ‘gtkglext’ is missing, and without that file, Gtk::GL, Gdk::GLConfig and perhaps other modules are missing, and L…

---

## [Help me install my own program](https://www.ruby-forum.com/t/help-me-install-my-own-program/218417)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [March 31, 2012, 8:03am UTC](https://www.ruby-forum.com/t/help-me-install-my-own-program/218417 "2012-03-31T08:03:21Z")

</div>

Hi y’all: I’m trying to install my visualruby gem on a windows machine, and I don’t understand the requirements. First, I installed ruby’s one click installer ver1.9.2 from here: Also, I installed glade+GTK+ from t…

---

## [Opinions on Ruby Versions?](https://www.ruby-forum.com/t/opinions-on-ruby-versions/217811)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 10\
**Last updated:** [March 28, 2012, 7:30pm UTC](https://www.ruby-forum.com/t/opinions-on-ruby-versions/217811 "2012-03-28T19:30:26Z")

</div>

Hi y’all I’m doing a rewrite of my Listview class, and I’ve hit a snag. Apparently, Ruby v1.8 doesn’t keep its hashtables ordered, but Ruby 1.9 has fixed this problem. Should I require that users use Ruby1.9 minimum? …

---

## [Gtk::Builder can't handle new Gtk::Box definition](https://www.ruby-forum.com/t/gtk-builder-cant-handle-new-gtk-box-definition/217975)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [March 21, 2012, 5:59pm UTC](https://www.ruby-forum.com/t/gtk-builder-cant-handle-new-gtk-box-definition/217975 "2012-03-21T17:59:21Z")

</div>

Hi everyone, it seems that the new version of Glade generates files in which Gtk::VBox and Gtk::HBox are replaced by a standard Gtk::Box with an orientation (vertical or horizontal) property. This seemingly breaks Gt…

---

## [Double-click in Gtk::Entry](https://www.ruby-forum.com/t/double-click-in-gtk-entry/218077)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 21, 2012, 11:09am UTC](https://www.ruby-forum.com/t/double-click-in-gtk-entry/218077 "2012-03-21T11:09:16Z")

</div>

The following Gtk::Entry never gets Gdk::Event::BUTTON2\_PRESS: class A \< Gtk::Entry def initialize super add\_events Gdk::Event::BUTTON\_PRESS\_MASK signal\_connect ‘button\_press\_event’ do |widget, event| select\_range …

---

## [Problem with Gtk::TreeViewColumn, sorting, and adding records?](https://www.ruby-forum.com/t/problem-with-gtk-treeviewcolumn-sorting-and-adding-records/217918)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 18, 2012, 4:06am UTC](https://www.ruby-forum.com/t/problem-with-gtk-treeviewcolumn-sorting-and-adding-records/217918 "2012-03-18T04:06:16Z")

</div>

Hi: I worked for several hours today on a problem I’m having adding records to a listview.model when its sorted. I’m creating a model with a few columns including a String and and a DateTime. I want to be able to so…

---

## [Gtk::TreeViewColumn](https://www.ruby-forum.com/t/gtk-treeviewcolumn/216648)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [March 14, 2012, 1:38pm UTC](https://www.ruby-forum.com/t/gtk-treeviewcolumn/216648 "2012-03-14T13:38:21Z")

</div>

I’m still stuck with getting a undefined sort\_column\_id. For a GtkTreeViewColumn irb(main):001:0\> require ‘gtk2’ =\> true irb(main):002:0\> column = Gtk::TreeViewColumn.new =\> #\<Gtk::TreeViewColumn:0x29dbde8 ptr=0x2c3…

---

## [Can't force any Gtk objects to redraw](https://www.ruby-forum.com/t/cant-force-any-gtk-objects-to-redraw/217727)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 13, 2012, 7:05pm UTC](https://www.ruby-forum.com/t/cant-force-any-gtk-objects-to-redraw/217727 "2012-03-13T19:05:38Z")

</div>

Hi y’all: I’m having a problem with getting anything to paint on the screen IMMEDIATELY. Here’s what I’m trying to do: I’m downloading the names of all my rubygems and version numbers using their API. So, its makin…

---

## [Does anyone want to try visualruby?](https://www.ruby-forum.com/t/does-anyone-want-to-try-visualruby/217596)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 12\
**Last updated:** [March 10, 2012, 12:20am UTC](https://www.ruby-forum.com/t/does-anyone-want-to-try-visualruby/217596 "2012-03-10T00:20:01Z")

</div>

Hi y’all: I have a working version of visualruby available, and I’m hoping that some of you guys will try it. To install it, just enter: $sudo gem install vri Then run: $vri That will install an installer gem. If…

---

## [Reference to an object](https://www.ruby-forum.com/t/reference-to-an-object/217584)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [March 6, 2012, 6:10am UTC](https://www.ruby-forum.com/t/reference-to-an-object/217584 "2012-03-06T06:10:06Z")

</div>

I am trying to understand building an app using Glade and Ruby. I have a test app that has a top-level window with a fixed container. The container has three buttons on it. I would like to know how to reference th…

---

## [Drop support for Ruby 1.8](https://www.ruby-forum.com/t/drop-support-for-ruby-1-8/217251)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [February 29, 2012, 5:07am UTC](https://www.ruby-forum.com/t/drop-support-for-ruby-1-8/217251 "2012-02-29T05:07:00Z")

</div>

Hi, all I’d like to drop support for Ruby 1.8 on new packages(gdk3, gtk3, gtksourceview3, vte3 and gvlc). What do you think? Thanks, – Masaaki A.

---

## [How to test gtk3](https://www.ruby-forum.com/t/how-to-test-gtk3/217296)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [February 27, 2012, 6:43pm UTC](https://www.ruby-forum.com/t/how-to-test-gtk3/217296 "2012-02-27T18:43:46Z")

</div>

Hi I know work has begun on the gtk3 port. I was wondering how I can test it ? Is there a page in the wiki somewhere describing the steps to follow ? Simon

---

## [Gtk2 InfoBar class](https://www.ruby-forum.com/t/gtk2-infobar-class/217201)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 11\
**Last updated:** [February 26, 2012, 1:24am UTC](https://www.ruby-forum.com/t/gtk2-infobar-class/217201 "2012-02-26T01:24:58Z")

</div>

Hello I have pushed an implementation for gtk infobar (cf: Gtk::InfoBar class). A sample code is given in gtk2/sample/misc/infobar.rb file. Gtk::InfoBar#add\_buttons is not implemented as I was not sure how to write …

---

## [Problem building vte, latest git](https://www.ruby-forum.com/t/problem-building-vte-latest-git/217239)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 25, 2012, 6:55am UTC](https://www.ruby-forum.com/t/problem-building-vte-latest-git/217239 "2012-02-25T06:55:20Z")

</div>

Getting a compiler error rbvte-terminal.c:1060: error: ‘VTE\_TYPE\_TERMINAL\_WRITE\_FLAGS’ undeclared (first use in this function) I’m using CentOS 5.7, with vte-0.14.0 It looks like this wasn’t defined until vte-0.23

---

## [TreeView returning a COPY of my renderer?](https://www.ruby-forum.com/t/treeview-returning-a-copy-of-my-renderer/217116)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 22, 2012, 12:51am UTC](https://www.ruby-forum.com/t/treeview-returning-a-copy-of-my-renderer/217116 "2012-02-22T00:51:48Z")

</div>

Hi: I’m writing an API to handle treeviews, and listviews. I’m having a problem with subclassing renderers. I subclassed Gtk::CellRendererToggle, and I’m trying to give it “radio” button functionality: class VR\_Ce…

---

## [SOLVED: gstreamer- linking playbin2](https://www.ruby-forum.com/t/solved-gstreamer-linking-playbin2/216945)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [February 17, 2012, 10:08pm UTC](https://www.ruby-forum.com/t/solved-gstreamer-linking-playbin2/216945 "2012-02-17T22:08:41Z")

</div>

hello all, quite some time ago i posted a question about linking elements to gstreamer’s playbin2 - Gstreamer: linking playbin2 - Ruby-Gnome 2 - Ruby-Forum after shelving it for a long time, i started fooling around w…

---

## [gsWax 0.0.2 greenshoes/gtk2 audio player](https://www.ruby-forum.com/t/gswax-0-0-2-greenshoes-gtk2-audio-player/216795)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [February 14, 2012, 12:25pm UTC](https://www.ruby-forum.com/t/gswax-0-0-2-greenshoes-gtk2-audio-player/216795 "2012-02-14T12:25:22Z")

</div>

hello all, gsWax 0.0.2 released now supports .pls and .m3u radio streams fixed some problems with the playlist https://sites.google.com/site/gswax0/home GitHub - lljk/gsWax: greenShoes / gtk2 audio player for folks …

---

## [Gswax 0.0.1 greenshoes/gtk audio player](https://www.ruby-forum.com/t/gswax-0-0-1-greenshoes-gtk-audio-player/216049)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 14, 2012, 12:22pm UTC](https://www.ruby-forum.com/t/gswax-0-0-1-greenshoes-gtk-audio-player/216049 "2012-02-14T12:22:09Z")

</div>

hello all, if you get a chance, check this out: https://sites.google.com/site/gswax0/ source is here: GitHub - lljk/gsWax: greenShoes / gtk2 audio player for folks who miss their vinyl i’d be interested to hear how/i…

---

## [Gtk::TreeViewColumn not getting GTK\_TYPE\_TREE\_SORTABLE methods](https://www.ruby-forum.com/t/gtk-treeviewcolumn-not-getting-gtk-type-tree-sortable-methods/216512)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [February 11, 2012, 2:58am UTC](https://www.ruby-forum.com/t/gtk-treeviewcolumn-not-getting-gtk-type-tree-sortable-methods/216512 "2012-02-11T02:58:17Z")

</div>

Thanks kou for all your help. Sorry to be posting so many problems. I’m stuck with this older system, but really want to get the latest greatest Ruby/Gtk bindings on board. So, I have one more snag. I’m not able to s…

---

## [Ubuntu SourceView](https://www.ruby-forum.com/t/ubuntu-sourceview/197200)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_B](https://www.ruby-forum.com/u/Dobai-Pataky_B)\
**Replies:** 4\
**Last updated:** [February 10, 2012, 4:41am UTC](https://www.ruby-forum.com/t/ubuntu-sourceview/197200 "2012-02-10T04:41:22Z")

</div>

hi, i’m resending this mail, because it’s been considered Spam, and i’m still stuck on this. i wanted to test my app on ubuntu lucid, but while require ‘gtksourceview’ on gentoo works fine i find out that on ubuntu…

---

## [NameError: undefined method \`color\_selection' for class \`Gtk::ColorSelectionDialog'](https://www.ruby-forum.com/t/nameerror-undefined-method-color-selection-for-class-gtk-colorselectiondialog/216466)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [February 6, 2012, 1:56pm UTC](https://www.ruby-forum.com/t/nameerror-undefined-method-color-selection-for-class-gtk-colorselectiondialog/216466 "2012-02-06T13:56:11Z")

</div>

After getting past my last issue, I can compile gtk2 just fine But when I do a require ‘gtk2’, I get an error. Here’s a quick example of the error from just doing the require by itself in irb. irb(main):001:0\> requir…

---

## [Can CellRendererCombo do individual rows?](https://www.ruby-forum.com/t/can-cellrenderercombo-do-individual-rows/216353)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [February 3, 2012, 3:19pm UTC](https://www.ruby-forum.com/t/can-cellrenderercombo-do-individual-rows/216353 "2012-02-03T15:19:56Z")

</div>

Hi: I’m trying to make CellRendererCombo work. If I understand it correctly, you set the model like this: store = Gtk::ListStore.new) add rows… renderer.model = store Does that mean that the same model applies to…

---

## [I want to associate a file type with my Ruby script](https://www.ruby-forum.com/t/i-want-to-associate-a-file-type-with-my-ruby-script/216017)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 24, 2012, 6:16am UTC](https://www.ruby-forum.com/t/i-want-to-associate-a-file-type-with-my-ruby-script/216017 "2012-01-24T06:16:39Z")

</div>

Hi: I’m writing a Ruby IDE. It opens a directory as a “project” and displays all the .rb files so you can edit them. I want to save all the settings for my IDE in a yaml file. It would be called MyProjectName.vr\_s…

---

## [Ruby-gtk3 - "embedding" into the browser?](https://www.ruby-forum.com/t/ruby-gtk3-embedding-into-the-browser/216023)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 23, 2012, 11:34am UTC](https://www.ruby-forum.com/t/ruby-gtk3-embedding-into-the-browser/216023 "2012-01-23T11:34:28Z")

</div>

Hi guys, I wrote a little GTK wrapper around FTP. This ruby-gtk app allows me to connect to a remote host, then transfer files. It has a few bugs still, but it works ok, and my goal is to improve it further in the f…

---

## [Capture exception in a rescue block](https://www.ruby-forum.com/t/capture-exception-in-a-rescue-block/215924)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [January 22, 2012, 4:47am UTC](https://www.ruby-forum.com/t/capture-exception-in-a-rescue-block/215924 "2012-01-22T04:47:19Z")

</div>

Hi I’m trying to write the backtrace of an error to a file, but all I’m getting is a SystemExit from glib2. While on the terminal, I have the usefull backtrace. I managed to find , but there is no solution. From w…

---

## [GtkMessageType](https://www.ruby-forum.com/t/gtkmessagetype/215969)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [January 20, 2012, 9:51pm UTC](https://www.ruby-forum.com/t/gtkmessagetype/215969 "2012-01-20T21:51:59Z")

</div>

Hello I am working on the implementation of GtkInfoBar \[ http://developer.gnome.org/gtk/stable/GtkInfoBar.html\]. It uses GtkMessageType \[ http://developer.gnome.org/gtk/stable/GtkMessageDialog.html#GtkMessageType\]. …

---

## [Problem drawing rectangle](https://www.ruby-forum.com/t/problem-drawing-rectangle/215862)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [January 20, 2012, 9:05am UTC](https://www.ruby-forum.com/t/problem-drawing-rectangle/215862 "2012-01-20T09:05:27Z")

</div>

Hi, I’m having difficulties drawing a rectangle in a drawingarea (in a table). New to ruby-gnome, i’m trying some stuff out. This is what i tried (rectangle should be in the big blue area): require ‘gtk2’ window = G…

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

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