~ubuntu-branches/ubuntu/quantal/gtkmm3.0/quantal

« back to all changes in this revision

Viewing changes to gtk/src/gtk_docs.xml

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-09-28 09:25:06 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20120928092506-9h63ais5o750a8sk
Tags: 3.5.13-0ubuntu1
* New upstream release
* debian/control:
  - Bump build-depends on libglibmm-2.4-dev, libgtk-3-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
243
243
 
244
244
<signal name="GtkAdjustment::changed">
245
245
<description>
246
 
Emitted when one or more of the #GtkAdjustment fields have been changed,
247
 
other than the value field.
 
246
Emitted when one or more of the #GtkAdjustment properties have been
 
247
changed, other than the #GtkAdjustment:value property.
248
248
 
249
249
</description>
250
250
<parameters>
258
258
 
259
259
<signal name="GtkAdjustment::value-changed">
260
260
<description>
261
 
Emitted when the #GtkAdjustment value field has been changed.
 
261
Emitted when the #GtkAdjustment:value property has been changed.
262
262
 
263
263
</description>
264
264
<parameters>
1099
1099
<signal name="GtkColorButton::color-set">
1100
1100
<description>
1101
1101
The ::color-set signal is emitted when the user selects a color.
1102
 
When handling this signal, use gtk_color_button_get_color() and
1103
 
gtk_color_button_get_alpha() (or gtk_color_button_get_rgba()) to
 
1102
When handling this signal, use gtk_color_button_get_rgba() to
1104
1103
find out which color was just selected.
1105
1104
 
1106
1105
Note that this signal is only emitted when the &lt;emphasis&gt;user&lt;/emphasis&gt;
2702
2701
<return></return>
2703
2702
</signal>
2704
2703
 
 
2704
<signal name="GtkLevelBar::offset-changed">
 
2705
<description>
 
2706
Emitted when an offset specified on the bar changes value as an
 
2707
effect to gtk_level_bar_add_offset_value() being called.
 
2708
 
 
2709
The signal supports detailed connections; you can connect to the
 
2710
detailed signal &quot;changed::x&quot; in order to only receive callbacks when
 
2711
the value of offset &quot;x&quot; changes.
 
2712
 
 
2713
Since: 3.6
 
2714
 
 
2715
</description>
 
2716
<parameters>
 
2717
<parameter name="self">
 
2718
<parameter_description> a #GtkLevelBar
 
2719
</parameter_description>
 
2720
</parameter>
 
2721
<parameter name="name">
 
2722
<parameter_description> the name of the offset that changed value
 
2723
</parameter_description>
 
2724
</parameter>
 
2725
</parameters>
 
2726
<return></return>
 
2727
</signal>
 
2728
 
2705
2729
<signal name="GtkLinkButton::activate-link">
2706
2730
<description>
2707
2731
The ::activate-link signal is emitted each time the #GtkLinkButton
5155
5179
 
5156
5180
</description>
5157
5181
<parameters>
5158
 
<parameter name="entry">
 
5182
<parameter name="text_view">
5159
5183
<parameter_description> The text view on which the signal is emitted
5160
5184
</parameter_description>
5161
5185
</parameter>
6225
6249
<parameter_description> the object which received the signal
6226
6250
</parameter_description>
6227
6251
</parameter>
6228
 
<parameter name="drag_context">
 
6252
<parameter name="context">
6229
6253
<parameter_description> the drag context
6230
6254
</parameter_description>
6231
6255
</parameter>
6246
6270
<parameter_description> the object which received the signal
6247
6271
</parameter_description>
6248
6272
</parameter>
6249
 
<parameter name="drag_context">
 
6273
<parameter name="context">
6250
6274
<parameter_description> the drag context
6251
6275
</parameter_description>
6252
6276
</parameter>
6268
6292
<parameter_description> the object which received the signal
6269
6293
</parameter_description>
6270
6294
</parameter>
6271
 
<parameter name="drag_context">
 
6295
<parameter name="context">
6272
6296
<parameter_description> the drag context
6273
6297
</parameter_description>
6274
6298
</parameter>
6298
6322
If the data was received in response to a #GtkWidget::drag-drop signal
6299
6323
(and this is the last target to be received), the handler for this
6300
6324
signal is expected to process the received data and then call
6301
 
gtk_drag_finish(), setting the @success parameter depending on whether
6302
 
the data was processed successfully.
 
6325
gtk_drag_finish(), setting the @success parameter depending on
 
6326
whether the data was processed successfully.
6303
6327
 
6304
 
The handler may inspect and modify @drag_context-&gt;action before calling
6305
 
gtk_drag_finish(), e.g. to implement %GDK_ACTION_ASK as shown in the
6306
 
following example:
 
6328
The handler may inspect the selected action with
 
6329
gdk_drag_context_get_selected_action() before calling
 
6330
gtk_drag_finish(), e.g. to implement %GDK_ACTION_ASK as
 
6331
shown in the following example:
6307
6332
|[
6308
6333
void
6309
6334
drag_data_received (GtkWidget          *widget,
6310
 
GdkDragContext     *drag_context,
 
6335
GdkDragContext     *context,
6311
6336
gint                x,
6312
6337
gint                y,
6313
6338
GtkSelectionData   *data,
6316
6341
{
6317
6342
if ((data-&gt;length &gt;= 0) &amp;&amp; (data-&gt;format == 8))
6318
6343
{
6319
 
if (drag_context-&gt;action == GDK_ACTION_ASK)
 
6344
GdkDragAction action;
 
6345
 
 
6346
/ * handle data here * /
 
6347
 
 
6348
action = gdk_drag_context_get_selected_action (context);
 
6349
if (action == GDK_ACTION_ASK)
6320
6350
{
6321
6351
GtkWidget *dialog;
6322
6352
gint response;
6331
6361
gtk_widget_destroy (dialog);
6332
6362
 
6333
6363
if (response == GTK_RESPONSE_YES)
6334
 
drag_context-&gt;action = GDK_ACTION_MOVE;
6335
 
else
6336
 
drag_context-&gt;action = GDK_ACTION_COPY;
6337
 
}
6338
 
 
6339
 
gtk_drag_finish (drag_context, TRUE, FALSE, time);
6340
 
return;
6341
 
}
6342
 
 
6343
 
gtk_drag_finish (drag_context, FALSE, FALSE, time);
 
6364
action = GDK_ACTION_MOVE;
 
6365
else
 
6366
action = GDK_ACTION_COPY;
 
6367
}
 
6368
 
 
6369
gtk_drag_finish (context, TRUE, action == GDK_ACTION_MOVE, time);
 
6370
}
 
6371
else
 
6372
gtk_drag_finish (context, FALSE, FALSE, time);
6344
6373
}
6345
6374
]|
6346
6375
 
6350
6379
<parameter_description> the object which received the signal
6351
6380
</parameter_description>
6352
6381
</parameter>
6353
 
<parameter name="drag_context">
 
6382
<parameter name="context">
6354
6383
<parameter_description> the drag context
6355
6384
</parameter_description>
6356
6385
</parameter>
6399
6428
<parameter_description> the object which received the signal
6400
6429
</parameter_description>
6401
6430
</parameter>
6402
 
<parameter name="drag_context">
 
6431
<parameter name="context">
6403
6432
<parameter_description> the drag context
6404
6433
</parameter_description>
6405
6434
</parameter>
6432
6461
<parameter_description> the object which received the signal
6433
6462
</parameter_description>
6434
6463
</parameter>
6435
 
<parameter name="drag_context">
 
6464
<parameter name="context">
6436
6465
<parameter_description> the drag context
6437
6466
</parameter_description>
6438
6467
</parameter>
6456
6485
<parameter_description> the object which received the signal
6457
6486
</parameter_description>
6458
6487
</parameter>
6459
 
<parameter name="drag_context">
 
6488
<parameter name="context">
6460
6489
<parameter_description> the drag context
6461
6490
</parameter_description>
6462
6491
</parameter>
6483
6512
<parameter_description> the object which received the signal.
6484
6513
</parameter_description>
6485
6514
</parameter>
6486
 
<parameter name="drag_context">
 
6515
<parameter name="context">
6487
6516
<parameter_description> the drag context
6488
6517
</parameter_description>
6489
6518
</parameter>
6497
6526
 
6498
6527
<signal name="GtkWidget::drag-motion">
6499
6528
<description>
6500
 
The drag-motion signal is emitted on the drop site when the user
 
6529
The ::drag-motion signal is emitted on the drop site when the user
6501
6530
moves the cursor over the widget during a drag. The signal handler
6502
6531
must determine whether the cursor position is in a drop zone or not.
6503
6532
If it is not in a drop zone, it returns %FALSE and no further processing
6520
6549
the drop site with gtk_drag_highlight().
6521
6550
|[
6522
6551
static void
6523
 
drag_motion (GtkWidget *widget,
 
6552
drag_motion (GtkWidget      *widget,
6524
6553
GdkDragContext *context,
6525
 
gint x,
6526
 
gint y,
6527
 
guint time)
 
6554
gint            x,
 
6555
gint            y,
 
6556
guint           time)
6528
6557
{
6529
6558
GdkAtom target;
6530
6559
 
6541
6570
gdk_drag_status (context, 0, time);
6542
6571
else
6543
6572
{
6544
 
private_data-&gt;pending_status = context-&gt;suggested_action;
 
6573
private_data-&gt;pending_status = gdk_drag_context_get_suggested_action (context);
6545
6574
gtk_drag_get_data (widget, context, target, time);
6546
6575
}
6547
6576
 
6565
6594
 
6566
6595
/ * We are getting this data due to a request in drag_motion,
6567
6596
* rather than due to a request in drag_drop, so we are just
6568
 
* supposed to call gdk_drag_status (), not actually paste in
 
6597
* supposed to call gdk_drag_status(), not actually paste in
6569
6598
* the data.
6570
6599
* /
6571
6600
str = gtk_selection_data_get_text (selection_data);
6588
6617
<parameter_description> the object which received the signal
6589
6618
</parameter_description>
6590
6619
</parameter>
6591
 
<parameter name="drag_context">
 
6620
<parameter name="context">
6592
6621
<parameter_description> the drag context
6593
6622
</parameter_description>
6594
6623
</parameter>
6635
6664
</parameter_description>
6636
6665
</parameter>
6637
6666
</parameters>
6638
 
<return></return>
 
6667
<return> %TRUE to stop other handlers from being invoked for the event.
 
6668
   % %FALSE to propagate the event further.
 
6669
 
 
6670
</return>
6639
6671
</signal>
6640
6672
 
6641
6673
<signal name="GtkWidget::enter-notify-event">
7047
7079
</parameter_description>
7048
7080
</parameter>
7049
7081
</parameters>
7050
 
<return></return>
 
7082
<return> %TRUE to stop other handlers from being invoked for the event.
 
7083
%FALSE to propagate the event further.
 
7084
</return>
7051
7085
</signal>
7052
7086
 
7053
7087
<signal name="GtkWidget::motion-notify-event">
7459
7493
</parameter_description>
7460
7494
</parameter>
7461
7495
</parameters>
7462
 
<return></return>
 
7496
<return> %TRUE to stop other handlers from being invoked for the event.
 
7497
%FALSE to propagate the event further.
 
7498
</return>
7463
7499
</signal>
7464
7500
 
7465
7501
<signal name="GtkWidget::size-allocate">
8838
8874
</return>
8839
8875
</function>
8840
8876
 
 
8877
<function name="gtk_accel_label_set_accel">
 
8878
<description>
 
8879
Manually sets a keyval and modifier mask as the accelerator rendered
 
8880
by @accel_label.
 
8881
 
 
8882
If a keyval and modifier are explicitly set then these values are
 
8883
used regardless of any associated accel closure or widget.
 
8884
 
 
8885
Providing an @accelerator_key of 0 removes the manual setting.
 
8886
 
 
8887
Since: 3.6
 
8888
 
 
8889
</description>
 
8890
<parameters>
 
8891
<parameter name="accel_label">
 
8892
<parameter_description> a #GtkAccelLabel
 
8893
</parameter_description>
 
8894
</parameter>
 
8895
<parameter name="accelerator_key">
 
8896
<parameter_description> a keyval, or 0
 
8897
</parameter_description>
 
8898
</parameter>
 
8899
<parameter name="accelerator_mods">
 
8900
<parameter_description> the modifier mask for the accel
 
8901
</parameter_description>
 
8902
</parameter>
 
8903
</parameters>
 
8904
<return></return>
 
8905
</function>
 
8906
 
8841
8907
<function name="gtk_accel_label_set_accel_closure">
8842
8908
<description>
8843
8909
Sets the closure to be monitored by this accelerator label. The closure
10228
10294
<return></return>
10229
10295
</function>
10230
10296
 
 
10297
<function name="gtk_action_group_get_accel_group">
 
10298
<description>
 
10299
Gets the accelerator group.
 
10300
 
 
10301
Since: 3.6
 
10302
 
 
10303
</description>
 
10304
<parameters>
 
10305
<parameter name="action_group">
 
10306
<parameter_description> a #GtkActionGroup
 
10307
</parameter_description>
 
10308
</parameter>
 
10309
</parameters>
 
10310
<return> the accelerator group associated with this action
 
10311
group or %NULL if there is none.
 
10312
 
 
10313
</return>
 
10314
</function>
 
10315
 
10231
10316
<function name="gtk_action_group_get_action">
10232
10317
<description>
10233
10318
Looks up an action in the action group by name.
10368
10453
<return></return>
10369
10454
</function>
10370
10455
 
 
10456
<function name="gtk_action_group_set_accel_group">
 
10457
<description>
 
10458
Sets the accelerator group to be used by every action in this group.
 
10459
 
 
10460
Since: 3.6
 
10461
 
 
10462
</description>
 
10463
<parameters>
 
10464
<parameter name="action_group">
 
10465
<parameter_description> a #GtkActionGroup
 
10466
</parameter_description>
 
10467
</parameter>
 
10468
<parameter name="accel_group">
 
10469
<parameter_description> a #GtkAccelGroup to set or %NULL
 
10470
</parameter_description>
 
10471
</parameter>
 
10472
</parameters>
 
10473
<return></return>
 
10474
</function>
 
10475
 
10371
10476
<function name="gtk_action_group_set_sensitive">
10372
10477
<description>
10373
10478
Changes the sensitivity of @action_group
11198
11303
<description>
11199
11304
Emits a #GtkAdjustment::changed signal from the #GtkAdjustment.
11200
11305
This is typically called by the owner of the #GtkAdjustment after it has
11201
 
changed any of the #GtkAdjustment fields other than the value.
 
11306
changed any of the #GtkAdjustment properties other than the value.
11202
11307
 
11203
11308
</description>
11204
11309
<parameters>
11212
11317
 
11213
11318
<function name="gtk_adjustment_clamp_page">
11214
11319
<description>
11215
 
Updates the #GtkAdjustment #GtkAdjustment:value to ensure that the range
 
11320
Updates the #GtkAdjustment:value property to ensure that the range
11216
11321
between @lower and @upper is in the current page (i.e. between
11217
11322
#GtkAdjustment:value and #GtkAdjustment:value + #GtkAdjustment:page_size).
11218
11323
If the range is larger than the page size, then only the start of it will
11241
11346
<description>
11242
11347
Sets all properties of the adjustment at once.
11243
11348
 
11244
 
Use this function to avoid multiple emissions of the &quot;changed&quot;
 
11349
Use this function to avoid multiple emissions of the #GtkAdjustment::changed
11245
11350
signal. See gtk_adjustment_set_lower() for an alternative way
11246
 
of compressing multiple emissions of &quot;changed&quot; into one.
 
11351
of compressing multiple emissions of #GtkAdjustment::changed into one.
11247
11352
 
11248
11353
Since: 2.14
11249
11354
 
11447
11552
Sets the minimum value of the adjustment.
11448
11553
 
11449
11554
When setting multiple adjustment properties via their individual
11450
 
setters, multiple &quot;changed&quot; signals will be emitted. However, since
11451
 
the emission of the &quot;changed&quot; signal is tied to the emission of the
11452
 
&quot;GObject::notify&quot; signals of the changed properties, it's possible
11453
 
to compress the &quot;changed&quot; signals into one by calling
 
11555
setters, multiple #GtkAdjustment::changed signals will be emitted. However, since
 
11556
the emission of the #GtkAdjustment::changed signal is tied to the emission of the
 
11557
#GObject::notify signals of the changed properties, it's possible
 
11558
to compress the #GtkAdjustment::changed signals into one by calling
11454
11559
g_object_freeze_notify() and g_object_thaw_notify() around the
11455
11560
calls to the individual setters.
11456
11561
 
11457
11562
Alternatively, using a single g_object_set() for all the properties
11458
11563
to change, or using gtk_adjustment_configure() has the same effect
11459
 
of compressing &quot;changed&quot; emissions.
 
11564
of compressing #GtkAdjustment::changed emissions.
11460
11565
 
11461
11566
Since: 2.14
11462
11567
 
11479
11584
Sets the page increment of the adjustment.
11480
11585
 
11481
11586
See gtk_adjustment_set_lower() about how to compress multiple
11482
 
emissions of the &quot;changed&quot; signal when setting multiple adjustment
 
11587
emissions of the #GtkAdjustment::changed signal when setting multiple adjustment
11483
11588
properties.
11484
11589
 
11485
11590
Since: 2.14
11503
11608
Sets the page size of the adjustment.
11504
11609
 
11505
11610
See gtk_adjustment_set_lower() about how to compress multiple
11506
 
emissions of the &quot;changed&quot; signal when setting multiple adjustment
 
11611
emissions of the GtkAdjustment::changed signal when setting multiple adjustment
11507
11612
properties.
11508
11613
 
11509
11614
Since: 2.14
11527
11632
Sets the step increment of the adjustment.
11528
11633
 
11529
11634
See gtk_adjustment_set_lower() about how to compress multiple
11530
 
emissions of the &quot;changed&quot; signal when setting multiple adjustment
 
11635
emissions of the #GtkAdjustment::changed signal when setting multiple adjustment
11531
11636
properties.
11532
11637
 
11533
11638
Since: 2.14
11555
11660
property is nonzero.
11556
11661
 
11557
11662
See gtk_adjustment_set_lower() about how to compress multiple
11558
 
emissions of the &quot;changed&quot; signal when setting multiple adjustment
 
11663
emissions of the #GtkAdjustment::changed signal when setting multiple adjustment
11559
11664
properties.
11560
11665
 
11561
11666
Since: 2.14
11601
11706
<description>
11602
11707
Emits a #GtkAdjustment::value_changed signal from the #GtkAdjustment.
11603
11708
This is typically called by the owner of the #GtkAdjustment after it has
11604
 
changed the #GtkAdjustment value field.
 
11709
changed the #GtkAdjustment:value property.
11605
11710
 
11606
11711
</description>
11607
11712
<parameters>
12485
12590
<return></return>
12486
12591
</function>
12487
12592
 
 
12593
<function name="gtk_application_get_active_window">
 
12594
<description>
 
12595
Gets the &quot;active&quot; window for the application.
 
12596
 
 
12597
The active window is the one that was most recently focused (within
 
12598
the application).  This window may not have the focus at the moment
 
12599
if another application has it -- this is just the most
 
12600
recently-focused window within this application.
 
12601
 
 
12602
Since: 3.6
 
12603
 
 
12604
</description>
 
12605
<parameters>
 
12606
<parameter name="application">
 
12607
<parameter_description> a #GtkApplication
 
12608
</parameter_description>
 
12609
</parameter>
 
12610
</parameters>
 
12611
<return> the active window
 
12612
 
 
12613
</return>
 
12614
</function>
 
12615
 
12488
12616
<function name="gtk_application_get_app_menu">
12489
12617
<description>
12490
12618
Returns the menu model that has been set with
12525
12653
 
12526
12654
<function name="gtk_application_get_window_by_id">
12527
12655
<description>
 
12656
Returns the #GtkApplicationWindow with the given ID.
 
12657
 
12528
12658
Since: 3.6
12529
12659
 
12530
12660
</description>
12538
12668
</parameter_description>
12539
12669
</parameter>
12540
12670
</parameters>
12541
 
<return> the #GtkApplicationWindow with ID @id, or
 
12671
<return> the window with ID @id, or
12542
12672
%NULL if there is no window with this ID
12543
12673
 
12544
12674
</return>
12977
13107
</parameter>
12978
13108
<parameter name="yalign">
12979
13109
<parameter_description> Vertical alignment of the child within the allocation of
12980
 
the #GtkAspectFrame. This ranges from 0.0 (left aligned)
12981
 
to 1.0 (right aligned)
 
13110
the #GtkAspectFrame. This ranges from 0.0 (top aligned)
 
13111
to 1.0 (bottom aligned)
12982
13112
</parameter_description>
12983
13113
</parameter>
12984
13114
<parameter name="ratio">
13013
13143
</parameter>
13014
13144
<parameter name="yalign">
13015
13145
<parameter_description> Vertical alignment of the child within the allocation of
13016
 
the #GtkAspectFrame. This ranges from 0.0 (left aligned)
13017
 
to 1.0 (right aligned)
 
13146
the #GtkAspectFrame. This ranges from 0.0 (top aligned)
 
13147
to 1.0 (bottom aligned)
13018
13148
</parameter_description>
13019
13149
</parameter>
13020
13150
<parameter name="ratio">
14509
14639
<description>
14510
14640
Gets the name of the @buildable object. 
14511
14641
 
14512
 
#GtkBuilder sets the name based on the the 
 
14642
#GtkBuilder sets the name based on the
14513
14643
&lt;link linkend=&quot;BUILDER-UI&quot;&gt;GtkBuilder UI definition&lt;/link&gt; 
14514
14644
used to construct the @buildable.
14515
14645
 
23598
23728
</parameter_description>
23599
23729
</parameter>
23600
23730
</parameters>
23601
 
<return> %TRUE if the data could be loaded.
 
23731
<return> %TRUE. The return value is deprecated and %FALSE will only be
 
23732
returned for backwards compatibility reasons if an @error is not 
 
23733
%NULL and a loading error occured. To track errors while loading
 
23734
CSS, connect to the GtkCssProvider::parsing-error signal.
23602
23735
</return>
23603
23736
</function>
23604
23737
 
23623
23756
</parameter_description>
23624
23757
</parameter>
23625
23758
</parameters>
23626
 
<return> %TRUE if the data could be loaded.
 
23759
<return> %TRUE. The return value is deprecated and %FALSE will only be
 
23760
returned for backwards compatibility reasons if an @error is not 
 
23761
%NULL and a loading error occured. To track errors while loading
 
23762
CSS, connect to the GtkCssProvider::parsing-error signal.
23627
23763
</return>
23628
23764
</function>
23629
23765
 
23648
23784
</parameter_description>
23649
23785
</parameter>
23650
23786
</parameters>
23651
 
<return> %TRUE if the data could be loaded.
 
23787
<return> %TRUE. The return value is deprecated and %FALSE will only be
 
23788
returned for backwards compatibility reasons if an @error is not 
 
23789
%NULL and a loading error occured. To track errors while loading
 
23790
CSS, connect to the GtkCssProvider::parsing-error signal.
23652
23791
</return>
23653
23792
</function>
23654
23793
 
24451
24590
 
24452
24591
<function name="gtk_drag_begin">
24453
24592
<description>
24454
 
Initiates a drag on the source side. The function
24455
 
only needs to be used when the application is
24456
 
starting drags itself, and is not needed when
24457
 
gtk_drag_source_set() is used.
24458
 
 
24459
 
The @event is used to retrieve the timestamp that will be used internally to
24460
 
grab the pointer.  If @event is #NULL, then GDK_CURRENT_TIME will be used.
24461
 
However, you should try to pass a real event in all cases, since that can be
24462
 
used by GTK+ to get information about the start position of the drag, for
24463
 
example if the @event is a %GDK_MOTION_NOTIFY.
24464
 
 
24465
 
Generally there are three cases when you want to start a drag by hand by
24466
 
calling this function:
24467
 
 
24468
 
1. During a #GtkWidget::button-press-event handler, if you want to start a drag
24469
 
immediately when the user presses the mouse button.  Pass the @event
24470
 
that you have in your #GtkWidget::button-press-event handler.
24471
 
 
24472
 
2. During a #GtkWidget::motion-notify-event handler, if you want to start a drag
24473
 
when the mouse moves past a certain threshold distance after a button-press.
24474
 
Pass the @event that you have in your #GtkWidget::motion-notify-event handler.
24475
 
 
24476
 
3. During a timeout handler, if you want to start a drag after the mouse
24477
 
button is held down for some time.  Try to save the last event that you got
24478
 
from the mouse, using gdk_event_copy(), and pass it to this function
24479
 
(remember to free the event with gdk_event_free() when you are done).
24480
 
If you can really not pass a real event, pass #NULL instead.
24481
 
 
24482
24593
 
24483
24594
</description>
24484
24595
<parameters>
24504
24615
</parameter_description>
24505
24616
</parameter>
24506
24617
</parameters>
24507
 
<return> the context for this drag.
24508
 
</return>
 
24618
<return></return>
24509
24619
</function>
24510
24620
 
24511
24621
<function name="gtk_drag_check_threshold">
24512
24622
<description>
24513
 
Checks to see if a mouse drag starting at (@start_x, @start_y) and ending
24514
 
at (@current_x, @current_y) has passed the GTK+ drag threshold, and thus
24515
 
should trigger the beginning of a drag-and-drop operation.
24516
 
 
24517
24623
 
24518
24624
</description>
24519
24625
<parameters>
24538
24644
</parameter_description>
24539
24645
</parameter>
24540
24646
</parameters>
24541
 
<return> %TRUE if the drag threshold has been passed.
24542
 
</return>
 
24647
<return></return>
24543
24648
</function>
24544
24649
 
24545
24650
<function name="gtk_drag_dest_add_image_targets">
24546
24651
<description>
24547
 
Add the image targets supported by #GtkSelection to
24548
 
the target list of the drag destination. The targets
24549
 
are added with @info = 0. If you need another value, 
24550
 
use gtk_target_list_add_image_targets() and
24551
 
gtk_drag_dest_set_target_list().
24552
 
 
24553
 
Since: 2.6
24554
24652
 
24555
24653
</description>
24556
24654
<parameters>
24564
24662
 
24565
24663
<function name="gtk_drag_dest_add_text_targets">
24566
24664
<description>
24567
 
Add the text targets supported by #GtkSelection to
24568
 
the target list of the drag destination. The targets
24569
 
are added with @info = 0. If you need another value, 
24570
 
use gtk_target_list_add_text_targets() and
24571
 
gtk_drag_dest_set_target_list().
24572
 
 
24573
 
Since: 2.6
24574
24665
 
24575
24666
</description>
24576
24667
<parameters>
24584
24675
 
24585
24676
<function name="gtk_drag_dest_add_uri_targets">
24586
24677
<description>
24587
 
Add the URI targets supported by #GtkSelection to
24588
 
the target list of the drag destination. The targets
24589
 
are added with @info = 0. If you need another value, 
24590
 
use gtk_target_list_add_uri_targets() and
24591
 
gtk_drag_dest_set_target_list().
24592
 
 
24593
 
Since: 2.6
24594
24678
 
24595
24679
</description>
24596
24680
<parameters>
24604
24688
 
24605
24689
<function name="gtk_drag_dest_find_target">
24606
24690
<description>
24607
 
Looks for a match between the supported targets of @context and the
24608
 
@dest_target_list, returning the first matching target, otherwise
24609
 
returning %GDK_NONE. @dest_target_list should usually be the return
24610
 
value from gtk_drag_dest_get_target_list(), but some widgets may
24611
 
have different valid targets for different parts of the widget; in
24612
 
that case, they will have to implement a drag_motion handler that
24613
 
passes the correct target list to this function.
24614
 
 
24615
24691
 
24616
24692
</description>
24617
24693
<parameters>
24629
24705
</parameter_description>
24630
24706
</parameter>
24631
24707
</parameters>
24632
 
<return> first target that the source offers
24633
 
and the dest can accept, or %GDK_NONE
24634
 
</return>
 
24708
<return></return>
24635
24709
</function>
24636
24710
 
24637
24711
<function name="gtk_drag_dest_get_target_list">
24638
24712
<description>
24639
 
Returns the list of targets this widget can accept from
24640
 
drag-and-drop.
24641
 
 
24642
24713
 
24643
24714
</description>
24644
24715
<parameters>
24647
24718
</parameter_description>
24648
24719
</parameter>
24649
24720
</parameters>
24650
 
<return> the #GtkTargetList, or %NULL if none
24651
 
</return>
 
24721
<return></return>
24652
24722
</function>
24653
24723
 
24654
24724
<function name="gtk_drag_dest_get_track_motion">
24655
24725
<description>
24656
 
Returns whether the widget has been configured to always
24657
 
emit #GtkWidget::drag-motion signals.
24658
 
 
24659
 
Since: 2.10
24660
24726
 
24661
24727
</description>
24662
24728
<parameters>
24665
24731
</parameter_description>
24666
24732
</parameter>
24667
24733
</parameters>
24668
 
<return> %TRUE if the widget always emits
24669
 
#GtkWidget::drag-motion events
24670
 
 
24671
 
</return>
 
24734
<return></return>
24672
24735
</function>
24673
24736
 
24674
24737
<function name="gtk_drag_dest_set">
24675
24738
<description>
24676
 
Sets a widget as a potential drop destination, and adds default behaviors.
24677
 
 
24678
 
The default behaviors listed in @flags have an effect similar
24679
 
to installing default handlers for the widget's drag-and-drop signals
24680
 
(#GtkWidget::drag-motion, #GtkWidget::drag-drop, ...). They all exist
24681
 
for convenience. When passing #GTK_DEST_DEFAULT_ALL for instance it is
24682
 
sufficient to connect to the widget's #GtkWidget::drag-data-received
24683
 
signal to get primitive, but consistent drag-and-drop support.
24684
 
 
24685
 
Things become more complicated when you try to preview the dragged data,
24686
 
as described in the documentation for #GtkWidget::drag-motion. The default
24687
 
behaviors described by @flags make some assumptions, that can conflict
24688
 
with your own signal handlers. For instance #GTK_DEST_DEFAULT_DROP causes
24689
 
invokations of gdk_drag_status() in the context of #GtkWidget::drag-motion,
24690
 
and invokations of gtk_drag_finish() in #GtkWidget::drag-data-received.
24691
 
Especially the later is dramatic, when your own #GtkWidget::drag-motion
24692
 
handler calls gtk_drag_get_data() to inspect the dragged data.
24693
 
 
24694
 
There's no way to set a default action here, you can use the
24695
 
#GtkWidget::drag-motion callback for that. Here's an example which selects
24696
 
the action to use depending on whether the control key is pressed or not:
24697
 
|[
24698
 
static void
24699
 
drag_motion (GtkWidget *widget,
24700
 
GdkDragContext *context,
24701
 
gint x,
24702
 
gint y,
24703
 
guint time)
24704
 
{
24705
 
GdkModifierType mask;
24706
 
 
24707
 
gdk_window_get_pointer (gtk_widget_get_window (widget),
24708
 
NULL, NULL, &amp;mask);
24709
 
if (mask &amp; GDK_CONTROL_MASK)
24710
 
gdk_drag_status (context, GDK_ACTION_COPY, time);
24711
 
else
24712
 
gdk_drag_status (context, GDK_ACTION_MOVE, time);
24713
 
}
24714
 
]|
24715
24739
 
24716
24740
</description>
24717
24741
<parameters>
24744
24768
 
24745
24769
<function name="gtk_drag_dest_set_proxy">
24746
24770
<description>
24747
 
Sets this widget as a proxy for drops to another window.
24748
24771
 
24749
24772
</description>
24750
24773
<parameters>
24773
24796
 
24774
24797
<function name="gtk_drag_dest_set_target_list">
24775
24798
<description>
24776
 
Sets the target types that this widget can accept from drag-and-drop.
24777
 
The widget must first be made into a drag destination with
24778
 
gtk_drag_dest_set().
24779
24799
 
24780
24800
</description>
24781
24801
<parameters>
24793
24813
 
24794
24814
<function name="gtk_drag_dest_set_track_motion">
24795
24815
<description>
24796
 
Tells the widget to emit #GtkWidget::drag-motion and
24797
 
#GtkWidget::drag-leave events regardless of the targets and the
24798
 
%GTK_DEST_DEFAULT_MOTION flag.
24799
 
 
24800
 
This may be used when a widget wants to do generic
24801
 
actions regardless of the targets that the source offers.
24802
 
 
24803
 
Since: 2.10
24804
24816
 
24805
24817
</description>
24806
24818
<parameters>
24818
24830
 
24819
24831
<function name="gtk_drag_dest_unset">
24820
24832
<description>
24821
 
Clears information about a drop destination set with
24822
 
gtk_drag_dest_set(). The widget will no longer receive
24823
 
notification of drags.
24824
24833
 
24825
24834
</description>
24826
24835
<parameters>
24834
24843
 
24835
24844
<function name="gtk_drag_finish">
24836
24845
<description>
24837
 
Informs the drag source that the drop is finished, and
24838
 
that the data of the drag will no longer be required.
24839
24846
 
24840
24847
</description>
24841
24848
<parameters>
24862
24869
 
24863
24870
<function name="gtk_drag_get_data">
24864
24871
<description>
24865
 
Gets the data associated with a drag. When the data
24866
 
is received or the retrieval fails, GTK+ will emit a
24867
 
#GtkWidget::drag-data-received signal. Failure of the retrieval
24868
 
is indicated by the length field of the @selection_data
24869
 
signal parameter being negative. However, when gtk_drag_get_data()
24870
 
is called implicitely because the %GTK_DEST_DEFAULT_DROP was set,
24871
 
then the widget will not receive notification of failed
24872
 
drops.
24873
24872
 
24874
24873
</description>
24875
24874
<parameters>
24898
24897
 
24899
24898
<function name="gtk_drag_get_source_widget">
24900
24899
<description>
24901
 
Determines the source widget for a drag.
24902
 
 
24903
24900
 
24904
24901
</description>
24905
24902
<parameters>
24908
24905
</parameter_description>
24909
24906
</parameter>
24910
24907
</parameters>
24911
 
<return> if the drag is occurring
24912
 
within a single application, a pointer to the source widget.
24913
 
Otherwise, %NULL.
24914
 
</return>
 
24908
<return></return>
24915
24909
</function>
24916
24910
 
24917
24911
<function name="gtk_drag_highlight">
24918
24912
<description>
24919
 
Draws a highlight around a widget. This will attach
24920
 
handlers to #GtkWidget::draw, so the highlight
24921
 
will continue to be displayed until gtk_drag_unhighlight()
24922
 
is called.
24923
24913
 
24924
24914
</description>
24925
24915
<parameters>
25123
25113
 
25124
25114
<function name="gtk_drag_source_add_image_targets">
25125
25115
<description>
25126
 
Add the writable image targets supported by #GtkSelection to
25127
 
the target list of the drag source. The targets
25128
 
are added with @info = 0. If you need another value, 
25129
 
use gtk_target_list_add_image_targets() and
25130
 
gtk_drag_source_set_target_list().
25131
 
 
25132
 
Since: 2.6
25133
25116
 
25134
25117
</description>
25135
25118
<parameters>
25163
25146
 
25164
25147
<function name="gtk_drag_source_add_uri_targets">
25165
25148
<description>
25166
 
Add the URI targets supported by #GtkSelection to
25167
 
the target list of the drag source.  The targets
25168
 
are added with @info = 0. If you need another value, 
25169
 
use gtk_target_list_add_uri_targets() and
25170
 
gtk_drag_source_set_target_list().
25171
 
 
25172
 
Since: 2.6
25173
25149
 
25174
25150
</description>
25175
25151
<parameters>
25183
25159
 
25184
25160
<function name="gtk_drag_source_get_target_list">
25185
25161
<description>
25186
 
Gets the list of targets this widget can provide for
25187
 
drag-and-drop.
25188
 
 
25189
 
Since: 2.4
25190
25162
 
25191
25163
</description>
25192
25164
<parameters>
25195
25167
</parameter_description>
25196
25168
</parameter>
25197
25169
</parameters>
25198
 
<return> the #GtkTargetList, or %NULL if none
25199
 
 
25200
 
</return>
 
25170
<return></return>
25201
25171
</function>
25202
25172
 
25203
25173
<function name="gtk_drag_source_set">
25204
25174
<description>
25205
 
Sets up a widget so that GTK+ will start a drag operation when the user
25206
 
clicks and drags on the widget. The widget must have a window.
25207
25175
 
25208
25176
</description>
25209
25177
<parameters>
25276
25244
 
25277
25245
<function name="gtk_drag_source_set_icon_pixbuf">
25278
25246
<description>
25279
 
Sets the icon that will be used for drags from a particular widget
25280
 
from a #GdkPixbuf. GTK+ retains a reference for @pixbuf and will 
25281
 
release it when it is no longer needed.
25282
25247
 
25283
25248
</description>
25284
25249
<parameters>
25315
25280
 
25316
25281
<function name="gtk_drag_source_set_target_list">
25317
25282
<description>
25318
 
Changes the target types that this widget offers for drag-and-drop.
25319
 
The widget must first be made into a drag source with
25320
 
gtk_drag_source_set().
25321
 
 
25322
 
Since: 2.4
25323
25283
 
25324
25284
</description>
25325
25285
<parameters>
25337
25297
 
25338
25298
<function name="gtk_drag_source_unset">
25339
25299
<description>
25340
 
Undoes the effects of gtk_drag_source_set().
25341
25300
 
25342
25301
</description>
25343
25302
<parameters>
25351
25310
 
25352
25311
<function name="gtk_drag_unhighlight">
25353
25312
<description>
25354
 
Removes a highlight set by gtk_drag_highlight() from
25355
 
a widget.
25356
25313
 
25357
25314
</description>
25358
25315
<parameters>
25496
25453
<description>
25497
25454
Deletes a sequence of characters. The characters that are deleted are 
25498
25455
those characters at positions from @start_pos up to, but not including 
25499
 
@end_pos. If @end_pos is negative, then the the characters deleted
 
25456
@end_pos. If @end_pos is negative, then the characters deleted
25500
25457
are those from @start_pos to the end of the text.
25501
25458
 
25502
25459
Note that the positions are specified in characters, not bytes.
25525
25482
<description>
25526
25483
Retrieves a sequence of characters. The characters that are retrieved 
25527
25484
are those characters at positions from @start_pos up to, but not 
25528
 
including @end_pos. If @end_pos is negative, then the the characters 
 
25485
including @end_pos. If @end_pos is negative, then the characters
25529
25486
retrieved are those characters from @start_pos to the end of the text.
25530
25487
 
25531
25488
Note that positions are specified in characters, not bytes.
25667
25624
<description>
25668
25625
Selects a region of text. The characters that are selected are 
25669
25626
those characters at positions from @start_pos up to, but not 
25670
 
including @end_pos. If @end_pos is negative, then the the 
 
25627
including @end_pos. If @end_pos is negative, then the
25671
25628
characters selected are those characters from @start_pos to 
25672
25629
the end of the text.
25673
25630
 
26615
26572
</return>
26616
26573
</function>
26617
26574
 
 
26575
<function name="gtk_entry_get_attributes">
 
26576
<description>
 
26577
Gets the attribute list that was set on the entry using
 
26578
gtk_entry_set_attributes(), if any.
 
26579
 
 
26580
Since: 3.6
 
26581
 
 
26582
</description>
 
26583
<parameters>
 
26584
<parameter name="entry">
 
26585
<parameter_description> a #GtkEntry
 
26586
</parameter_description>
 
26587
</parameter>
 
26588
</parameters>
 
26589
<return> the attribute list, or %NULL
 
26590
if none was set.
 
26591
 
 
26592
</return>
 
26593
</function>
 
26594
 
26618
26595
<function name="gtk_entry_get_buffer">
26619
26596
<description>
26620
26597
Get the #GtkEntryBuffer object which holds the text for
27014
26991
</return>
27015
26992
</function>
27016
26993
 
 
26994
<function name="gtk_entry_get_input_hints">
 
26995
<description>
 
26996
Gets the value of the #GtkEntry:input-hints property.
 
26997
 
 
26998
Since: 3.6
 
26999
 
 
27000
</description>
 
27001
<parameters>
 
27002
<parameter name="entry">
 
27003
<parameter_description> a #GtkEntry
 
27004
</parameter_description>
 
27005
</parameter>
 
27006
</parameters>
 
27007
<return></return>
 
27008
</function>
 
27009
 
 
27010
<function name="gtk_entry_get_input_purpose">
 
27011
<description>
 
27012
Gets the value of the #GtkEntry:input-purpose property.
 
27013
 
 
27014
Since: 3.6
 
27015
 
 
27016
</description>
 
27017
<parameters>
 
27018
<parameter name="entry">
 
27019
<parameter_description> a #GtkEntry
 
27020
</parameter_description>
 
27021
</parameter>
 
27022
</parameters>
 
27023
<return></return>
 
27024
</function>
 
27025
 
27017
27026
<function name="gtk_entry_get_invisible_char">
27018
27027
<description>
27019
27028
Retrieves the character displayed in place of the real characters
27477
27486
<return></return>
27478
27487
</function>
27479
27488
 
 
27489
<function name="gtk_entry_set_attributes">
 
27490
<description>
 
27491
Sets a #PangoAttrList; the attributes in the list are applied to the
 
27492
entry text.
 
27493
 
 
27494
Since: 3.6
 
27495
 
 
27496
</description>
 
27497
<parameters>
 
27498
<parameter name="entry">
 
27499
<parameter_description> a #GtkEntry
 
27500
</parameter_description>
 
27501
</parameter>
 
27502
<parameter name="attrs">
 
27503
<parameter_description> a #PangoAttrList
 
27504
</parameter_description>
 
27505
</parameter>
 
27506
</parameters>
 
27507
<return></return>
 
27508
</function>
 
27509
 
27480
27510
<function name="gtk_entry_set_buffer">
27481
27511
<description>
27482
27512
Set the #GtkEntryBuffer object which holds the text for
27859
27889
<return></return>
27860
27890
</function>
27861
27891
 
 
27892
<function name="gtk_entry_set_input_hints">
 
27893
<description>
 
27894
Sets the #GtkEntry:input-hints property, which
 
27895
allows input methods to fine-tune their behaviour.
 
27896
 
 
27897
Since: 3.6
 
27898
 
 
27899
</description>
 
27900
<parameters>
 
27901
<parameter name="entry">
 
27902
<parameter_description> a #GtkEntry
 
27903
</parameter_description>
 
27904
</parameter>
 
27905
<parameter name="hints">
 
27906
<parameter_description> the hints
 
27907
</parameter_description>
 
27908
</parameter>
 
27909
</parameters>
 
27910
<return></return>
 
27911
</function>
 
27912
 
 
27913
<function name="gtk_entry_set_input_purpose">
 
27914
<description>
 
27915
Sets the #GtkEntry:input-purpose property which
 
27916
can be used by on-screen keyboards and other input
 
27917
methods to adjust their behaviour.
 
27918
 
 
27919
Since: 3.6
 
27920
 
 
27921
</description>
 
27922
<parameters>
 
27923
<parameter name="entry">
 
27924
<parameter_description> a #GtkEntry
 
27925
</parameter_description>
 
27926
</parameter>
 
27927
<parameter name="purpose">
 
27928
<parameter_description> the purpose
 
27929
</parameter_description>
 
27930
</parameter>
 
27931
</parameters>
 
27932
<return></return>
 
27933
</function>
 
27934
 
27862
27935
<function name="gtk_entry_set_invisible_char">
27863
27936
<description>
27864
27937
Sets the character to use in place of the actual text when
28025
28098
 
28026
28099
<function name="gtk_entry_set_visibility">
28027
28100
<description>
28028
 
Sets whether the contents of the entry are visible or not. 
28029
 
When visibility is set to %FALSE, characters are displayed 
28030
 
as the invisible char, and will also appear that way when 
 
28101
Sets whether the contents of the entry are visible or not.
 
28102
When visibility is set to %FALSE, characters are displayed
 
28103
as the invisible char, and will also appear that way when
28031
28104
the text in the entry widget is copied elsewhere.
28032
28105
 
28033
28106
By default, GTK+ picks the best invisible character available
28034
28107
in the current font, but it can be changed with
28035
28108
gtk_entry_set_invisible_char().
28036
28109
 
 
28110
Note that you probably want to set #GtkEntry:input-purpose
 
28111
to %GTK_INPUT_PURPOSE_PASSWORD or %GTK_INPUT_PURPOSE_PIN to
 
28112
inform input methods about the purpose of this entry,
 
28113
in addition to setting visibility to %FALSE.
 
28114
 
28037
28115
</description>
28038
28116
<parameters>
28039
28117
<parameter name="entry">
35677
35755
 
35678
35756
To free the return value, use:
35679
35757
|[
35680
 
g_list_free_full (list, (GDestroyNotify) gtk_tree_patch_free);
 
35758
g_list_free_full (list, (GDestroyNotify) gtk_tree_path_free);
35681
35759
]|
35682
35760
 
35683
35761
Since: 2.6
35803
35881
</parameter_description>
35804
35882
</parameter>
35805
35883
<parameter name="model">
35806
 
<parameter_description> a pointer to receive a #GtkTreeModel or %NULL
 
35884
<parameter_description> a pointer to receive a
 
35885
#GtkTreeModel or %NULL
35807
35886
</parameter_description>
35808
35887
</parameter>
35809
35888
<parameter name="path">
39559
39638
<return></return>
39560
39639
</function>
39561
39640
 
 
39641
<function name="gtk_level_bar_add_offset_value">
 
39642
<description>
 
39643
Adds a new offset marker on @self at the position specified by @value.
 
39644
When the bar value is in the interval topped by @value (or between @value
 
39645
and #GtkLevelBar:max-value in case the offset is the last one on the bar)
 
39646
a style class named &lt;literal&gt;level-&lt;/literal&gt;@name will be applied
 
39647
when rendering the level bar fill.
 
39648
If another offset marker named @name exists, its value will be
 
39649
replaced by @value.
 
39650
 
 
39651
Since: 3.6
 
39652
 
 
39653
</description>
 
39654
<parameters>
 
39655
<parameter name="self">
 
39656
<parameter_description> a #GtkLevelBar
 
39657
</parameter_description>
 
39658
</parameter>
 
39659
<parameter name="name">
 
39660
<parameter_description> the name of the new offset
 
39661
</parameter_description>
 
39662
</parameter>
 
39663
<parameter name="value">
 
39664
<parameter_description> the value for the new offset
 
39665
</parameter_description>
 
39666
</parameter>
 
39667
</parameters>
 
39668
<return></return>
 
39669
</function>
 
39670
 
 
39671
<function name="gtk_level_bar_get_max_value">
 
39672
<description>
 
39673
Returns the value of the #GtkLevelBar:max-value property.
 
39674
 
 
39675
Since: 3.6
 
39676
 
 
39677
</description>
 
39678
<parameters>
 
39679
<parameter name="self">
 
39680
<parameter_description> a #GtkLevelBar
 
39681
</parameter_description>
 
39682
</parameter>
 
39683
</parameters>
 
39684
<return> a positive value
 
39685
 
 
39686
</return>
 
39687
</function>
 
39688
 
 
39689
<function name="gtk_level_bar_get_min_value">
 
39690
<description>
 
39691
Returns the value of the #GtkLevelBar:min-value property.
 
39692
 
 
39693
Since: 3.6
 
39694
 
 
39695
</description>
 
39696
<parameters>
 
39697
<parameter name="self">
 
39698
<parameter_description> a #GtkLevelBar
 
39699
</parameter_description>
 
39700
</parameter>
 
39701
</parameters>
 
39702
<return> a positive value
 
39703
 
 
39704
</return>
 
39705
</function>
 
39706
 
 
39707
<function name="gtk_level_bar_get_mode">
 
39708
<description>
 
39709
Returns the value of the #GtkLevelBar:mode property.
 
39710
 
 
39711
Since: 3.6
 
39712
 
 
39713
</description>
 
39714
<parameters>
 
39715
<parameter name="self">
 
39716
<parameter_description> a #GtkLevelBar
 
39717
</parameter_description>
 
39718
</parameter>
 
39719
</parameters>
 
39720
<return> a #GtkLevelBarMode
 
39721
 
 
39722
</return>
 
39723
</function>
 
39724
 
 
39725
<function name="gtk_level_bar_get_offset_value">
 
39726
<description>
 
39727
Fetches the value specified for the offset marker @name in @self,
 
39728
returning %TRUE in case an offset named @name was found.
 
39729
 
 
39730
Since: 3.6
 
39731
 
 
39732
</description>
 
39733
<parameters>
 
39734
<parameter name="self">
 
39735
<parameter_description> a #GtkLevelBar
 
39736
</parameter_description>
 
39737
</parameter>
 
39738
<parameter name="name">
 
39739
<parameter_description> the name of an offset in the bar
 
39740
</parameter_description>
 
39741
</parameter>
 
39742
<parameter name="value">
 
39743
<parameter_description> location where to store the value
 
39744
</parameter_description>
 
39745
</parameter>
 
39746
</parameters>
 
39747
<return> %TRUE if the specified offset is found
 
39748
 
 
39749
</return>
 
39750
</function>
 
39751
 
 
39752
<function name="gtk_level_bar_get_value">
 
39753
<description>
 
39754
Returns the value of the #GtkLevelBar:value property.
 
39755
 
 
39756
Since: 3.6
 
39757
 
 
39758
</description>
 
39759
<parameters>
 
39760
<parameter name="self">
 
39761
<parameter_description> a #GtkLevelBar
 
39762
</parameter_description>
 
39763
</parameter>
 
39764
</parameters>
 
39765
<return> a value in the interval between
 
39766
#GtkLevelBar:min-value and #GtkLevelBar:max-value
 
39767
 
 
39768
</return>
 
39769
</function>
 
39770
 
 
39771
<function name="gtk_level_bar_new">
 
39772
<description>
 
39773
Creates a new #GtkLevelBar.
 
39774
 
 
39775
Since: 3.6
 
39776
 
 
39777
</description>
 
39778
<parameters>
 
39779
</parameters>
 
39780
<return> a #GtkLevelBar.
 
39781
 
 
39782
</return>
 
39783
</function>
 
39784
 
 
39785
<function name="gtk_level_bar_new_for_interval">
 
39786
<description>
 
39787
Utility constructor that creates a new #GtkLevelBar for the specified
 
39788
interval.
 
39789
 
 
39790
Since: 3.6
 
39791
 
 
39792
</description>
 
39793
<parameters>
 
39794
<parameter name="min_value">
 
39795
<parameter_description> a positive value
 
39796
</parameter_description>
 
39797
</parameter>
 
39798
<parameter name="max_value">
 
39799
<parameter_description> a positive value
 
39800
</parameter_description>
 
39801
</parameter>
 
39802
</parameters>
 
39803
<return> a #GtkLevelBar
 
39804
 
 
39805
</return>
 
39806
</function>
 
39807
 
 
39808
<function name="gtk_level_bar_remove_offset_value">
 
39809
<description>
 
39810
Removes an offset marker previously added with
 
39811
gtk_level_bar_add_offset_value().
 
39812
 
 
39813
Since: 3.6
 
39814
 
 
39815
</description>
 
39816
<parameters>
 
39817
<parameter name="self">
 
39818
<parameter_description> a #GtkLevelBar
 
39819
</parameter_description>
 
39820
</parameter>
 
39821
<parameter name="name">
 
39822
<parameter_description> the name of an offset in the bar
 
39823
</parameter_description>
 
39824
</parameter>
 
39825
</parameters>
 
39826
<return></return>
 
39827
</function>
 
39828
 
 
39829
<function name="gtk_level_bar_set_max_value">
 
39830
<description>
 
39831
Sets the value of the #GtkLevelBar:max-value property.
 
39832
 
 
39833
Since: 3.6
 
39834
 
 
39835
</description>
 
39836
<parameters>
 
39837
<parameter name="self">
 
39838
<parameter_description> a #GtkLevelBar
 
39839
</parameter_description>
 
39840
</parameter>
 
39841
<parameter name="value">
 
39842
<parameter_description> a positive value
 
39843
</parameter_description>
 
39844
</parameter>
 
39845
</parameters>
 
39846
<return></return>
 
39847
</function>
 
39848
 
 
39849
<function name="gtk_level_bar_set_min_value">
 
39850
<description>
 
39851
Sets the value of the #GtkLevelBar:min-value property.
 
39852
 
 
39853
Since: 3.6
 
39854
 
 
39855
</description>
 
39856
<parameters>
 
39857
<parameter name="self">
 
39858
<parameter_description> a #GtkLevelBar
 
39859
</parameter_description>
 
39860
</parameter>
 
39861
<parameter name="value">
 
39862
<parameter_description> a positive value
 
39863
</parameter_description>
 
39864
</parameter>
 
39865
</parameters>
 
39866
<return></return>
 
39867
</function>
 
39868
 
 
39869
<function name="gtk_level_bar_set_mode">
 
39870
<description>
 
39871
Sets the value of the #GtkLevelBar:mode property.
 
39872
 
 
39873
Since: 3.6
 
39874
 
 
39875
</description>
 
39876
<parameters>
 
39877
<parameter name="self">
 
39878
<parameter_description> a #GtkLevelBar
 
39879
</parameter_description>
 
39880
</parameter>
 
39881
<parameter name="mode">
 
39882
<parameter_description> a #GtkLevelBarMode
 
39883
</parameter_description>
 
39884
</parameter>
 
39885
</parameters>
 
39886
<return></return>
 
39887
</function>
 
39888
 
 
39889
<function name="gtk_level_bar_set_value">
 
39890
<description>
 
39891
Sets the value of the #GtkLevelBar:value property.
 
39892
 
 
39893
Since: 3.6
 
39894
 
 
39895
</description>
 
39896
<parameters>
 
39897
<parameter name="self">
 
39898
<parameter_description> a #GtkLevelBar
 
39899
</parameter_description>
 
39900
</parameter>
 
39901
<parameter name="value">
 
39902
<parameter_description> a value in the interval between
 
39903
#GtkLevelBar:min-value and #GtkLevelBar:max-value
 
39904
</parameter_description>
 
39905
</parameter>
 
39906
</parameters>
 
39907
<return></return>
 
39908
</function>
 
39909
 
39562
39910
<function name="gtk_link_button_get_uri">
39563
39911
<description>
39564
39912
Retrieves the URI set using gtk_link_button_set_uri().
39721
40069
<function name="gtk_list_store_insert">
39722
40070
<description>
39723
40071
Creates a new row at @position.  @iter will be changed to point to this new
39724
 
row.  If @position is larger than the number of rows on the list, then the
39725
 
new row will be appended to the list. The row will be empty after this
39726
 
function is called.  To fill in values, you need to call 
 
40072
row.  If @position is -1 or is larger than the number of rows on the list,
 
40073
then the new row will be appended to the list. The row will be empty after
 
40074
this function is called.  To fill in values, you need to call
39727
40075
gtk_list_store_set() or gtk_list_store_set_value().
39728
40076
 
39729
40077
 
39738
40086
</parameter_description>
39739
40087
</parameter>
39740
40088
<parameter name="position">
39741
 
<parameter_description> position to insert the new row
 
40089
<parameter_description> position to insert the new row, or -1 for last
39742
40090
</parameter_description>
39743
40091
</parameter>
39744
40092
</parameters>
39863
40211
</parameter_description>
39864
40212
</parameter>
39865
40213
<parameter name="position">
39866
 
<parameter_description> position to insert the new row
 
40214
<parameter_description> position to insert the new row, or -1 for last
39867
40215
</parameter_description>
39868
40216
</parameter>
39869
40217
<parameter name="columns">
39965
40313
in.  Note that only types derived from standard GObject fundamental types
39966
40314
are supported.
39967
40315
 
39968
 
As an example, &lt;literal&gt;gtk_tree_store_new (3, G_TYPE_INT, G_TYPE_STRING,
 
40316
As an example, &lt;literal&gt;gtk_list_store_new (3, G_TYPE_INT, G_TYPE_STRING,
39969
40317
GDK_TYPE_PIXBUF);&lt;/literal&gt; will create a new #GtkListStore with three columns, of type
39970
40318
int, string and #GdkPixbuf respectively.
39971
40319
 
40655
41003
</return>
40656
41004
</function>
40657
41005
 
40658
 
<function name="gtk_menu_button_get_menu">
40659
 
<description>
40660
 
Returns the #GtkMenu that pops out of the button.
40661
 
 
40662
 
Since: 3.6
40663
 
 
40664
 
</description>
40665
 
<parameters>
40666
 
<parameter name="menu_button">
40667
 
<parameter_description> a #GtkMenuButton
40668
 
</parameter_description>
40669
 
</parameter>
40670
 
</parameters>
40671
 
<return> a #GtkMenu or %NULL.
40672
 
 
40673
 
</return>
40674
 
</function>
40675
 
 
40676
41006
<function name="gtk_menu_button_get_menu_model">
40677
41007
<description>
40678
41008
Returns the #GMenuModel used to generate the menu.
40691
41021
</return>
40692
41022
</function>
40693
41023
 
 
41024
<function name="gtk_menu_button_get_popup">
 
41025
<description>
 
41026
Returns the #GtkMenu that pops out of the button.
 
41027
 
 
41028
Since: 3.6
 
41029
 
 
41030
</description>
 
41031
<parameters>
 
41032
<parameter name="menu_button">
 
41033
<parameter_description> a #GtkMenuButton
 
41034
</parameter_description>
 
41035
</parameter>
 
41036
</parameters>
 
41037
<return> a #GtkMenu or %NULL.
 
41038
 
 
41039
</return>
 
41040
</function>
 
41041
 
40694
41042
<function name="gtk_menu_button_new">
40695
41043
<description>
40696
41044
Creates a new #GtkMenuButton widget with downwards-pointing
40759
41107
<return></return>
40760
41108
</function>
40761
41109
 
40762
 
<function name="gtk_menu_button_set_menu">
40763
 
<description>
40764
 
Sets the #GtkMenu that will be popped up when the button is clicked,
40765
 
or %NULL to disable the button. If #GtkMenuButton:menu-model is set,
40766
 
it will be set to %NULL.
40767
 
 
40768
 
Since: 3.6
40769
 
 
40770
 
</description>
40771
 
<parameters>
40772
 
<parameter name="menu_button">
40773
 
<parameter_description> a #GtkMenuButton
40774
 
</parameter_description>
40775
 
</parameter>
40776
 
<parameter name="menu">
40777
 
<parameter_description> a #GtkMenu
40778
 
</parameter_description>
40779
 
</parameter>
40780
 
</parameters>
40781
 
<return></return>
40782
 
</function>
40783
 
 
40784
41110
<function name="gtk_menu_button_set_menu_model">
40785
41111
<description>
40786
41112
Sets the #GMenuModel from which the #GtkMenuButton:menu property will be
40808
41134
<return></return>
40809
41135
</function>
40810
41136
 
 
41137
<function name="gtk_menu_button_set_popup">
 
41138
<description>
 
41139
Sets the #GtkMenu that will be popped up when the button is clicked,
 
41140
or %NULL to disable the button. If #GtkMenuButton:menu-model is set,
 
41141
it will be set to %NULL.
 
41142
 
 
41143
Since: 3.6
 
41144
 
 
41145
</description>
 
41146
<parameters>
 
41147
<parameter name="menu_button">
 
41148
<parameter_description> a #GtkMenuButton
 
41149
</parameter_description>
 
41150
</parameter>
 
41151
<parameter name="popup">
 
41152
<parameter_description> a #GtkMenu
 
41153
</parameter_description>
 
41154
</parameter>
 
41155
</parameters>
 
41156
<return></return>
 
41157
</function>
 
41158
 
40811
41159
<function name="gtk_menu_detach">
40812
41160
<description>
40813
41161
Detaches the menu from the widget to which it had been attached.
41835
42183
<return></return>
41836
42184
</function>
41837
42185
 
 
42186
<function name="gtk_menu_shell_bind_model">
 
42187
<description>
 
42188
Establishes a binding between a #GtkMenuShell and a #GMenuModel.
 
42189
 
 
42190
The contents of @shell are removed and then refilled with menu items
 
42191
according to @model.  When @model changes, @shell is updated.
 
42192
Calling this function twice on @shell with different @model will
 
42193
cause the first binding to be replaced with a binding to the new
 
42194
model. If @model is %NULL then any previous binding is undone and
 
42195
all children are removed.
 
42196
 
 
42197
@with_separators determines if toplevel items (eg: sections) have
 
42198
separators inserted between them.  This is typically desired for
 
42199
menus but doesn't make sense for menubars.
 
42200
 
 
42201
If @action_namespace is non-%NULL then the effect is as if all
 
42202
actions mentioned in the @model have their names prefixed with the
 
42203
namespace, plus a dot.  For example, if the action &quot;quit&quot; is
 
42204
mentioned and @action_namespace is &quot;app&quot; then the effective action
 
42205
name is &quot;app.quit&quot;.
 
42206
 
 
42207
For most cases you are probably better off using
 
42208
gtk_menu_new_from_model() or gtk_menu_bar_new_from_model() or just
 
42209
directly passing the #GMenuModel to gtk_application_set_app_menu() or
 
42210
gtk_application_set_menu_bar().
 
42211
 
 
42212
Since: 3.6
 
42213
 
 
42214
</description>
 
42215
<parameters>
 
42216
<parameter name="menu_shell">
 
42217
<parameter_description> a #GtkMenuShell
 
42218
</parameter_description>
 
42219
</parameter>
 
42220
<parameter name="model">
 
42221
<parameter_description> the #GMenuModel to bind to or %NULL to remove
 
42222
binding
 
42223
</parameter_description>
 
42224
</parameter>
 
42225
<parameter name="action_namespace">
 
42226
<parameter_description> the namespace for actions in @model
 
42227
</parameter_description>
 
42228
</parameter>
 
42229
<parameter name="with_separators">
 
42230
<parameter_description> %TRUE if toplevel items in @shell should have
 
42231
separators between them
 
42232
</parameter_description>
 
42233
</parameter>
 
42234
</parameters>
 
42235
<return></return>
 
42236
</function>
 
42237
 
41838
42238
<function name="gtk_menu_shell_cancel">
41839
42239
<description>
41840
42240
Cancels the selection within the menu shell.
42206
42606
printf()-style), which is marked up with the
42207
42607
&lt;link linkend=&quot;PangoMarkupFormat&quot;&gt;Pango text markup language&lt;/link&gt;.
42208
42608
 
42209
 
Note that setting a secondary text makes the primary text become
42210
 
bold, unless you have provided explicit markup.
42211
 
 
42212
42609
Due to an oversight, this function does not escape special XML characters
42213
42610
like gtk_message_dialog_new_with_markup() does. Thus, if the arguments
42214
42611
may contain special XML characters, you should use g_markup_printf_escaped()
42248
42645
Sets the secondary text of the message dialog to be @message_format
42249
42646
(with printf()-style).
42250
42647
 
42251
 
Note that setting a secondary text makes the primary text become
42252
 
bold, unless you have provided explicit markup.
42253
 
 
42254
42648
Since: 2.6
42255
42649
 
42256
42650
</description>
62739
63133
</parameter_description>
62740
63134
</parameter>
62741
63135
</parameters>
62742
 
<return> A pointer to the the newly created table widget.
 
63136
<return> A pointer to the newly created table widget.
62743
63137
 
62744
63138
</return>
62745
63139
</function>
69224
69618
</return>
69225
69619
</function>
69226
69620
 
 
69621
<function name="gtk_text_view_get_input_hints">
 
69622
<description>
 
69623
Gets the value of the #GtkTextView:input-hints property.
 
69624
 
 
69625
Since: 3.6
 
69626
 
 
69627
</description>
 
69628
<parameters>
 
69629
<parameter name="text_view">
 
69630
<parameter_description> a #GtkTextView
 
69631
</parameter_description>
 
69632
</parameter>
 
69633
</parameters>
 
69634
<return></return>
 
69635
</function>
 
69636
 
 
69637
<function name="gtk_text_view_get_input_purpose">
 
69638
<description>
 
69639
Gets the value of the #GtkTextView:input-purpose property.
 
69640
 
 
69641
Since: 3.6
 
69642
 
 
69643
</description>
 
69644
<parameters>
 
69645
<parameter name="text_view">
 
69646
<parameter_description> a #GtkTextView
 
69647
</parameter_description>
 
69648
</parameter>
 
69649
</parameters>
 
69650
<return></return>
 
69651
</function>
 
69652
 
69227
69653
<function name="gtk_text_view_get_iter_at_location">
69228
69654
<description>
69229
69655
Retrieves the iterator at buffer coordinates @x and @y. Buffer
70067
70493
<return></return>
70068
70494
</function>
70069
70495
 
 
70496
<function name="gtk_text_view_set_input_hints">
 
70497
<description>
 
70498
Sets the #GtkTextView:input-hints property, which
 
70499
allows input methods to fine-tune their behaviour.
 
70500
 
 
70501
Since: 3.6
 
70502
 
 
70503
</description>
 
70504
<parameters>
 
70505
<parameter name="text_view">
 
70506
<parameter_description> a #GtkTextView
 
70507
</parameter_description>
 
70508
</parameter>
 
70509
<parameter name="hints">
 
70510
<parameter_description> the hints
 
70511
</parameter_description>
 
70512
</parameter>
 
70513
</parameters>
 
70514
<return></return>
 
70515
</function>
 
70516
 
 
70517
<function name="gtk_text_view_set_input_purpose">
 
70518
<description>
 
70519
Sets the #GtkTextView:input-purpose property which
 
70520
can be used by on-screen keyboards and other input
 
70521
methods to adjust their behaviour.
 
70522
 
 
70523
Since: 3.6
 
70524
 
 
70525
</description>
 
70526
<parameters>
 
70527
<parameter name="text_view">
 
70528
<parameter_description> a #GtkTextView
 
70529
</parameter_description>
 
70530
</parameter>
 
70531
<parameter name="purpose">
 
70532
<parameter_description> the purpose
 
70533
</parameter_description>
 
70534
</parameter>
 
70535
</parameters>
 
70536
<return></return>
 
70537
</function>
 
70538
 
70070
70539
<function name="gtk_text_view_set_justification">
70071
70540
<description>
70072
70541
Sets the default justification of text in @text_view.
71116
71585
<description>
71117
71586
Sets the status of the toggle button. Set to %TRUE if you want the
71118
71587
GtkToggleButton to be 'pressed in', and %FALSE to raise it.
71119
 
This action causes the toggled signal to be emitted.
 
71588
This action causes the #GtkToggleButton::toggled signal and the
 
71589
#GtkButton::clicked signal to be emitted.
71120
71590
 
71121
71591
</description>
71122
71592
<parameters>
76340
76810
<description>
76341
76811
Creates a new row at @position.  If parent is non-%NULL, then the row will be
76342
76812
made a child of @parent.  Otherwise, the row will be created at the toplevel.
76343
 
If @position is larger than the number of rows at that level, then the new
76344
 
row will be inserted to the end of the list.  @iter will be changed to point
76345
 
to this new row.  The row will be empty after this function is called.  To
76346
 
fill in values, you need to call gtk_tree_store_set() or
 
76813
If @position is -1 or is larger than the number of rows at that level, then
 
76814
the new row will be inserted to the end of the list.  @iter will be changed
 
76815
to point to this new row.  The row will be empty after this function is
 
76816
called.  To fill in values, you need to call gtk_tree_store_set() or
76347
76817
gtk_tree_store_set_value().
76348
76818
 
76349
76819
 
76362
76832
</parameter_description>
76363
76833
</parameter>
76364
76834
<parameter name="position">
76365
 
<parameter_description> position to insert the new row
 
76835
<parameter_description> position to insert the new row, or -1 for last
76366
76836
</parameter_description>
76367
76837
</parameter>
76368
76838
</parameters>
76511
76981
</parameter_description>
76512
76982
</parameter>
76513
76983
<parameter name="position">
76514
 
<parameter_description> position to insert the new row
 
76984
<parameter_description> position to insert the new row, or -1 for last
76515
76985
</parameter_description>
76516
76986
</parameter>
76517
76987
<parameter name="columns">
82077
82547
class for which such an implementation is defined.
82078
82548
 
82079
82549
The documentation of the
82080
 
&lt;ulink url=&quot;http://library.gnome.org/devel/atk/stable/&quot;&gt;ATK&lt;/ulink&gt;
 
82550
&lt;ulink url=&quot;http://developer.gnome.org/atk/stable/&quot;&gt;ATK&lt;/ulink&gt;
82081
82551
library contains more information about accessible objects and their uses.
82082
82552
 
82083
82553
 
83850
84320
<return></return>
83851
84321
</function>
83852
84322
 
 
84323
<function name="gtk_widget_insert_action_group">
 
84324
<description>
 
84325
Inserts @group into @widget. Children of @widget that implement
 
84326
#GtkActionable can then be associated with actions in @group by
 
84327
setting their 'action-name' to
 
84328
@prefix.&lt;replaceable&gt;action-name&lt;/replaceable&gt;.
 
84329
 
 
84330
Since: 3.6
 
84331
 
 
84332
</description>
 
84333
<parameters>
 
84334
<parameter name="widget">
 
84335
<parameter_description> a #GtkWidget
 
84336
</parameter_description>
 
84337
</parameter>
 
84338
<parameter name="name">
 
84339
<parameter_description> the prefix for actions in @group
 
84340
</parameter_description>
 
84341
</parameter>
 
84342
<parameter name="group">
 
84343
<parameter_description> a #GActionGroup
 
84344
</parameter_description>
 
84345
</parameter>
 
84346
</parameters>
 
84347
<return></return>
 
84348
</function>
 
84349
 
83853
84350
<function name="gtk_widget_intersect">
83854
84351
<description>
83855
84352
Computes the intersection of a @widget's area and @area, storing
85603
86100
<return></return>
85604
86101
</function>
85605
86102
 
85606
 
<function name="gtk_widget_queue_shallow_draw">
85607
 
<description>
85608
 
Like gtk_widget_queue_draw(), but only windows owned
85609
 
by @widget are invalidated.
85610
 
 
85611
 
</description>
85612
 
<parameters>
85613
 
<parameter name="widget">
85614
 
<parameter_description> a #GtkWidget
85615
 
</parameter_description>
85616
 
</parameter>
85617
 
</parameters>
85618
 
<return></return>
85619
 
</function>
85620
 
 
85621
86103
<function name="gtk_widget_realize">
85622
86104
<description>
85623
86105
Creates the GDK (windowing system) resources associated with a