# Ruby-Gnome 2

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

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

---

## [Terminated Ruby object passed to notify signal callback](https://www.ruby-forum.com/t/terminated-ruby-object-passed-to-notify-signal-callback/242805)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [July 29, 2015, 5:58pm UTC](https://www.ruby-forum.com/t/terminated-ruby-object-passed-to-notify-signal-callback/242805 "2015-07-29T17:58:45Z")

</div>

I’m using signal\_connect(‘notify’) on a bunch of Gtk::Label instances, each wrapped in an EventBox. Sporadically, the callback fails because the GLib::Param passed as the second parameter to the callback is a terminat…

---

## [Can't Install VisualRuby](https://www.ruby-forum.com/t/cant-install-visualruby/242140)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [July 27, 2015, 7:53am UTC](https://www.ruby-forum.com/t/cant-install-visualruby/242140 "2015-07-27T07:53:19Z")

</div>

Hi, this is my first post in the forums, so forgive me if this is in a wrong place. My problem is, I can’t install visualruby because, gtksourceview2 gem fails to install, attached is error message produced. I alread…

---

## [Simplification for ruby-gnome2 in general: the use of symbols rather than Gtk:: Enum Structures?](https://www.ruby-forum.com/t/simplification-for-ruby-gnome2-in-general-the-use-of-symbols-rather-than-gtk-enum-structures/242576)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [July 3, 2015, 8:40pm UTC](https://www.ruby-forum.com/t/simplification-for-ruby-gnome2-in-general-the-use-of-symbols-rather-than-gtk-enum-structures/242576 "2015-07-03T20:40:03Z")

</div>

Hi, I was looking at old ruby-gnome code that I have here and see stuff like this: notebook = Gtk::Notebook.new notebook.set\_tab\_pos(Gtk::POS\_LEFT) However, it occurred to me that knowing Gtk::POS\_LEFT seems superfl…

---

## [Ruby gnome 2.2.5!](https://www.ruby-forum.com/t/ruby-gnome-2-2-5/241726)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [July 3, 2015, 11:50am UTC](https://www.ruby-forum.com/t/ruby-gnome-2-2-5/241726 "2015-07-03T11:50:42Z")

</div>

ruby gnome 2.2.5 !

---

## [Gtk::Frame - how to respond to mouse-click event?](https://www.ruby-forum.com/t/gtk-frame-how-to-respond-to-mouse-click-event/242567)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [July 2, 2015, 8:56pm UTC](https://www.ruby-forum.com/t/gtk-frame-how-to-respond-to-mouse-click-event/242567 "2015-07-02T20:56:43Z")

</div>

Hi. Consider this code here: require ‘gtk2’ frame = Gtk::Frame.new(‘test’) window = Gtk::Window.new window.add frame window.show\_all window.resize(500,500) Gtk.main Now I need to be able to respond to on-mouse-cl…

---

## ["Opposite" of .maximize (restore prior status)?](https://www.ruby-forum.com/t/opposite-of-maximize-restore-prior-status/242565)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [July 2, 2015, 5:15pm UTC](https://www.ruby-forum.com/t/opposite-of-maximize-restore-prior-status/242565 "2015-07-02T17:15:38Z")

</div>

Hello. With .maximize you can maximize (full screen) a widget. Is there a way to also restore to the old prior default size? I need to enable this functionality via a menu interface.

---

## [Can't install visual ruby](https://www.ruby-forum.com/t/cant-install-visual-ruby/242218)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [June 5, 2015, 2:46am UTC](https://www.ruby-forum.com/t/cant-install-visual-ruby/242218 "2015-06-05T02:46:13Z")

</div>

is anyone monitoring this forum ? I have exactly the same problem as Lycaon Anderson post of May 30 and it has not been addressed. Could someone take a look at Lycaon’s post and provide some insight. Thanks very much …

---

## [Is there a way to perform an on-quit action?](https://www.ruby-forum.com/t/is-there-a-way-to-perform-an-on-quit-action/242074)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [May 25, 2015, 6:56am UTC](https://www.ruby-forum.com/t/is-there-a-way-to-perform-an-on-quit-action/242074 "2015-05-25T06:56:16Z")

</div>

Hi, One rubygnome program creates a gmon.out file in the current working directory. I do not know why but I don’t want this file. Is there either: (a) a way to prevent the creation of a gmon.out file or (b) an on-q…

---

## [How to avoid freezing a rubygnome GUI?](https://www.ruby-forum.com/t/how-to-avoid-freezing-a-rubygnome-gui/241906)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [May 12, 2015, 3:48pm UTC](https://www.ruby-forum.com/t/how-to-avoid-freezing-a-rubygnome-gui/241906 "2015-05-12T15:48:12Z")

</div>

Hi guys, Here is my problem. I have a GUI widget, in ruby-gnome, and I have buttons. Each button plays a video file. I use system() for this, and mplayer. When I click the button, all works well, mplayer plays the …

---

## [Problems with Ruby 2.1 & Windows 8](https://www.ruby-forum.com/t/problems-with-ruby-2-1-windows-8/241863)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [May 12, 2015, 1:03am UTC](https://www.ruby-forum.com/t/problems-with-ruby-2-1-windows-8/241863 "2015-05-12T01:03:03Z")

</div>

Hi, I’ve been trying to upgrade my workplaces ruby version from 1.8.6 to 2.1, and one of our most important projects is done in Gtk2. I finally have the gtk2 (2.2.5-x86-mingw32) installed properly in windows on ruby …

---

## [Installing visualruby on Win 7 fails with extconf.rb failed](https://www.ruby-forum.com/t/installing-visualruby-on-win-7-fails-with-extconf-rb-failed/241649)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [April 21, 2015, 10:41am UTC](https://www.ruby-forum.com/t/installing-visualruby-on-win-7-fails-with-extconf-rb-failed/241649 "2015-04-21T10:41:39Z")

</div>

I am trying to install the visualruby gem on Windows 7 (64 bit, but running 32-bit Ruby 1.9.3 (ruby 1.9.3p448 (2013-06-27) \[i386-mingw32\]). The last line before failure is: checking for rb\_cairo.h… no and then it fai…

---

## [How to find out the resolution of the monitor before starting a Ruby-Gnome widget?](https://www.ruby-forum.com/t/how-to-find-out-the-resolution-of-the-monitor-before-starting-a-ruby-gnome-widget/234763)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 27, 2015, 9:55pm UTC](https://www.ruby-forum.com/t/how-to-find-out-the-resolution-of-the-monitor-before-starting-a-ruby-gnome-widget/234763 "2015-03-27T21:55:03Z")

</div>

Hi, I wish to set the start-size of my widget to 80% of width and height. But for this, I need to know the resolution of the computer. Is this doable?

---

## [A problem when init Gtk::Dialog](https://www.ruby-forum.com/t/a-problem-when-init-gtk-dialog/234883)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [March 27, 2015, 9:53pm UTC](https://www.ruby-forum.com/t/a-problem-when-init-gtk-dialog/234883 "2015-03-27T21:53:51Z")

</div>

if write code like this: ######### class LoginDialog \< Gtk::Dialog def initliaze super show\_all end end l=LoginDialog.new :title=\>“login”, :parent=\>nil, :flags=\>Gtk::Dialog::flags::MODAL, :buttons=\>\[\[Gtk::Sto…

---

## [Howto: Install Visual Ruby on Raspberry Pi Debian based system](https://www.ruby-forum.com/t/howto-install-visual-ruby-on-raspberry-pi-debian-based-system/234336)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [February 25, 2015, 4:16am UTC](https://www.ruby-forum.com/t/howto-install-visual-ruby-on-raspberry-pi-debian-based-system/234336 "2015-02-25T04:16:41Z")

</div>

Ruby is only half installed on the Raspbian image (02/2015), but a ‘sudo apt-get install ruby-full’ will fix that. Now you can install the other parts that are needed by typing: ‘sudo apt-get install libgtksourceview…

---

## [PrintOperation don't show my complete strings](https://www.ruby-forum.com/t/printoperation-dont-show-my-complete-strings/233724)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [January 6, 2015, 1:01pm UTC](https://www.ruby-forum.com/t/printoperation-dont-show-my-complete-strings/233724 "2015-01-06T13:01:02Z")

</div>

Hi. Basically I have a big string with 20 lines and I get an array using string.split “\\n”. So I’m trying to print my array using Gtk::PrintOperation. Everything is going fine, but for some reason when a line have a b…

---

## [Where are announce for versions ruby-gnome2 2.2.2 / 2.2.3](https://www.ruby-forum.com/t/where-are-announce-for-versions-ruby-gnome2-2-2-2-2-2-3/233253)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [November 27, 2014, 1:42pm UTC](https://www.ruby-forum.com/t/where-are-announce-for-versions-ruby-gnome2-2-2-2-2-2-3/233253 "2014-11-27T13:42:55Z")

</div>

Hello, Installing my project on a new machine, I discover that gtk3 has moved, and that my project do not work anymore… So corrections are done : incompatibility are reported on gnome2 issue. As this forum seem not v…

---

## [\[ANN\] dropped binary package support for Ruby 1.9.3 on Windows](https://www.ruby-forum.com/t/ann-dropped-binary-package-support-for-ruby-1-9-3-on-windows/233000)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [November 10, 2014, 2:44pm UTC](https://www.ruby-forum.com/t/ann-dropped-binary-package-support-for-ruby-1-9-3-on-windows/233000 "2014-11-10T14:44:45Z")

</div>

Hi, I’m sorry for the late announcement. We dropped Ruby 1.9.3 support on Windows (x86-mingw32 packages) since Ruby-GNOME2 2.2.1 and rcairo 1.12.9. Because it’s hard, and Ruby core team only provide security fixes f…

---

## [File lib not found](https://www.ruby-forum.com/t/file-lib-not-found/228938)

<div class="topic-metadata">

**Author:** [@amarrextro](https://www.ruby-forum.com/u/amarrextro)\
**Replies:** 1\
**Last updated:** [November 9, 2014, 6:51am UTC](https://www.ruby-forum.com/t/file-lib-not-found/228938 "2014-11-09T06:51:44Z")

</div>

Sorry guys, I recently successfully installed visual ruby but while trying to run it, I keep getting this error message. C:/Ruby193/lib/ruby/site\_ruby/1.9.1/rubygems/custom\_require.rb:36:in require' from C:/Ruby193/li…

---

## [Trouble installing Visual Ruby](https://www.ruby-forum.com/t/trouble-installing-visual-ruby/232685)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 22, 2014, 11:58am UTC](https://www.ruby-forum.com/t/trouble-installing-visual-ruby/232685 "2014-10-22T11:58:44Z")

</div>

Hello, I am behind a proxy, but using the SET HTTP\_PROXY command seems to work. System in Win 7 64 bit, I installed 32 bit ruby 1.9.3 as recommended. So I was able to use gem install visualruby but when I try vr I…

---

## [Monitor if a thread is running](https://www.ruby-forum.com/t/monitor-if-a-thread-is-running/232489)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 12, 2014, 12:41pm UTC](https://www.ruby-forum.com/t/monitor-if-a-thread-is-running/232489 "2014-10-12T12:41:40Z")

</div>

Hello, i have a spinner which i want to monitor if a thread is running or not. At the moment i set the spinner to start and stop manually when i start the thread, if it is finished or i stop it. Is there a better solu…

---

## [How to make a widget that has a vertical bar, and an "audio graph" display, for audio files?](https://www.ruby-forum.com/t/how-to-make-a-widget-that-has-a-vertical-bar-and-an-audio-graph-display-for-audio-files/232098)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 23, 2014, 8:32am UTC](https://www.ruby-forum.com/t/how-to-make-a-widget-that-has-a-vertical-bar-and-an-audio-graph-display-for-audio-files/232098 "2014-09-23T08:32:34Z")

</div>

Hey guys, On windows I used a great program. It is small and used to cut audio stuff. Here is a screenshot: http://mpesch3.de1.cc/img/mp3dc.jpg My question is: How could I implement something like that in ruby-gnom…

---

## [Visual Ruby - implementing multiple ListViews](https://www.ruby-forum.com/t/visual-ruby-implementing-multiple-listviews/231928)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 23, 2014, 8:30am UTC](https://www.ruby-forum.com/t/visual-ruby-implementing-multiple-listviews/231928 "2014-09-23T08:30:13Z")

</div>

I’m really struggling to understand how I may implement a single window with multiple ListViews. Using the example http://visualruby.net/site/ListView%20Tutorial.html I wish to have multiple folder lists within one wi…

---

## [Ruby-Gnome Wiki - How to make bold content?](https://www.ruby-forum.com/t/ruby-gnome-wiki-how-to-make-bold-content/232010)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 12, 2014, 7:59pm UTC](https://www.ruby-forum.com/t/ruby-gnome-wiki-how-to-make-bold-content/232010 "2014-09-12T19:59:43Z")

</div>

Hi guys, How can I make some word bold in hiki, anybody knows? Reason I ask is that I am trying to add a bit new content and also try and improve stylistically, but I don’t know how to use hiki really - I am using mo…

---

## [Ruby-GNOME2 2.2.1 plans](https://www.ruby-forum.com/t/ruby-gnome2-2-2-1-plans/239656)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [September 7, 2014, 1:26am UTC](https://www.ruby-forum.com/t/ruby-gnome2-2-2-1-plans/239656 "2014-09-07T01:26:56Z")

</div>

Hi, Here are the next release (2.2.1) plans: Migrate Ruby/GDK3 to Ruby/GObjectIntrospection based bindings. Migrate Ruby/GTK3 to Ruby/GObjectIntrospection based bindings. Migrate Ruby/GtkSourceView3 to Ruby/GObjectInt…

---

## [VisualRuby unable to load cairo.so](https://www.ruby-forum.com/t/visualruby-unable-to-load-cairo-so/240312)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [September 1, 2014, 11:34pm UTC](https://www.ruby-forum.com/t/visualruby-unable-to-load-cairo-so/240312 "2014-09-01T23:34:05Z")

</div>

1.Fresh install: Glade3.6.7 & GTK with file: glade3-3.6.7-with-GTK+.exe 2.Ran glade3 - functions OK 3.Gem install visualruby - installation had no errors. 4 products installed: Windows 7 Professional ruby 1.9.3p545…

---

## [Building source, understanding pkg-config](https://www.ruby-forum.com/t/building-source-understanding-pkg-config/231830)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 1, 2014, 11:31pm UTC](https://www.ruby-forum.com/t/building-source-understanding-pkg-config/231830 "2014-09-01T23:31:18Z")

</div>

Building from latest git ruby-gnome2 git source. Ruby 2.1.2p95 pkg-config (1.1.5) CentOS 6.5 So I’m finally getting some free time to start tinkering with Ruby again. On my system, (CentOS 6.5) gio2 won’t build, bec…

---

## [Asking for sudo password, from pkgconfig?](https://www.ruby-forum.com/t/asking-for-sudo-password-from-pkgconfig/239267)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [September 1, 2014, 8:53pm UTC](https://www.ruby-forum.com/t/asking-for-sudo-password-from-pkgconfig/239267 "2014-09-01T20:53:57Z")

</div>

When building ruby-gnome2, some of the packages ask/attempt to install an RPM if it finds something missing. It will prompt for password for sudo to do this. On the system I am using, I do not want it to do this, as …

---

## [Install gtk2 show error on window](https://www.ruby-forum.com/t/install-gtk2-show-error-on-window/240907)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 23, 2014, 12:53pm UTC](https://www.ruby-forum.com/t/install-gtk2-show-error-on-window/240907 "2014-05-23T12:53:29Z")

</div>

Hi, ruby revision --\> 2.0.0p451 x64 windows OS --\> win7 64 bit When I install gtk2 by using “gem install gtk2”, It will show below error message: –\> Temporarily enhancing PATH to include DevKit… Building native ex…

---

## [How to change Title font size in Listview](https://www.ruby-forum.com/t/how-to-change-title-font-size-in-listview/241054)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [May 12, 2014, 9:25pm UTC](https://www.ruby-forum.com/t/how-to-change-title-font-size-in-listview/241054 "2014-05-12T21:25:47Z")

</div>

Modifying listview example: using the statement: " ren\_attr(:song, :size=18)" changes the text font size of :song column, but does not change the textfont size of the column title. What is the example statement to c…

---

## [Non-modal ListView editors don't close - then crash when closed](https://www.ruby-forum.com/t/non-modal-listview-editors-dont-close-then-crash-when-closed/240780)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [May 3, 2014, 3:20am UTC](https://www.ruby-forum.com/t/non-modal-listview-editors-dont-close-then-crash-when-closed/240780 "2014-05-03T03:20:05Z")

</div>

I’m displaying my own classes in a ListView; the classes have a show() method and a Glade window definition, so I can edit the objects by double-clicking. I want these editor windows to be non-modal - I want to be abl…

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

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