From 0e53feb354c2f8d845225144567714f965c7e219 Mon Sep 17 00:00:00 2001 From: Lee Mallabone Date: Thu, 27 Mar 2003 21:19:43 +0000 Subject: [PATCH] First draft of Viewport docs. svn path=/trunk/gtk-sharp/; revision=12876 --- doc/ChangeLog | 4 +++ doc/en/Gtk/Viewport.xml | 70 ++++++++++++++++++++++------------------- 2 files changed, 41 insertions(+), 33 deletions(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index bae133542..d1053395b 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,7 @@ +2003-03-27 Lee Mallabone + + * en/Gtk/Viewport.xml: First draft, includes custom constructor. + 2003-03-25 Duncan Mak * makefile: new overwrite family of targets. Use these for diff --git a/doc/en/Gtk/Viewport.xml b/doc/en/Gtk/Viewport.xml index 403b4865e..e8395e2bf 100644 --- a/doc/en/Gtk/Viewport.xml +++ b/doc/en/Gtk/Viewport.xml @@ -1,5 +1,5 @@ - + gtk-sharp 0.0.0.0 @@ -7,8 +7,12 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + A that allows a scrollable view of its child when added to a . + + To scroll correctly, a ordinarily requires explicit support from the that will be scrolled. However, a Viewport adds scrolling capabilities to an arbitrary child widget. For example, you can add a collection of widgets to a container. By simply placing the in a Viewport, you need only add the Viewport to a to visually scroll the contents of your Table. + The "model" of this widget consists of horizontal and vertical objects. These do not need to be explicitly set to use the Viewport. Packing a child widget as demonstrated in the example, below, is all that is required. + The appearance of the Viewport can be adjusted using the property. + Gtk.Bin @@ -66,22 +70,11 @@ - To be added - To be added: an object of type 'Gtk.Adjustment' - To be added: an object of type 'Gtk.Adjustment' - To be added: an object of type 'Gtk.Viewport' - To be added - - - - - Constructor - - - - To be added - To be added: an object of type 'Gtk.Viewport' - To be added + Creates a new Viewport with the specified horizontal and vertical Adjustments. + An to model horizontal viewing. + An to model vertical viewing. + A new Viewport + @@ -106,10 +99,10 @@ - To be added - To be added: an object of type 'Gtk.Adjustment' - To be added: an object of type 'Gtk.Adjustment' - To be added + Manage the horizontal model. + A new for horizontal scrolling. + The current state of the horizontal model + @@ -122,10 +115,10 @@ - To be added - To be added: an object of type 'Gtk.Adjustment' - To be added: an object of type 'Gtk.Adjustment' - To be added + Manage the vertical model. + A new for vertical scrolling. + The current state of the vertical model. + @@ -138,10 +131,10 @@ - To be added - To be added: an object of type 'Gtk.ShadowType' - To be added: an object of type 'Gtk.ShadowType' - To be added + Manage the shadow style surrounding the Viewport contents. + A new shadow style. + The current shadow style surrounding the child widget. + @@ -150,8 +143,8 @@ - To be added - To be added + This event is fired when the or properties are set. + @@ -170,5 +163,16 @@ + + + Constructor + + + + The main way to create a Viewport. + A new Viewport. + Horizontal and vertical objects are automatically created. + + \ No newline at end of file