Re: vbox with GtkVScrollbar

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> || ||\\  |\ ||
web: http://visualhunter.sourceforge.net/  || || || ||\||
Skype: IacopoDeeNosee                      || ||//  || ||
----------------------------------------------------------

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux