* [Qemu-devel] gtk tarball
@ 2005-07-16 4:27 Jim C. Brown
2005-07-16 22:10 ` [Qemu-devel] " Jim C. Brown
0 siblings, 1 reply; 2+ messages in thread
From: Jim C. Brown @ 2005-07-16 4:27 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1854 bytes --]
I've made some minor changes to gtk2.c which allow passing of parameters, though
there aren't many yet. The only recognized ones are -window-resize-on and
-raw-grab. Also, now gtk_init_check() sees the real arguments so you can
pass gtk options if you wish.
This also required some changes to vl.c, and applying patch upon patch is
getting unwieldy, so I'm putting all the patches and files you need to convert
plain qemu into qemugtk in a tarball. Simply extract it into the qemu directory
(the files will show up in the current directory) and apply qemu-gtk-patch.diff
and vl.c.diff, and reconfigure to enable gtk support.
-window-resize-on will make the gtk window resize everytime the guest resolution
changes (the scrollbars are still there so you can shrink the window and scroll
it if you want).
-raw-grab turns on old-style grabbing for non-fullscreen mode. The default mode
doesnt really grab but simply follows the host mouse (I find that using the raw
grab with a scrolled window can be very unwieldy). Full screen mode always uses
raw grab, there is no option to disable raw grab in full screen mode.
As for the gui, I've built the qgui that Sebastien provided but I haven't figured
out how to merge it into qemu yet. The thing is massive and seems to be set up
to provide a GUI for a qemu which supports running multiple VMs - in addition
there are what are apparently several startup screens that allow a user to
input options to qemu. Also there is GUI code for qemu-img (this I am not
planning on integrating). I don't have the slightest idea what the final
qGUI is suppose to feel like (there seem to be several windows which are just
slightly different versions of other ones, I guess I'm suppose to figure out
which version is best).
--
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
[-- Attachment #2: qemugtk.tar.bz2 --]
[-- Type: application/octet-stream, Size: 13494 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Qemu-devel] Re: gtk tarball
2005-07-16 4:27 [Qemu-devel] gtk tarball Jim C. Brown
@ 2005-07-16 22:10 ` Jim C. Brown
0 siblings, 0 replies; 2+ messages in thread
From: Jim C. Brown @ 2005-07-16 22:10 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 2170 bytes --]
On Sat, Jul 16, 2005 at 12:27:02AM -0400, Jim C. Brown wrote:
> As for the gui, I've built the qgui that Sebastien provided but I haven't figured
> out how to merge it into qemu yet. The thing is massive and seems to be set up
> to provide a GUI for a qemu which supports running multiple VMs - in addition
> there are what are apparently several startup screens that allow a user to
> input options to qemu. Also there is GUI code for qemu-img (this I am not
> planning on integrating). I don't have the slightest idea what the final
> qGUI is suppose to feel like (there seem to be several windows which are just
> slightly different versions of other ones, I guess I'm suppose to figure out
> which version is best).
>
I picked winmain3, and now the GUI is fully merged in. Its mostly an empty
shell, but the last 4 items on the Machine menu work. I decided to ditch the
gui_menu_*() functions (they were too gtk-code dependent anyways), and I use
the menu that Sebastien created..
Fullscreen mode still works, but you won't see any of the GUI. That is only
drawn in windowed mode.
> I've made some minor changes to gtk2.c which allow passing of parameters, though
> there aren't many yet. The only recognized ones are -window-resize-on and
> -raw-grab. Also, now gtk_init_check() sees the real arguments so you can
> pass gtk options if you wish.
>
This still works. I also added support for winprefs3 but I don't actually call
it yet, so you won't see it. I'm planning on adding a check so the preference
window pops up if you don't pass any parameters on the command line.
> This also required some changes to vl.c, and applying patch upon patch is
> getting unwieldy, so I'm putting all the patches and files you need to convert
> plain qemu into qemugtk in a tarball. Simply extract it into the qemu directory
> (the files will show up in the current directory) and apply qemu-gtk-patch.diff
> and vl.c.diff, and reconfigure to enable gtk support.
>
New tarball attached with the needed files. This time there is only the one
patch that you need to apply.
--
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
[-- Attachment #2: qemugtk.tar.bz2 --]
[-- Type: application/octet-stream, Size: 23071 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-16 22:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-16 4:27 [Qemu-devel] gtk tarball Jim C. Brown
2005-07-16 22:10 ` [Qemu-devel] " Jim C. Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).