# Desktop

**URL:** https://www.ruby-forum.com/c/desktop/34.md?page=16

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

---

## [Standard icon in custom dialog](https://www.ruby-forum.com/t/standard-icon-in-custom-dialog/209531)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [July 16, 2011, 8:22am UTC](https://www.ruby-forum.com/t/standard-icon-in-custom-dialog/209531 "2011-07-16T08:22:03Z")

</div>

Is there any way to grab a standard icon for a custom dialog? I have a message box with Wx::ICON\_ERROR, and I want to add a check box to it. The only way I know to do this is to create a custom dialog. Then I can us…

---

## [Gtk2 v1.0.0 update issue on Win7/MinGW](https://www.ruby-forum.com/t/gtk2-v1-0-0-update-issue-on-win7-mingw/209406)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [July 13, 2011, 3:59pm UTC](https://www.ruby-forum.com/t/gtk2-v1-0-0-update-issue-on-win7-mingw/209406 "2011-07-13T15:59:11Z")

</div>

It looks like I’m trying to update before 1.0.0 has been officially released and before the x86-mingw32 binary gems are available (or things are still resolving with S3 as per @gemcutter recent tweets), but just in c…

---

## [Enable input and Ruby true/false semantics](https://www.ruby-forum.com/t/enable-input-and-ruby-true-false-semantics/208992)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [July 11, 2011, 4:31pm UTC](https://www.ruby-forum.com/t/enable-input-and-ruby-true-false-semantics/208992 "2011-07-11T16:31:26Z")

</div>

I’m working on enabling/disabling controls, and I keep getting exceptions like the following: mysource.rb:262:in enable': Expected argument 1 of type bool, but got NilClass nil (TypeError) in SWIG method 'Enable' from …

---

## [Expanding a flex grid sizer horizontally](https://www.ruby-forum.com/t/expanding-a-flex-grid-sizer-horizontally/209101)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [July 8, 2011, 9:23pm UTC](https://www.ruby-forum.com/t/expanding-a-flex-grid-sizer-horizontally/209101 "2011-07-08T21:23:42Z")

</div>

wxruby-users mailing list removed\_email\_address@domain.invalid http://rubyforge.org/mailman/listinfo/wxruby-users

---

## [Problem with using GLib::File](https://www.ruby-forum.com/t/problem-with-using-glib-file/207937)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [June 29, 2011, 2:15pm UTC](https://www.ruby-forum.com/t/problem-with-using-glib-file/207937 "2011-06-29T14:15:06Z")

</div>

Hello I tried to put together a test application that opens a file. Unfortunately, the line with GLib::File.read returns: fdialog.rb:16:in \`filechooserbutton1\_file\_set\_cb’: uninitialized constant GLib::File I use r…

---

## [Hicolor warning messages](https://www.ruby-forum.com/t/hicolor-warning-messages/208783)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [June 27, 2011, 6:12am UTC](https://www.ruby-forum.com/t/hicolor-warning-messages/208783 "2011-06-27T06:12:28Z")

</div>

I used gtk2 to create GUI interface, but it show some warning message about ‘hicolor’ can’t find and I should install it? it show a address Index of /releases But how to install the icon-theme on windows? Thanks.

---

## [0.90.9 release tarball incomplete?](https://www.ruby-forum.com/t/0-90-9-release-tarball-incomplete/208560)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [June 23, 2011, 2:41pm UTC](https://www.ruby-forum.com/t/0-90-9-release-tarball-incomplete/208560 "2011-06-23T14:41:38Z")

</div>

Hello, I was trying to get gio working and after some searching concluded that ruby-gnome2 0.19.3 packaged in Debian does not have that. I downloaded ruby-gnome2-all-0.90.9 and while the readme mentions libraries lik…

---

## [Printing problem](https://www.ruby-forum.com/t/printing-problem/208595)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [June 22, 2011, 7:24am UTC](https://www.ruby-forum.com/t/printing-problem/208595 "2011-06-22T07:24:16Z")

</div>

Hi, I am making a POS software for my own use using Ruby-Gtk and now I’m in trouble with printing I need to print to 9.5x5.5in continuous form paper with Epson LX-300+ I use this sample I found on Gtk::Print\* sample …

---

## [GTK theme plugins?](https://www.ruby-forum.com/t/gtk-theme-plugins/208306)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [June 14, 2011, 9:06pm UTC](https://www.ruby-forum.com/t/gtk-theme-plugins/208306 "2011-06-14T21:06:47Z")

</div>

I’ve recently started investigating the gtk2 gem with Ruby 1.9.2 on Windows using the RubyInstaller build recipes. It was a pleasant install experience and I think it’s clever that you’ve bundled the dependencies unde…

---

## [\[ANN\] Ruby-GNOME2 0.90.9](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-9/208143)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [June 11, 2011, 6:20am UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-90-9/208143 "2011-06-11T06:20:53Z")

</div>

Hi, The Ruby-GNOME2 project released Ruby-GNOME2 0.90.9: Download ruby-gtk2-0.90.9.tar.gz (Ruby-GNOME 2) Download ruby-gnome2-all-0.90.9.tar.gz (Ruby-GNOME 2) === Install % gem install gtk2 === Summary A bug fix r…

---

## [Keeping columns in view in a grid](https://www.ruby-forum.com/t/keeping-columns-in-view-in-a-grid/207761)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [June 7, 2011, 5:05pm UTC](https://www.ruby-forum.com/t/keeping-columns-in-view-in-a-grid/207761 "2011-06-07T17:05:23Z")

</div>

I’m writing an application using wxruby in which the main portion is essentially a spreadsheet using a Grid widget. The extent of the Grid is such that it exceeds the available space that can be seen at once, so it …

---

## [Wx::CheckListBox (maybe all ControlsWithItems?) oddities](https://www.ruby-forum.com/t/wx-checklistbox-maybe-all-controlswithitems-oddities/207954)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [June 7, 2011, 12:33am UTC](https://www.ruby-forum.com/t/wx-checklistbox-maybe-all-controlswithitems-oddities/207954 "2011-06-07T00:33:44Z")

</div>

Hi, OSX 10.6.7 w/ wxRuby 2.0.1 from rubyforge, reproducible on Windows 7. I’m using a Wx::CheckListBox with LB\_MULTIPLE LB\_NEEDED\_SB LB\_SINGLE LB\_SORT I can reproduce the following behavior: 1.) Single selection do…

---

## [Problem inserting row in a Grid](https://www.ruby-forum.com/t/problem-inserting-row-in-a-grid/207873)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [June 6, 2011, 7:25pm UTC](https://www.ruby-forum.com/t/problem-inserting-row-in-a-grid/207873 "2011-06-06T19:25:38Z")

</div>

I’m having a problem inserting a row in a Grid under Windows. The following stripped-down program illustrated the problem: require ‘rubygems’ require ‘wx’ include Wx class TestApp \< App def on\_init frame = Fram…

---

## [Two things on documentation](https://www.ruby-forum.com/t/two-things-on-documentation/200809)

<div class="topic-metadata">

**Author:** [@nikuSESS](https://www.ruby-forum.com/u/nikuSESS)\
**Replies:** 21\
**Last updated:** [June 4, 2011, 10:00pm UTC](https://www.ruby-forum.com/t/two-things-on-documentation/200809 "2011-06-04T22:00:32Z")

</div>

I would like for my GLib::File documentation to be put on the homepage. It’s been almost two months now. I am sick and tired of seeing Internal Server Error when I try to browse the documentation. Is anyone beside m…

---

## [Missing Config\* and FileHistory classes](https://www.ruby-forum.com/t/missing-config-and-filehistory-classes/207552)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [May 27, 2011, 9:26pm UTC](https://www.ruby-forum.com/t/missing-config-and-filehistory-classes/207552 "2011-05-27T21:26:32Z")

</div>

\[versions:\] wxruby (2.0.1 x86-mingw32) ruby 1.8.7 (2010-01-10 patchlevel 249) \[i386-mingw32\] I am thoroughly enjoying using WxRuby to design a GUI for my application. It seems to be missing a few pieces of the frame…

---

## [Printing.rb run time error](https://www.ruby-forum.com/t/printing-rb-run-time-error/207496)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [May 27, 2011, 12:50am UTC](https://www.ruby-forum.com/t/printing-rb-run-time-error/207496 "2011-05-27T00:50:39Z")

</div>

I have attached a copy of printing.rb for reference. When running this program which I got from the samples is that it gets an error under the following scenario. 1.0 Run the program. 2.0 Select the File/PageSet …

---

## [Documentation morass](https://www.ruby-forum.com/t/documentation-morass/207360)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 25, 2011, 9:19pm UTC](https://www.ruby-forum.com/t/documentation-morass/207360 "2011-05-25T21:19:45Z")

</div>

I am having a horrible time finding data that I need to learn ruby and wxruby. I even downloaded the source in order to try to use the Windows Search tools on it. For Instance, the printing.rb sample starts with W…

---

## [Wxruby2-0-1 not working on windows 2008](https://www.ruby-forum.com/t/wxruby2-0-1-not-working-on-windows-2008/207060)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 10\
**Last updated:** [May 17, 2011, 5:55pm UTC](https://www.ruby-forum.com/t/wxruby2-0-1-not-working-on-windows-2008/207060 "2011-05-17T17:55:23Z")

</div>

Hi everyone, I’ve installed wxruby-2.0.1-x86-mswin32-60 on windows 2008 via gem install. When I try to use it I get a “Specified module could not be found: wxruby2.so” Needless to say I have the file where it’s supp…

---

## [Device context (get\_dc) Question from printing.rb in wxRuby samples](https://www.ruby-forum.com/t/device-context-get-dc-question-from-printing-rb-in-wxruby-samples/206740)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [May 15, 2011, 11:15pm UTC](https://www.ruby-forum.com/t/device-context-get-dc-question-from-printing-rb-in-wxruby-samples/206740 "2011-05-15T23:15:54Z")

</div>

I am using Windows XP SP 3 but want to stay general. Below is a method within printing.rb. I have added comments marked by #–. My question is about get\_dc. The device context is obviously created and the code wo…

---

## [Small correction in sample code](https://www.ruby-forum.com/t/small-correction-in-sample-code/206715)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 15, 2011, 11:02pm UTC](https://www.ruby-forum.com/t/small-correction-in-sample-code/206715 "2011-05-15T23:02:19Z")

</div>

After some of our members, helped me understand the ampersand problem, I realized that there is a small error in the menu list. I fixed it in the attached file. The change is at line 769. There were two instance…

---

## [Which is more rich and easy, wxRuby or fxRuby?](https://www.ruby-forum.com/t/which-is-more-rich-and-easy-wxruby-or-fxruby/206902)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 13, 2011, 4:22pm UTC](https://www.ruby-forum.com/t/which-is-more-rich-and-easy-wxruby-or-fxruby/206902 "2011-05-13T16:22:26Z")

</div>

Which one is more feature rich and easy to use, wxRuby or fxRuby? Can I develop a full-fledged client-server Windows based app. with wxRuby?

---

## [Linkage confusion](https://www.ruby-forum.com/t/linkage-confusion/206808)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [May 10, 2011, 10:46pm UTC](https://www.ruby-forum.com/t/linkage-confusion/206808 "2011-05-10T22:46:19Z")

</div>

In the printinglrb sample a code line says dc= get\_dc; I have searched my ruby installation for a get\_dc method and found it nowhere except in printing.rb. I do find a getdc in Petazold. After the dc =get\_dc line in …

---

## [Why the & in the middle of a string?](https://www.ruby-forum.com/t/why-the-in-the-middle-of-a-string/206680)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [May 9, 2011, 6:30am UTC](https://www.ruby-forum.com/t/why-the-in-the-middle-of-a-string/206680 "2011-05-09T06:30:22Z")

</div>

In the samples directory of WxRuby-ruby 192 there is a file called dialogs.rb. Within this file there is a series of menu appends . A subset of is shown below. file\_menu.append(DIALOGS\_CHOOSE\_COLOUR, "&Choose col…

---

## [Ruby gnome 2 and signal\_connect method](https://www.ruby-forum.com/t/ruby-gnome-2-and-signal-connect-method/226221)

<div class="topic-metadata">

**Author:** [@silkmoth](https://www.ruby-forum.com/u/silkmoth)\
**Replies:** 3\
**Last updated:** [May 7, 2011, 8:14pm UTC](https://www.ruby-forum.com/t/ruby-gnome-2-and-signal-connect-method/226221 "2011-05-07T20:14:48Z")

</div>

Hi, I am writting a little script for displaying a list of icons and when i clic on one of the icon it should return the absolute path of the icon. So i create a windows widget which contain a table widget. In each ce…

---

## [Image as a frame background](https://www.ruby-forum.com/t/image-as-a-frame-background/206454)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [May 6, 2011, 2:20pm UTC](https://www.ruby-forum.com/t/image-as-a-frame-background/206454 "2011-05-06T14:20:14Z")

</div>

I have created a frame, and would like to set an image as it’s background. I am using DialogBlocks, and there is some sort of texture property where it appears like you can set an image as a packground. However, while…

---

## [How do you get a file to the printer using wxRuby?](https://www.ruby-forum.com/t/how-do-you-get-a-file-to-the-printer-using-wxruby/206616)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 6, 2011, 8:40am UTC](https://www.ruby-forum.com/t/how-do-you-get-a-file-to-the-printer-using-wxruby/206616 "2011-05-06T08:40:28Z")

</div>

Can someone point me to some documentation on how to use the printer using ruby 1.9.2 or WxRuby?

---

## [Install error - gtk2 on ubuntu natty (11.04)](https://www.ruby-forum.com/t/install-error-gtk2-on-ubuntu-natty-11-04/205535)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [May 2, 2011, 9:16pm UTC](https://www.ruby-forum.com/t/install-error-gtk2-on-ubuntu-natty-11-04/205535 "2011-05-02T21:16:49Z")

</div>

Hi everyone, I’ve tried to install gtk2 on ubuntu natty 11.04 but i receive an error during the installation: (after sudo gem1.9.1 install gtk2) checking for GCC… yes checking for rb\_define\_alloc\_func() in ruby.h… …

---

## [Help with relative address](https://www.ruby-forum.com/t/help-with-relative-address/206420)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 1, 2011, 12:12pm UTC](https://www.ruby-forum.com/t/help-with-relative-address/206420 "2011-05-01T12:12:51Z")

</div>

I am using the wiki tutorial to try to learn wxruby. I have programmed the windows interface many times. The first two samples ran fine, but now I am on the icon frame and need a little help. I am aware that I c…

---

## [Creating a child window?](https://www.ruby-forum.com/t/creating-a-child-window/206270)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [April 28, 2011, 1:21pm UTC](https://www.ruby-forum.com/t/creating-a-child-window/206270 "2011-04-28T13:21:25Z")

</div>

How do I create a child window, one that I can use as a separate control window for the parent window. I want to implement controls on desktop one and the parent window on desktop two. This would be for multiple deskt…

---

## [wxRuby global hotkeys](https://www.ruby-forum.com/t/wxruby-global-hotkeys/204060)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [April 27, 2011, 1:00am UTC](https://www.ruby-forum.com/t/wxruby-global-hotkeys/204060 "2011-04-27T01:00:02Z")

</div>

Is it possible to assign global hotkeys in wxRuby, I want to show window when user presses key combination? I’ve found that there is a Window#register\_hot\_key method - is this method cross-platform?

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

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