Questions tagged [mainwindow]
157 questions
0
votes
3 answers
Make a mainWindow for JAVA/SWING application
When i started developping my application, I just developped Seprate JFrame frames and test them one by one. Now, i want to make a main window for my app. I read a lot, but until now, it's difficult for me to do this in java and swing. I tried this…

abdou amer
- 819
- 2
- 16
- 43
0
votes
1 answer
Getting an entry from a child window?
For some reason i can't get the entry from the child window.
I want to get the entry from the child window and then graph a rectangle.
The error that i get is: x=float(self.txtSide.get())
AttributeError: 'MainWindow' object has no attribute…

Tralsz
- 1
- 3
0
votes
1 answer
Update progress bar from sub-routine
I would like to update a progress bar that I have on a main window with the progress of a task that I am doing on another sub-routine, would it be possible??
To be as clear as possible, I would have 2 files:
In my Mainwindow.py I would have…

codeKiller
- 5,493
- 17
- 60
- 115
0
votes
2 answers
WPF MainWindow Loaded
Which event is triggered in the MainWindow when it now SHOWN and VISIBLE?
When I try showing a dialog in the Loaded event, the window would still not be fully loaded/visible

Munashe
- 71
- 1
- 8
0
votes
2 answers
How to update the QT Mainwindow at each loop in mainwindow.cpp
My main.cpp look like this:
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}
An in my mainwindow.cpp I want to show a different image at each loop in "while", so it would look…

user3611077
- 3
- 1
- 2
0
votes
2 answers
Cocoa How to show another window instead of the main window
I create a cocoa application on OSX 10.8. I create a windows derived from NSWindowController and also create a .xib file for this window, I want to show this window when application start, so I add the following in the applicationDidFinishLaunching…

JennyS
- 119
- 9
0
votes
0 answers
WPF: Referring GridView inside UserControl from another project
Just so you know, i am total newbie of WPF.
So, currently, i have created two project, which are, the MyProject that contain the MainWindow and the other one is a Usercontrol project: MyUserControl that holds my UCGridView.
I have referred…

StudyProgramming
- 45
- 9
0
votes
2 answers
Simple Java game - small issues
I've made a few of simple Java applications last year [I am an engineering student and I have fallen in love with Java through a subject last term] - I learned a lot about classes, objects, listeners and various other stuff. The problem is that I…

user3380075
- 1
- 1
0
votes
1 answer
Winamp Main Window just a small badge in modern skin
I came to have the main window of Winamp in modern skin just as a small badge (about 30px height) with no possibility to resize. Functionality fine - appearance broken.
Changing the skin restored the main window, but back to modern skin it was a…

Amanahumpa
- 55
- 12
0
votes
0 answers
Horizontal table size changed when remove MainWindow.xib?
This tutorial gives you a simple and nice horizontal UITableView
but when removing MainWindow_iPhone.xib (_iPad) and create UIWindow object programmatically in the app delegate, the horizontal table and contents (image and label) become unstable,…

user807146
- 103
- 8
0
votes
1 answer
How to disable Control running in background
i have a page transition control in the MainWindow ( theres few buttons and a home button that leads to the homepage), so i click a button on the MainWindow that brings a user control page inside the page transition within the MainWindow , theres an…

user2376998
- 1,061
- 7
- 32
- 65
0
votes
3 answers
Application doesn't start if I inherit MainWindow
I have a RootViewModel class, and I want to access an UI element (instantialized in MainWindow) from there. For that I set the class this way:
class RootViewModel : MainWindow, INotifyPropertyChanged
But the application doesn't start. It compiles…

Sturm
- 3,968
- 10
- 48
- 78
0
votes
1 answer
iPhone Dev - Is it possible to load an app's mainWindow conditionally?
Is it possible to code this sequence of events once an iPhone app has been launched?
User launches application.
AppDelegate.m checks if data is present in internal database.
If yes, MainWindow.xib loads.
If no, AnotherViewController.xib…

JP.
- 5
- 1
0
votes
1 answer
Application.current.mainwindow childwindow alternative
I want to use the following code
Point point1 = pwImages.ElementAt(0).TransformToAncestor(Application.Current.MainWindow).Transform(new Point(0, 0));
However, Application.Current.MainWindow is not set to the window that calls this code, since the…

David Ten
- 113
- 1
- 10
0
votes
1 answer
How to change main window nib name programativcally?
How can I change the main window nib name? I am using two xib for iPhone4 and iPhone5. But my project having the main window. How to check and change the xib for iPhone5 and iPhone4.
Please help me. Thanks in advance.

Mani
- 1,310
- 1
- 20
- 40