Re: How to set a window filled the whole screen when we start the window?

2009-06-26 Thread Stefan Kost
Michael Torrie schrieb:
> donglongchao wrote:
>> Thank you very much.That is just what I need.
>> I am not very familiar with the API manual.
> 
> I always program with a web browser open showing the API docs.  Although
> they often lack documentation and examples (they are generated from the
> source code), they at least document the API calls and parameters, the
> various enumerations, structures, etc.  Invaluable, although a bit hard
> to search. Fortunately google helps out there.

Hej,
just install devhelp and the -dev packages. Then you even have search.

Stefan
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: How to set a window filled the whole screen when we start the window?

2009-06-24 Thread Michael Torrie
donglongchao wrote:
> Thank you very much.That is just what I need.
> I am not very familiar with the API manual.

I always program with a web browser open showing the API docs.  Although
they often lack documentation and examples (they are generated from the
source code), they at least document the API calls and parameters, the
various enumerations, structures, etc.  Invaluable, although a bit hard
to search. Fortunately google helps out there.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: How to set a window filled the whole screen when we start the window?

2009-05-25 Thread Carlos Pereira

Liam R E Quin wrote:

On Mon, 2009-05-25 at 21:15 +0800, donglongchao wrote:
  

Thanks for your advice.Because there are too many widgets in the start window,
I think it is necessary to maximize it first.Maybe I should ask my customs for 
their suggestions.



Show fewer widgets in the main window, perhaps :-)
  
Perhaps you should use a notebook widget... a top window with a notebook 
inside allows you to divide your widgets by multiple pages:


http://library.gnome.org/devel/gtk/stable/GtkNotebook.html

Carlos

Liam


  


___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: How to set a window filled the whole screen when we start the window?

2009-05-25 Thread Liam R E Quin
On Mon, 2009-05-25 at 21:15 +0800, donglongchao wrote:
> Thanks for your advice.Because there are too many widgets in the start window,
> I think it is necessary to maximize it first.Maybe I should ask my customs 
> for their suggestions.

Show fewer widgets in the main window, perhaps :-)

Liam


-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: How to set a window filled the whole screen when we start the window?

2009-05-25 Thread donglongchao
Thanks for your advice.Because there are too many widgets in the start window,I 
think it is necessary to maximize it first.Maybe I should ask my customs for 
their suggestions. 




在2009-05-25,"Liam R E Quin"  写道:
>On Mon, 2009-05-25 at 14:20 +0800, donglongchao wrote:
>> Hi,all
>> I want to know that when I start a window,how can I set it's default size to 
>> fill the whole screen?
>
>Others have already explained how to do it, but,
>
>Please consider carefully if this is the behaviour you want --
>"maximised" windows are very disruptive when people aren't expecting
>them, and people can easily maximise the window themselves if they want
>it.
>
>Liam
>
>
>-- 
>Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
>Pictures from old books: http://fromoldbooks.org/
>Ankh: irc.sorcery.net irc.gnome.org www.advogato.org
>
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: How to set a window filled the whole screen when we start the window?

2009-05-25 Thread Liam R E Quin
On Mon, 2009-05-25 at 14:20 +0800, donglongchao wrote:
> Hi,all
> I want to know that when I start a window,how can I set it's default size to 
> fill the whole screen?

Others have already explained how to do it, but,

Please consider carefully if this is the behaviour you want --
"maximised" windows are very disruptive when people aren't expecting
them, and people can easily maximise the window themselves if they want
it.

Liam


-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: How to set a window filled the whole screen when we start the window?

2009-05-25 Thread donglongchao
Thank you very much.That is just what I need.
I am not very familiar with the API manual.




在2009-05-25,"Andrew Cowie"  写道:
>On Mon, 2009-05-25 at 14:20 +0800, donglongchao wrote:
>> I want to know that when I start a window,how can I set it's default
>> size to fill the whole screen?
>
>Sounds like gtk_window_maximize() is what you want.
>http://library.gnome.org/devel/gtk/stable/GtkWindow.html#gtk-window-maximize
>
>AfC
>Sydney
>
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: How to set a window filled the whole screen when we start the window?

2009-05-25 Thread Andrew Cowie
On Mon, 2009-05-25 at 14:20 +0800, donglongchao wrote:
> I want to know that when I start a window,how can I set it's default
> size to fill the whole screen?

Sounds like gtk_window_maximize() is what you want.
http://library.gnome.org/devel/gtk/stable/GtkWindow.html#gtk-window-maximize

AfC
Sydney

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

How to set a window filled the whole screen when we start the window?

2009-05-24 Thread donglongchao
Hi,all
I want to know that when I start a window,how can I set it's default size to 
fill the whole screen?
I have find some functions to complete this ,but they all need me to pass the 
width and the height to the function as arguments.Is there any function which 
is able to do this without width or height as arguments?I mean that this 
function should  work well in different screen size(1024*800,800*600,etc).
Anyone can help me?Thanks a lot.

Wish you happy.
Dong Longchao
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list