autodoc.git
/
autodoc.xml
version
»
Context lines:
10
20
40
80
file
none
3
autodoc.git/autodoc.xml:2388:
</docgroup> </class> <class name='DES3'> <docgroup homogen-name='CBC' homogen-type='inherit'> <inherit name='CBC'><classname resolved='predef::Crypto.CBC'>Crypto.CBC</classname></inherit> </docgroup> </class> <class name='DHKeyExchange'> <doc><text><p>Implements Diffie-Hellman key-exchange.</p> <p> The following key exchange methods are implemented here:
-
<ref resolved='
7.8
::SSL.Constants.KeyExchangeType.KE_dhe_dss'>KE_dhe_dss</ref>, <ref resolved='
7.8
::SSL.Constants.KeyExchangeType.KE_dhe_rsa'>KE_dhe_rsa</ref> and <ref resolved='
7.8
::SSL.Constants.KeyExchangeType.KE_dh_anon'>KE_dh_anon</ref>.</p>
+
<ref resolved='
predef
::SSL.Constants.KeyExchangeType.KE_dhe_dss'>KE_dhe_dss</ref>, <ref resolved='
predef
::SSL.Constants.KeyExchangeType.KE_dhe_rsa'>KE_dhe_rsa</ref> and <ref resolved='
predef
::SSL.Constants.KeyExchangeType.KE_dh_anon'>KE_dh_anon</ref>.</p>
</text></doc> <docgroup homogen-name='create' homogen-type='method'> <method name='create'><modifiers><protected/></modifiers> <arguments><argument name='p'><type><object resolved='7.8::SSL.Cipher.DHParameters'>DHParameters</object></type></argument></arguments> <returntype><void/></returntype> </method> </docgroup> </class> <class name='DHParameters'> <doc><text><p>Diffie-Hellman parameters.</p>
autodoc.git/autodoc.xml:3005:
<variable name='client_cert_distinguished_names'><type><array><valuetype><string/></valuetype></array></type></variable> </docgroup> <docgroup homogen-type='variable'><doc><text><p>Random cookies, sent and received with the hello-messages.</p> </text></doc> <variable name='client_random'><type><string/></type></variable> <variable name='server_random'><type><string/></type></variable> </docgroup> <docgroup homogen-name='create' homogen-type='method'><doc><group><param name='is_server'/><text><p>Whether this is the server end of the connection or not.</p> </text></group><group><param name='ctx'/><text><p>The context for the connection.</p> </text></group><group><param name='min_version'/><text><p>Minimum version of SSL to support.
-
Defaults to <ref resolved='
predef
::SSL.Constants.ProtocolVersion.PROTOCOL_SSL_3_0'>Constants.PROTOCOL_SSL_3_0</ref>.</p>
+
Defaults to <ref resolved='
7.8
::SSL.Constants.ProtocolVersion.PROTOCOL_SSL_3_0'>Constants.PROTOCOL_SSL_3_0</ref>.</p>
</text></group><group><param name='max_version'/><text><p>Maximum version of SSL to support. Defaults to <ref resolved='7.8::SSL.Constants.PROTOCOL_minor'>Constants.PROTOCOL_minor</ref>.</p> </text></group></doc> <method name='create'> <arguments><argument name='is_server'><type><int/></type></argument><argument name='ctx'><type><or><void/><object resolved='7.8::SSL.context'>SSL.context</object></or></type></argument><argument name='min_version'><type><or><void/><object resolved='7.8::SSL.Constants.ProtocolVersion'>ProtocolVersion</object></or></type></argument><argument name='max_version'><type><or><void/><object resolved='7.8::SSL.Constants.ProtocolVersion'>ProtocolVersion</object></or></type></argument></arguments> <returntype><void/></returntype> </method> </docgroup> <docgroup homogen-name='handle_handshake' homogen-type='method'><doc><text><p>Do handshake processing. Type is one of HANDSHAKE_*, data is the contents of the packet, and raw is the raw packet received (needed
autodoc.git/autodoc.xml:3172:
<variable name='rsa'><type><object resolved='7.8::Crypto.RSA'>Crypto.RSA</object></type></variable> </docgroup> <docgroup homogen-name='set_cipher_suite' homogen-type='method'><doc><text><p>Sets the proper authentication method and cipher specification for the given cipher <ref resolved='7.8::SSL.session.set_cipher_suite.suite'>suite</ref> and <ref>verison</ref>.</p> </text></doc> <method name='set_cipher_suite'> <arguments><argument name='suite'><type><int/></type></argument><argument name='version'><type><or><object resolved='7.8::SSL.Constants.ProtocolVersion'>ProtocolVersion</object><int/></or></type></argument></arguments> <returntype><void/></returntype> </method> </docgroup>
-
<docgroup homogen-name='set_compression_method' homogen-type='method'><doc><text><p>Sets the compression method. Currently only <ref resolved='
7.8
::SSL.Constants.CompressionType.COMPRESSION_null'>COMPRESSION_null</ref> is
+
<docgroup homogen-name='set_compression_method' homogen-type='method'><doc><text><p>Sets the compression method. Currently only <ref resolved='
predef
::SSL.Constants.CompressionType.COMPRESSION_null'>COMPRESSION_null</ref> is
supported.</p> </text></doc> <method name='set_compression_method'> <arguments><argument name='compr'><type><int/></type></argument></arguments> <returntype><void/></returntype> </method> </docgroup> </class> <class name='sslfile'> <doc><text><p>Interface similar to <ref resolved='7.8::Stdio.File'>Stdio.File</ref>.</p>
autodoc.git/autodoc.xml:21241:
<arguments><argument name='fun'><type><function><argtype><mixed/></argtype><argtype><varargs><mixed/></varargs></argtype><returntype><object resolved='predef::Concurrent.Future'>this_program</object></returntype></function></type></argument><argument name='extra'><type><varargs><mixed/></varargs></type></argument></arguments> <returntype><object resolved='predef::Concurrent.Future'>this_program</object></returntype> </method> </docgroup> <docgroup homogen-name='on_failure' homogen-type='method'><doc><text><p>Register a callback that is to be called on failure.</p> </text><group><param name='cb'/><text><p>Function to be called. The first argument will be the failure result of the <ref resolved='predef::Concurrent.Future'>Future</ref>.</p> </text></group><group><param name='extra'/><text><p>Any extra context needed for <ref resolved='predef::Concurrent.Future.on_failure.cb'>cb</ref>. They will be provided as arguments two and onwards when <ref resolved='predef::Concurrent.Future.on_failure.cb'>cb</ref> is called.</p> </text></group><group><note/><text><p><ref resolved='predef::Concurrent.Future.on_failure.cb'>cb</ref> will always be called from the main backend.</p>
-
</text></group><group><seealso/><text><p><ref resolved='predef::Concurrent.Future.on_success'>on_success()</ref></p>
+
</text></group><group><seealso/><text><p><ref resolved='predef::Concurrent.Future.on_success'>on_success()</ref>
,
<
ref resolved='predef::Concurrent.Future.query_failure_callbacks'>query_failure_callbacks()<
/
ref></
p>
</text></group></doc> <method name='on_failure'> <arguments><argument name='cb'><type><function><argtype><mixed/></argtype><argtype><varargs><mixed/></varargs></argtype><returntype><void/></returntype></function></type></argument><argument name='extra'><type><varargs><mixed/></varargs></type></argument></arguments> <returntype><object resolved='predef::Concurrent.Future'>this_program</object></returntype> </method> </docgroup> <docgroup homogen-name='on_success' homogen-type='method'><doc><text><p>Register a callback that is to be called on fulfillment.</p> </text><group><param name='cb'/><text><p>Function to be called. The first argument will be the result of the <ref resolved='predef::Concurrent.Future'>Future</ref>.</p> </text></group><group><param name='extra'/><text><p>Any extra context needed for <ref resolved='predef::Concurrent.Future.on_success.cb'>cb</ref>. They will be provided as arguments two and onwards when <ref resolved='predef::Concurrent.Future.on_success.cb'>cb</ref> is called.</p> </text></group><group><note/><text><p><ref resolved='predef::Concurrent.Future.on_success.cb'>cb</ref> will always be called from the main backend.</p>
-
</text></group><group><seealso/><text><p><ref resolved='predef::Concurrent.Future.on_failure'>on_failure()</ref></p>
+
</text></group><group><seealso/><text><p><ref resolved='predef::Concurrent.Future.on_failure'>on_failure()</ref>
,
<
ref resolved='predef::Concurrent.Future.query_success_callbacks'>query_success_callbacks()<
/
ref></
p>
</text></group></doc> <method name='on_success'> <arguments><argument name='cb'><type><function><argtype><mixed/></argtype><argtype><varargs><mixed/></varargs></argtype><returntype><void/></returntype></function></type></argument><argument name='extra'><type><varargs><mixed/></varargs></type></argument></arguments> <returntype><object resolved='predef::Concurrent.Future'>this_program</object></returntype> </method> </docgroup> <docgroup homogen-name='promise_factory' homogen-type='method'><doc><text><p>Create a new <ref resolved='predef::Concurrent.Promise'>Promise</ref> with the same base settings as the current object.</p> <p> Overload this function if you need to propagate more state to new <ref resolved='predef::Concurrent.Promise'>Promise</ref> objects.</p> <p> The default implementation copies the backend setting set with <ref resolved='predef::Concurrent.Future.set_backend'>set_backend()</ref> to the new <ref resolved='predef::Concurrent.Promise'>Promise</ref>.</p> </text><group><seealso/><text><p><ref resolved='predef::Concurrent.Promise'>Promise</ref>, <ref resolved='predef::Concurrent.Future.set_backend'>set_backend()</ref></p> </text></group></doc> <method name='promise_factory'> <arguments/> <returntype><object resolved='predef::Concurrent.Promise'>Promise</object></returntype> </method> </docgroup>
-
+
<docgroup homogen-name='query_failure_callbacks' homogen-type='method'><doc><text><p>Query the set of active failure callbacks.</p>
+
</text><group><returns/><text><p>Returns an array with callback functions.</p>
+
</text></group><group><seealso/><text><p><ref resolved='predef::Concurrent.Future.on_failure'>on_failure()</ref>, <ref resolved='predef::Concurrent.Future.query_success_callbacks'>query_success_callbacks()</ref></p>
+
</text></group></doc>
+
<method name='query_failure_callbacks'>
+
<arguments/>
+
<returntype><array><valuetype><function/></valuetype></array></returntype>
+
</method>
+
</docgroup>
+
<docgroup homogen-name='query_success_callbacks' homogen-type='method'><doc><text><p>Query the set of active success callbacks.</p>
+
</text><group><returns/><text><p>Returns an array with callback functions.</p>
+
</text></group><group><seealso/><text><p><ref resolved='predef::Concurrent.Future.on_success'>on_success()</ref>, <ref resolved='predef::Concurrent.Future.query_failure_callbacks'>query_failure_callbacks()</ref></p>
+
</text></group></doc>
+
<method name='query_success_callbacks'>
+
<arguments/>
+
<returntype><array><valuetype><function/></valuetype></array></returntype>
+
</method>
+
</docgroup>
<docgroup homogen-name='recover' homogen-type='method'><doc><text><p>This specifies a callback that is only called on failure, and allows you to alter the future into a success.</p> </text><group><param name='fun'/><text><p>Function to be called. The first argument will be the <b>failure</b> result of <b>this</b> <ref resolved='predef::Concurrent.Future'>Future</ref>. The return value will be the success result of the new <ref resolved='predef::Concurrent.Future'>Future</ref>.</p> </text></group><group><param name='extra'/><text><p>Any extra context needed for <expr>fun</expr>. They will be provided as arguments two and onwards when the callback is called.</p> </text></group><group><returns/><text><p>The new <ref resolved='predef::Concurrent.Future'>Future</ref>.</p> </text></group><group><note/><text><p>This method is used if your callbacks return a regular value (i.e.
autodoc.git/autodoc.xml:56644:
</class> <class name='Allocation'> <docgroup homogen-name='Rectangle' homogen-type='inherit'> <inherit name='Rectangle'><classname>GDK2.Rectangle</classname></inherit> </docgroup> </class> <class name='Arrow'> <doc><text><p>An arrow pointing in one of four directions. The 'etched' shadow types does not work. <expr> GTK2.Arrow(GTK2.ARROW_UP, GTK2.SHADOW_OUT)</expr>
-
<image file='predef.GTK2.Arrow.1.png'>../images/gtk2_arrow.png</image></p>
+
<image file='predef.GTK2.Arrow.1.png'
height='15' width='15'
>../images/gtk2_arrow.png</image></p>
<p><expr> GTK2.Arrow(GTK2.ARROW_LEFT, GTK2.SHADOW_IN)</expr>
-
<image file='predef.GTK2.Arrow.2.png'>../images/gtk2_arrow_2.png</image></p>
+
<image file='predef.GTK2.Arrow.2.png'
height='15' width='15'
>../images/gtk2_arrow_2.png</image></p>
<p><expr> GTK2.Arrow(GTK2.ARROW_RIGHT, GTK2.SHADOW_IN)</expr>
-
<image file='predef.GTK2.Arrow.3.png'>../images/gtk2_arrow_3.png</image></p>
+
<image file='predef.GTK2.Arrow.3.png'
height='15' width='15'
>../images/gtk2_arrow_3.png</image></p>
<p><expr> GTK2.Arrow(GTK2.ARROW_DOWN, GTK2.SHADOW_OUT)</expr>
-
<image file='predef.GTK2.Arrow.4.png'>../images/gtk2_arrow_4.png</image></p>
+
<image file='predef.GTK2.Arrow.4.png'
height='15' width='15'
>../images/gtk2_arrow_4.png</image></p>
<p> Properties: int arrow-type <ref resolved='predef::GTK2.ARROW_DOWN'>ARROW_DOWN</ref>, <ref resolved='predef::GTK2.ARROW_LEFT'>ARROW_LEFT</ref>, <ref resolved='predef::GTK2.ARROW_RIGHT'>ARROW_RIGHT</ref> and <ref resolved='predef::GTK2.ARROW_UP'>ARROW_UP</ref> int shadow-type <ref resolved='predef::GTK2.SHADOW_ETCHED_IN'>SHADOW_ETCHED_IN</ref>, <ref resolved='predef::GTK2.SHADOW_ETCHED_OUT'>SHADOW_ETCHED_OUT</ref>, <ref resolved='predef::GTK2.SHADOW_IN'>SHADOW_IN</ref>, <ref resolved='predef::GTK2.SHADOW_NONE'>SHADOW_NONE</ref> and <ref resolved='predef::GTK2.SHADOW_OUT'>SHADOW_OUT</ref></p> </text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>First argument is one of <ref resolved='predef::GTK2.ARROW_DOWN'>ARROW_DOWN</ref>, <ref resolved='predef::GTK2.ARROW_LEFT'>ARROW_LEFT</ref>, <ref resolved='predef::GTK2.ARROW_RIGHT'>ARROW_RIGHT</ref> and <ref resolved='predef::GTK2.ARROW_UP'>ARROW_UP</ref>, second one of <ref resolved='predef::GTK2.SHADOW_ETCHED_IN'>SHADOW_ETCHED_IN</ref>, <ref resolved='predef::GTK2.SHADOW_ETCHED_OUT'>SHADOW_ETCHED_OUT</ref>, <ref resolved='predef::GTK2.SHADOW_IN'>SHADOW_IN</ref>, <ref resolved='predef::GTK2.SHADOW_NONE'>SHADOW_NONE</ref> and <ref resolved='predef::GTK2.SHADOW_OUT'>SHADOW_OUT</ref>.</p> </text></doc> <method name='create'><modifiers><protected/></modifiers> <arguments><argument name='arrow_type_or_props'><type><or><int/><mapping/></or></type></argument><argument name='shadow_type'><type><or><int/><void/></or></type></argument></arguments> <returntype><object resolved='predef::GTK2.Arrow'>GTK2.Arrow</object></returntype> </method>
autodoc.git/autodoc.xml:56677:
<method name='set'> <arguments><argument name='arrow_type'><type><int/></type></argument><argument name='shadow_type'><type><int/></type></argument></arguments> <returntype><object resolved='predef::GTK2.Arrow'>GTK2.Arrow</object></returntype> </method> </docgroup> </class> <class name='AspectFrame'> <doc><text><p>A W(Frame) widget that always maintain a specified ratio between width and height. width/height == ratio</p> <p><expr> GTK2.AspectFrame("Title",0.5,0.5,0.4,0)->add( GTK2.Label("Wrong aspect"))->set_size_request(200,200)</expr>
-
<image file='predef.GTK2.AspectFrame.1.png'>../images/gtk2_aspectframe.png</image></p>
+
<image file='predef.GTK2.AspectFrame.1.png'
height='200' width='200'
>../images/gtk2_aspectframe.png</image></p>
<p> Properties: int obey-child float ratio float xalign float yalign</p> </text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Create a new frame. Arguments are label, xalign, yalign, ratio, obey_child xalign is floats between 0 and 1, 0.0 is upper (or leftmost), 1.0 is lower (or rightmost). If 'obey_child' is true, the frame will use the aspect ratio of it's (one and only) child widget instead of 'ratio'.</p>
autodoc.git/autodoc.xml:57022:
<method name='set_spacing'> <arguments><argument name='spacing'><type><int/></type></argument></arguments> <returntype><object resolved='predef::GTK2.Box'>GTK2.Box</object></returntype> </method> </docgroup> </class> <class name='Button'> <doc><text><p>A container that can only contain one child, and accepts events. draws a bevelbox around itself. <expr> GTK2.Button("A button")</expr>
-
<image file='predef.GTK2.Button.1.png'>../images/gtk2_button.png</image></p>
+
<image file='predef.GTK2.Button.1.png'
height='27' width='65'
>../images/gtk2_button.png</image></p>
<p><expr> GTK2.Button("A button\nwith multiple lines\nof text")</expr>
-
<image file='predef.GTK2.Button.2.png'>../images/gtk2_button_2.png</image></p>
+
<image file='predef.GTK2.Button.2.png'
height='61' width='123'
>../images/gtk2_button_2.png</image></p>
<p><expr> GTK2.Button()->add(GTK2.Image(GTK2.GdkImage(0)->set(Image.Image(100,40)->test())))</expr>
-
<image file='predef.GTK2.Button.3.png'>../images/gtk2_button_3.png</image></p>
+
<image file='predef.GTK2.Button.3.png'
height='50' width='110'
>../images/gtk2_button_3.png</image></p>
<p> Properties: int focus-on-click GTK2.Widget image int image-position string label int relief int use-stock int use-underline float xalign float yalign</p>
autodoc.git/autodoc.xml:57273:
</text></doc> <method name='set_layout'> <arguments><argument name='layout'><type><int/></type></argument></arguments> <returntype><object resolved='predef::GTK2.ButtonBox'>GTK2.ButtonBox</object></returntype> </method> </docgroup> </class> <class name='Calendar'> <doc><text><p>A calendar widget. <expr> GTK2.Calendar();</expr>
-
<image file='predef.GTK2.Calendar.1.png'>../images/gtk2_calendar.png</image></p>
+
<image file='predef.GTK2.Calendar.1.png'
height='188' width='229'
>../images/gtk2_calendar.png</image></p>
<p><expr> GTK2.Calendar()->select_day( 16 );</expr>
-
<image file='predef.GTK2.Calendar.2.png'>../images/gtk2_calendar_2.png</image></p>
+
<image file='predef.GTK2.Calendar.2.png'
height='188' width='229'
>../images/gtk2_calendar_2.png</image></p>
<p> Properties: int day int month int no-month-change int show-day-names int show-heading int show-week-numbers int year</p> <p> Signals: <b>day_selected</b></p>
autodoc.git/autodoc.xml:57872:
</method> </docgroup> </class> <class name='CheckButton'> <doc><text><p>Check buttons inherent many properties and functions from the the toggle buttons, but look a little different. Rather than being buttons with text inside them, they are small squares with the text to the right of them. These are often used for toggling options on and off in applications. <expr> GTK2.CheckButton( "title" )</expr>
-
<image file='predef.GTK2.CheckButton.1.png'>../images/gtk2_checkbutton.png</image></p>
+
<image file='predef.GTK2.CheckButton.1.png'
height='21' width='46'
>../images/gtk2_checkbutton.png</image></p>
<p> Style properties: int indicator-size int indicator-spacing</p> </text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>The argument, if specified, is the label of the item. If no label is specified, use object->add() to add some other widget (such as an pixmap or image widget)</p> </text></doc> <method name='create'><modifiers><protected/></modifiers> <arguments><argument name='label_or_props'><type><or><string/><mapping/></or></type></argument><argument name='mnemonic'><type><or><int/><void/></or></type></argument></arguments>
autodoc.git/autodoc.xml:57894:
</method> </docgroup> <docgroup homogen-name='ToggleButton' homogen-type='inherit'> <inherit name='ToggleButton'><classname resolved='predef::GTK2.ToggleButton'>GTK2.ToggleButton</classname></inherit> </docgroup> </class> <class name='CheckMenuItem'> <doc><text><p>A check menu item is more or less identical to a check button, but it should be used in menus. <expr> GTK2.CheckMenuItem("Hi there")</expr>
-
<image file='predef.GTK2.CheckMenuItem.1.png'>../images/gtk2_checkmenuitem.png</image></p>
+
<image file='predef.GTK2.CheckMenuItem.1.png'
height='21' width='61'
>../images/gtk2_checkmenuitem.png</image></p>
<p><expr> GTK2.CheckMenuItem("Hi there")->set_active(1)</expr>
-
<image file='predef.GTK2.CheckMenuItem.2.png'>../images/gtk2_checkmenuitem_2.png</image></p>
+
<image file='predef.GTK2.CheckMenuItem.2.png'
height='21' width='61'
>../images/gtk2_checkmenuitem_2.png</image></p>
<p> Properties: int active int draw-as-radio int inconsistent</p> <p> Style properties: int indicator-size</p> <p> Signals: <b>toggled</b> Called when the state of the menu item is changed</p> </text></doc>
autodoc.git/autodoc.xml:58157:
user select a color by manipulating RGB (Red, Green, Blue) and HSV (Hue, Saturation, Value) triples. This is done either by adjusting single values with sliders or entries, or by picking the desired color from a hue-saturation wheel/value bar. Optionally, the opacity of the color can also be set.</p> <p> The color selection widget currently emits only one signal, "color_changed", which is emitted whenever the current color in the widget changes, either when the user changes it or if it's set explicitly through set_color().</p> <p><expr> GTK2.ColorSelection()</expr>
-
<image file='predef.GTK2.ColorSelection.1.png'>../images/gtk2_colorselection.png</image></p>
+
<image file='predef.GTK2.ColorSelection.1.png'
height='212' width='452'
>../images/gtk2_colorselection.png</image></p>
<p> Properties: int current-alpha GDK2.Color current-color int has-opacity-control int has-palette</p> <p> Signals: <b>color_changed</b></p> </text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Create a new color selection.</p> </text></doc>
autodoc.git/autodoc.xml:58778:
</docgroup> </class> <class name='Databox'> <doc><text><p>GtkDatabox is designed to display large amounts of numerical data fast and easy. Thousands of data points (X and Y coordinate) may be displayed without any problems, zooming and scrolling as well as optional rulers are already included.</p> <p> The widget may be used as display for oscilloscopes or other applications that need to display fast changes in their data.</p> <p><expr> GTK2.Databox x=GTK2.Databox(); x->data_add_x_y(3, ({ 1.0, 0.5, 0.0 }), ({1.0, -1.0, 0.0}),GTK2.GdkColor(Image.Color.red), GTK2.DataboxLines,2); x->rescale(); x->set_size_request(300,300); return x;</expr>
-
<image file='predef.GTK2.Databox.1.png'>../images/gtk2_databox.png</image></p>
+
<image file='predef.GTK2.Databox.1.png'
height='300' width='300'
>../images/gtk2_databox.png</image></p>
<p> Signals: <b>marked</b></p> <p> <b>selection_canceled</b></p> <p> <b>selection_changed</b></p> <p> <b>selection_started</b></p> <p> <b>selection_stopped</b></p> <p> <b>zoomed</b></p> </text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Create a new databox widget</p> </text></doc>
autodoc.git/autodoc.xml:59116:
<returntype><object resolved='predef::GTK2.Dialog'>GTK2.Dialog</object></returntype> </method> </docgroup> </class> <class name='DrawingArea'> <doc><text><p>The drawing area is a window you can draw in. Please note that you <b>must</b> handle refresh and resize events on your own. Use W(pDrawingArea) for a drawingarea with automatic refresh/resize handling. <expr> GTK2.DrawingArea()->set_size_request(100,100)</expr>
-
<image file='predef.GTK2.DrawingArea.1.png'>../images/gtk2_drawingarea.png</image></p>
+
<image file='predef.GTK2.DrawingArea.1.png'
height='100' width='100'
>../images/gtk2_drawingarea.png</image></p>
</text></doc> <docgroup homogen-name='clear' homogen-type='method'><doc><text><p>Either clears the rectangle defined by the arguments, of if no arguments are specified, the whole drawable.</p> </text></doc> <method name='clear'> <arguments><argument name='x'><type><or><int/><void/></or></type></argument><argument name='y'><type><or><int/><void/></or></type></argument><argument name='width'><type><or><int/><void/></or></type></argument><argument name='height'><type><or><int/><void/></or></type></argument></arguments> <returntype><object resolved='predef::GTK2.DrawingArea'>GTK2.DrawingArea</object></returntype> </method> </docgroup> <docgroup homogen-name='copy_area' homogen-type='method'><doc><text><p>Copies the rectangle defined by xsource,ysource and width,height
autodoc.git/autodoc.xml:59352:
</text></doc> <method name='set_position'> <arguments><argument name='pos'><type><int/></type></argument></arguments> <returntype><object resolved='predef::GTK2.Editable'>GTK2.Editable</object></returntype> </method> </docgroup> </class> <class name='Entry'> <doc><text><p>Use this widget when you want the user to input a single line of text. <expr> GTK2.Entry()->set_text("Hello world")->set_editable(1)</expr>
-
<image file='predef.GTK2.Entry.1.png'>../images/gtk2_entry.png</image></p>
+
<image file='predef.GTK2.Entry.1.png'
height='25' width='158'
>../images/gtk2_entry.png</image></p>
<p> Properties: int activates-default int cursor-position int editable int has-frame int inner-border int invisible-char int max-length int scroll-offset int selection-bound
autodoc.git/autodoc.xml:59862:
have an associated X window. Not having an X window saves memory and improves performance, but also has some drawbacks. A widget without an X window cannot receive events, and does not perform any clipping on it's contents. Although the name EventBox emphasizes the event-handling function, the widget can also be used for clipping.</p> <p> The primary use for this widget is when you want to receive events for a widget without a window. Examples of such widgets are labels and images.</p> <p><expr> GTK2.EventBox()->set_size_request(100,100)</expr>
-
<image file='predef.GTK2.EventBox.1.png'>../images/gtk2_eventbox.png</image></p>
+
<image file='predef.GTK2.EventBox.1.png'
height='100' width='100'
>../images/gtk2_eventbox.png</image></p>
<p> Properties: int above-child int visible-window</p> </text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Create a new event box widget</p> </text></doc> <method name='create'><modifiers><protected/></modifiers> <arguments><argument name='props'><type><or><mapping/><void/></or></type></argument></arguments> <returntype><object resolved='predef::GTK2.EventBox'>GTK2.EventBox</object></returntype> </method>
autodoc.git/autodoc.xml:60527:
<p> The default filename can be set using set_filename() and the selected filename retrieved using get_filename().</p> <p> Use complete() to display files that match a given pattern. This can be used for example, to show only *.txt files, or only files beginning with gtk*.</p> <p> Simple file operations; create directory, delete file, and rename file, are available from buttons at the top of the dialog. These can be hidden using hide_fileop_buttons() and shown again using show_fileop_buttons().</p> <p><expr> GTK2.FileChooserDialog("File selector", 0, GTK2.FILE_CHOOSER_ACTION_OPEN, ({(["text":"Transmogrify", "id":17]), (["text":"Never mind", "id":42])}))</expr>
-
<image file='predef.GTK2.FileChooserDialog.1.png'>../images/gtk2_filechooserdialog.png</image></p>
+
<image file='predef.GTK2.FileChooserDialog.1.png'
height='384' width='584'
>../images/gtk2_filechooserdialog.png</image></p>
</text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Creates a new file selection dialog box. By default it will list the files in the current working directory. Operation buttons allowing the user to create a directory, delete files, and rename files will also be present by default.</p> </text></doc> <method name='create'><modifiers><protected/></modifiers> <arguments><argument name='title'><type><string/></type></argument><argument name='parent'><type><object resolved='predef::GTK2.Window'>GTK2.Window</object></type></argument><argument name='mode'><type><int/></type></argument><argument name='buttons'><type><array/></type></argument></arguments> <returntype><object resolved='predef::GTK2.FileChooserDialog'>GTK2.FileChooserDialog</object></returntype> </method>
autodoc.git/autodoc.xml:60549:
<docgroup homogen-name='Dialog' homogen-type='inherit'> <inherit name='Dialog'><classname resolved='predef::GTK2.Dialog'>GTK2.Dialog</classname></inherit> </docgroup> <docgroup homogen-name='FileChooser' homogen-type='inherit'> <inherit name='FileChooser'><classname resolved='predef::GTK2.FileChooser'>GTK2.FileChooser</classname></inherit> </docgroup> </class> <class name='FileChooserWidget'> <doc><text><p>File chooser widget that can be embedded in other widgets. <expr> GTK2.FileChooserWidget(GTK2.FILE_CHOOSER_ACTION_OPEN);</expr>
-
<image file='predef.GTK2.FileChooserWidget.1.png'>../images/gtk2_filechooserwidget.png</image></p>
+
<image file='predef.GTK2.FileChooserWidget.1.png'
height='97' width='383'
>../images/gtk2_filechooserwidget.png</image></p>
</text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Create a new file chooser widget. action is one of <ref resolved='predef::GTK2.FILE_CHOOSER_ACTION_CREATE_FOLDER'>FILE_CHOOSER_ACTION_CREATE_FOLDER</ref>, <ref resolved='predef::GTK2.FILE_CHOOSER_ACTION_OPEN'>FILE_CHOOSER_ACTION_OPEN</ref>, <ref resolved='predef::GTK2.FILE_CHOOSER_ACTION_SAVE'>FILE_CHOOSER_ACTION_SAVE</ref> and <ref resolved='predef::GTK2.FILE_CHOOSER_ACTION_SELECT_FOLDER'>FILE_CHOOSER_ACTION_SELECT_FOLDER</ref></p> </text></doc> <method name='create'><modifiers><protected/></modifiers> <arguments><argument name='action_or_props'><type><or><int/><mapping/></or></type></argument></arguments> <returntype><object resolved='predef::GTK2.FileChooserWidget'>GTK2.FileChooserWidget</object></returntype> </method> </docgroup> <docgroup homogen-name='FileChooser' homogen-type='inherit'>
autodoc.git/autodoc.xml:60638:
<p> The default filename can be set using set_filename() and the selected filename retrieved using get_filename().</p> <p> Use complete() to display files that match a given pattern. This can be used for example, to show only *.txt files, or only files beginning with gtk*.</p> <p> Simple file operations; create directory, delete file, and rename file, are available from buttons at the top of the dialog. These can be hidden using hide_fileop_buttons() and shown again using show_fileop_buttons().</p> <p><expr> GTK2.FileSelection("File selector")</expr>
-
<image file='predef.GTK2.FileSelection.1.png'>../images/gtk2_fileselection.png</image></p>
+
<image file='predef.GTK2.FileSelection.1.png'
height='372' width='523'
>../images/gtk2_fileselection.png</image></p>
<p> Properties: string filename int select-multiple int show-fileops</p> </text></doc> <docgroup homogen-name='complete' homogen-type='method'><doc><text><p>Will attempt to match pattern to a valid filename in the current directory. If a match can be made, the matched filename will appear in the text entry field of the file selection dialog. If a partial match can be made, the "Files" list will contain those file names which have been partially matched.</p>
autodoc.git/autodoc.xml:60799:
<arguments/> <returntype><object resolved='predef::GTK2.FileSelection'>GTK2.FileSelection</object></returntype> </method> </docgroup> </class> <class name='Fixed'> <doc><text><p>A fixed container is a container that keeps it's children at fixed locations and give them fixed sizes, both given in pixels.</p> <p> Example: <expr> GTK2.Fixed()->put(GTK2.Label("100,100"), 100, 100)->put(GTK2.Label("0,0"), 0, 0)->set_size_request(150,115)</expr>
-
<image file='predef.GTK2.Fixed.1.png'>../images/gtk2_fixed.png</image></p>
+
<image file='predef.GTK2.Fixed.1.png'
height='115' width='150'
>../images/gtk2_fixed.png</image></p>
<p> Child properties: int x int y</p> </text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Create a new fixed widget</p> </text></doc> <method name='create'><modifiers><protected/></modifiers> <arguments><argument name='props'><type><or><mapping/><void/></or></type></argument></arguments> <returntype><object resolved='predef::GTK2.Fixed'>GTK2.Fixed</object></returntype> </method>
autodoc.git/autodoc.xml:60964:
<method name='set_use_size'> <arguments><argument name='setting'><type><int/></type></argument></arguments> <returntype><object resolved='predef::GTK2.FontButton'>GTK2.FontButton</object></returntype> </method> </docgroup> </class> <class name='FontSelection'> <doc><text><p>The W(FontSelection) widget lists the available fonts, styles and sizes, allowing the user to select a font. It is used in W(FontSelectionDialog). <expr> GTK2.FontSelection();</expr>
-
<image file='predef.GTK2.FontSelection.1.png'>../images/gtk2_fontselection.png</image></p>
+
<image file='predef.GTK2.FontSelection.1.png'
height='249' width='421'
>../images/gtk2_fontselection.png</image></p>
<p> Properties: string font-name string preview-text</p> </text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Create a new GTK2.FontSelection widget.</p> </text></doc> <method name='create'><modifiers><protected/></modifiers> <arguments><argument name='props'><type><or><mapping/><void/></or></type></argument></arguments> <returntype><object resolved='predef::GTK2.FontSelection'>GTK2.FontSelection</object></returntype> </method>
autodoc.git/autodoc.xml:61015:
</method> </docgroup> </class> <class name='FontSelectionDialog'> <doc><text><p>The GtkFontSelectionDialog widget is a dialog box for selecting a font.</p> <p> To set the font which is initially selected, use set_font_name().</p> <p> To get the selected font use get_font_name().</p> <p> To change the text which is shown in the preview area, use set_preview_text().</p> <p><expr> GTK2.FontSelectionDialog("Select a font")</expr>
-
<image file='predef.GTK2.FontSelectionDialog.1.png'>../images/gtk2_fontselectiondialog.png</image></p>
+
<image file='predef.GTK2.FontSelectionDialog.1.png'
height='303' width='433'
>../images/gtk2_fontselectiondialog.png</image></p>
</text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Create a new font selection dialog with the specified window title</p> </text></doc> <method name='create'><modifiers><protected/></modifiers> <arguments><argument name='title'><type><string/></type></argument></arguments> <returntype><object resolved='predef::GTK2.FontSelectionDialog'>GTK2.FontSelectionDialog</object></returntype> </method> </docgroup> <docgroup homogen-name='get_apply_button' homogen-type='method'><doc><text><p>The apply button</p> </text></doc>
autodoc.git/autodoc.xml:61084:
</method> </docgroup> </class> <class name='Frame'> <doc><text><p>The frame widget is a Bin that surrounds its child with a decorative frame and an optional label. If present, the label is drawn in a gap in the top side of the frame. The position of the label can be controlled with set_label_align().</p> <p> Used to visually group objects.</p> <p><expr> GTK2.Frame("Title")->add(GTK2.Label("Contents"))</expr>
-
<image file='predef.GTK2.Frame.1.png'>../images/gtk2_frame.png</image></p>
+
<image file='predef.GTK2.Frame.1.png'
height='36' width='62'
>../images/gtk2_frame.png</image></p>
<p><expr> GTK2.Frame()->add(GTK2.Label("Contents"))</expr>
-
<image file='predef.GTK2.Frame.2.png'>../images/gtk2_frame_2.png</image></p>
+
<image file='predef.GTK2.Frame.2.png'
height='21' width='62'
>../images/gtk2_frame_2.png</image></p>
<p><expr> GTK2.Frame()->add(GTK2.Label("Contents"))->set_shadow_type(GTK2.SHADOW_IN)</expr>
-
<image file='predef.GTK2.Frame.3.png'>../images/gtk2_frame_3.png</image></p>
+
<image file='predef.GTK2.Frame.3.png'
height='21' width='62'
>../images/gtk2_frame_3.png</image></p>
<p> Properties: string label GTK2.Widget label-widget float label-xalign float label-yalign int shadow int shadow-type</p> </text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Create a new W(Frame) widget.</p> </text></doc>
autodoc.git/autodoc.xml:63611:
<arguments><argument name='toolbar'><type><object resolved='predef::GTK2.Toolbar'>GTK2.Toolbar</object></type></argument></arguments> <returntype><object>Gnome2.App</object></returntype> </method> </docgroup> </class> <class name='Gnome2Appbar'> <doc><text><p>A bar that GNOME applications put on the bottom of the windows to display status, progress, hints for menu items or a minibuffer for getting some sort of response. It has a stack for status messages <expr> GTK2.Gnome2Appbar( 1, 1, GTK2.GNOME_PREFERENCES_USER )->set_progress_percentage( 0.4 );</expr>
-
<image file='predef.GTK2.Gnome2Appbar.1.png'>../images/gnome2_appbar.png</image></p>
+
<image file='predef.GTK2.Gnome2Appbar.1.png'
height='21' width='159'
>../images/gnome2_appbar.png</image></p>
<p> Properties: int has-progress int has-status int interactivity</p> <p> Signals: <b>clear_prompt</b> Emitted when the prompt is cleared. mixed user_data</p> <p> <b>user_response</b> Emitted when the user hits enter after a prompt.
autodoc.git/autodoc.xml:64431:
<method name='set_shutdown_command'> <arguments><argument name='argv'><type><array/></type></argument></arguments> <returntype><object>Gnome2.Client</object></returntype> </method> </docgroup> </class> <class name='Gnome2DateEdit'> <doc><text><p>The GnomeDateEdit widget provides a way to enter dates and times with a helper calendar to let the user select the date. <expr> GTK2.Gnome2DateEdit(time(),1,1);</expr>
-
<image file='predef.GTK2.Gnome2DateEdit.1.png'>../images/gnome2_dateedit.png</image></p>
+
<image file='predef.GTK2.Gnome2DateEdit.1.png'
height='27' width='331'
>../images/gnome2_dateedit.png</image></p>
<p><expr> GTK2.Gnome2DateEdit(time(),0,1);</expr>
-
<image file='predef.GTK2.Gnome2DateEdit.2.png'>../images/gnome2_dateedit_2.png</image></p>
+
<image file='predef.GTK2.Gnome2DateEdit.2.png'
height='25' width='115'
>../images/gnome2_dateedit_2.png</image></p>
<p> Properties: int dateedit-flags int initial-time int lower-hour int time int upper-hour</p> <p> Signals: <b>date_changed</b></p> <p> <b>time_changed</b></p> </text></doc>
autodoc.git/autodoc.xml:64850:
<method name='set_top_watermark'> <arguments><argument name='watermark'><type><object resolved='predef::GTK2.GdkPixbuf'>GTK2.GdkPixbuf</object></type></argument></arguments> <returntype><object>Gnome2.DruidPageStandard</object></returntype> </method> </docgroup> </class> <class name='Gnome2Href'> <doc><text><p>This widget is a GtkButton button that contains a URL. When clicked it invokes the configured browser for the URL you provided.</p> <p><expr> GTK2.Gnome2Href( "http://www.gnome.org", "GNOME Web Site" )</expr>
-
<image file='predef.GTK2.Gnome2Href.1.png'>../images/gnome2_href.png</image></p>
+
<image file='predef.GTK2.Gnome2Href.1.png'
height='27' width='119'
>../images/gnome2_href.png</image></p>
<p><expr> GTK2.Gnome2Href( "http://www.gnome.org" )</expr>
-
<image file='predef.GTK2.Gnome2Href.2.png'>../images/gnome2_href_2.png</image></p>
+
<image file='predef.GTK2.Gnome2Href.2.png'
height='27' width='10'
>../images/gnome2_href_2.png</image></p>
<p> Properties: string text string url</p> <p> Style properties: GDK.Color link-color</p> </text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Created a GNOME href object, a label widget with a clickable action and an associated URL. If label is set to 0, url is used as the label.</p> </text></doc>
autodoc.git/autodoc.xml:65058:
<method name='stop_loading'> <arguments/> <returntype><object>Gnome2.IconSelection</object></returntype> </method> </docgroup> </class> <class name='HScrollbar'> <doc><text><p>A horizontal scrollbar. General documentation: See W(Scrollbar) <expr> GTK2.HScrollbar(GTK2.Adjustment())->set_size_request(300,15)</expr>
-
<image file='predef.GTK2.HScrollbar.1.png'>../images/gtk2_hscrollbar.png</image></p>
+
<image file='predef.GTK2.HScrollbar.1.png'
height='15' width='300'
>../images/gtk2_hscrollbar.png</image></p>
</text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Used to create a new hscrollbar widget.</p> </text></doc> <method name='create'><modifiers><protected/></modifiers> <arguments><argument name='adjustment_or_props'><type><object resolved='predef::GTK2.Adjustment'>GTK2.Adjustment</object></type></argument></arguments> <returntype><object resolved='predef::GTK2.HScrollbar'>GTK2.HScrollbar</object></returntype> </method> </docgroup> <docgroup homogen-name='Scrollbar' homogen-type='inherit'> <inherit name='Scrollbar'><classname resolved='predef::GTK2.Scrollbar'>GTK2.Scrollbar</classname></inherit> </docgroup> </class> <class name='HandleBox'> <doc><text><p>The contents of a handle box can be 'dragged' out of the box by the user. The contents will then be placed in a separate window. <expr> GTK2.HandleBox()->add(GTK2.Label("The contents"))</expr>
-
<image file='predef.GTK2.HandleBox.1.png'>../images/gtk2_handlebox.png</image></p>
+
<image file='predef.GTK2.HandleBox.1.png'
height='17' width='93'
>../images/gtk2_handlebox.png</image></p>
<p> Properties: int handle-position int shadow int shadow-type int snap-edge int snap-edge-set</p> <p> Signals: <b>child_attached</b> Called when a new child is added to the box</p> <p> <b>child_detached</b>
autodoc.git/autodoc.xml:65149:
</docgroup> </class> <class name='Hbox'> <doc><text><p>Most packing is done by creating boxes. These are invisible widget containers that we can pack our widgets into which come in two forms, a horizontal box, and a vertical box. This is the horizontal one. When packing widgets into a horizontal box, the objects are inserted horizontally from left to right or right to left depending on the call used.</p> <p><expr> GTK2.Hbox(0,0)->add(GTK2.Button("Hello"))->add(GTK2.Button("World"))->pack_end_defaults(GTK2.Button("From right"))->pack_start_defaults(GTK2.Button("From left"))</expr>
-
<image file='predef.GTK2.Hbox.1.png'>../images/gtk2_hbox.png</image></p>
+
<image file='predef.GTK2.Hbox.1.png'
height='27' width='42'
>../images/gtk2_hbox.png</image></p>
<p><expr> GTK2.Hbox(1,0)->add(GTK2.Button("Hello"))->add(GTK2.Button("World"))->pack_end_defaults(GTK2.Button("From right"))->pack_start_defaults(GTK2.Button("From left"))</expr>
-
<image file='predef.GTK2.Hbox.2.png'>../images/gtk2_hbox_2.png</image></p>
+
<image file='predef.GTK2.Hbox.2.png'
height='27' width='42'
>../images/gtk2_hbox_2.png</image></p>
<p><expr> GTK2.Hbox(1,40)->add(GTK2.Button("Hello"))->add(GTK2.Button("World"))->pack_end_defaults(GTK2.Button("From right"))->pack_start_defaults(GTK2.Button("From left"))</expr>
-
<image file='predef.GTK2.Hbox.3.png'>../images/gtk2_hbox_3.png</image></p>
+
<image file='predef.GTK2.Hbox.3.png'
height='27' width='42'
>../images/gtk2_hbox_3.png</image></p>
</text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Create a new horizontal box widget. If all_same_size is true, all widgets will have exactly the same size. hpadding is added to the left and right of the children.</p> </text></doc> <method name='create'><modifiers><protected/></modifiers> <arguments><argument name='uniformp_or_props'><type><or><int/><mapping/></or></type></argument><argument name='hpadding'><type><or><int/><void/></or></type></argument></arguments> <returntype><object resolved='predef::GTK2.Hbox'>GTK2.Hbox</object></returntype> </method> </docgroup> <docgroup homogen-name='Box' homogen-type='inherit'> <inherit name='Box'><classname resolved='predef::GTK2.Box'>GTK2.Box</classname></inherit> </docgroup> </class> <class name='HbuttonBox'> <doc><text><p>A HbuttonBox is very similar to a Hbox. The major diffference is that the button box is made to pack buttons in, and has a few convenience function for normal button layouts.</p> <p><expr> GTK2.HbuttonBox()->add(GTK2.Button("Hello"))->add(GTK2.Button("World"))->set_size_request(400,30)</expr>
-
<image file='predef.GTK2.HbuttonBox.1.png'>../images/gtk2_hbuttonbox.png</image></p>
+
<image file='predef.GTK2.HbuttonBox.1.png'
height='30' width='400'
>../images/gtk2_hbuttonbox.png</image></p>
<p><expr> GTK2.HbuttonBox()->add(GTK2.Button("Hello"))->add(GTK2.Button("World"))->set_layout(GTK2.BUTTONBOX_SPREAD)->set_size_request(400,30)</expr>
-
<image file='predef.GTK2.HbuttonBox.2.png'>../images/gtk2_hbuttonbox_2.png</image></p>
+
<image file='predef.GTK2.HbuttonBox.2.png'
height='30' width='400'
>../images/gtk2_hbuttonbox_2.png</image></p>
<p><expr> GTK2.HbuttonBox()->add(GTK2.Button("Hello"))->add(GTK2.Button("World"))->set_layout(GTK2.BUTTONBOX_EDGE)->set_size_request(400,30)</expr>
-
<image file='predef.GTK2.HbuttonBox.3.png'>../images/gtk2_hbuttonbox_3.png</image></p>
+
<image file='predef.GTK2.HbuttonBox.3.png'
height='30' width='400'
>../images/gtk2_hbuttonbox_3.png</image></p>
<p><expr> GTK2.HbuttonBox()->add(GTK2.Button("Hello"))->add(GTK2.Button("World"))->set_layout(GTK2.BUTTONBOX_START)->set_size_request(400,30)</expr>
-
<image file='predef.GTK2.HbuttonBox.4.png'>../images/gtk2_hbuttonbox_4.png</image></p>
+
<image file='predef.GTK2.HbuttonBox.4.png'
height='30' width='400'
>../images/gtk2_hbuttonbox_4.png</image></p>
<p><expr> GTK2.HbuttonBox()->add(GTK2.Button("Hello"))->add(GTK2.Button("World"))->set_layout(GTK2.BUTTONBOX_END)->set_size_request(400,30)</expr>
-
<image file='predef.GTK2.HbuttonBox.5.png'>../images/gtk2_hbuttonbox_5.png</image></p>
+
<image file='predef.GTK2.HbuttonBox.5.png'
height='30' width='400'
>../images/gtk2_hbuttonbox_5.png</image></p>
</text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Create a new horizontal button box</p> </text></doc> <method name='create'><modifiers><protected/></modifiers> <arguments><argument name='props'><type><or><mapping/><void/></or></type></argument></arguments> <returntype><object resolved='predef::GTK2.HbuttonBox'>GTK2.HbuttonBox</object></returntype> </method> </docgroup> <docgroup homogen-name='ButtonBox' homogen-type='inherit'> <inherit name='ButtonBox'><classname resolved='predef::GTK2.ButtonBox'>GTK2.ButtonBox</classname></inherit> </docgroup> </class> <class name='Hpaned'> <doc><text><p>The paned window widgets are useful when you want to divide an area into two parts, with the relative size of the two parts controlled by the user. A groove is drawn between the two portions with a handle that the user can drag to change the ratio. This widgets makes a horizontal division</p> <p> See W(Paned) for details.</p> <p><expr> GTK2.Hpaned()->add1(GTK2.Label("Left\nSide\nOf\nPane"))->add2(GTK2.Label("Right\nSide\nOf\nPane"))->set_size_request(100,100)</expr>
-
<image file='predef.GTK2.Hpaned.1.png'>../images/gtk2_hpaned.png</image></p>
+
<image file='predef.GTK2.Hpaned.1.png'
height='100' width='100'
>../images/gtk2_hpaned.png</image></p>
</text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Create a new W(Hpaned) widget.</p> </text></doc> <method name='create'><modifiers><protected/></modifiers> <arguments><argument name='props'><type><or><mapping/><void/></or></type></argument></arguments> <returntype><object resolved='predef::GTK2.Hpaned'>GTK2.Hpaned</object></returntype> </method> </docgroup> <docgroup homogen-name='Paned' homogen-type='inherit'> <inherit name='Paned'><classname resolved='predef::GTK2.Paned'>GTK2.Paned</classname></inherit>
autodoc.git/autodoc.xml:65226:
<class name='Hscale'> <doc><text><p>The GTK2.HScale widget is used to allow the user to select a value using a horizontal slider. A GTK2.Adjustment is used to set the initial value, the lower and upper bounds, and the step and page increments.</p> <p> See W(Scale) for details</p> <p> The position to show the current value, and the number of decimal places shown can be set using the parent W(Scale) class's functions.</p> <p><expr> GTK2.Hscale(GTK2.Adjustment())->set_size_request(300,30)</expr>
-
<image file='predef.GTK2.Hscale.1.png'>../images/gtk2_hscale.png</image></p>
+
<image file='predef.GTK2.Hscale.1.png'
height='30' width='300'
>../images/gtk2_hscale.png</image></p>
</text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Used to create a new hscale widget. Either pass an W(Adjustment), or three floats representing min, max, and step values.</p> </text></doc> <method name='create'><modifiers><protected/></modifiers> <arguments><argument name='settings_or_min_props'><type><object resolved='predef::GTK2.Adjustment'>GTK2.Adjustment</object></type></argument><argument name='max'><type><or><float/><void/></or></type></argument><argument name='step'><type><or><float/><void/></or></type></argument></arguments> <returntype><object resolved='predef::GTK2.Hscale'>GTK2.Hscale</object></returntype> </method> </docgroup> <docgroup homogen-name='Scale' homogen-type='inherit'> <inherit name='Scale'><classname resolved='predef::GTK2.Scale'>GTK2.Scale</classname></inherit> </docgroup> </class> <class name='Hseparator'> <doc><text><p>Simply creates a horizontal separator. No bells or whistles. <expr> GTK2.Hseparator()->set_size_request(300,3)</expr>
-
<image file='predef.GTK2.Hseparator.1.png'>../images/gtk2_hseparator.png</image></p>
+
<image file='predef.GTK2.Hseparator.1.png'
height='3' width='300'
>../images/gtk2_hseparator.png</image></p>
</text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Used to create a new hseparator widget.</p> </text></doc> <method name='create'><modifiers><protected/></modifiers> <arguments><argument name='props'><type><or><mapping/><void/></or></type></argument></arguments> <returntype><object resolved='predef::GTK2.Hseparator'>GTK2.Hseparator</object></returntype> </method> </docgroup> <docgroup homogen-name='Separator' homogen-type='inherit'> <inherit name='Separator'><classname resolved='predef::GTK2.Separator'>GTK2.Separator</classname></inherit>
autodoc.git/autodoc.xml:66147:
<arguments><argument name='path'><type><object resolved='predef::GTK2.TreePath'>GTK2.TreePath</object></type></argument></arguments> <returntype><object resolved='predef::GTK2.IconView'>GTK2.IconView</object></returntype> </method> </docgroup> </class> <class name='Image'> <doc><text><p>An image is a image object stored in client, not X server, memory. A pixmap, on the other hand, is a image object stored in the X-server. See GDK2.Image and GDK2.Pixmap.</p> <p><expr> GTK2.Image("tornado_nguyen_big.jpg");</expr>
-
<image file='predef.GTK2.Image.1.png'>../images/gtk2_image.png</image></p>
+
<image file='predef.GTK2.Image.1.png'
height='20' width='20'
>../images/gtk2_image.png</image></p>
<p> Properties: string file string icon-name icon-set int icon-size GDK2.Image image GDK2.Pixmap mask GDK2.Pixbuf pixbuf GDK2.PixbufAnimation pixbuf-animation int pixel-size
autodoc.git/autodoc.xml:66413:
<returntype><object resolved='predef::GTK2.KeywordListTag'>GTK2.KeywordListTag</object></returntype> </method> </docgroup> <docgroup homogen-name='SourceTag' homogen-type='inherit'> <inherit name='SourceTag'><classname resolved='predef::GTK2.SourceTag'>GTK2.SourceTag</classname></inherit> </docgroup> </class> <class name='Label'> <doc><text><p>A simple text label. <expr> GTK2.Label("A simple text label")</expr>
-
<image file='predef.GTK2.Label.1.png'>../images/gtk2_label.png</image></p>
+
<image file='predef.GTK2.Label.1.png'
height='17' width='118'
>../images/gtk2_label.png</image></p>
<p><expr> GTK2.Label("Multi\nline text\nlabel here")</expr>
-
<image file='predef.GTK2.Label.2.png'>../images/gtk2_label_2.png</image></p>
+
<image file='predef.GTK2.Label.2.png'
height='51' width='63'
>../images/gtk2_label_2.png</image></p>
<p><expr> GTK2.Label("Multi\nline text\nlabel here")->set_justify(GTK2.JUSTIFY_LEFT)</expr>
-
<image file='predef.GTK2.Label.3.png'>../images/gtk2_label_3.png</image></p>
+
<image file='predef.GTK2.Label.3.png'
height='51' width='63'
>../images/gtk2_label_3.png</image></p>
<p><expr> GTK2.Label("Multi\nline text\nlabel here")->set_justify(GTK2.JUSTIFY_RIGHT)</expr>
-
<image file='predef.GTK2.Label.4.png'>../images/gtk2_label_4.png</image></p>
+
<image file='predef.GTK2.Label.4.png'
height='51' width='63'
>../images/gtk2_label_4.png</image></p>
<p> Properties: float angle Pango.AttrList attributes int cursor-position int ellipsize <ref resolved='predef::GTK2.PANGO_ELLIPSIZE_END'>PANGO_ELLIPSIZE_END</ref>, <ref resolved='predef::GTK2.PANGO_ELLIPSIZE_MIDDLE'>PANGO_ELLIPSIZE_MIDDLE</ref>, <ref resolved='predef::GTK2.PANGO_ELLIPSIZE_NONE'>PANGO_ELLIPSIZE_NONE</ref> and <ref resolved='predef::GTK2.PANGO_ELLIPSIZE_START'>PANGO_ELLIPSIZE_START</ref> int justfy <ref resolved='predef::GTK2.JUSTIFY_CENTER'>JUSTIFY_CENTER</ref>, <ref resolved='predef::GTK2.JUSTIFY_FILL'>JUSTIFY_FILL</ref>, <ref resolved='predef::GTK2.JUSTIFY_LEFT'>JUSTIFY_LEFT</ref> and <ref resolved='predef::GTK2.JUSTIFY_RIGHT'>JUSTIFY_RIGHT</ref> string label int max-width-chars int mnemonic-keyval int mnemonic-widget
autodoc.git/autodoc.xml:67210:
<returntype><object resolved='predef::GTK2.Menu'>GTK2.Menu</object></returntype> </method> </docgroup> </class> <class name='MenuBar'> <doc><text><p>Basically a horizontal W(Menu). The menu image cannot be grabbed automatically, but this is how you would create a menu all in one line. This is not the recommended coding style. <expr> GTK2.MenuBar()->add(GTK2.MenuItem("Menu")->set_submenu(GTK2.Menu()->add(GTK2.MenuItem("Sub")))->select()->activate())->add(GTK2.MenuItem("Bar"))</expr>
-
<image file='predef.GTK2.MenuBar.1.png'>../images/gtk2_menubar.png</image></p>
+
<image file='predef.GTK2.MenuBar.1.png'
height='27' width='91'
>../images/gtk2_menubar.png</image></p>
<p> Properties: int child-pack-direction int pack-direction</p> <p> Style properties: int internal-padding int shadow-type</p> </text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Create a new menu bar.</p> </text></doc> <method name='create'><modifiers><protected/></modifiers>
autodoc.git/autodoc.xml:67598:
itself, but is used to derive subclasses which have alignment and padding attributes.</p> <p> The horizontal and vertical padding attributes allows extra space to be added around the widget.</p> <p> The horizontal and vertical alignment attributes enable the widget to be positioned within its allocated area. Note that if the widget is added to a container in such a way that it expands automatically to fill its allocated area, the alignment settings will not alter the widgets position.</p> <p><expr> GTK2.Vbox(0,0)->add(GTK2.Label("Label"))->set_size_request(100,20)</expr>
-
<image file='predef.GTK2.Misc.1.png'>../images/gtk2_misc.png</image></p>
+
<image file='predef.GTK2.Misc.1.png'
height='20' width='100'
>../images/gtk2_misc.png</image></p>
<p><expr> GTK2.Vbox(0,0)->add(GTK2.Label("Label")->set_alignment(1.0,0.0))->set_size_request(100,20)</expr>
-
<image file='predef.GTK2.Misc.2.png'>../images/gtk2_misc_2.png</image></p>
+
<image file='predef.GTK2.Misc.2.png'
height='20' width='100'
>../images/gtk2_misc_2.png</image></p>
<p><expr> GTK2.Vbox(0,0)->add(GTK2.Label("Label")->set_alignment(0.0,0.0))->set_size_request(100,20)</expr>
-
<image file='predef.GTK2.Misc.3.png'>../images/gtk2_misc_3.png</image></p>
+
<image file='predef.GTK2.Misc.3.png'
height='20' width='100'
>../images/gtk2_misc_3.png</image></p>
<p> Properties: float xalign The horizontal alignment, from 0 (left) to 1 (right). int xpad The amount of space to add on the left and right of the widget, in pixels. float yalign The vertical alignment, from 0 (top) to 1 (bottom). int ypad The amount of space to add on the top and bottom of the widget, in
autodoc.git/autodoc.xml:69239:
float text-yalign</p> </text></doc> <docgroup homogen-name='Widget' homogen-type='inherit'> <inherit name='Widget'><classname resolved='predef::GTK2.Widget'>GTK2.Widget</classname></inherit> </docgroup> </class> <class name='ProgressBar'> <doc><text><p>A simple progress bar. Useful when you are doing things that take a long time. Try to always have an 'abort' button whenever it makes sence. <expr> GTK2.ProgressBar()->set_fraction(0.1)</expr>
-
<image file='predef.GTK2.ProgressBar.1.png'>../images/gtk2_progressbar.png</image></p>
+
<image file='predef.GTK2.ProgressBar.1.png'
height='20' width='150'
>../images/gtk2_progressbar.png</image></p>
<p><expr> GTK2.ProgressBar()->set_property("show_text", 1)->set_fraction(0.3)</expr>
-
<image file='predef.GTK2.ProgressBar.2.png'>../images/gtk2_progressbar_2.png</image></p>
+
<image file='predef.GTK2.ProgressBar.2.png'
height='28' width='150'
>../images/gtk2_progressbar_2.png</image></p>
<p><expr> GTK2.ProgressBar()->set_fraction(0.6)</expr>
-
<image file='predef.GTK2.ProgressBar.3.png'>../images/gtk2_progressbar_3.png</image></p>
+
<image file='predef.GTK2.ProgressBar.3.png'
height='20' width='150'
>../images/gtk2_progressbar_3.png</image></p>
<p><expr> GTK2.ProgressBar()->set_fraction(1.0)</expr>
-
<image file='predef.GTK2.ProgressBar.4.png'>../images/gtk2_progressbar_4.png</image></p>
+
<image file='predef.GTK2.ProgressBar.4.png'
height='20' width='150'
>../images/gtk2_progressbar_4.png</image></p>
<p> Properties: int discrete-blocks int ellipsize <ref resolved='predef::GTK2.PANGO_ELLIPSIZE_END'>PANGO_ELLIPSIZE_END</ref>, <ref resolved='predef::GTK2.PANGO_ELLIPSIZE_MIDDLE'>PANGO_ELLIPSIZE_MIDDLE</ref>, <ref resolved='predef::GTK2.PANGO_ELLIPSIZE_NONE'>PANGO_ELLIPSIZE_NONE</ref> and <ref resolved='predef::GTK2.PANGO_ELLIPSIZE_START'>PANGO_ELLIPSIZE_START</ref> float fraction int orientation <ref resolved='predef::GTK2.PROGRESS_BOTTOM_TO_TOP'>PROGRESS_BOTTOM_TO_TOP</ref>, <ref resolved='predef::GTK2.PROGRESS_CONTINUOUS'>PROGRESS_CONTINUOUS</ref>, <ref resolved='predef::GTK2.PROGRESS_DISCRETE'>PROGRESS_DISCRETE</ref>, <ref resolved='predef::GTK2.PROGRESS_LEFT_TO_RIGHT'>PROGRESS_LEFT_TO_RIGHT</ref>, <ref resolved='predef::GTK2.PROGRESS_RIGHT_TO_LEFT'>PROGRESS_RIGHT_TO_LEFT</ref> and <ref resolved='predef::GTK2.PROGRESS_TOP_TO_BOTTOM'>PROGRESS_TOP_TO_BOTTOM</ref> float pulse-step string text</p> </text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Create a new progress bar. The default values are:
autodoc.git/autodoc.xml:69409:
</docgroup> </class> <class name='RadioButton'> <doc><text><p>Radio buttons are similar to check buttons except they are grouped so that only one may be selected/depressed at a time. This is good for places in your application where you need to select from a short list of options. To connect the buttons, use another button in the desired group as the second argument to GTK2.RadioButton().</p> <p><expr> GTK2.RadioButton("Button");</expr>
-
<image file='predef.GTK2.RadioButton.1.png'>../images/gtk2_radiobutton.png</image></p>
+
<image file='predef.GTK2.RadioButton.1.png'
height='21' width='65'
>../images/gtk2_radiobutton.png</image></p>
<p> Properties: GTK2.RadioButton group</p> <p> Signals: <b>group_changed</b></p> </text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Normal creation: object GTK2.RadioButton(string title) - First button (with label) object GTK2.RadioButton()->add(widget) - First button (with widget) object GTK2.RadioButton(title, another_radio_button) - Second to n:th button (with title) object GTK2.RadioButton(0,another_radio_button)->add(widget) - Second to n:th button (with widget)</p>
autodoc.git/autodoc.xml:69450:
</text></doc> <method name='set_group'> <arguments><argument name='groupmember'><type><object resolved='predef::GTK2.RadioButton'>GTK2.RadioButton</object></type></argument></arguments> <returntype><object resolved='predef::GTK2.RadioButton'>GTK2.RadioButton</object></returntype> </method> </docgroup> </class> <class name='RadioMenuItem'> <doc><text><p>Exactly like W(RadioButton), but it is an menu item. <expr> GTK2.RadioMenuItem("Menu item")</expr>
-
<image file='predef.GTK2.RadioMenuItem.1.png'>../images/gtk2_radiomenuitem.png</image></p>
+
<image file='predef.GTK2.RadioMenuItem.1.png'
height='21' width='78'
>../images/gtk2_radiomenuitem.png</image></p>
<p> Properties:</p> <p> GTK2.RadioMenuItem group</p> <p> Signals: <b>group_changed</b></p> </text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>object GTK2.RadioMenuItem(string title) - First button (with label) object GTK2.RadioMenuItem()->add(widget) - First button (with widget) object GTK2.RadioMenuItem(title, another_radio_button) - Second to n:th button (with title) object GTK2.RadioMenuItem(0,another_radio_button)->add(widget) - Second to n:th button (with widget)</p> </text></doc>
autodoc.git/autodoc.xml:70634:
<docgroup homogen-name='Range' homogen-type='inherit'> <inherit name='Range'><classname resolved='predef::GTK2.Range'>GTK2.Range</classname></inherit> </docgroup> </class> <class name='ScrolledWindow'> <doc><text><p>Scrolled windows are used to create a scrollable area with another widget inside it. You may insert any type of widget into a scrolled window, and it will be accessible regardless of its size by using the scrollbars.</p> <p><expr> GTK2.ScrolledWindow(GTK2.Adjustment(),GTK2.Adjustment())->add(GTK2.Label("A small label"))->set_policy(GTK2.POLICY_AUTOMATIC,GTK2.POLICY_AUTOMATIC)</expr>
-
<image file='predef.GTK2.ScrolledWindow.1.png'>../images/gtk2_scrolledwindow.png</image></p>
+
<image file='predef.GTK2.ScrolledWindow.1.png'
height='57' width='40'
>../images/gtk2_scrolledwindow.png</image></p>
<p><expr> GTK2.ScrolledWindow(GTK2.Adjustment(),GTK2.Adjustment())->add(GTK2.Label("A small label"))->set_policy(GTK2.POLICY_AUTOMATIC,GTK2.POLICY_AUTOMATIC)</expr>
-
<image file='predef.GTK2.ScrolledWindow.2.png'>../images/gtk2_scrolledwindow_2.png</image></p>
+
<image file='predef.GTK2.ScrolledWindow.2.png'
height='57' width='40'
>../images/gtk2_scrolledwindow_2.png</image></p>
<p><expr> GTK2.ScrolledWindow(GTK2.Adjustment(),GTK2.Adjustment())->add(GTK2.Label("A small label"))</expr>
-
<image file='predef.GTK2.ScrolledWindow.3.png'>../images/gtk2_scrolledwindow_3.png</image></p>
+
<image file='predef.GTK2.ScrolledWindow.3.png'
height='57' width='57'
>../images/gtk2_scrolledwindow_3.png</image></p>
<p><expr> GTK2.ScrolledWindow(GTK2.Adjustment(),GTK2.Adjustment())->add(GTK2.Label("a very huge label"))</expr>
-
<image file='predef.GTK2.ScrolledWindow.4.png'>../images/gtk2_scrolledwindow_4.png</image></p>
+
<image file='predef.GTK2.ScrolledWindow.4.png'
height='57' width='57'
>../images/gtk2_scrolledwindow_4.png</image></p>
<p> Properties: GTK2.Adjustment hadjustment int hscrollbar-policy int shadow-type GTK2.Adjustment vadjustment int vscrollbar-policy int window-placement</p> <p> Style properties: int scrollbar-spacing int scrollbars-within-bevel</p>
autodoc.git/autodoc.xml:71713:
<ul><li>value: initial value for the Spin Button</li> <li>lower: lower range value</li> <li>upper: upper range value</li> <li>step_increment: value to increment/decrement when pressing mouse button 1 on a button</li> <li>page_increment: value to increment/decrement when pressing mouse button 2 on a button</li> <li>page_size: unused</li> </ul></p> <p> The argument order for the W(Adjustment) constructor is: value, lower, upper, step_increment, page_increment, page_size</p> <p><expr> GTK2.SpinButton(GTK2.Adjustment(),0.1, 1 )->set_size_request(60,20)</expr>
-
<image file='predef.GTK2.SpinButton.1.png'>../images/gtk2_spinbutton.png</image></p>
+
<image file='predef.GTK2.SpinButton.1.png'
height='20' width='60'
>../images/gtk2_spinbutton.png</image></p>
<p> Properties: GTK2.Adjustment adjustment float climb-rate int digits int numeric int snap-to-ticks int update-policy float value int wrap</p> <p> Style properties:
autodoc.git/autodoc.xml:72135:
<doc><text><p>Statusbars are simple widgets used to display a text message. They keep a stack of the messages pushed onto them, so that popping the current message will re-display the previous text message.</p> <p> In order to allow different parts of an application to use the same statusbar to display messages, the statusbar widget issues Context Identifiers which are used to identify different 'users'. The message on top of the stack is the one displayed, no matter what context it is in. Messages are stacked in last-in-first-out order, not context identifier order.</p> <p><expr> lambda() {object sb = GTK2.Statusbar();int id = sb->get_context_id("test");sb->push(id,"A message");sb->push(id,"Another message");return sb;}()</expr>
-
<image file='predef.GTK2.Statusbar.1.png'>../images/gtk2_statusbar.png</image></p>
+
<image file='predef.GTK2.Statusbar.1.png'
height='21' width='28'
>../images/gtk2_statusbar.png</image></p>
<p><expr> lambda() {object sb = GTK2.Statusbar();int id = sb->get_context_id("test");sb->push(id,"A message");sb->push(id,"Another message");sb->pop(id);return sb;}()</expr>
-
<image file='predef.GTK2.Statusbar.2.png'>../images/gtk2_statusbar_2.png</image></p>
+
<image file='predef.GTK2.Statusbar.2.png'
height='21' width='28'
>../images/gtk2_statusbar_2.png</image></p>
<p> Properties: int has-resize-grip</p> <p> Style properties: int shadow-type</p> <p> Signals: <b>text_popped</b></p> <p> <b>text_pushed</b></p> </text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Create a new statusbar widget</p> </text></doc>
autodoc.git/autodoc.xml:72439:
</docgroup> <docgroup homogen-name='SourceTag' homogen-type='inherit'> <inherit name='SourceTag'><classname resolved='predef::GTK2.SourceTag'>GTK2.SourceTag</classname></inherit> </docgroup> </class> <class name='Table'> <doc><text><p>The GTK2.Table allows the programmer to arrange widgets in rows and columns, making it easy to align many widgets next to each other, horizontally and vertically.</p> <p><expr> GTK2.Table(2,2,0)->attach_defaults( GTK2.Label("0,0"), 0, 1, 0, 1)->attach_defaults( GTK2.Label("0,1"), 0, 1, 1, 2)->attach_defaults( GTK2.Label("1,0"), 1, 2, 0, 1)->attach_defaults( GTK2.Label("1,1"), 1, 2, 1, 2)->set_col_spacings(10)->set_row_spacings(10)</expr>
-
<image file='predef.GTK2.Table.1.png'>../images/gtk2_table.png</image></p>
+
<image file='predef.GTK2.Table.1.png'
height='27' width='30'
>../images/gtk2_table.png</image></p>
<p><expr> GTK2.Table(2,2,0)->attach_defaults( GTK2.Label("0,0-1,0"), 0, 2, 0, 1)->attach_defaults( GTK2.Label("0,1"), 0, 1, 1, 2)->attach_defaults( GTK2.Label("1,1"), 1, 2, 1, 2)->set_col_spacings(10)->set_row_spacings(10)</expr>
-
<image file='predef.GTK2.Table.2.png'>../images/gtk2_table_2.png</image></p>
+
<image file='predef.GTK2.Table.2.png'
height='27' width='30'
>../images/gtk2_table_2.png</image></p>
<p> Properties: int column-spacing int homogeneous int n-columns int n-rows int row-spacing</p> <p> Child properties: int bottom-attach int left-attach int right-attach
autodoc.git/autodoc.xml:72610:
tear off and reattach its menu.</p> <p> When its menu is shown normally, the GTK2.TearoffMenuItem is drawn as a dotted line indicating that the menu can be torn off. Activating it causes its menu to be torn off and displayed in its own window as a tearoff menu.</p> <p> When its menu is shown as a tearoff menu, the GTK2.TearoffMenuItem is drawn as a dotted line which has a left pointing arrow graphic indicating that the tearoff menu can be reattached. Activating it will erase the tearoff menu window. <expr> GTK2.TearoffMenuItem()->set_size_request(100,0)</expr>
-
<image file='predef.GTK2.TearoffMenuItem.1.png'>../images/gtk2_tearoffmenuitem.png</image></p>
+
<image file='predef.GTK2.TearoffMenuItem.1.png'
height='1' width='100'
>../images/gtk2_tearoffmenuitem.png</image></p>
</text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Create a new tearoff menu item</p> </text></doc> <method name='create'><modifiers><protected/></modifiers> <arguments><argument name='props'><type><or><mapping/><void/></or></type></argument></arguments> <returntype><object resolved='predef::GTK2.TearoffMenuItem'>GTK2.TearoffMenuItem</object></returntype> </method> </docgroup> <docgroup homogen-name='Activatable' homogen-type='inherit'> <inherit name='Activatable'><classname resolved='predef::GTK2.Activatable'>GTK2.Activatable</classname></inherit>
autodoc.git/autodoc.xml:74807:
</method> </docgroup> </class> <class name='ToggleButton'> <doc><text><p>Toggle buttons are derived from normal buttons and are very similar, except they will always be in one of two states, alternated by a click. They may be depressed, and when you click again, they will pop back up. Click again, and they will pop back down.</p> <p><expr> GTK2.ToggleButton("Toggle button")</expr>
-
<image file='predef.GTK2.ToggleButton.1.png'>../images/gtk2_togglebutton.png</image></p>
+
<image file='predef.GTK2.ToggleButton.1.png'
height='27' width='98'
>../images/gtk2_togglebutton.png</image></p>
<p><expr> GTK2.ToggleButton("Toggle button")->set_active( 1 )</expr>
-
<image file='predef.GTK2.ToggleButton.2.png'>../images/gtk2_togglebutton_2.png</image></p>
+
<image file='predef.GTK2.ToggleButton.2.png'
height='27' width='98'
>../images/gtk2_togglebutton_2.png</image></p>
<p> Properties: int active int draw-indicator int inconsistent</p> <p> Signals: <b>toggled</b></p> </text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>If you supply a string, a label will be created and inserted in the button. Otherwise, use -&gt;add(widget) to create the contents of the button.</p> </text></doc>
autodoc.git/autodoc.xml:75242:
</class> <class name='Toolbar'> <doc><text><p>Toolbars are usually used to group some number of widgets in order to simplify customization of their look and layout. Typically a toolbar consists of buttons with icons, labels and tooltips, but any other widget can also be put inside a toolbar. Finally, items can be arranged horizontally or vertically and buttons can be displayed with icons, labels, or both.</p> <p> Examples: <expr> GTK2.Toolbar()->insert(GTK2.ToolItem()->add(GTK2.Button("Button 1")),-1)->insert(GTK2.ToolItem()->add(GTK2.Label(" ")),-1)->insert(GTK2.ToolItem()->add(GTK2.Button("Button 2")),-1)->insert(GTK2.ToolItem()->add(GTK2.Button("Button 3")),-1)</expr>
-
<image file='predef.GTK2.Toolbar.1.png'>../images/gtk2_toolbar.png</image></p>
+
<image file='predef.GTK2.Toolbar.1.png'
height='31' width='31'
>../images/gtk2_toolbar.png</image></p>
<p><expr> GTK2.Toolbar((["orientation":GTK2.ORIENTATION_VERTICAL]))->insert(GTK2.ToolItem()->add(GTK2.Button("Button 1")),-1)->insert(GTK2.ToolItem()->add(GTK2.Label(" ")),-1)->insert(GTK2.ToolItem()->add(GTK2.Button("Button 2")),-1)->insert(GTK2.ToolItem()->add(GTK2.Button("Button 3")),-1)</expr>
-
<image file='predef.GTK2.Toolbar.2.png'>../images/gtk2_toolbar_2.png</image></p>
+
<image file='predef.GTK2.Toolbar.2.png'
height='31' width='71'
>../images/gtk2_toolbar_2.png</image></p>
<p> Properties: int icon-size int icon-size-set int orientation int show-arrow int toolbar-style int tooltips</p> <p> Child properties: int expand int homogeneous</p>
autodoc.git/autodoc.xml:77596:
</text></doc> <method name='set_add_tearoffs'> <arguments><argument name='setting'><type><int/></type></argument></arguments> <returntype><object resolved='predef::GTK2.UiManager'>GTK2.UiManager</object></returntype> </method> </docgroup> </class> <class name='VScrollbar'> <doc><text><p>General documentation: See W(Scrollbar) <expr> GTK2.VScrollbar(GTK2.Adjustment())->set_size_request(15,60)</expr>
-
<image file='predef.GTK2.VScrollbar.1.png'>../images/gtk2_vscrollbar.png</image></p>
+
<image file='predef.GTK2.VScrollbar.1.png'
height='60' width='15'
>../images/gtk2_vscrollbar.png</image></p>
</text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Used to create a new vscrollbar widget.</p> </text></doc> <method name='create'><modifiers><protected/></modifiers> <arguments><argument name='pos_or_props'><type><object resolved='predef::GTK2.Adjustment'>GTK2.Adjustment</object></type></argument></arguments> <returntype><object resolved='predef::GTK2.VScrollbar'>GTK2.VScrollbar</object></returntype> </method> </docgroup> <docgroup homogen-name='Scrollbar' homogen-type='inherit'> <inherit name='Scrollbar'><classname resolved='predef::GTK2.Scrollbar'>GTK2.Scrollbar</classname></inherit> </docgroup> </class> <class name='Vbox'> <doc><text><p>Most packing is done by creating boxes. These are invisible widget containers that we can pack our widgets into which come in two forms, a horizontal box, and a vertical box. This is the vertical one. When packing widgets into a vertical box, the objects are inserted horizontally from top to bottom or bottom to top depending on the call used.</p> <p><expr> GTK2.Vbox(0,0)->add(GTK2.Button("Hello"))->add(GTK2.Button("World"))->pack_end_defaults(GTK2.Button("From right"))->pack_start_defaults(GTK2.Button("From left"))</expr>
-
<image file='predef.GTK2.Vbox.1.png'>../images/gtk2_vbox.png</image></p>
+
<image file='predef.GTK2.Vbox.1.png'
height='27' width='42'
>../images/gtk2_vbox.png</image></p>
<p><expr> GTK2.Vbox(1,0)->add(GTK2.Button("Hello"))->add(GTK2.Button("World"))->pack_end_defaults(GTK2.Button("From right"))->pack_start_defaults(GTK2.Button("From left"))</expr>
-
<image file='predef.GTK2.Vbox.2.png'>../images/gtk2_vbox_2.png</image></p>
+
<image file='predef.GTK2.Vbox.2.png'
height='27' width='42'
>../images/gtk2_vbox_2.png</image></p>
<p><expr> GTK2.Vbox(1,40)->add(GTK2.Button("Hello"))->add(GTK2.Button("World"))->pack_end_defaults(GTK2.Button("From right"))->pack_start_defaults(GTK2.Button("From left"))</expr>
-
<image file='predef.GTK2.Vbox.3.png'>../images/gtk2_vbox_3.png</image></p>
+
<image file='predef.GTK2.Vbox.3.png'
height='27' width='42'
>../images/gtk2_vbox_3.png</image></p>
</text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Create a new vertical box widget. If all_same_size is true, all widgets will have exactly the same size. padding is added to the top and bottom of the children.</p> </text></doc> <method name='create'><modifiers><protected/></modifiers> <arguments><argument name='uniformp_or_props'><type><or><int/><mapping/></or></type></argument><argument name='padding'><type><or><int/><void/></or></type></argument></arguments> <returntype><object resolved='predef::GTK2.Vbox'>GTK2.Vbox</object></returntype> </method> </docgroup> <docgroup homogen-name='Box' homogen-type='inherit'> <inherit name='Box'><classname resolved='predef::GTK2.Box'>GTK2.Box</classname></inherit> </docgroup> </class> <class name='VbuttonBox'> <doc><text><p>A Vbutton_box is very similar to a Vbox. The major diffference is that the button box is made to pack buttons in, and has a few convenience function for normal button layouts.</p> <p><expr> GTK2.VbuttonBox()->add(GTK2.Button("Hello"))->add(GTK2.Button("World"))->set_size_request(100,300)</expr>
-
<image file='predef.GTK2.VbuttonBox.1.png'>../images/gtk2_vbuttonbox.png</image></p>
+
<image file='predef.GTK2.VbuttonBox.1.png'
height='300' width='100'
>../images/gtk2_vbuttonbox.png</image></p>
<p><expr> GTK2.VbuttonBox()->add(GTK2.Button("Hello"))->add(GTK2.Button("World"))->set_layout(GTK2.BUTTONBOX_SPREAD)->set_size_request(100,300)</expr>
-
<image file='predef.GTK2.VbuttonBox.2.png'>../images/gtk2_vbuttonbox_2.png</image></p>
+
<image file='predef.GTK2.VbuttonBox.2.png'
height='300' width='100'
>../images/gtk2_vbuttonbox_2.png</image></p>
<p><expr> GTK2.VbuttonBox()->add(GTK2.Button("Hello"))->add(GTK2.Button("World"))->set_layout(GTK2.BUTTONBOX_EDGE)->set_size_request(100,300)</expr>
-
<image file='predef.GTK2.VbuttonBox.3.png'>../images/gtk2_vbuttonbox_3.png</image></p>
+
<image file='predef.GTK2.VbuttonBox.3.png'
height='300' width='100'
>../images/gtk2_vbuttonbox_3.png</image></p>
<p><expr> GTK2.VbuttonBox()->add(GTK2.Button("Hello"))->add(GTK2.Button("World"))->set_layout(GTK2.BUTTONBOX_START)->set_size_request(100,300)</expr>
-
<image file='predef.GTK2.VbuttonBox.4.png'>../images/gtk2_vbuttonbox_4.png</image></p>
+
<image file='predef.GTK2.VbuttonBox.4.png'
height='300' width='100'
>../images/gtk2_vbuttonbox_4.png</image></p>
<p><expr> GTK2.VbuttonBox()->add(GTK2.Button("Hello"))->add(GTK2.Button("World"))->set_layout(GTK2.BUTTONBOX_END)->set_size_request(100,300)</expr>
-
<image file='predef.GTK2.VbuttonBox.5.png'>../images/gtk2_vbuttonbox_5.png</image></p>
+
<image file='predef.GTK2.VbuttonBox.5.png'
height='300' width='100'
>../images/gtk2_vbuttonbox_5.png</image></p>
</text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Create a new vertical button box</p> </text></doc> <method name='create'><modifiers><protected/></modifiers> <arguments><argument name='props'><type><or><mapping/><void/></or></type></argument></arguments> <returntype><object resolved='predef::GTK2.VbuttonBox'>GTK2.VbuttonBox</object></returntype> </method> </docgroup> <docgroup homogen-name='ButtonBox' homogen-type='inherit'> <inherit name='ButtonBox'><classname resolved='predef::GTK2.ButtonBox'>GTK2.ButtonBox</classname></inherit> </docgroup> </class> <class name='Viewport'> <doc><text><p>This is a container that can be scrolled around, but it has no scrollbars. You can connect scrollbars to it using the adjustment objects. <expr> GTK2.Viewport(GTK2.Adjustment(),GTK2.Adjustment())->set_size_request(100,100)</expr>
-
<image file='predef.GTK2.Viewport.1.png'>../images/gtk2_viewport.png</image></p>
+
<image file='predef.GTK2.Viewport.1.png'
height='100' width='100'
>../images/gtk2_viewport.png</image></p>
<p><expr> GTK2.Viewport(GTK2.Adjustment(),GTK2.Adjustment())->set_size_request(100,100)->set_shadow_type(GTK2.SHADOW_ETCHED_IN)</expr>
-
<image file='predef.GTK2.Viewport.2.png'>../images/gtk2_viewport_2.png</image></p>
+
<image file='predef.GTK2.Viewport.2.png'
height='100' width='100'
>../images/gtk2_viewport_2.png</image></p>
<p><expr> GTK2.Viewport(GTK2.Adjustment(),GTK2.Adjustment())->set_size_request(100,100)->add(GTK2.Label("A label with a very long text on it, it will not fit"))->set_shadow_type(GTK2.SHADOW_ETCHED_IN)</expr>
-
<image file='predef.GTK2.Viewport.3.png'>../images/gtk2_viewport_3.png</image></p>
+
<image file='predef.GTK2.Viewport.3.png'
height='100' width='100'
>../images/gtk2_viewport_3.png</image></p>
<p><expr> lambda(){ object a1;object v = GTK2.Viewport(a1=GTK2.Adjustment(),GTK2.Adjustment())->set_size_request(100,100)->add(GTK2.Label("A label with a very long text on it, it will not fit"))->set_shadow_type(GTK2.SHADOW_ETCHED_IN);call_out(a1->set_value,0,100.0);return v;}()</expr>
-
<image file='predef.GTK2.Viewport.4.png'>../images/gtk2_viewport_4.png</image></p>
+
<image file='predef.GTK2.Viewport.4.png'
height='100' width='100'
>../images/gtk2_viewport_4.png</image></p>
<p> Properties: GTK2.Adjustment hadjustment int shadow-type GTK2.Adjustment vadjustment</p> <p> Signals: <b>set_scroll_adjustments</b></p> </text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Create a new viewport. The adjustments are used to select what part of the viewport to view to the user. They are normally connected to a scrollbar or something similar.</p>
autodoc.git/autodoc.xml:77757:
<inherit name='ScaleButton'><classname resolved='predef::GTK2.ScaleButton'>GTK2.ScaleButton</classname></inherit> </docgroup> </class> <class name='Vpaned'> <doc><text><p>The paned window widgets are useful when you want to divide an area into two parts, with the relative size of the two parts controlled by the user. A groove is drawn between the two portions with a handle that the user can drag to change the ratio. This widgets makes a vertical division</p> <p><expr> GTK2.Vpaned()->add1(GTK2.Label("Top Side Of Pane"))->add2(GTK2.Label("Bottom"))->set_size_request(100,100)</expr>
-
<image file='predef.GTK2.Vpaned.1.png'>../images/gtk2_vpaned.png</image></p>
+
<image file='predef.GTK2.Vpaned.1.png'
height='100' width='100'
>../images/gtk2_vpaned.png</image></p>
</text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Create a new W(Vpaned) widget.</p> </text></doc> <method name='create'><modifiers><protected/></modifiers> <arguments><argument name='props'><type><or><mapping/><void/></or></type></argument></arguments> <returntype><object resolved='predef::GTK2.Vpaned'>GTK2.Vpaned</object></returntype> </method> </docgroup> <docgroup homogen-name='Paned' homogen-type='inherit'> <inherit name='Paned'><classname resolved='predef::GTK2.Paned'>GTK2.Paned</classname></inherit>
autodoc.git/autodoc.xml:77780:
<class name='Vscale'> <doc><text><p>The GTK2.HScale widget is used to allow the user to select a value using a horizontal slider. A GTK2.Adjustment is used to set the initial value, the lower and upper bounds, and the step and page increments.</p> <p> See W(Scale) for details</p> <p> The position to show the current value, and the number of decimal places shown can be set using the parent W(Scale) class's functions.</p> <p><expr> GTK2.Vscale(GTK2.Adjustment())->set_size_request(300,30)</expr>
-
<image file='predef.GTK2.Vscale.1.png'>../images/gtk2_vscale.png</image></p>
+
<image file='predef.GTK2.Vscale.1.png'
height='30' width='300'
>../images/gtk2_vscale.png</image></p>
</text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Used to create a new hscale widget. Either pass an W(Adjustment), or three floats representing min, max, and step values.</p> </text></doc> <method name='create'><modifiers><protected/></modifiers> <arguments><argument name='settings_or_min_props'><type><object resolved='predef::GTK2.Adjustment'>GTK2.Adjustment</object></type></argument><argument name='max'><type><or><float/><void/></or></type></argument><argument name='step'><type><or><float/><void/></or></type></argument></arguments> <returntype><object resolved='predef::GTK2.Vscale'>GTK2.Vscale</object></returntype> </method> </docgroup> <docgroup homogen-name='Scale' homogen-type='inherit'> <inherit name='Scale'><classname resolved='predef::GTK2.Scale'>GTK2.Scale</classname></inherit> </docgroup> </class> <class name='Vseparator'> <doc><text><p>Simply creates a vertical separator. No bells or whistles. <expr> GTK2.Vseparator()->set_size_request(3,50)</expr>
-
<image file='predef.GTK2.Vseparator.1.png'>../images/gtk2_vseparator.png</image></p>
+
<image file='predef.GTK2.Vseparator.1.png'
height='50' width='3'
>../images/gtk2_vseparator.png</image></p>
</text></doc> <docgroup homogen-name='create' homogen-type='method'><doc><text><p>Used to create a new vseparator widget.</p> </text></doc> <method name='create'><modifiers><protected/></modifiers> <arguments><argument name='props'><type><or><mapping/><void/></or></type></argument></arguments> <returntype><object resolved='predef::GTK2.Vseparator'>GTK2.Vseparator</object></returntype> </method> </docgroup> <docgroup homogen-name='Separator' homogen-type='inherit'> <inherit name='Separator'><classname resolved='predef::GTK2.Separator'>GTK2.Separator</classname></inherit>
autodoc.git/autodoc.xml:150369:
</method> </docgroup> <docgroup homogen-name='client_2' homogen-type='method'><doc><text><p>Client-side step 2 in the SCRAM handshake.</p> </text><group><param name='line'/><text><p>The received server-first challenge from the server.</p> </text></group><group><param name='pass'/><text><p>The password to feed to the server.</p> </text></group><group><returns/><text><p>The client-final response to send to the server. If the response is null, the server sent something unacceptable or unparseable.</p> </text></group><group><seealso/><text><p><ref resolved='predef::__builtin.Nettle.Hash.SCRAM.client_3'>client_3</ref></p> </text></group></doc> <method name='client_2'>
-
<arguments><argument name='line'><type><string><min>0</min><max>255</max></string></type></argument><argument name='pass'><type><string
><min>0<
/
min
><
max>255<
/
max></string></
type></argument></arguments>
+
<arguments><argument name='line'><type><string><min>0</min><max>255</max></string></type></argument><argument name='pass'><type><string/></type></argument></arguments>
<returntype><string><min>0</min><max>127</max></string></returntype> </method> </docgroup> <docgroup homogen-name='client_3' homogen-type='method'><doc><text><p>Final client-side step in the SCRAM handshake. If we get this far, the server has already verified that we supplied the correct credentials. If this step fails, it means the server does not have our credentials at all and is an imposter.</p> </text><group><param name='line'/><text><p>The received server-final verification response.</p> </text></group><group><returns/><text><p>True if the server is valid, false if the server is invalid.</p> </text></group></doc>