# Ruby-Gnome 2

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

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

---

## [Use signals to communicate between GUI objects?](https://www.ruby-forum.com/t/use-signals-to-communicate-between-gui-objects/95190)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 0\
**Last updated:** [May 24, 2006, 9:06am UTC](https://www.ruby-forum.com/t/use-signals-to-communicate-between-gui-objects/95190 "2006-05-24T09:06:07Z")

</div>

Say when a user selects a radio box in one part of the GUI, a couple other parts of the GUI should change. Should I use a gtk (glib, I think) signal for this? Or function calls between the different objects? I’m try…

---

## [\[patch\] Typo in rbgobj\_fundamental.c](https://www.ruby-forum.com/t/patch-typo-in-rbgobj-fundamental-c/95073)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [May 22, 2006, 7:16pm UTC](https://www.ruby-forum.com/t/patch-typo-in-rbgobj-fundamental-c/95073 "2006-05-22T19:16:10Z")

</div>

Hi, Just noticed a small but critical typo in rbgobj\_fundamental: rbgobj\_fund\_define\_fundermental should be rbgobj\_fund\_define\_fundamental Fixed in atttached patch. Sjoerd

---

## [Question and new app](https://www.ruby-forum.com/t/question-and-new-app/61187)

<div class="topic-metadata">

**Author:** [@mschipperheyn](https://www.ruby-forum.com/u/mschipperheyn)\
**Replies:** 0\
**Last updated:** [May 21, 2006, 6:30am UTC](https://www.ruby-forum.com/t/question-and-new-app/61187 "2006-05-21T06:30:00Z")

</div>

I’d like to announce GmNotify 0.7. It’s a full featured Gmail notification applet for \*NIX. This is my first public release and it’s built on Ruby GTK2. I was wondering if there’s an ETA for the next version of Ruby…

---

## [Ruby/VTE and Ruby/Poppler](https://www.ruby-forum.com/t/ruby-vte-and-ruby-poppler/61013)

<div class="topic-metadata">

**Author:** [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Replies:** 0\
**Last updated:** [May 19, 2006, 9:23am UTC](https://www.ruby-forum.com/t/ruby-vte-and-ruby-poppler/61013 "2006-05-19T09:23:33Z")

</div>

Hi, I imported Ruby/VTE and Ruby/Poppler into CVS. Ruby/VTE is bindings to VTE which is a terminal emulator widget. VTE is used by gnome-terminal. sample/multiterm.rb is a tab-base multi terminal exapmle. (Opening n…

---

## ["warning: GRClosure invoking callback: already destroyed"](https://www.ruby-forum.com/t/warning-grclosure-invoking-callback-already-destroyed/60684)

<div class="topic-metadata">

**Author:** [@jpedrosa](https://www.ruby-forum.com/u/jpedrosa)\
**Replies:** 7\
**Last updated:** [May 18, 2006, 2:27pm UTC](https://www.ruby-forum.com/t/warning-grclosure-invoking-callback-already-destroyed/60684 "2006-05-18T14:27:40Z")

</div>

Hi, I just updated Ruby-GNOME2 to the latest CVS version, which includes the fixes to GRClosure, but now I get the warning “warning: GRClosure invoking callback: already destroyed” on some menuitem options, and the c…

---

## [Re: \[Patch\] Support for G\_TYPE\_VALUE\_ARRAY](https://www.ruby-forum.com/t/re-patch-support-for-g-type-value-array/94845)

<div class="topic-metadata">

**Author:** [@Masao\_M](https://www.ruby-forum.com/u/Masao_M)\
**Replies:** 2\
**Last updated:** [May 17, 2006, 4:03pm UTC](https://www.ruby-forum.com/t/re-patch-support-for-g-type-value-array/94845 "2006-05-17T16:03:11Z")

</div>

Hi Sjoerd, On Tue, 9 May 2006 23:53:08 +0200 removed\_email\_address@domain.invalid (Sjoerd S.) wrote: Hi, Attached patch adds convertions functions to and from G\_TYPE\_VALUE\_ARRAY GValue’s… These are used by some gst…

---

## [Re: Crash when handling exception coming from an signal hand](https://www.ruby-forum.com/t/re-crash-when-handling-exception-coming-from-an-signal-hand/60641)

<div class="topic-metadata">

**Author:** [@Masao\_M](https://www.ruby-forum.com/u/Masao_M)\
**Replies:** 7\
**Last updated:** [May 17, 2006, 3:46pm UTC](https://www.ruby-forum.com/t/re-crash-when-handling-exception-coming-from-an-signal-hand/60641 "2006-05-17T15:46:52Z")

</div>

I re-send this mail because sometimes my e-mail server rejected by sf.net. Hi, Hmm, it doesn’t occur on my system. % ruby test.rb test.rb:10: undefined method \`bloep!’ for main:Object (NoMethodError) from test.rb:…

---

## [Re: Don't crash if a genum's nick is uninitialized](https://www.ruby-forum.com/t/re-dont-crash-if-a-genums-nick-is-uninitialized/60728)

<div class="topic-metadata">

**Author:** [@Masao\_M](https://www.ruby-forum.com/u/Masao_M)\
**Replies:** 0\
**Last updated:** [May 17, 2006, 1:45am UTC](https://www.ruby-forum.com/t/re-dont-crash-if-a-genums-nick-is-uninitialized/60728 "2006-05-17T01:45:57Z")

</div>

Hi Sjoerd, Applied this, too. Thanks. On Tue, 9 May 2006 19:26:18 +0200

---

## [Crash when handling exception coming from an signal handler](https://www.ruby-forum.com/t/crash-when-handling-exception-coming-from-an-signal-handler/94846)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [May 16, 2006, 5:07pm UTC](https://www.ruby-forum.com/t/crash-when-handling-exception-coming-from-an-signal-handler/94846 "2006-05-16T17:07:43Z")

</div>

Hi, I got some strange crashes when handling an exception coming from a signal handler. I was able to make a contrived example that triggers it reliably (on some of my systems) :frowning: valgrind shows the followi…

---

## [Re: \[Patch\] don't ignore return of g\_list\_append](https://www.ruby-forum.com/t/re-patch-dont-ignore-return-of-g-list-append/94784)

<div class="topic-metadata">

**Author:** [@Masao\_M](https://www.ruby-forum.com/u/Masao_M)\
**Replies:** 0\
**Last updated:** [May 14, 2006, 12:38pm UTC](https://www.ruby-forum.com/t/re-patch-dont-ignore-return-of-g-list-append/94784 "2006-05-14T12:38:04Z")

</div>

Hi Sjoerd, Thanks. Applied. On Tue, 9 May 2006 21:34:45 +0200 removed\_email\_address@domain.invalid (Sjoerd S.) wrote: p c.items.keys With the patch it gives the correct output: \[“Two”, “One”, “Three”\] \[“Three”\] …

---

## [Re: \[patch\] Add hooks to create new](https://www.ruby-forum.com/t/re-patch-add-hooks-to-create-new/60470)

<div class="topic-metadata">

**Author:** [@Masao\_M](https://www.ruby-forum.com/u/Masao_M)\
**Replies:** 0\
**Last updated:** [May 14, 2006, 12:19pm UTC](https://www.ruby-forum.com/t/re-patch-add-hooks-to-create-new/60470 "2006-05-14T12:19:38Z")

</div>

Hi Sjoerd, Sorry for late. Finally, I merged your patch to CVS with some changes. rbgobj\_fundamental.h: Merged to rbgobject.h. I think you want to separate private external functions and public functions, but rbgo…

---

## [Creating executable](https://www.ruby-forum.com/t/creating-executable/59308)

<div class="topic-metadata">

**Author:** [@Gergely\_K](https://www.ruby-forum.com/u/Gergely_K)\
**Replies:** 4\
**Last updated:** [May 11, 2006, 12:21am UTC](https://www.ruby-forum.com/t/creating-executable/59308 "2006-05-11T00:21:30Z")

</div>

Hi! I’ve tryed to create a helloworld executable following instructions here: http://ruby-gnome2.sourceforge.jp/hiki.cgi?tips\_rubyscript2exe Creating rubyrequired.tar… d:\\tmp\\tar2rubyscript.d.1284\\rubyscript2exe\\requ…

---

## [\[Patch\] Support for G\_TYPE\_VALUE\_ARRAY](https://www.ruby-forum.com/t/patch-support-for-g-type-value-array/94647)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [May 9, 2006, 11:56pm UTC](https://www.ruby-forum.com/t/patch-support-for-g-type-value-array/94647 "2006-05-09T23:56:20Z")

</div>

Hi, Attached patch adds convertions functions to and from G\_TYPE\_VALUE\_ARRAY GValue’s… These are used by some gstreamer plugins. Sjoerd

---

## [\[Patch\] don't ignore return of g\_list\_append](https://www.ruby-forum.com/t/patch-dont-ignore-return-of-g-list-append/94623)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [May 9, 2006, 9:36pm UTC](https://www.ruby-forum.com/t/patch-dont-ignore-return-of-g-list-append/94623 "2006-05-09T21:36:43Z")

</div>

Hi, Some code in rbglib\_completion ignores the return value of g\_list\_append, this might cause problems as the start of the list can move around. Attached trivial patch fixes this. Sjoerd

---

## [\[patch\] Add hooks to create new fundamental types](https://www.ruby-forum.com/t/patch-add-hooks-to-create-new-fundamental-types/59300)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [May 9, 2006, 7:40pm UTC](https://www.ruby-forum.com/t/patch-add-hooks-to-create-new-fundamental-types/59300 "2006-05-09T19:40:51Z")

</div>

Hi, Attached patch adds the possibility to register new fundamental gobject types with the ruby gnome2 bindings. This is needed to be able to make bindings for gstreamer0.10. For example usage please see \[0\]: http…

---

## [Don't crash if a genum's nick is uninitialized](https://www.ruby-forum.com/t/dont-crash-if-a-genums-nick-is-uninitialized/94637)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [May 9, 2006, 7:28pm UTC](https://www.ruby-forum.com/t/dont-crash-if-a-genums-nick-is-uninitialized/94637 "2006-05-09T19:28:40Z")

</div>

Hi, Currently the bindings crash if the value\_nick of a GEnumValue is NULL. While this can be considered a bug in the Enum declaration, the bindings shouldn’t crash on it :slight\_smile: Fixed in attached patch Sjo…

---

## [New patch for ruby-glade-create-template.rb](https://www.ruby-forum.com/t/new-patch-for-ruby-glade-create-template-rb/57974)

<div class="topic-metadata">

**Author:** [@masoto](https://www.ruby-forum.com/u/masoto)\
**Replies:** 3\
**Last updated:** [May 3, 2006, 7:06pm UTC](https://www.ruby-forum.com/t/new-patch-for-ruby-glade-create-template-rb/57974 "2006-05-03T19:06:39Z")

</div>

Hey Masao, Got another patch for ya, to update the Glade Create Template program. This allows widgets that are in the glade xml file, be defined as read attributes on the Class object. EG: Glade has definition for ‘…

---

## [Opening gecko.rb on differnet screen](https://www.ruby-forum.com/t/opening-gecko-rb-on-differnet-screen/58838)

<div class="topic-metadata">

**Author:** [@HelasS\_Stephan](https://www.ruby-forum.com/u/HelasS_Stephan)\
**Replies:** 0\
**Last updated:** [April 26, 2006, 1:43pm UTC](https://www.ruby-forum.com/t/opening-gecko-rb-on-differnet-screen/58838 "2006-04-26T13:43:17Z")

</div>

Hello, if i use different screen for opening mozembed Window, i don’t get refreshed on loading url. What changes do i have to made, to get it working? Changes on gecko.rb ----------------- diff ---------------------…

---

## [Adding new signals with latest CVS](https://www.ruby-forum.com/t/adding-new-signals-with-latest-cvs/58313)

<div class="topic-metadata">

**Author:** [@Geoff\_Y](https://www.ruby-forum.com/u/Geoff_Y)\
**Replies:** 1\
**Last updated:** [April 20, 2006, 2:59pm UTC](https://www.ruby-forum.com/t/adding-new-signals-with-latest-cvs/58313 "2006-04-20T14:59:01Z")

</div>

Hi, The latest CVS version of Ruby-GNOME2 is throwing exceptions when registering new signals. e.g. —8\<— require ‘glib2’ class Foo \< GLib::Object type\_register signal\_new(“bar”, GLib::Signal::RUN\_FIRST, nil, G…

---

## [Problem! :-) I need to turn off the Cairo support for testin](https://www.ruby-forum.com/t/problem-i-need-to-turn-off-the-cairo-support-for-testin/57503)

<div class="topic-metadata">

**Author:** [@jpedrosa](https://www.ruby-forum.com/u/jpedrosa)\
**Replies:** 14\
**Last updated:** [April 15, 2006, 6:52am UTC](https://www.ruby-forum.com/t/problem-i-need-to-turn-off-the-cairo-support-for-testin/57503 "2006-04-15T06:52:15Z")

</div>

Hi, I’m getting some crashes with the latest Ruby-GNOME2 with the Cairo support on Ubuntu Dapper Ruby 1.8.4 and 1.9 ( I tested both). I want to try to track it down, and so far I know it happens from launching new…

---

## [Segmentation fault using ruby gtk cairo on windows](https://www.ruby-forum.com/t/segmentation-fault-using-ruby-gtk-cairo-on-windows/57039)

<div class="topic-metadata">

**Author:** [@Vincenzo\_P](https://www.ruby-forum.com/u/Vincenzo_P)\
**Replies:** 5\
**Last updated:** [April 11, 2006, 10:20pm UTC](https://www.ruby-forum.com/t/segmentation-fault-using-ruby-gtk-cairo-on-windows/57039 "2006-04-11T22:20:04Z")

</div>

Hello All, I’m writing an ruby Gtk app which uses the new cairo features. It runs well on linux but crashes after a few redraws when executed on Windows (segmentation fault). I noticed that the same happens with the …

---

## [Callbacks not firing with Ruby/GTK inside of test cases?](https://www.ruby-forum.com/t/callbacks-not-firing-with-ruby-gtk-inside-of-test-cases/57343)

<div class="topic-metadata">

**Author:** [@kastorilo](https://www.ruby-forum.com/u/kastorilo)\
**Replies:** 5\
**Last updated:** [April 10, 2006, 4:39pm UTC](https://www.ruby-forum.com/t/callbacks-not-firing-with-ruby-gtk-inside-of-test-cases/57343 "2006-04-10T16:39:45Z")

</div>

Hi All, Hope all is going well. I’ve developed a simple GUI using Glade and are using the Ruby libglade bindings (awesome stuff) to present the GUI to the user. At this stage I’ve got a simple test case that using th…

---

## [Session management](https://www.ruby-forum.com/t/session-management/56651)

<div class="topic-metadata">

**Author:** [@mschipperheyn](https://www.ruby-forum.com/u/mschipperheyn)\
**Replies:** 3\
**Last updated:** [April 10, 2006, 4:27pm UTC](https://www.ruby-forum.com/t/session-management/56651 "2006-04-10T16:27:21Z")

</div>

Does anyone have any information on using X session management in Ruby-Gtk2? I’m really just trying to get my app to start automaticly in Gnome or KDE, without having to explicitly say so. I have looked though some …

---

## [Re: Gtk-Demo - images.rb](https://www.ruby-forum.com/t/re-gtk-demo-images-rb/57240)

<div class="topic-metadata">

**Author:** [@Masao\_M](https://www.ruby-forum.com/u/Masao_M)\
**Replies:** 0\
**Last updated:** [April 8, 2006, 2:30pm UTC](https://www.ruby-forum.com/t/re-gtk-demo-images-rb/57240 "2006-04-08T14:30:47Z")

</div>

Hi, On Wed, 5 Apr 2006 19:11:57 -0500 (CDT) removed\_email\_address@domain.invalid wrote: Hey All, I found the problem with the GTK-Demo program for the progressive image loading.=A0 It’s really a simple fix: Line 1…

---

## [Gtk-Demo - images.rb](https://www.ruby-forum.com/t/gtk-demo-images-rb/56964)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [April 6, 2006, 2:33am UTC](https://www.ruby-forum.com/t/gtk-demo-images-rb/56964 "2006-04-06T02:33:31Z")

</div>

Hey All, I found the problem with the GTK-Demo program for the progressive image loading. It’s really a simple fix: Line 157 Reads: @image\_stream = File.open(filename,‘r’) Line 157 Should Be: @image\_stream = File.o…

---

## [\[Patch\] handle glib signals coming from different threads](https://www.ruby-forum.com/t/patch-handle-glib-signals-coming-from-different-threads/93593)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [April 5, 2006, 12:19am UTC](https://www.ruby-forum.com/t/patch-handle-glib-signals-coming-from-different-threads/93593 "2006-04-05T00:19:09Z")

</div>

Hi, With stuff like gstreamer it’s possible that signals originate from (native) threads that are different from ruby’s native thread. Currently the signal marshaller always enters the ruby interpreter to handle si…

---

## [Subclassing in Ruby](https://www.ruby-forum.com/t/subclassing-in-ruby/56578)

<div class="topic-metadata">

**Author:** [@Takanori\_Nakane](https://www.ruby-forum.com/u/Takanori_Nakane)\
**Replies:** 0\
**Last updated:** [April 1, 2006, 10:15am UTC](https://www.ruby-forum.com/t/subclassing-in-ruby/56578 "2006-04-01T10:15:31Z")

</div>

Hello, everyone. I’m new to this list. I’m trying to implement some custom TreeModels and CellRenderers and having problems. I find messages(such as “cellrenderer question” thread in 2004) in this list, which say i…

---

## [Ruby panel?](https://www.ruby-forum.com/t/ruby-panel/93384)

<div class="topic-metadata">

**Author:** [@Gergely\_K](https://www.ruby-forum.com/u/Gergely_K)\
**Replies:** 0\
**Last updated:** [April 1, 2006, 4:20am UTC](https://www.ruby-forum.com/t/ruby-panel/93384 "2006-04-01T04:20:51Z")

</div>

Hi! I’ve found pypanel, perlpanel so far. Is there a rubypanel? (I’d like to have some nice panel, but I don’t want to install a full GNOME environment…) thx Gergo

---

## [How to use Gtk::MessageDialog(new to Ruby-Gnome2)](https://www.ruby-forum.com/t/how-to-use-gtk-messagedialog-new-to-ruby-gnome2/55974)

<div class="topic-metadata">

**Author:** [@Victor\_Neo](https://www.ruby-forum.com/u/Victor_Neo)\
**Replies:** 1\
**Last updated:** [March 26, 2006, 5:44pm UTC](https://www.ruby-forum.com/t/how-to-use-gtk-messagedialog-new-to-ruby-gnome2/55974 "2006-03-26T17:44:10Z")

</div>

I am following the basic tutorials, and I find myself okay with them. I am trying to add a MessageDialog when a user clicks on a button. However, I have no idea how to use one despite using the API reference on it. I…

---

## [Binding a new fundamental type](https://www.ruby-forum.com/t/binding-a-new-fundamental-type/83939)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [March 19, 2006, 3:31pm UTC](https://www.ruby-forum.com/t/binding-a-new-fundamental-type/83939 "2006-03-19T15:31:13Z")

</div>

Hi, I recently had a go at upgrading the ruby gstreamer bindings from gstreamer 0.8 to gstreamer 0.10. After gutting out all the methods that don’t exist anymore i ended with something good enough to create pipeline…

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

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