# Ruby-Gnome 2

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

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

---

## [Question binding gtk\_text\_mark\_new](https://www.ruby-forum.com/t/question-binding-gtk-text-mark-new/109219)

<div class="topic-metadata">

**Author:** [@blueprint](https://www.ruby-forum.com/u/blueprint)\
**Replies:** 1\
**Last updated:** [July 13, 2007, 2:42pm UTC](https://www.ruby-forum.com/t/question-binding-gtk-text-mark-new/109219 "2007-07-13T14:42:24Z")

</div>

http://developer.gnome.org/doc/API/2.0/gtk/GtkTextMark.html#id3010285 This function looks like a good candidate for a mandatory argument and an optional argument: the name can be NULL, so should be optional in Ruby co…

---

## [Editable cells, does each column need its own renderer?](https://www.ruby-forum.com/t/editable-cells-does-each-column-need-its-own-renderer/108882)

<div class="topic-metadata">

**Author:** [@alex](https://www.ruby-forum.com/u/alex)\
**Replies:** 1\
**Last updated:** [July 11, 2007, 11:46pm UTC](https://www.ruby-forum.com/t/editable-cells-does-each-column-need-its-own-renderer/108882 "2007-07-11T23:46:34Z")

</div>

In the example that comes with ruby-gtk: editable\_cells.rb each column gets its own renderer and each renderer is given a column number so that when the renderer gets the ‘edited’ signal, it already knows which data …

---

## [Fw: \[ruby-gnome2-cvs\] CVS: ruby-gnome2/gdkpixbuf rbgdk-pixbu](https://www.ruby-forum.com/t/fw-ruby-gnome2-cvs-cvs-ruby-gnome2-gdkpixbuf-rbgdk-pixbu/109131)

<div class="topic-metadata">

**Author:** [@Masao\_M](https://www.ruby-forum.com/u/Masao_M)\
**Replies:** 1\
**Last updated:** [July 11, 2007, 10:33pm UTC](https://www.ruby-forum.com/t/fw-ruby-gnome2-cvs-cvs-ruby-gnome2-gdkpixbuf-rbgdk-pixbu/109131 "2007-07-11T22:33:30Z")

</div>

Hi Guillaume, I reverted this change. Please ask us before changing APIs. This is Gdk::Pixbuf#scale!. So dest and src should be changed from C GTK. Begin forwarded message: Date: Sat, 07 Jul 2007 07:46:11 -0700 Fr…

---

## [Policy for access to widget struct data](https://www.ruby-forum.com/t/policy-for-access-to-widget-struct-data/108874)

<div class="topic-metadata">

**Author:** [@blueprint](https://www.ruby-forum.com/u/blueprint)\
**Replies:** 4\
**Last updated:** [July 8, 2007, 7:19pm UTC](https://www.ruby-forum.com/t/policy-for-access-to-widget-struct-data/108874 "2007-07-08T19:19:59Z")

</div>

I need access to GtkButton-\>event\_window from my program. I see that it is not binded, but for example GtkWidget-\>window is equivalent problem, and binded. Is there any policy regarding widget struct data? Can I simpl…

---

## [Adobe Flash in GtkMozEmbed?](https://www.ruby-forum.com/t/adobe-flash-in-gtkmozembed/106347)

<div class="topic-metadata">

**Author:** [@chriscole](https://www.ruby-forum.com/u/chriscole)\
**Replies:** 3\
**Last updated:** [July 8, 2007, 5:49pm UTC](https://www.ruby-forum.com/t/adobe-flash-in-gtkmozembed/106347 "2007-07-08T17:49:48Z")

</div>

Hi, is it possible to play Flash videos with GtkMozEmbed? If I use the RubyZilla sample or the ruby-gecko.rb sample, Flash videos aren’t played on YouTube, video.google etc. If I enter about:plugins in the address ba…

---

## [You can drag and drop tabs in Gtk::Notebooks after all!](https://www.ruby-forum.com/t/you-can-drag-and-drop-tabs-in-gtk-notebooks-after-all/108825)

<div class="topic-metadata">

**Author:** [@liberte](https://www.ruby-forum.com/u/liberte)\
**Replies:** 0\
**Last updated:** [July 7, 2007, 6:09pm UTC](https://www.ruby-forum.com/t/you-can-drag-and-drop-tabs-in-gtk-notebooks-after-all/108825 "2007-07-07T18:09:52Z")

</div>

Hi I’ve just noticed that it is possible to enable drag and drop reordering of tabs in a Gtk::Notebook in Ruby-Gnome2. I’m posting this to the list because: (a) I didn’t know about it until now, I’ve been using the t…

---

## [HEAD doesn't build](https://www.ruby-forum.com/t/head-doesnt-build/108636)

<div class="topic-metadata">

**Author:** [@blueprint](https://www.ruby-forum.com/u/blueprint)\
**Replies:** 1\
**Last updated:** [July 6, 2007, 1:39pm UTC](https://www.ruby-forum.com/t/head-doesnt-build/108636 "2007-07-06T13:39:23Z")

</div>

I think it might be related to your recent commits but I am not sure. gcc -I. -I. -I/usr/lib/ruby/1.8/i586-linux-gnu -I…/./glib -DHAVE\_RB\_DEFINE\_ALLOC\_FUNC -DHAVE\_RB\_BLOCK\_PROC -DHAVE\_OBJECT\_ALLOCATE -DHAVE\_NODE\_ATTRA…

---

## [Extconf.rb won't build makefile](https://www.ruby-forum.com/t/extconf-rb-wont-build-makefile/108667)

<div class="topic-metadata">

**Author:** [@Lindsay\_Morris](https://www.ruby-forum.com/u/Lindsay_Morris)\
**Replies:** 1\
**Last updated:** [July 5, 2007, 9:34pm UTC](https://www.ruby-forum.com/t/extconf-rb-wont-build-makefile/108667 "2007-07-05T21:34:22Z")

</div>

My mkmf.log says: conftest.c: In function t': conftest.c:3: error:rb\_define\_alloc\_func’ undeclared (first use in this function) conftest.c:3: error: (Each undeclared identifier is reported only once conftest.c:3: er…

---

## [Ruby Gnome2 Win32 installer](https://www.ruby-forum.com/t/ruby-gnome2-win32-installer/108630)

<div class="topic-metadata">

**Author:** [@Alberto\_Ruiz](https://www.ruby-forum.com/u/Alberto_Ruiz)\
**Replies:** 2\
**Last updated:** [July 5, 2007, 3:56pm UTC](https://www.ruby-forum.com/t/ruby-gnome2-win32-installer/108630 "2007-07-05T15:56:23Z")

</div>

Hello, first of all, I want to congratulate the effort of this project, you are doing an excellent work. My name is Alberto Ruiz, and I’m a contributor of the pygtk project. One of my main worries is to get Gtk+ and…

---

## [New features in upcoming gtk+ 2.12](https://www.ruby-forum.com/t/new-features-in-upcoming-gtk-2-12/108449)

<div class="topic-metadata">

**Author:** [@blueprint](https://www.ruby-forum.com/u/blueprint)\
**Replies:** 2\
**Last updated:** [July 4, 2007, 9:35am UTC](https://www.ruby-forum.com/t/new-features-in-upcoming-gtk-2-12/108449 "2007-07-04T09:35:28Z")

</div>

I’m working on adding the new features of upcoming gtk+ 2.12. For the moment, I’ll need to use GTK\_CHECK\_VERSION(2,11,0) as 2.12 is not out, I’m wondering whether you would like it stays like this or we bump to 2.12 w…

---

## [Ruby Plugins for GNOME, Gedit, Rhythmbox, Nautilus, Totem,](https://www.ruby-forum.com/t/ruby-plugins-for-gnome-gedit-rhythmbox-nautilus-totem/107646)

<div class="topic-metadata">

**Author:** [@gnomo](https://www.ruby-forum.com/u/gnomo)\
**Replies:** 7\
**Last updated:** [June 29, 2007, 3:26pm UTC](https://www.ruby-forum.com/t/ruby-plugins-for-gnome-gedit-rhythmbox-nautilus-totem/107646 "2007-06-29T15:26:56Z")

</div>

The Gnome Desktop has interesting applications that can be extended by plugins written in Python or C. I didn’t find any information about if is possible to write this plugins in Ruby, too. I don’t know if these plugi…

---

## [GC "hints" needed from rg2, to free up memory?](https://www.ruby-forum.com/t/gc-hints-needed-from-rg2-to-free-up-memory/108135)

<div class="topic-metadata">

**Author:** [@blueprint](https://www.ruby-forum.com/u/blueprint)\
**Replies:** 1\
**Last updated:** [June 29, 2007, 11:02am UTC](https://www.ruby-forum.com/t/gc-hints-needed-from-rg2-to-free-up-memory/108135 "2007-06-29T11:02:55Z")

</div>

I’m currently coding a new program, which opens a lot of large images (photos) with Gdk::Pixbuf. These are “freed up” correctly (no more alive reference to the object in my program), but the ruby program is never free…

---

## [Best way to create table-like lists?](https://www.ruby-forum.com/t/best-way-to-create-table-like-lists/107577)

<div class="topic-metadata">

**Author:** [@joaz](https://www.ruby-forum.com/u/joaz)\
**Replies:** 5\
**Last updated:** [June 28, 2007, 5:30pm UTC](https://www.ruby-forum.com/t/best-way-to-create-table-like-lists/107577 "2007-06-28T17:30:49Z")

</div>

Hi, I tried different approaches to create table-like lists. What I need a head (1-3 rows), non-scrollable a scrollable body head and body cells must align My first draft was: VBox -\> Table (for head), childs are l…

---

## [GLib.filename\_from\_uri(uri)](https://www.ruby-forum.com/t/glib-filename-from-uri-uri/107642)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [June 26, 2007, 6:42am UTC](https://www.ruby-forum.com/t/glib-filename-from-uri-uri/107642 "2007-06-26T06:42:21Z")

</div>

Hi, the docs for GLib.filename\_from\_uri(uri) is wrong. From the docs it should return the filename from the uri (String), but it returns an Array of \[filename, hostname\]. Cheers detlef This SF.net email is sponsor…

---

## [\[BUG\] libglade, gettext and empty msgstr](https://www.ruby-forum.com/t/bug-libglade-gettext-and-empty-msgstr/104402)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [June 25, 2007, 3:21pm UTC](https://www.ruby-forum.com/t/bug-libglade-gettext-and-empty-msgstr/104402 "2007-06-25T15:21:08Z")

</div>

Hi, the default behaviour of gettext is, that if a msgstr is empty the text from the msgid is displayed. This works perfectly with strings that are extracted from ruby files. But if the string comes from a glade file …

---

## [Missing sentence in wiki](https://www.ruby-forum.com/t/missing-sentence-in-wiki/107450)

<div class="topic-metadata">

**Author:** [@breko](https://www.ruby-forum.com/u/breko)\
**Replies:** 1\
**Last updated:** [June 22, 2007, 8:36pm UTC](https://www.ruby-forum.com/t/missing-sentence-in-wiki/107450 "2007-06-22T20:36:21Z")

</div>

Hello, on the page http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gtk%3A%3AMessageDialog#ButtonsType there is something missing. Currently: “Prebuilt sets of buttons for the dialog. If none of these choices are appropri…

---

## [Signal handling causes memory leaks](https://www.ruby-forum.com/t/signal-handling-causes-memory-leaks/107210)

<div class="topic-metadata">

**Author:** [@vseguip](https://www.ruby-forum.com/u/vseguip)\
**Replies:** 18\
**Last updated:** [June 22, 2007, 4:04pm UTC](https://www.ruby-forum.com/t/signal-handling-causes-memory-leaks/107210 "2007-06-22T16:04:15Z")

</div>

I reported this as bug #1724347, but it seems like the bug-list is less active than the forum list, so I’ll repost it here just in case someone has an idea to help me. I have a ruby defined GObject that is a singleton…

---

## [GTK xwindows id](https://www.ruby-forum.com/t/gtk-xwindows-id/107401)

<div class="topic-metadata">

**Author:** [@Erwan\_Masson](https://www.ruby-forum.com/u/Erwan_Masson)\
**Replies:** 1\
**Last updated:** [June 21, 2007, 5:05pm UTC](https://www.ruby-forum.com/t/gtk-xwindows-id/107401 "2007-06-21T17:05:46Z")

</div>

Hello, I would like to grab the x windows id to a GTK Drawing Area object. I have seen that is possible to do that easily in python, but I am not be able to retrieve this info on ruby. In Python I can grab like thi…

---

## [GnomeVFS::Monitor](https://www.ruby-forum.com/t/gnomevfs-monitor/107076)

<div class="topic-metadata">

**Author:** [@asplake](https://www.ruby-forum.com/u/asplake)\
**Replies:** 1\
**Last updated:** [June 18, 2007, 12:25pm UTC](https://www.ruby-forum.com/t/gnomevfs-monitor/107076 "2007-06-18T12:25:37Z")

</div>

Does anyone know some tricks to make GnomeVFS::Monitor work? Here is a sample app (a port of gnomevfs-monitor to Ruby) that I’ve been trying; any guess on where it’s wrong? (This is on FreeBSD 6.2-RC2 using ruby-gnom…

---

## [Display question mark in my app](https://www.ruby-forum.com/t/display-question-mark-in-my-app/106300)

<div class="topic-metadata">

**Author:** [@wet](https://www.ruby-forum.com/u/wet)\
**Replies:** 1\
**Last updated:** [June 15, 2007, 6:12pm UTC](https://www.ruby-forum.com/t/display-question-mark-in-my-app/106300 "2007-06-15T18:12:28Z")

</div>

i follow the steps described in this site(http://ruby-gnome2.sourceforge.jp/hiki.cgi?tips\_rubyscript2exe) to create my standalone ruby app with gtk2. and this exe file does run well except all the characters display i…

---

## [Garbage Collection causes segfaults](https://www.ruby-forum.com/t/garbage-collection-causes-segfaults/156614)

<div class="topic-metadata">

**Author:** [@conan](https://www.ruby-forum.com/u/conan)\
**Replies:** 7\
**Last updated:** [June 15, 2007, 6:00pm UTC](https://www.ruby-forum.com/t/garbage-collection-causes-segfaults/156614 "2007-06-15T18:00:26Z")

</div>

Hi. I’m having a problem with a Ruby-Gnome2 application I’ve been building. For some reason my program randomly segfaults. I fixed this by disabling garbage collection(Maybe GC was cleaning up gnome objects that we…

---

## [Dummie. Can not run scripts with gtk+](https://www.ruby-forum.com/t/dummie-can-not-run-scripts-with-gtk/106003)

<div class="topic-metadata">

**Author:** [@cproger](https://www.ruby-forum.com/u/cproger)\
**Replies:** 1\
**Last updated:** [June 14, 2007, 1:42am UTC](https://www.ruby-forum.com/t/dummie-can-not-run-scripts-with-gtk/106003 "2007-06-14T01:42:39Z")

</div>

I downloaded installer ruby-gnome2-0.16.0-1-i386-mswin32.exe and have run it but can not run sample scripts with gtk. Of course ruby itself is installed. The error message is: gem\_original\_require no such file to load…

---

## [\[BUG\] can't get properties](https://www.ruby-forum.com/t/bug-cant-get-properties/106546)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [June 13, 2007, 5:50pm UTC](https://www.ruby-forum.com/t/bug-cant-get-properties/106546 "2007-06-13T17:50:37Z")

</div>

Hi, with the current ruby gnome from CVS i can’t get object properties. The following example: #!/usr/bin/ruby require ‘gtk2’ class Win def initialize @win = Gtk::Window.new @win.title = “a test” @button = Gtk::…

---

## [Gtk::Table](https://www.ruby-forum.com/t/gtk-table/106526)

<div class="topic-metadata">

**Author:** [@Richard\_Midwinter](https://www.ruby-forum.com/u/Richard_Midwinter)\
**Replies:** 2\
**Last updated:** [June 11, 2007, 5:49pm UTC](https://www.ruby-forum.com/t/gtk-table/106526 "2007-06-11T17:49:54Z")

</div>

I’m trying to add some items to a Gtk::Table which has been created by Glade, from code invoked on a button press. The code runs without error but widgets aren’t added to the table, or if they are they’re not visible …

---

## [Moving rows included on a gtk treeview using a single button](https://www.ruby-forum.com/t/moving-rows-included-on-a-gtk-treeview-using-a-single-button/105138)

<div class="topic-metadata">

**Author:** [@Julio\_CSSSSsar\_Sosa](https://www.ruby-forum.com/u/Julio_CSSSSsar_Sosa)\
**Replies:** 2\
**Last updated:** [June 9, 2007, 5:36am UTC](https://www.ruby-forum.com/t/moving-rows-included-on-a-gtk-treeview-using-a-single-button/105138 "2007-06-09T05:36:03Z")

</div>

Hello everybody i’m new here :), I’m trying to get handle of gtk treeviews, right now, i know how to create rows, columns and some else, but i have a problem, i want to move the rows using a button, come on the class…

---

## [Selection in TreeView](https://www.ruby-forum.com/t/selection-in-treeview/106175)

<div class="topic-metadata">

**Author:** [@alake](https://www.ruby-forum.com/u/alake)\
**Replies:** 3\
**Last updated:** [June 7, 2007, 9:45am UTC](https://www.ruby-forum.com/t/selection-in-treeview/106175 "2007-06-07T09:45:37Z")

</div>

I have several columns in a row. The following code, which I’ve borrowed from another post and modified, selects the row correctly, but I, a Ruby newbie, don’t know how to query which row the user clicked on. The lin…

---

## [Uimanager toolitem label](https://www.ruby-forum.com/t/uimanager-toolitem-label/105801)

<div class="topic-metadata">

**Author:** [@alake](https://www.ruby-forum.com/u/alake)\
**Replies:** 0\
**Last updated:** [June 3, 2007, 1:40am UTC](https://www.ruby-forum.com/t/uimanager-toolitem-label/105801 "2007-06-03T01:40:56Z")

</div>

How can I change the label in a toolitem (button) generated with UIManager? Thanks. This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XM…

---

## [Moving rows included on a gtk treeview using a single button](https://www.ruby-forum.com/t/moving-rows-included-on-a-gtk-treeview-using-a-single-button/105136)

<div class="topic-metadata">

**Author:** [@Julio\_CSSSSsar\_Sosa](https://www.ruby-forum.com/u/Julio_CSSSSsar_Sosa)\
**Replies:** 2\
**Last updated:** [May 26, 2007, 8:41am UTC](https://www.ruby-forum.com/t/moving-rows-included-on-a-gtk-treeview-using-a-single-button/105136 "2007-05-26T08:41:31Z")

</div>

Sorry i don’t have experience using mailing list =( Hello everybody i’m new here :), I’m trying to get handle of gtk treeviews, right now, i know how to create rows, columns and some else, but i have a problem, i wa…

---

## [Moving rows included on a gtk treeview using a single button](https://www.ruby-forum.com/t/moving-rows-included-on-a-gtk-treeview-using-a-single-button/105135)

<div class="topic-metadata">

**Author:** [@Julio\_CSSSSsar\_Sosa](https://www.ruby-forum.com/u/Julio_CSSSSsar_Sosa)\
**Replies:** 0\
**Last updated:** [May 26, 2007, 3:38am UTC](https://www.ruby-forum.com/t/moving-rows-included-on-a-gtk-treeview-using-a-single-button/105135 "2007-05-26T03:38:12Z")

</div>

Hello everybody i’m new here :), I’m trying to get handle of gtk treeviews, right now, i know how to create rows, columns and some else, but i have a problem, i want to move the rows using a button, come on the class…

---

## [Magick::Image in gtk](https://www.ruby-forum.com/t/magick-image-in-gtk/104884)

<div class="topic-metadata">

**Author:** [@dgm](https://www.ruby-forum.com/u/dgm)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 3:47pm UTC](https://www.ruby-forum.com/t/magick-image-in-gtk/104884 "2007-05-23T15:47:14Z")

</div>

Hi, I am experiencing problem to import a Magick::Image in a Gtk::Image to display it. I use the to\_blob() method from Magick::Image to get the data and pass it to a Gdk::Pixbuf with pix=Gdk::Pixbuf.new(blob, Gdk::P…

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

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