Displaying 4 results from an estimated 4 matches for "icon_name".
2017 Sep 22
3
gtk3 update causing havoc
On my lab systems, the automatic updates were failing because of the
problems with ipod libraries from EPEL being in the way. It turns out
that was a good thing, because when I "fixed" it, a massive set of
packages was updated, including the new gtk3.
These packages are the ones causing problems, I think.
gtk3-3.22.10-4.el7.x86_64
gtk3-devel-3.22.10-4.el7.x86_64
In the release notes,
2006 May 31
1
Best way to render stuff inside a div and pass variables?
...hout leaving
the page, i want the content of a <div> to change accordingly if I click
the link1 I want the content1 to show up inside the <div>here</div>
I made it possible by using:
<%= render :partial => "icons", :collection => @packages, :locals => {
:@icon_name => "-add-black-" } %>
( Passing a string to the render partial.... )
But how do you call a "render :partial ..." using a link or a button...
In the Agile Web Development with Rails book, the shopping cart is made
using i think a "component"... but I heard that...
2006 Nov 06
3
HtmlWindow and friends
Hi
Attached is a patch to add HtmlWindow and some of its friends, including
HtmlEasyPrinting. Also a sample.
I haven''t tried exposing the parsing and rendering API yet to allow
custom tags etc - I just wanted to get basic HTML and the 0.6.0
compatibility classes first. There may well be some quite easy classes left.
There''s one ugly kludge to get OnOpeningURL to compile -
2006 Nov 12
0
[724] trunk/wxruby2: Initial commit of HtmlWindow functionality
...;', self)
+ print.preview_text(@html_win.html_src)
+ end
+
+ def on_print
+ print = Wx::HtmlEasyPrinting.new(''Print HTML'', self)
+ print.print_text(@html_win.html_src)
+ end
+
+ # utility function to find an icon relative to this ruby script
+ def local_icon_file(icon_name)
+ File.join( File.dirname(__FILE__), icon_name)
+ end
+end
+
+# Wx::App is the container class for any wxruby app - only a single
+# instance is required
+class HtmlApp < Wx::App
+ def on_init
+ frame = HtmlFrame.new("Minimal wxRuby App",
+ Wx::Poi...