# Ruby-Gnome 2

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

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

---

## [Background color](https://www.ruby-forum.com/t/background-color/238025)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [December 15, 2013, 9:31am UTC](https://www.ruby-forum.com/t/background-color/238025 "2013-12-15T09:31:53Z")

</div>

Hi all, It’s been spoken about four times before, so I apologize for being dense. Does any one have an example of how to change a window’s background color in visual ruby? VisualRuby does a good job of being simple a…

---

## [Timer event with callback](https://www.ruby-forum.com/t/timer-event-with-callback/237394)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [December 12, 2013, 11:10am UTC](https://www.ruby-forum.com/t/timer-event-with-callback/237394 "2013-12-12T11:10:58Z")

</div>

Greetings, There is an excellent Timer in Tk, called TkRtTimer. The functionality is elegant: It has a callback after an elapsed amount of time. When I try and include ‘tk’ in a visual ruby project I get into big t…

---

## [Visual Ruby - Can't start](https://www.ruby-forum.com/t/visual-ruby-cant-start/238010)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 11, 2013, 11:21pm UTC](https://www.ruby-forum.com/t/visual-ruby-cant-start/238010 "2013-12-11T23:21:54Z")

</div>

Hi, I am using Windows and I followed the instructions to install Ruby (installed Ruby 1.93 and Glade). When I try to start it by entering “vr” in command prompt with Ruby I the following errors : C:/Ruby193/lib/rub…

---

## [VR::TreeView](https://www.ruby-forum.com/t/vr-treeview/237992)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 9\
**Last updated:** [December 11, 2013, 9:13pm UTC](https://www.ruby-forum.com/t/vr-treeview/237992 "2013-12-11T21:13:00Z")

</div>

I am playing with the ListView example and trying to turn it into a VR::TreeView. I am unable to figure out how to add items. in the listviewobject example rows are added row = add\_row() row\[:join\] = VR::CalendarCol…

---

## [Updates to VisualRuby v 1.0.12 released](https://www.ruby-forum.com/t/updates-to-visualruby-v-1-0-12-released/238001)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 11, 2013, 9:07pm UTC](https://www.ruby-forum.com/t/updates-to-visualruby-v-1-0-12-released/238001 "2013-12-11T21:07:56Z")

</div>

Hi y’all: I’ve had some time lately, so I’ve been working on a new version of visualruby. I just pushed ver1.0.12. I’ve made a few great improvements that simplify things even further. Now, there is a #show() method…

---

## [ScrolledWindow - how to enable scrolling with page up and page down keys?](https://www.ruby-forum.com/t/scrolledwindow-how-to-enable-scrolling-with-page-up-and-page-down-keys/237993)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 11, 2013, 8:30am UTC](https://www.ruby-forum.com/t/scrolledwindow-how-to-enable-scrolling-with-page-up-and-page-down-keys/237993 "2013-12-11T08:30:48Z")

</div>

Hi, I have a Scrolled Window. The mouse keys work fine, I can scroll up and down, but not with page up and page down. Does someone understand why page up and page down does not work or more importantly how to enable …

---

## [Drawing children widgets in a Gtk::Layout](https://www.ruby-forum.com/t/drawing-children-widgets-in-a-gtk-layout/237906)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [December 7, 2013, 9:53pm UTC](https://www.ruby-forum.com/t/drawing-children-widgets-in-a-gtk-layout/237906 "2013-12-07T21:53:03Z")

</div>

Hello ! I’m dealing with a problem that I can’t find any solution on the net. I got a Gtk::Layout where I load multiples Gtk::Image created with .png images files. I stock each of those Image in a Gtk::EventBox to ca…

---

## [Setting absolute position of a Window in GTK - is there no top-left shortcut?](https://www.ruby-forum.com/t/setting-absolute-position-of-a-window-in-gtk-is-there-no-top-left-shortcut/237884)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 7, 2013, 1:32pm UTC](https://www.ruby-forum.com/t/setting-absolute-position-of-a-window-in-gtk-is-there-no-top-left-shortcut/237884 "2013-12-07T13:32:05Z")

</div>

Hi guys. I am looking at the documentation: http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gtk%3A%3AWindow#Position Let me copy paste here: POS\_NONE No influence is made on placement. POS\_CENTER Windows should be plac…

---

## [Vr run error](https://www.ruby-forum.com/t/vr-run-error/228934)

<div class="topic-metadata">

**Author:** [@daborg69](https://www.ruby-forum.com/u/daborg69)\
**Replies:** 2\
**Last updated:** [December 7, 2013, 12:31am UTC](https://www.ruby-forum.com/t/vr-run-error/228934 "2013-12-07T00:31:46Z")

</div>

I am currently trying to get vr up and running on Ubuntu 12.04.2 Virtualbox I am running ruby 2.0.0 I have re-installed ‘builder’ gem thinking that that may be the problem. Successfully installed builder-3.2.0 but w…

---

## [Using visualruby to edit a Hash](https://www.ruby-forum.com/t/using-visualruby-to-edit-a-hash/237934)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [December 6, 2013, 11:24pm UTC](https://www.ruby-forum.com/t/using-visualruby-to-edit-a-hash/237934 "2013-12-06T23:24:01Z")

</div>

I am new to visualruby. I am looking for a way to display and alter the contents of a Hash. I have code that uses VRuby from ruby 1.8.7 that would take a hash and dynamically display a dialog with drop-downs, tree-l…

---

## [Gtk3 override\_color doesn't work](https://www.ruby-forum.com/t/gtk3-override-color-doesnt-work/237940)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 11\
**Last updated:** [December 6, 2013, 10:52pm UTC](https://www.ruby-forum.com/t/gtk3-override-color-doesnt-work/237940 "2013-12-06T22:52:37Z")

</div>

Hi, I work on a project using Gtk3 & Ruby. I want to change colors of button and check button. So I tried like below: checkBut = Gtk::CheckButton.new(“Png”) button = Gtk::Button.new(:label =\> “Cancel”) color= Gdk::RG…

---

## [Doesn't load virtual ruby](https://www.ruby-forum.com/t/doesnt-load-virtual-ruby/237917)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 5, 2013, 11:27pm UTC](https://www.ruby-forum.com/t/doesnt-load-virtual-ruby/237917 "2013-12-05T23:27:06Z")

</div>

When I type “vr” into the command prompt (on windows 8.1/7) it gives me this error message: “‘vr’ is not recognized as an internal or external command, operable program or batch file.” I’m currently on a windows 8.1 O…

---

## [Mp4 to wav](https://www.ruby-forum.com/t/mp4-to-wav/237501)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [November 16, 2013, 8:55am UTC](https://www.ruby-forum.com/t/mp4-to-wav/237501 "2013-11-16T08:55:41Z")

</div>

Hi, Gurus, I’ve … pipeline = Gst::Pipeline.new “audio-player” source = Gst::ElementFactory.make “filesrc”, “file-source” decoder = Gst::ElementFactory.make “qtdemux”, “mp4-decoder” conv = Gst::ElementFactory.make “…

---

## [GSettings implemented?](https://www.ruby-forum.com/t/gsettings-implemented/237203)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [November 12, 2013, 3:13pm UTC](https://www.ruby-forum.com/t/gsettings-implemented/237203 "2013-11-12T15:13:19Z")

</div>

Hi, in an quite old Mail from kou I saw, that GSettings as the gconf replacement is implemented in Gio. I searched around, but found no source, doc, examples or anything else. Can someone please point me to the right…

---

## [Game of life](https://www.ruby-forum.com/t/game-of-life/237372)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [November 8, 2013, 6:45pm UTC](https://www.ruby-forum.com/t/game-of-life/237372 "2013-11-08T18:45:13Z")

</div>

Hello, So here a little game for the week end: https://gist.github.com/raubarede/7374717

---

## [Keep CSS style while state change](https://www.ruby-forum.com/t/keep-css-style-while-state-change/237108)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [October 28, 2013, 4:28pm UTC](https://www.ruby-forum.com/t/keep-css-style-while-state-change/237108 "2013-10-28T16:28:26Z")

</div>

Hi, I have some buttons with images, where I have changed the style with CSS. When I now change the state of the button from sensitive to insensitive, the image in the button get the default theme style. That is obvi…

---

## [Memory allocation problem with my Gtk program (using Cairo)](https://www.ruby-forum.com/t/memory-allocation-problem-with-my-gtk-program-using-cairo/237009)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [October 25, 2013, 7:08am UTC](https://www.ruby-forum.com/t/memory-allocation-problem-with-my-gtk-program-using-cairo/237009 "2013-10-25T07:08:37Z")

</div>

Hi, I’m trying to write a program that uses a picture from the user’s files to generate a random jigsaw puzzle. For that I’m using Gtk+ for the UI, and Cairo to uses png images as mask for creating the pieces. It work…

---

## [Issue with Cairo mask function in a Gtk Window](https://www.ruby-forum.com/t/issue-with-cairo-mask-function-in-a-gtk-window/246422)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [October 13, 2013, 7:51am UTC](https://www.ruby-forum.com/t/issue-with-cairo-mask-function-in-a-gtk-window/246422 "2013-10-13T07:51:40Z")

</div>

Hi ! I’m trying to do smth a little tricky that is explain only in one tutorial I found on the net (and it’s a C tuto) It’s to use a pixbuf, or eventually a png file as a mask. All seems to work well, except the last …

---

## [Gtk::Tooltip - delay?](https://www.ruby-forum.com/t/gtk-tooltip-delay/236510)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [September 28, 2013, 2:37am UTC](https://www.ruby-forum.com/t/gtk-tooltip-delay/236510 "2013-09-28T02:37:12Z")

</div>

Hi, I like Tooltips but they are displayed almost instantly. I want to set a custom delay, like “wait 3 seconds before displaying a tooltip”, where the number 3 can be toggled by me or the user eventually. Any idea …

---

## [Visual Ruby install error](https://www.ruby-forum.com/t/visual-ruby-install-error/246267)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 7\
**Last updated:** [September 26, 2013, 7:03am UTC](https://www.ruby-forum.com/t/visual-ruby-install-error/246267 "2013-09-26T07:03:35Z")

</div>

I have been trying to install visual ruby for a few days, i reinstalled everything and my system looks ok but i still get errors and i really want to use visual ruby. I have attached the output from the errors. I have…

---

## [Gstreamer : how to put video in a gtk widget on windows?](https://www.ruby-forum.com/t/gstreamer-how-to-put-video-in-a-gtk-widget-on-windows/246111)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 8\
**Last updated:** [September 23, 2013, 10:13pm UTC](https://www.ruby-forum.com/t/gstreamer-how-to-put-video-in-a-gtk-widget-on-windows/246111 "2013-09-23T22:13:16Z")

</div>

Hello, On windows with old gst version, we use to put video in a gtk window with xwindow\_id: view = Gst::ElementFactory.make(‘playbin’) view.video\_sink = Gst::ElementFactory.make(‘directdrawsink’) handle…

---

## [Are the Ruby bindings threadsafe?](https://www.ruby-forum.com/t/are-the-ruby-bindings-threadsafe/246223)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [September 18, 2013, 9:07am UTC](https://www.ruby-forum.com/t/are-the-ruby-bindings-threadsafe/246223 "2013-09-18T09:07:05Z")

</div>

Hi there, just a quick question… I’ve got a GUI program doing some networking stuff and want the GUI to react on what I get from my TCPSocket. To not block the GUI when the server/connection is slow, I intend to extra…

---

## [Visual ruby rocks!](https://www.ruby-forum.com/t/visual-ruby-rocks/236377)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 30, 2013, 12:11am UTC](https://www.ruby-forum.com/t/visual-ruby-rocks/236377 "2013-08-30T00:11:58Z")

</div>

Holy man! This actually works! I feel seriously lucky. Great job Eric. A

---

## [Open a context menu with actions in TextView widget](https://www.ruby-forum.com/t/open-a-context-menu-with-actions-in-textview-widget/246058)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [August 24, 2013, 8:06am UTC](https://www.ruby-forum.com/t/open-a-context-menu-with-actions-in-textview-widget/246058 "2013-08-24T08:06:43Z")

</div>

Hi. I have a question. I have a window with three things - ScrolledWindow, TextBuffer and TextView. I can select text just fine with my mouse. Now I would like to press right mouse click on selection and popup a sm…

---

## [Join the mailing list](https://www.ruby-forum.com/t/join-the-mailing-list/246031)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [August 24, 2013, 2:12am UTC](https://www.ruby-forum.com/t/join-the-mailing-list/246031 "2013-08-24T02:12:28Z")

</div>

Hi, I’m a recently joined member of the Ruby-GNOME2 Project Team. I look forward to talking with all of you. Best regards, Masafumi Y. GitHub: myokoym

---

## [Gtk3 scratch, on Windows](https://www.ruby-forum.com/t/gtk3-scratch-on-windows/235444)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [August 16, 2013, 4:10pm UTC](https://www.ruby-forum.com/t/gtk3-scratch-on-windows/235444 "2013-08-16T16:10:27Z")

</div>

Hello, Using gtk3 on window, i get a bug (program scratch) when resizing window (specially on resizing dialog window), with almost all my Ruiby applications. Here a scratch with an old gtk demo : …\\gtk3-2.0.2-x86-mi…

---

## [Latest pango package fails to build on pre cairo 1.8 systems](https://www.ruby-forum.com/t/latest-pango-package-fails-to-build-on-pre-cairo-1-8-systems/245774)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [July 13, 2013, 4:20am UTC](https://www.ruby-forum.com/t/latest-pango-package-fails-to-build-on-pre-cairo-1-8-systems/245774 "2013-07-13T04:20:56Z")

</div>

Using latest ruby-gnome2 from git. So with the recent change to rbpangocairo.c, I get a compile failure Error is: rbpangocairo.c:40: error: ‘CAIRO\_FONT\_TYPE\_USER’ undeclared (first use in this function) Looking at t…

---

## [Cairo or Gtk::DrawingArea memory leak?](https://www.ruby-forum.com/t/cairo-or-gtk-drawingarea-memory-leak/245740)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [July 11, 2013, 4:27am UTC](https://www.ruby-forum.com/t/cairo-or-gtk-drawingarea-memory-leak/245740 "2013-07-11T04:27:41Z")

</div>

Trying to figure out what I am doing wrong. Whenever I run this code it starts using up all my ram but no process shows up as using the ram but the task manager shows ram usage going up until the computer starts hangi…

---

## [VR::ComboCol/VR::CellRendererCombo and attaching to signals (or any other cellrenderers)](https://www.ruby-forum.com/t/vr-combocol-vr-cellrenderercombo-and-attaching-to-signals-or-any-other-cellrenderers/245390)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [May 26, 2013, 7:48pm UTC](https://www.ruby-forum.com/t/vr-combocol-vr-cellrenderercombo-and-attaching-to-signals-or-any-other-cellrenderers/245390 "2013-05-26T19:48:32Z")

</div>

Hi there I’m coding an app with visualruby and I love it, but sometimes the lack of documentation and knowledge/skills (on my side) gets me stuck. :slight\_smile: What I can’t seem to get past now is to attach some cod…

---

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

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [May 25, 2013, 4:59am UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-2-0-1/245386 "2013-05-25T04:59:14Z")

</div>

Hi, The Ruby-GNOME2 project released Ruby-GNOME2 2.0.1: http://ruby-gnome2.sourceforge.jp/hiki.cgi?News\_20130525\_1 This release drops Ruby 1.8 support. If you want to use Ruby-GNOME2 with Ruby 1.8, please use Ruby-GN…

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

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