Please note that LinuxExchange will be shutting down on December 31st, 2016. Visit this thread for additional information and to provide feedback.

I am writing an application, and when designing the interface in Glade, at a previous point, I set the default size and "size request" to 800x600. I figured it would be better to run the application full-screen (as it is going to be deployed on a small, embedded system with a 7" monitor).

Note, I could not get the application to go to 800x600 by setting the "default size" alone, I also had to set the "size request".

So, I took away the "default size" and "size request" and called the fullscreen() function on my top-level, gtk.Window object. For whatever reason though, the window does not go full-screen. I am calling the function right after I assign the widget to a varable. Any ideas?

toplevel = gladeFile.get_widget("toplevel")
toplevel.show_all()
toplevel.fullscreen()

SOLVED

In Glade, on the top-level gtk.Window widget, I had to set "Resizable" to "Yes".

This question is marked "community wiki".

asked 26 Aug '10, 23:21

indienick's gravatar image

indienick
14317
accept rate: 17%

wikified 15 Jan '14, 16:40

rfelsburg's gravatar image

rfelsburg ♦
6061618

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×16

Asked: 26 Aug '10, 23:21

Seen: 6,674 times

Last updated: 15 Jan '14, 16:40

powered by OSQA