Re: how to initialise the size of a gtk_scrolled_window_new
- From: Gustavo Carneiro <gjc inescporto pt>
- To: Benat <bialadogs yahoo com>
- Cc: Reymond Dominique <reymond d labogeo pf>, GTK mailinglist <gtk-app-devel-list gnome org>
- Subject: Re: how to initialise the size of a gtk_scrolled_window_new
- Date: 26 Mar 2002 11:11:43 +0000
On Tue, 2002-03-26 at 09:38, Benat wrote:
Hello:
Try using gtk_widget_set_usize(widget,width,height).
It is better to gtk_window_set_default_size on the toplevel window
plus make sure the scrolled window's container allows has expand and
fill active.
Bye
Benat
On Tue, 2002-03-26 at 08:31, Reymond Dominique wrote:
Hi all
I did not understand how to initialise the size of a scrolled window, with a combination of the following
functions :
gtk_scrolled_window_new()
gtk_justement_set_value(hadj, value)
gtk_justement_set_value(vadj,value)
gtk_scrolled_window_set_hadjustment()
gtk_scrolled_window_set_vadjustment()
In fact, I do not understand how to set the size of the window with the gtk_justement_set_value()
function: the scrolled window start always with the size of a stamp (of course it works, but I would like
minimum size which is a larger than a stamp at the creation of the scrolled window).
Could someone give me an example of setting the minimum size of a scrolled window ?
Thank you for your help
Dominique Reymond
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
--
Gustavo João Alves Marques Carneiro
<gjc inescporto pt> <gustavo users sourceforge net>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]