Hi:
I am trying to load multiple layouts and switching between them on the basis of button click event. TO be specific, this is a multi page application.
I loaded all the layout and set one of them to be visible. When i click on one button of this layout then i expect some event but even though cegui.log logs that
"10/10/2009 13:43:33 (InfL1) ---- Successfully completed loading of GUI layout from 'casesScreen.layout' ---- " but when i connect button to eventHandler , my program crashes with loggin this error message...
10/10/2009 13:43:33 (Error) Exception: WindowManager::getWindow - A Window object with the name 'LogoutBtn' does not exist within the system
I am confused that what is happening. Earlier i was able to connect and run things properly in the same manner.
CEGUI.LOG:
10/10/2009 13:43:33 (InfL1) Started creation of Imageset from XML specification:
10/10/2009 13:43:33 (InfL1) ---- CEGUI Imageset name: loginImage
10/10/2009 13:43:33 (InfL1) ---- Source texture file: loginWindow.png in resource group: General
10/10/2009 13:43:33 (Error) Exception: There is no Property named 'DisabledImage' available in the set.
10/10/2009 13:43:33 (InfL1) ---- Successfully completed loading of GUI layout from 'loginlayout.layout' ----
10/10/2009 13:43:33 (InfL1) ---- Successfully completed loading of GUI layout from 'MainMenu.layout' ----
10/10/2009 13:43:33 (InfL1) ---- Successfully completed loading of GUI layout from 'exerciseScreen.layout' ----
10/10/2009 13:43:33 (InfL1) ---- Successfully completed loading of GUI layout from 'casesScreen.layout' ----
10/10/2009 13:43:33 (Error) Exception: WindowManager::getWindow - A Window object with the name 'LogoutBtn' does not exist within the system
my layout file, casesScreen.layout has following window in it.
<!-- Case/Background/ -->
<Window Type="Vanilla/Button" Name="LogoutBtn" >
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="NormalTextColour" Value="FF00FF00" />
<Property Name="Text" Value="Logout Button" />
<Property Name="UnifiedAreaRect" Value="{{0.00126559,0},{0.163043,0},{0.0993667,0},{0.243479,0}}" />
<Property Name="NormalImage" Value="set:logoutbtn image:ButtonUp" />
<Property Name="HoverImage" Value="set:logoutbtn image:ButtonDisabled" />
<Property Name="PushedImage" Value="set:logoutbtn image:ButtonHighlighted" />
<Property Name="DisabledImage" Value="set:logoutbtn image:ButtonDisabled" />
<Property Name="UseStandardImagery" Value="False" />
</Window>
My code piece that crashes is as follows:
CEGUI::WindowManager *wMgr = CEGUI::WindowManager::getSingletonPtr();
CEGUI::Window *case_logoutBtn = wMgr->getWindow((CEGUI::utf8*)"LogoutBtn");
case_logoutBtn->subscribeEvent(CEGUI::PushButton::EventClicked,
CEGUI::Event::Subscriber(&ExitListener::logoutHandle, this));
This is how i set any window visible.... All the layouts are attached to mainwindow....
menu = mainWindow->getChildAtIdx(3);
menu->setVisible(true);
Mainwindow is attached to root window which in turn is attached to sheet.
Questions:
1. What might be causing this crash?
2. Is there any other and better way of writing a multipage application in CEGUI-OGRE?
Any help is highly appreciated... as i am totally stuck for last few hours...
Thanks
Saurabh
2.
Error: window object does not exists
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Error: window object does not exists
Hi,
Clearly, the window does not exist at the time when you're trying to access it. Please set the CEGUI logging level to CEGUI::Informative, re-run the application, and post the full CEGUI.log file - and also, surround the log content with code tags, like this:
[code]
<paste log content here>
[/code]
CE.
Clearly, the window does not exist at the time when you're trying to access it. Please set the CEGUI logging level to CEGUI::Informative, re-run the application, and post the full CEGUI.log file - and also, surround the log content with code tags, like this:
[code]
<paste log content here>
[/code]
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: Error: window object does not exists
I am using this code line to set the CEGUI logging level to informative but program just crashes before logging anything.
CEGUI::Logger::getSingleton().setLoggingLevel( CEGUI::Informative );
If comment these lines then it works fine...
My CEGUI.log without informative set is pasted below and it says that all the layouts are successfully loaded...
login layout is as follows:
Any help in appreciated..
Thanks
Saurabh
CEGUI::Logger::getSingleton().setLoggingLevel( CEGUI::Informative );
If comment these lines then it works fine...
My CEGUI.log without informative set is pasted below and it says that all the layouts are successfully loaded...
Code: Select all
12/10/2009 12:00:49 (InfL1) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
12/10/2009 12:00:49 (InfL1) + Crazy Eddie's GUI System - Event log +
12/10/2009 12:00:49 (InfL1) + (http://www.cegui.org.uk/) +
12/10/2009 12:00:49 (InfL1) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
12/10/2009 12:00:49 (InfL1) CEGUI::Logger singleton created.
12/10/2009 12:00:49 (InfL1) ---- Begining CEGUI System initialisation ----
12/10/2009 12:00:49 (InfL1) CEGUI::ImagesetManager singleton created
12/10/2009 12:00:49 (InfL1) CEGUI::FontManager singleton created.
12/10/2009 12:00:49 (InfL1) CEGUI::WindowFactoryManager singleton created
12/10/2009 12:00:49 (InfL1) CEGUI::WindowManager singleton created
12/10/2009 12:00:49 (InfL1) CEGUI::SchemeManager singleton created.
12/10/2009 12:00:49 (InfL1) CEGUI::MouseCursor singleton created.
12/10/2009 12:00:49 (InfL1) CEGUI::GlobalEventSet singleton created.
12/10/2009 12:00:49 (InfL1) CEGUI::WidgetLookManager singleton created.
12/10/2009 12:00:49 (InfL1) CEGUI::WindowRendererManager singleton created
12/10/2009 12:00:49 (InfL1) WindowFactory for 'DefaultWindow' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'DragContainer' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'ScrolledContainer' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'ClippedContainer' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/Checkbox' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/PushButton' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/RadioButton' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/Combobox' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/ComboDropList' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/Editbox' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/FrameWindow' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/ItemEntry' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/Listbox' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/ListHeader' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/ListHeaderSegment' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/Menubar' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/PopupMenu' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/MenuItem' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/MultiColumnList' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/MultiLineEditbox' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/ProgressBar' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/ScrollablePane' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/Scrollbar' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/Slider' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/Spinner' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/TabButton' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/TabControl' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/Thumb' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/Titlebar' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/Tooltip' windows added.
12/10/2009 12:00:49 (InfL1) WindowFactory for 'CEGUI/ItemListbox' windows added.
12/10/2009 12:00:49 (InfL1) Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
12/10/2009 12:00:49 (InfL1) CEGUI::System singleton created.
12/10/2009 12:00:49 (InfL1) ---- CEGUI System initialisation completed ----
12/10/2009 12:00:49 (InfL1) ---- Version 0.5.1 ----
12/10/2009 12:00:49 (InfL1) ---- Renderer module is: CEGUI::OgreRenderer - Official Ogre based renderer module for CEGUI ----
12/10/2009 12:00:49 (InfL1) ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
12/10/2009 12:00:49 (InfL1) ---- Scripting module is: None ----
12/10/2009 12:00:49 (InfL1) Attempting to load Scheme from file 'VanillaSkin.scheme'.
12/10/2009 12:00:49 (InfL1) Attempting to create an Imageset from the information specified in file 'Vanilla.imageset'.
12/10/2009 12:00:49 (InfL1) Started creation of Imageset from XML specification:
12/10/2009 12:00:49 (InfL1) ---- CEGUI Imageset name: Vanilla
12/10/2009 12:00:49 (InfL1) ---- Source texture file: vanilla.tga in resource group: (Default)
12/10/2009 12:00:49 (InfL1) ===== Falagard 'root' element: look and feel parsing begins =====
12/10/2009 12:00:50 (InfL1) ===== Look and feel parsing completed =====
12/10/2009 12:00:50 (InfL1) No window renderer factories specified for module 'CEGUIFalagardWRBase' - adding all available factories...
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/Button' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/Default' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/Editbox' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/FrameWindow' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/ItemEntry' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/ListHeader' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/ListHeaderSegment' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/Listbox' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/Menubar' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/MenuItem' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/MultiColumnList' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/MultiLineEditbox' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/PopupMenu' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/ProgressBar' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/ScrollablePane' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/Scrollbar' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/Slider' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/Static' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/StaticImage' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/StaticText' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/SystemButton' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/TabButton' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/TabControl' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/Titlebar' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/ToggleButton' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/Tooltip' added.
12/10/2009 12:00:50 (InfL1) WindowRendererFactory 'Falagard/ItemListbox' added.
12/10/2009 12:00:50 (InfL1) Creating falagard mapping for type 'Vanilla/Titlebar' using base type 'CEGUI/Titlebar', window renderer 'Falagard/Titlebar' and Look'N'Feel 'Vanilla/Titlebar'.
12/10/2009 12:00:50 (InfL1) Creating falagard mapping for type 'Vanilla/Button' using base type 'CEGUI/PushButton', window renderer 'Falagard/Button' and Look'N'Feel 'Vanilla/Button'.
12/10/2009 12:00:50 (InfL1) Creating falagard mapping for type 'Vanilla/FrameWindow' using base type 'CEGUI/FrameWindow', window renderer 'Falagard/FrameWindow' and Look'N'Feel 'Vanilla/FrameWindow'.
12/10/2009 12:00:50 (InfL1) Creating falagard mapping for type 'Vanilla/Editbox' using base type 'CEGUI/Editbox', window renderer 'Falagard/Editbox' and Look'N'Feel 'Vanilla/Editbox'.
12/10/2009 12:00:50 (InfL1) Creating falagard mapping for type 'Vanilla/VerticalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' and Look'N'Feel 'Vanilla/VerticalScrollbarThumb'.
12/10/2009 12:00:50 (InfL1) Creating falagard mapping for type 'Vanilla/VerticalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' and Look'N'Feel 'Vanilla/VerticalScrollbar'.
12/10/2009 12:00:50 (InfL1) Creating falagard mapping for type 'Vanilla/HorizontalScrollbarThumb' using base type 'CEGUI/Thumb', window renderer 'Falagard/Button' and Look'N'Feel 'Vanilla/HorizontalScrollbarThumb'.
12/10/2009 12:00:50 (InfL1) Creating falagard mapping for type 'Vanilla/HorizontalScrollbar' using base type 'CEGUI/Scrollbar', window renderer 'Falagard/Scrollbar' and Look'N'Feel 'Vanilla/HorizontalScrollbar'.
12/10/2009 12:00:50 (InfL1) Creating falagard mapping for type 'Vanilla/StaticImage' using base type 'DefaultWindow', window renderer 'Falagard/StaticImage' and Look'N'Feel 'Vanilla/StaticImage'.
12/10/2009 12:00:50 (InfL1) Creating falagard mapping for type 'Vanilla/StaticText' using base type 'DefaultWindow', window renderer 'Falagard/StaticText' and Look'N'Feel 'Vanilla/StaticText'.
12/10/2009 12:00:50 (InfL1) Creating falagard mapping for type 'Vanilla/Listbox' using base type 'CEGUI/Listbox', window renderer 'Falagard/Listbox' and Look'N'Feel 'Vanilla/Listbox'.
12/10/2009 12:00:50 (InfL1) Creating falagard mapping for type 'Vanilla/MultiLineEditbox' using base type 'CEGUI/MultiLineEditbox', window renderer 'Falagard/MultiLineEditbox' and Look'N'Feel 'Vanilla/MultiLineEditbox'.
12/10/2009 12:00:50 (InfL1) Attempting to create Font from the information specified in file 'Commonwealth-10.font'.
12/10/2009 12:00:50 (InfL1) Started creation of FreeType Font:
12/10/2009 12:00:50 (InfL1) ---- CEGUI font name: Commonwealth-10
12/10/2009 12:00:50 (InfL1) ---- Source file: Commonv2c.ttf in resource group: (Default)
12/10/2009 12:00:50 (InfL1) ---- Real point size: 10
12/10/2009 12:00:50 (InfL1) Succsessfully loaded 219 glyphs
12/10/2009 12:00:50 (InfL1) Attempting to load Scheme from file 'Screen.scheme'.
12/10/2009 12:00:50 (InfL1) Attempting to create an Imageset from the information specified in file 'background.imageset'.
12/10/2009 12:00:50 (InfL1) Started creation of Imageset from XML specification:
12/10/2009 12:00:50 (InfL1) ---- CEGUI Imageset name: Background
12/10/2009 12:00:50 (InfL1) ---- Source texture file: background.png in resource group: General
12/10/2009 12:00:51 (InfL1) Attempting to create an Imageset from the information specified in file 'Buttons.imageset'.
12/10/2009 12:00:51 (InfL1) Started creation of Imageset from XML specification:
12/10/2009 12:00:51 (InfL1) ---- CEGUI Imageset name: Buttons
12/10/2009 12:00:51 (InfL1) ---- Source texture file: Buttons.png in resource group: (Default)
12/10/2009 12:00:51 (InfL1) Attempting to create an Imageset from the information specified in file 'backbtn.imageset'.
12/10/2009 12:00:51 (InfL1) Started creation of Imageset from XML specification:
12/10/2009 12:00:51 (InfL1) ---- CEGUI Imageset name: backbtn
12/10/2009 12:00:51 (InfL1) ---- Source texture file: back_Button.png in resource group: (Default)
12/10/2009 12:00:51 (InfL1) Attempting to create an Imageset from the information specified in file 'logoutbtn.imageset'.
12/10/2009 12:00:51 (InfL1) Started creation of Imageset from XML specification:
12/10/2009 12:00:51 (InfL1) ---- CEGUI Imageset name: logoutbtn
12/10/2009 12:00:51 (InfL1) ---- Source texture file: logout_Button.png in resource group: (Default)
12/10/2009 12:00:51 (InfL1) Attempting to create an Imageset from the information specified in file 'mainmenubtn.imageset'.
12/10/2009 12:00:51 (InfL1) Started creation of Imageset from XML specification:
12/10/2009 12:00:51 (InfL1) ---- CEGUI Imageset name: menubtn
12/10/2009 12:00:51 (InfL1) ---- Source texture file: mainmenu_Button.png in resource group: (Default)
12/10/2009 12:00:51 (InfL1) Attempting to create an Imageset from the information specified in file 'titlebar.imageset'.
12/10/2009 12:00:51 (InfL1) Started creation of Imageset from XML specification:
12/10/2009 12:00:51 (InfL1) ---- CEGUI Imageset name: titlebar
12/10/2009 12:00:51 (InfL1) ---- Source texture file: title_Bar.png in resource group: General
12/10/2009 12:00:51 (InfL1) Attempting to create an Imageset from the information specified in file 'loginimageBox.imageset'.
12/10/2009 12:00:51 (InfL1) Started creation of Imageset from XML specification:
12/10/2009 12:00:51 (InfL1) ---- CEGUI Imageset name: loginImage
12/10/2009 12:00:51 (InfL1) ---- Source texture file: loginWindow.png in resource group: General
12/10/2009 12:00:51 (Error) Exception: There is no Property named 'DisabledImage' available in the set.
12/10/2009 12:00:51 (InfL1) --[b]-- Successfully completed loading of GUI layout from 'loginlayout.layout' ----[/b]
12/10/2009 12:00:51 (Error) Exception: WindowManager::getWindow - A Window object with the name '[b]login/Background/logintxtBox[/b]' does not exist within the system
login layout is as follows:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<GUILayout >
<Window Type="Vanilla/StaticImage" Name="login/Background" >
<Property Name="Image" Value="set:Background image:Background1" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0.00759491,0},{0.00217408,0},{1.00443,0},{1.00217,0}}" />
<Window Type="Vanilla/StaticImage" Name="login/Background/titleBar" >
<Property Name="BackgroundEnabled" Value="False" />
<Property Name="FrameEnabled" Value="False" />
<Property Name="Text" Value="Thia is is the Title" />
<Property Name="AlwaysOnTop" Value="True" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0.372063,0},{0.141305,0},{0.884921,0},{0.254348,0}}" />
<Property Name="Image" Value="set:titlebar image:titlebarImage" />
</Window>
<Window Type="Vanilla/StaticImage" Name="login/Background/loginSpace" >
<Property Name="BackgroundEnabled" Value="False" />
<Property Name="FrameEnabled" Value="False" />
<Property Name="Image" Value="set:loginImage image:loginImageBox" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0.246984,0},{0.25,0},{0.76873,0},{0.893478,0}}" />
<Window Type="Vanilla/Editbox" Name="login/Background/logintxtBox" >
<Property Name="MaxTextLength" Value="1073741823" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0.325186,0},{0.308284,0},{0.692011,0},{0.410458,0}}" />
</Window>
<Window Type="Vanilla/Editbox" Name="login/Background/passwdtxtBox" >
<Property Name="MaxTextLength" Value="1073741823" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0.325291,0},{0.644830,0},{0.690847,0},{0.744830,0}}" />
</Window>
<Window Type="Vanilla/Button" Name="login/Background/submitBtn" >
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0.587301,0},{0.852028,0},{0.684922,0},{0.919419,0}}" />
<Property Name="NormalImage" Value="set:Buttons image:ButtonUp" />
<Property Name="HoverImage" Value="set:Buttons image:ButtonDisabled" />
<Property Name="PushedImage" Value="set:Buttons image:ButtonHighlighted" />
<Property Name="DisabledImage" Value="set:Buttons image:ButtonDisabled" />
<Property Name="UseStandardImagery" Value="False" />
</Window>
</Window>
</Window>
</GUILayout>
Any help in appreciated..
Thanks
Saurabh
Re: Error: window object does not exists
v0.5.1 is quite old so I'm not sure if this is relevant, but to setup logging for v0.6+ you need to first create the logging class, like so:
Code: Select all
new CEGUI::DefaultLogger();
CEGUI::Logger::getSingleton().setLoggingLevel(CEGUI::Informative);
If somebody helps you by replying to your thread, upvote him/her as a thanks! Make sure to include your CEGUI.log and everything you tried when posting! And remember that we are not magicians!
Re: Error: window object does not exists
Hi:
Setting to loglevel 2 works for me... I used the same old line but no idea why it worked this time and did not worked previously...
The mistake was that i was giving a name to layout while loading so that i can retrieve that back later using that name and i did not know that i need to prefix layout name to any window in that layout in order to retrieve that.
Thanks
Saurabh
Setting to loglevel 2 works for me... I used the same old line but no idea why it worked this time and did not worked previously...
The mistake was that i was giving a name to layout while loading so that i can retrieve that back later using that name and i did not know that i need to prefix layout name to any window in that layout in order to retrieve that.
Thanks
Saurabh
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Error: window object does not exists
Cool, glad you have it fixed - and this was one of the issues I was going to look in the log for
CE.
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Return to “Offtopic Discussion”
Who is online
Users browsing this forum: No registered users and 12 guests