# Ruby-Gnome 2

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

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

---

## [Fail to build Ruby/GLib on ubuntu karmic](https://www.ruby-forum.com/t/fail-to-build-ruby-glib-on-ubuntu-karmic/184292)

<div class="topic-metadata">

**Author:** [@coubi](https://www.ruby-forum.com/u/coubi)\
**Replies:** 1\
**Last updated:** [March 4, 2010, 8:32am UTC](https://www.ruby-forum.com/t/fail-to-build-ruby-glib-on-ubuntu-karmic/184292 "2010-03-04T08:32:39Z")

</div>

Hi. I upgraded from intrepid to karmic via jaunty. I updated my git repository of ruby-gnome2 via git-svn. Ruby/GLib failed to build. Am I the only one ? $cd …/glib $ruby extconf Failed to open ‘/usr/lib/pkgconfig…

---

## [Standart output written in ~/.xsession-errors](https://www.ruby-forum.com/t/standart-output-written-in-xsession-errors/184207)

<div class="topic-metadata">

**Author:** [@coubi](https://www.ruby-forum.com/u/coubi)\
**Replies:** 8\
**Last updated:** [February 28, 2010, 5:28pm UTC](https://www.ruby-forum.com/t/standart-output-written-in-xsession-errors/184207 "2010-02-28T17:28:29Z")

</div>

Hi all. If I launch an application using ruby/gtk via the console, the standart output is written on the console. If the same application is launch via gui, the standart output is written on ~/.xsession-errors when th…

---

## [Accessing mandatory/defaults settings with Ruby/GConf2?](https://www.ruby-forum.com/t/accessing-mandatory-defaults-settings-with-ruby-gconf2/183331)

<div class="topic-metadata">

**Author:** [@Nigel\_K](https://www.ruby-forum.com/u/Nigel_K)\
**Replies:** 6\
**Last updated:** [February 17, 2010, 3:16pm UTC](https://www.ruby-forum.com/t/accessing-mandatory-defaults-settings-with-ruby-gconf2/183331 "2010-02-17T15:16:31Z")

</div>

I’m looking at possibly putting together a Puppet, http://reductivelabs.com/trac/puppet/ , native type for manipulating gconf2. I’ve got the basic idea of Ruby/GConf2 down, but I can’t see an obvious way to manipulat…

---

## [Setting focus to child widget on notebook switch-page](https://www.ruby-forum.com/t/setting-focus-to-child-widget-on-notebook-switch-page/183559)

<div class="topic-metadata">

**Author:** [@sjglazer](https://www.ruby-forum.com/u/sjglazer)\
**Replies:** 2\
**Last updated:** [February 16, 2010, 5:55pm UTC](https://www.ruby-forum.com/t/setting-focus-to-child-widget-on-notebook-switch-page/183559 "2010-02-16T17:55:51Z")

</div>

I have a notebook widget with several pages. The pages each have a few child widgets, one of which is a Gtk::Entry. When I switch to a page I would like focus to switch to the Gtk::Entry widget. I’ve got a handler …

---

## [Clipboard problem with utf-8 and ascii-8bit](https://www.ruby-forum.com/t/clipboard-problem-with-utf-8-and-ascii-8bit/183291)

<div class="topic-metadata">

**Author:** [@rafa](https://www.ruby-forum.com/u/rafa)\
**Replies:** 8\
**Last updated:** [February 15, 2010, 12:53pm UTC](https://www.ruby-forum.com/t/clipboard-problem-with-utf-8-and-ascii-8bit/183291 "2010-02-15T12:53:25Z")

</div>

Hi, I need to count the number of characters entered, as example I used the “clipboard.rb” that comes in gtk-demo If we introduce utf-8 characters (for example the character Â¿) in the first “Gtk::Entry”, to paste th…

---

## [Installing to local dir](https://www.ruby-forum.com/t/installing-to-local-dir/182683)

<div class="topic-metadata">

**Author:** [@pmatos](https://www.ruby-forum.com/u/pmatos)\
**Replies:** 2\
**Last updated:** [February 12, 2010, 1:08pm UTC](https://www.ruby-forum.com/t/installing-to-local-dir/182683 "2010-02-12T13:08:30Z")

</div>

Hi, I got: ruby-gnome2-all-0.19.3, however I don’t have root privileges so I have to install in my home dir usually under ~/local. Which option do I have to set to do this? Usually is by passing --prefix to configure,…

---

## [How can my instantiated "worker" class talk to the UI?](https://www.ruby-forum.com/t/how-can-my-instantiated-worker-class-talk-to-the-ui/183201)

<div class="topic-metadata">

**Author:** [@sjglazer](https://www.ruby-forum.com/u/sjglazer)\
**Replies:** 0\
**Last updated:** [February 9, 2010, 10:52pm UTC](https://www.ruby-forum.com/t/how-can-my-instantiated-worker-class-talk-to-the-ui/183201 "2010-02-09T22:52:20Z")

</div>

So I have a simple app that is a console IRC client. It uses sockets to connect to the specified server, interprets commands entered by the user (via STDIN), and writes data received from the socket to STDOUT. Simple…

---

## [Setting the Image of a Button](https://www.ruby-forum.com/t/setting-the-image-of-a-button/183089)

<div class="topic-metadata">

**Author:** [@idrysdale](https://www.ruby-forum.com/u/idrysdale)\
**Replies:** 4\
**Last updated:** [February 8, 2010, 7:55am UTC](https://www.ruby-forum.com/t/setting-the-image-of-a-button/183089 "2010-02-08T07:55:43Z")

</div>

Hello everyone, I’m pretty new to both Ruby and Ruby-Gnome2. I am trying to create a GUI for TicTacToe and I’m running into some problems. I would like to be able to set the image of a button and then have it change i…

---

## [Shape Combine Mask](https://www.ruby-forum.com/t/shape-combine-mask/183066)

<div class="topic-metadata">

**Author:** [@xogue](https://www.ruby-forum.com/u/xogue)\
**Replies:** 0\
**Last updated:** [February 7, 2010, 1:36pm UTC](https://www.ruby-forum.com/t/shape-combine-mask/183066 "2010-02-07T13:36:06Z")

</div>

I posted something a while back about custom shaped windows. now i know how to do it sort of. i can make a custom shaped window by using shape\_combine\_region on a Gdk::Window. problem is, that method is very tediou…

---

## [Shape Combine Mask](https://www.ruby-forum.com/t/shape-combine-mask/183067)

<div class="topic-metadata">

**Author:** [@xogue](https://www.ruby-forum.com/u/xogue)\
**Replies:** 0\
**Last updated:** [February 7, 2010, 1:35pm UTC](https://www.ruby-forum.com/t/shape-combine-mask/183067 "2010-02-07T13:35:10Z")

</div>

I posted something a while back about custom shaped windows. now i know how to do it sort of. i can make a custom shaped window by using shape\_combine\_mask on a Gdk::Window. problem is, that method is very tedious,…

---

## [Tooltip for a drawable object?](https://www.ruby-forum.com/t/tooltip-for-a-drawable-object/182930)

<div class="topic-metadata">

**Author:** [@ruby\_coder99](https://www.ruby-forum.com/u/ruby_coder99)\
**Replies:** 0\
**Last updated:** [February 4, 2010, 10:27pm UTC](https://www.ruby-forum.com/t/tooltip-for-a-drawable-object/182930 "2010-02-04T22:27:38Z")

</div>

Im creating a series of boxes via draw\_rectangle and wanted to attach a tooltip to any given box, is there a way to do this? Example of my draw\_rectangle code: x = boxlocations\[axis\_y\_value\]\[axis\_x\_value\].x y = boxloc…

---

## [Threading issues](https://www.ruby-forum.com/t/threading-issues/182567)

<div class="topic-metadata">

**Author:** [@dismal\_denizen](https://www.ruby-forum.com/u/dismal_denizen)\
**Replies:** 6\
**Last updated:** [February 1, 2010, 6:29am UTC](https://www.ruby-forum.com/t/threading-issues/182567 "2010-02-01T06:29:05Z")

</div>

Hello everyone, I am aware that there are many people who have asked questions relating to multi-threaded Gtk applications. However, after much trawling through the Internet I still can’t work out why the following si…

---

## [Code should not be reached](https://www.ruby-forum.com/t/code-should-not-be-reached/181960)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [January 20, 2010, 9:22pm UTC](https://www.ruby-forum.com/t/code-should-not-be-reached/181960 "2010-01-20T21:22:56Z")

</div>

hi i got an application, which displays large trees and other stuff, receives notifications from network, updates cells … and today it produced this, no more info: \*\* GLib-GObject:ERROR:gsignal.c:711:emission\_pop: c…

---

## [Gtk::ProgressBar and long process](https://www.ruby-forum.com/t/gtk-progressbar-and-long-process/181508)

<div class="topic-metadata">

**Author:** [@gnioot](https://www.ruby-forum.com/u/gnioot)\
**Replies:** 2\
**Last updated:** [January 13, 2010, 6:44pm UTC](https://www.ruby-forum.com/t/gtk-progressbar-and-long-process/181508 "2010-01-13T18:44:17Z")

</div>

Hello, I just want to update a progress bar during processing a long task. I’m using glade gtk and ruby, my english is so bad that a code sample will be, may be, clearer… Class MainClass \[…\]Definition of initialyse …

---

## [Ruby-gnome2 not fully functional (at least for me) in latest ubuntu (karmic)](https://www.ruby-forum.com/t/ruby-gnome2-not-fully-functional-at-least-for-me-in-latest-ubuntu-karmic/181417)

<div class="topic-metadata">

**Author:** [@blueprint](https://www.ruby-forum.com/u/blueprint)\
**Replies:** 4\
**Last updated:** [January 12, 2010, 4:46pm UTC](https://www.ruby-forum.com/t/ruby-gnome2-not-fully-functional-at-least-for-me-in-latest-ubuntu-karmic/181417 "2010-01-12T16:46:56Z")

</div>

Hi, I’ve noticed that my program booh lacks screen refresh on ubuntu karmic (rg2 0.19.0) when calling backend programs. I fork and use ruby threads to monitor the progress of the backend programs (and pulse/increment…

---

## [How to display GStreamer video in my own Gtk::Window?](https://www.ruby-forum.com/t/how-to-display-gstreamer-video-in-my-own-gtk-window/181158)

<div class="topic-metadata">

**Author:** [@Johan\_Walles](https://www.ruby-forum.com/u/Johan_Walles)\
**Replies:** 0\
**Last updated:** [January 6, 2010, 3:07pm UTC](https://www.ruby-forum.com/t/how-to-display-gstreamer-video-in-my-own-gtk-window/181158 "2010-01-06T15:07:13Z")

</div>

Hi! How can I display GStreamer video in an Gtk::Window that I created on my own? I haven’t found any example in Ruby, so I’m trying to port this: https://svn.sat.qc.ca/trac/miville/browser/inhouse/prototypes/gstream…

---

## [Gstreamer: parse tag and number of track of cd](https://www.ruby-forum.com/t/gstreamer-parse-tag-and-number-of-track-of-cd/180298)

<div class="topic-metadata">

**Author:** [@coubi](https://www.ruby-forum.com/u/coubi)\
**Replies:** 6\
**Last updated:** [January 2, 2010, 2:40pm UTC](https://www.ruby-forum.com/t/gstreamer-parse-tag-and-number-of-track-of-cd/180298 "2010-01-02T14:40:45Z")

</div>

Hi. I want to retrieve informations from tags. I watch the bus attached to a pipeline for Gst::Message::TAG. I do not know how to parse the tag. Is there some documentations somewhere? I want to retrieve the number o…

---

## [Busy application and mouse cursor](https://www.ruby-forum.com/t/busy-application-and-mouse-cursor/179743)

<div class="topic-metadata">

**Author:** [@coubi](https://www.ruby-forum.com/u/coubi)\
**Replies:** 13\
**Last updated:** [December 29, 2009, 11:09am UTC](https://www.ruby-forum.com/t/busy-application-and-mouse-cursor/179743 "2009-12-29T11:09:48Z")

</div>

Hi everyone. I use a Gtk::Window for my application and I would like to change the cursor during loading (the graphical interface is showed, the program is running but resources are used to intialize the program). Usu…

---

## [Gtksourceview - 2.x.x?](https://www.ruby-forum.com/t/gtksourceview-2-x-x/179462)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 3\
**Last updated:** [December 19, 2009, 2:35am UTC](https://www.ruby-forum.com/t/gtksourceview-2-x-x/179462 "2009-12-19T02:35:57Z")

</div>

Hi, Are there plans to upgrade gtksourceview to version 2.x ? Gtksourceview - 1.x gives me some trouble lately, and I am wondering whether gtksourceview 2.x would be better. Just curious. :slight\_smile:

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/180244)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [December 18, 2009, 3:08pm UTC](https://www.ruby-forum.com/t/no-subject/180244 "2009-12-18T15:08:35Z")

</div>

hi i already reported this (Ruby-GNOME 2 / Bugs / #133 ‘struct RString’ has no member named ‘ptr’ error reoccurred) but nobody did care for that bug tracker. so i subscribed to this mailing list. forgive me for rude …

---

## [Debian DnD patch causes a side effect](https://www.ruby-forum.com/t/debian-dnd-patch-causes-a-side-effect/180366)

<div class="topic-metadata">

**Author:** [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Replies:** 0\
**Last updated:** [December 18, 2009, 2:28pm UTC](https://www.ruby-forum.com/t/debian-dnd-patch-causes-a-side-effect/180366 "2009-12-18T14:28:47Z")

</div>

Hi, A patch related to DnD is applied in Debian package. But it causes a side effect: Ruby-GNOME 2 / Bugs / #130 builder does not map some types to the right classes It seems that a problem that is tried to fix by th…

---

## [Size of a Gtk::Expander](https://www.ruby-forum.com/t/size-of-a-gtk-expander/180330)

<div class="topic-metadata">

**Author:** [@coubi](https://www.ruby-forum.com/u/coubi)\
**Replies:** 0\
**Last updated:** [December 17, 2009, 4:20pm UTC](https://www.ruby-forum.com/t/size-of-a-gtk-expander/180330 "2009-12-17T16:20:53Z")

</div>

Hi Gnomer! I try to resize a window after I unexpand a Gtk::Expander. The window show a empty place where the hidden child of the expander is supposed to be. I do not know if it is the expected behaviour or a bug. A …

---

## [A working example for Gtk::StatusIcon](https://www.ruby-forum.com/t/a-working-example-for-gtk-statusicon/180232)

<div class="topic-metadata">

**Author:** [@coubi](https://www.ruby-forum.com/u/coubi)\
**Replies:** 5\
**Last updated:** [December 16, 2009, 7:21pm UTC](https://www.ruby-forum.com/t/a-working-example-for-gtk-statusicon/180232 "2009-12-16T19:21:30Z")

</div>

Hi everyone. I wrote an article in french on how to use Gtk::StatusIcon. http://blog.developpez.com/zik/p8460/ruby/icone-dans-la-zone-de-notification-en-ru/#more8460 The full code is at the very end of the article. If…

---

## [Memory leak in Gdk::Pixbuf.from\_drawable](https://www.ruby-forum.com/t/memory-leak-in-gdk-pixbuf-from-drawable/180167)

<div class="topic-metadata">

**Author:** [@Tobias\_LSSS\_tke](https://www.ruby-forum.com/u/Tobias_LSSS_tke)\
**Replies:** 2\
**Last updated:** [December 15, 2009, 10:54am UTC](https://www.ruby-forum.com/t/memory-leak-in-gdk-pixbuf-from-drawable/180167 "2009-12-15T10:54:16Z")

</div>

Hi Gdkers, I’m working on a website screenshotting service and I’m using a rack + motzembed solution. Works really well except for one memory leak: Either i’m missing a way to tear down the images that come from a Pi…

---

## [Mask of a Gdk::ScrollEvent](https://www.ruby-forum.com/t/mask-of-a-gdk-scrollevent/179967)

<div class="topic-metadata">

**Author:** [@coubi](https://www.ruby-forum.com/u/coubi)\
**Replies:** 12\
**Last updated:** [December 13, 2009, 1:33am UTC](https://www.ruby-forum.com/t/mask-of-a-gdk-scrollevent/179967 "2009-12-13T01:33:29Z")

</div>

I try to handle scroll events on an Gtk::StatusIcon. I woulld like to do somehing like that #!/usr/bin/env ruby ###call this script with one argument (a path to an image). require ‘gtk2’ si=Gtk::StatusIcon.new si.p…

---

## [Programming multithreaded ruby app using GLib::Mainloop](https://www.ruby-forum.com/t/programming-multithreaded-ruby-app-using-glib-mainloop/179881)

<div class="topic-metadata">

**Author:** [@Marcin\_L](https://www.ruby-forum.com/u/Marcin_L)\
**Replies:** 5\
**Last updated:** [December 8, 2009, 4:17pm UTC](https://www.ruby-forum.com/t/programming-multithreaded-ruby-app-using-glib-mainloop/179881 "2009-12-08T16:17:10Z")

</div>

Hi, I am programming a simple application that does two tasks in parallel. First task is some sound processing using Ruby/GStreamer, while the second one is monitoring STDIN for commands changing way how sounds got …

---

## [Gtk::Builder in windows](https://www.ruby-forum.com/t/gtk-builder-in-windows/179670)

<div class="topic-metadata">

**Author:** [@ribbed21](https://www.ruby-forum.com/u/ribbed21)\
**Replies:** 0\
**Last updated:** [December 1, 2009, 3:08pm UTC](https://www.ruby-forum.com/t/gtk-builder-in-windows/179670 "2009-12-01T15:08:52Z")

</div>

Hello everybody, is there any way that you're aware of to load an interface definition made following the GtkBuilder format under windows? There is no Gtk::Builder in the ruby-gnome2 bindings for windows, i believe du…

---

## [Is this rbbr bug known?](https://www.ruby-forum.com/t/is-this-rbbr-bug-known/177014)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [November 25, 2009, 7:15pm UTC](https://www.ruby-forum.com/t/is-this-rbbr-bug-known/177014 "2009-11-25T19:15:47Z")

</div>

hi, is this rbbr bug known? it’s today’s svn. $ rbbr (eval): line 1 GLib-GObject-CRITICAL \*\*:g\_boxed\_type\_register\_static: assertion \`g\_type\_from\_name (name) == 0’ failed (eval):1: \[BUG\] rbgobj\_define\_class: Inval…

---

## [Problem with queries in Ruby/GStreamer](https://www.ruby-forum.com/t/problem-with-queries-in-ruby-gstreamer/179190)

<div class="topic-metadata">

**Author:** [@Marcin\_L](https://www.ruby-forum.com/u/Marcin_L)\
**Replies:** 0\
**Last updated:** [November 19, 2009, 10:05am UTC](https://www.ruby-forum.com/t/problem-with-queries-in-ruby-gstreamer/179190 "2009-11-19T10:05:58Z")

</div>

Hi, I’m writing a multimedia app using ruby 1.8.6 and Ruby/GStreamer bindings from ruby-gnome2 0.19.3. A lot of things works very well, as you can see at hiki’s Samples page - i’ve uploaded a few basic scripts that …

---

## [Cairo vs drawable](https://www.ruby-forum.com/t/cairo-vs-drawable/179095)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_B](https://www.ruby-forum.com/u/Dobai-Pataky_B)\
**Replies:** 0\
**Last updated:** [November 17, 2009, 3:13pm UTC](https://www.ruby-forum.com/t/cairo-vs-drawable/179095 "2009-11-17T15:13:02Z")

</div>

hi, which one is faster? on a Gdk::Drawable draw with theese functions? : http://ruby-gnome2.sourceforge.jp/hiki.cgi?cmd=view&p=tut-gtk2-agtkw-draww&key=draw or create a cairo context and draw on that with cairo? i…

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

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