Re: vbox with GtkVScrollbar
- From: IacopoDeeNosee <iacopodeenosee alice it>
- To: gtk-list gnome org
- Subject: Re: vbox with GtkVScrollbar
- Date: Sun, 20 Sep 2009 10:49:55 +0200
Tadej Borovšak ha scritto:
> Hi
> CUT
> which will take care of most of those things
> for you.
>
> Tadej
>
I solve with the viewport,but i had to lock the width of the vbox.
###§§§###
GtkObject *setvscroll;
setvscroll=gtk_adjustment_new(0,0,100,5,10,15);
GtkWidget *viewport;
GtkWidget *vscroll;
GtkWidget *hbox;
hbox=gtk_hbox_new(FALSE,5);
vscroll=gtk_vscrollbar_new(GTK_ADJUSTMENT(setvscroll));
viewport=gtk_viewport_new(NULL,GTK_ADJUSTMENT(setvscroll));
gtk_widget_set_size_request(BoxV_WinSetting_AdvOptions,565,-1);
gtk_notebook_append_page(GTK_NOTEBOOK(NoteBook_WinSetting),hbox,Label_WinSetting_TabAdvOptions);
gtk_container_add(GTK_CONTAINER(viewport),BoxV_WinSetting_AdvOptions);
gtk_box_pack_start(GTK_BOX(hbox),viewport,FALSE,FALSE,0);
gtk_box_pack_start(GTK_BOX(hbox),vscroll,FALSE,FALSE,0);
###§§§###
thanks Bye.
--
IacopoDeeNosee <iacopodeenosee gmail com> || ||\\ |\ ||
web: http://visualhunter.sourceforge.net/ || || || ||\||
Skype: IacopoDeeNosee || ||// || ||
----------------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]