Displaying 12 results from an estimated 12 matches for "get_titl".
Did you mean:
get_title
2008 Nov 28
1
Rails Beginner.. NoMethodError
Dear all
I encounter error when I login my Web application
NoMethodError in AdminController#login
undefined method `get_title'' for #<Class:0x63ac78>
Here is part of my code
controller/admin_controller.rb
def login
session[:user_id] = nil
if request.post?
if User.authenticate(params[:name], params[:password])
user = User.find_by_name(params[:name])
if !user
user =...
2009 Dec 21
2
[PATCH] Fixed errors when the user selects a different remove libvirt host.
...st.py
+++ b/nodeadmin/changehost.py
@@ -27,7 +27,10 @@ CONNECTED_PAGE = 2
class ChangeHostConfigScreen(HostListConfigScreen):
def __init__(self):
- HostListConfigScreen.__init__(self, "Change Host")
+ HostListConfigScreen.__init__(self, "")
+
+ def get_title(self):
+ return "Currently: %s" % self.get_libvirt().get_url()
def get_elements_for_page(self, screen, page):
if page is CONNECTION_LIST_PAGE: return self.get_connection_list_page(screen)
@@ -36,7 +39,6 @@ class ChangeHostConfigScreen(HostListConfigScreen):...
2007 Jun 26
0
[1076] trunk/wxruby2/samples/etc/activation.rb: Added sample of IconizeEvent to activation sample
...| e | on_activate(e) }
</span><ins>+ evt_iconize { | e | on_iconize(e) }
</ins><span class="cx"> end
</span><span class="cx">
</span><ins>+
+ def on_iconize(event)
+ if event.iconized
+ puts "Frame ''#{get_title}'' was iconized"
+ else
+ puts "Frame ''#{get_title}'' was restored"
+ end
+ end
+
</ins><span class="cx"> def on_activate(event)
</span><span class="cx"> if event.get_active
</span><span...
2007 Aug 24
2
SURVEY: wxRuby API style
...ures become
part of core, standard wxRuby version 2.0. These are:
1) Allow ruby-style accessors as well as C++ style getters/setters. This
means you can write
frame.title = ''my frame''
# as well as
frame.set_title(''my frame'')
or
frame.title
# as well as
frame.get_title
2) Allow keyword constructors for window classes. This means you can write
frame = Wx::Frame.new(parent, :title => ''foo'', :style =>
Wx::DEFAULT_FRAME_STYLE)
as well as
frame = Wx::Frame.new(parent, -1, ''foo'', Wx::DEFAULT_POSITION,
Wx::DEFAULT_SIZE, Wx:...
2007 Mar 18
0
[894] branches/wxruby2/wxwidgets_282/doc/textile/window.txtl: Document changed Window methods in 2.6 -> 2.8 API
...cx"> * "Window#get_size":#Window_getsize
</span><span class="cx"> * "Window#get_sizer":#Window_getsizer
</span><span class="cx"> * "Window#get_text_extent":#Window_gettextextent
</span><del>-* "Window#get_title":#Window_gettitle
</del><span class="cx"> * "Window#get_tool_tip":#Window_gettooltip
</span><span class="cx"> * "Window#get_update_region":#Window_getupdateregion
</span><span class="cx"> * "Window#get_...
2007 Oct 03
0
[ wxruby-Patches-14416 ] Patch for Bug [#12747] Crash on exit
...ed? which returns the @closed attribute.
The close event sets this attribute to true
(evt_close { |e| @closed = true, e.skip })
And then I changed the on_activate and close_all method to this:
def on_activate(event)
if !closed?
if event.get_active
puts "Frame ''#{get_title}'' became activated"
set_status_text ''Active''
else
puts "Frame ''#{get_title}'' became deactivated"
set_status_text ''Inactive''
end
event.skip # important
end
end
and
def c...
2006 Oct 21
0
[699] trunk/wxruby2/doc/textile/window.txtl: Added paint method; corrected ret values for get_text_extent; removed
...t (optional).
</span><span class="cx"> * _use16_ If @true@, _string_ contains 16-bit characters. The default is @false@.
</span><span class="cx">
</span><del>-
-
-
-
-
</del><span class="cx"> h3(#Window_gettitle). Window#get_title
</span><span class="cx">
</span><span class="cx"> String *get_title*()
</span><span class="lines">@@ -1585,14 +1565,23 @@
</span><span class="cx">
</span><span class="cx"> h3(#Window_pa...
2007 Mar 29
0
[926] branches/wxruby2/wxwidgets_282: Update Dialog wx2.6 -> wx2.8 API, remove deprecations and cruft, update doc
...quot;> * "Dialog#get_affirmative_id":#Dialog_getaffirmativeid
</span><ins>+* "Dialog#get_escape_id":#Dialog_getescapeid
</ins><span class="cx"> * "Dialog#get_return_code":#Dialog_getreturncode
</span><del>-* "Dialog#get_title":#Dialog_gettitle
</del><span class="cx"> * "Dialog#get_tool_bar":#Dialog_gettoolbar
</span><span class="cx"> * "Dialog#iconize":#Dialog_iconize
</span><span class="cx"> * "Dialog#is_iconized":#Dia...
2007 Apr 30
0
[996] branches/wxruby2/wxwidgets_282: TopLevelWindow: add some 2.8 methods; document; add missing CentreOnScreen
...efaultitem
</ins><span class="cx"> * "TopLevelWindow#get_icon":#TopLevelWindow_geticon
</span><span class="cx"> * "TopLevelWindow#get_icons":#TopLevelWindow_geticons
</span><span class="cx"> * "TopLevelWindow#get_title":#TopLevelWindow_gettitle
</span><ins>+* "TopLevelWindow#handle_setting_change":#TopLevelWindow_handlesettingchange
</ins><span class="cx"> * "TopLevelWindow#is_active":#TopLevelWindow_isactive
</span><ins>+* "TopLevelWind...
2011 Feb 04
0
Wine release 1.3.13
...rograms/notepad: Correct sharing mode for opening file in notepad.
Alexander Morozov (10):
shell32/tests: Add tests for IShellDispatch::NameSpace.
shell32/tests: Fix test failure on some NT4.
shell32: Implement IShellDispatch::NameSpace.
shell32: Partially implement Folder::get_Title.
winemapi: Implement MAPIResolveName.
winemapi: Address can contain "SMTP:".
shell32: Release iTypeInfo on error.
shell32/tests: Add tests for FolderItem::get_Path.
ntoskrnl.exe: Add stub for IoGetDeviceInterfaces.
shell32/tests: NT4 doesn't have t...
2008 Jul 25
0
Wine release 1.1.2
...netQueryOption(INTERNET_OPTION_PROXY) implementation to vtbl.
wininet: Move remeining InternetQueryOption implementation to vtbl.
hhctrl.ocx: Fixed ref count handling in IOleClientSiteImpl.
mshtml: Added IHTMLDocument2::put_title implementation.
mshtml: Added IHTMLDocument2::get_title implementation.
mshtml: Added IHTMLDocument2::[get|put]_title tests.
mshtml: Added IOmNavigator::get_appCodeName implementation.
James Hawkins (24):
comctl32: Explicity set the number of tics before testing tic placement.
comctl32: Free the trackbar tics.
fusion: All...
2008 Jun 27
0
Wine release 1.1.0
...d IHTMLDOMNode::hasChildNodes implementation.
mshtml: Added IHTMLSelectElement::put_value implementation.
mshtml: Return NULL instead of empty string in IHTMLSelectElement::get_value.
mshtml: Added IHTMLSelectElement::put_onchange implementation.
mshtml: Added IHTMLElement::get_title implementation.
mshtml: Added IHTMLElement::put_title implementation.
mshtml: Added IHTMLInputElement::put_disabled implementation.
mshtml: Added IHTMLSelectElement::get_type implementation.
mshtml: Forward HTMLSelectElement's IDispatch functions to IDispatchEx impleme...