1 2@c %start of fragment 3 4@deftp Class <gtk-paned> 5Derives from @code{<gtk-container>}. 6 7This class defines the following slots: 8 9@table @code 10@item position 11Position of paned separator in pixels (0 means all the way to the left/top) 12 13@item position-set 14TRUE if the Position property should be used 15 16@item min-position 17Smallest possible value for the "position" property 18 19@item max-position 20Largest possible value for the "position" property 21 22@end table 23 24@end deftp 25 26@defop Signal <gtk-paned> cycle-child-focus (arg0@tie{}@code{<gboolean>}) @result{}@tie{}@code{<gboolean>} 27@end defop 28 29@defop Signal <gtk-paned> toggle-handle-focus @result{}@tie{}@code{<gboolean>} 30@end defop 31 32@defop Signal <gtk-paned> move-handle (arg0@tie{}@code{<gtk-scroll-type>}) @result{}@tie{}@code{<gboolean>} 33@end defop 34 35@defop Signal <gtk-paned> cycle-handle-focus (arg0@tie{}@code{<gboolean>}) @result{}@tie{}@code{<gboolean>} 36@end defop 37 38@defop Signal <gtk-paned> accept-position @result{}@tie{}@code{<gboolean>} 39@end defop 40 41@defop Signal <gtk-paned> cancel-position @result{}@tie{}@code{<gboolean>} 42@end defop 43 44@deffn Function gtk-paned-add1 (self@tie{}@code{<gtk-paned>}) (child@tie{}@code{<gtk-widget>}) 45@deffnx Method add1 46Adds a child to the top or left pane with default parameters. This is equivalent 47to @samp{gtk_paned_pack1 (paned, child, FALSE, TRUE)}. 48 49@table @var 50@item paned 51a paned widget 52 53@item child 54the child to add 55 56@end table 57 58@end deffn 59 60@deffn Function gtk-paned-add2 (self@tie{}@code{<gtk-paned>}) (child@tie{}@code{<gtk-widget>}) 61@deffnx Method add2 62Adds a child to the bottom or right pane with default parameters. This is 63equivalent to @samp{gtk_paned_pack2 (paned, child, TRUE, TRUE)}. 64 65@table @var 66@item paned 67a paned widget 68 69@item child 70the child to add 71 72@end table 73 74@end deffn 75 76@deffn Function gtk-paned-pack1 (self@tie{}@code{<gtk-paned>}) (child@tie{}@code{<gtk-widget>}) (resize@tie{}@code{bool}) (shrink@tie{}@code{bool}) 77@deffnx Method pack1 78Adds a child to the top or left pane. 79 80@table @var 81@item paned 82a paned widget 83 84@item child 85the child to add 86 87@item resize 88should this child expand when the paned widget is resized. 89 90@item shrink 91can this child be made smaller than its requisition. 92 93@end table 94 95@end deffn 96 97@deffn Function gtk-paned-pack2 (self@tie{}@code{<gtk-paned>}) (child@tie{}@code{<gtk-widget>}) (resize@tie{}@code{bool}) (shrink@tie{}@code{bool}) 98@deffnx Method pack2 99Adds a child to the bottom or right pane. 100 101@table @var 102@item paned 103a paned widget 104 105@item child 106the child to add 107 108@item resize 109should this child expand when the paned widget is resized. 110 111@item shrink 112can this child be made smaller than its requisition. 113 114@end table 115 116@end deffn 117 118@deffn Function gtk-paned-get-child1 (self@tie{}@code{<gtk-paned>}) @result{}@tie{} (ret@tie{}@code{<gtk-widget>}) 119@deffnx Method get-child1 120Obtains the first child of the paned widget. 121 122@table @var 123@item paned 124a @code{<gtk-paned>} widget 125 126@item ret 127first child, or @samp{@code{#f}} if it is not set. 128 129@end table 130 131Since 2.4 132 133@end deffn 134 135@deffn Function gtk-paned-get-child2 (self@tie{}@code{<gtk-paned>}) @result{}@tie{} (ret@tie{}@code{<gtk-widget>}) 136@deffnx Method get-child2 137Obtains the second child of the paned widget. 138 139@table @var 140@item paned 141a @code{<gtk-paned>} widget 142 143@item ret 144second child, or @samp{@code{#f}} if it is not set. 145 146@end table 147 148Since 2.4 149 150@end deffn 151 152@deffn Function gtk-paned-set-position (self@tie{}@code{<gtk-paned>}) (position@tie{}@code{int}) 153@deffnx Method set-position 154Sets the position of the divider between the two panes. 155 156@table @var 157@item paned 158a @code{<gtk-paned>} widget 159 160@item position 161pixel position of divider, a negative value means that the position is unset. 162 163@end table 164 165@end deffn 166 167@deffn Function gtk-paned-get-position (self@tie{}@code{<gtk-paned>}) @result{}@tie{} (ret@tie{}@code{int}) 168@deffnx Method get-position 169Obtains the position of the divider between the two panes. 170 171@table @var 172@item paned 173a @code{<gtk-paned>} widget 174 175@item ret 176position of the divider 177 178@end table 179 180@end deffn 181 182 183@c %end of fragment 184