ruby-libnotify 0.4.1.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +12 -0
- data/README.rdoc +5 -7
- data/doc/Notify/Notification.html +1123 -0
- data/doc/Notify.html +518 -0
- data/doc/created.rid +3 -1
- data/doc/ext/rnotify_c.html +52 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +93 -17
- data/doc/js/darkfish.js +116 -0
- data/doc/js/jquery.js +32 -0
- data/doc/js/quicksearch.js +114 -0
- data/doc/js/thickbox-compressed.js +10 -0
- data/doc/lib/RNotify_rb.html +56 -0
- data/doc/rdoc.css +706 -0
- data/examples/action.rb +1 -1
- data/examples/base.rb +1 -5
- data/examples/icon.png +0 -0
- data/examples/info.rb +1 -1
- data/examples/markup.rb +1 -4
- data/examples/multi-actions.rb +1 -1
- data/examples/update.rb +1 -6
- data/examples/urgency.rb +3 -8
- data/examples/xy.rb +1 -6
- data/ext/extconf.rb +23 -34
- data/ext/rnotify.c +72 -145
- data/lib/RNotify.rb +1 -1
- metadata +33 -52
- data/doc/classes/Notify/Notification.html +0 -787
- data/doc/classes/Notify/Notification.src/M000007.html +0 -65
- data/doc/classes/Notify/Notification.src/M000008.html +0 -49
- data/doc/classes/Notify/Notification.src/M000009.html +0 -43
- data/doc/classes/Notify/Notification.src/M000010.html +0 -35
- data/doc/classes/Notify/Notification.src/M000011.html +0 -33
- data/doc/classes/Notify/Notification.src/M000012.html +0 -36
- data/doc/classes/Notify/Notification.src/M000013.html +0 -48
- data/doc/classes/Notify/Notification.src/M000014.html +0 -36
- data/doc/classes/Notify/Notification.src/M000015.html +0 -38
- data/doc/classes/Notify/Notification.src/M000016.html +0 -38
- data/doc/classes/Notify/Notification.src/M000017.html +0 -39
- data/doc/classes/Notify/Notification.src/M000018.html +0 -38
- data/doc/classes/Notify/Notification.src/M000019.html +0 -45
- data/doc/classes/Notify/Notification.src/M000020.html +0 -67
- data/doc/classes/Notify/Notification.src/M000021.html +0 -33
- data/doc/classes/Notify/Notification.src/M000022.html +0 -33
- data/doc/classes/Notify/Notification.src/M000023.html +0 -36
- data/doc/classes/Notify/Notification.src/M000024.html +0 -34
- data/doc/classes/Notify.html +0 -343
- data/doc/classes/Notify.src/M000001.html +0 -39
- data/doc/classes/Notify.src/M000002.html +0 -24
- data/doc/classes/Notify.src/M000003.html +0 -25
- data/doc/classes/Notify.src/M000004.html +0 -24
- data/doc/classes/Notify.src/M000005.html +0 -37
- data/doc/classes/Notify.src/M000006.html +0 -55
- data/doc/files/lib/RNotify_rb.html +0 -102
- data/doc/files/rnotify_c.html +0 -90
- data/doc/fr_class_index.html +0 -27
- data/doc/fr_file_index.html +0 -27
- data/doc/fr_method_index.html +0 -71
- data/doc/rdoc-style.css +0 -299
- data/examples/attach_to.rb +0 -43
- data/examples/attach_to_status_icon.rb +0 -47
- data/examples/geometry-hints.rb +0 -37
@@ -1,787 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<title>Class: Notify::Notification [RDoc Documentation]</title>
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
8
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
9
|
-
<script type="text/javascript">
|
10
|
-
// <![CDATA[
|
11
|
-
|
12
|
-
function popupCode( url ) {
|
13
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
14
|
-
}
|
15
|
-
|
16
|
-
function toggleCode( id ) {
|
17
|
-
if ( document.getElementById )
|
18
|
-
elem = document.getElementById( id );
|
19
|
-
else if ( document.all )
|
20
|
-
elem = eval( "document.all." + id );
|
21
|
-
else
|
22
|
-
return false;
|
23
|
-
|
24
|
-
elemStyle = elem.style;
|
25
|
-
|
26
|
-
if ( elemStyle.display != "block" ) {
|
27
|
-
elemStyle.display = "block"
|
28
|
-
} else {
|
29
|
-
elemStyle.display = "none"
|
30
|
-
}
|
31
|
-
|
32
|
-
return true;
|
33
|
-
}
|
34
|
-
|
35
|
-
// Make codeblocks hidden by default
|
36
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
|
37
|
-
|
38
|
-
// ]]>
|
39
|
-
</script>
|
40
|
-
|
41
|
-
</head>
|
42
|
-
<body>
|
43
|
-
|
44
|
-
|
45
|
-
<div id="classHeader">
|
46
|
-
<table class="header-table">
|
47
|
-
<tr class="top-aligned-row">
|
48
|
-
<td><strong>Class</strong></td>
|
49
|
-
<td class="class-name-in-header">Notify::Notification</td>
|
50
|
-
</tr>
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>In:</strong></td>
|
53
|
-
<td>
|
54
|
-
|
55
|
-
|
56
|
-
<a href="../../files/rnotify_c.html">
|
57
|
-
|
58
|
-
rnotify.c
|
59
|
-
|
60
|
-
</a>
|
61
|
-
|
62
|
-
|
63
|
-
<br />
|
64
|
-
|
65
|
-
</td>
|
66
|
-
</tr>
|
67
|
-
|
68
|
-
|
69
|
-
<tr class="top-aligned-row">
|
70
|
-
<td><strong>Parent:</strong></td>
|
71
|
-
<td>
|
72
|
-
|
73
|
-
Object
|
74
|
-
|
75
|
-
</td>
|
76
|
-
</tr>
|
77
|
-
|
78
|
-
</table>
|
79
|
-
</div>
|
80
|
-
<!-- banner header -->
|
81
|
-
|
82
|
-
<div id="bodyContent">
|
83
|
-
|
84
|
-
<div id="contextContent">
|
85
|
-
|
86
|
-
<div id="description">
|
87
|
-
<p>
|
88
|
-
libnotify ruby interface [ <a
|
89
|
-
href="http://www.galago-project.org">www.galago-project.org</a> ]
|
90
|
-
</p>
|
91
|
-
|
92
|
-
</div>
|
93
|
-
|
94
|
-
</div>
|
95
|
-
|
96
|
-
|
97
|
-
<div id="method-list">
|
98
|
-
<h3 class="section-bar">Methods</h3>
|
99
|
-
|
100
|
-
<div class="name-list">
|
101
|
-
|
102
|
-
<a href="#M000020">add_action</a>
|
103
|
-
|
104
|
-
<a href="#M000009">attach_to</a>
|
105
|
-
|
106
|
-
<a href="#M000012">category=</a>
|
107
|
-
|
108
|
-
<a href="#M000021">clear_actions</a>
|
109
|
-
|
110
|
-
<a href="#M000022">clear_hints</a>
|
111
|
-
|
112
|
-
<a href="#M000024">close</a>
|
113
|
-
|
114
|
-
<a href="#M000023">closed_reason</a>
|
115
|
-
|
116
|
-
<a href="#M000019">geometry_hints</a>
|
117
|
-
|
118
|
-
<a href="#M000015">hint32</a>
|
119
|
-
|
120
|
-
<a href="#M000018">hint_byte</a>
|
121
|
-
|
122
|
-
<a href="#M000016">hint_double</a>
|
123
|
-
|
124
|
-
<a href="#M000017">hint_string</a>
|
125
|
-
|
126
|
-
<a href="#M000007">new</a>
|
127
|
-
|
128
|
-
<a href="#M000014">pixbuf_icon=</a>
|
129
|
-
|
130
|
-
<a href="#M000010">show</a>
|
131
|
-
|
132
|
-
<a href="#M000011">timeout=</a>
|
133
|
-
|
134
|
-
<a href="#M000008">update</a>
|
135
|
-
|
136
|
-
<a href="#M000013">urgency=</a>
|
137
|
-
|
138
|
-
</div>
|
139
|
-
</div>
|
140
|
-
|
141
|
-
</div>
|
142
|
-
|
143
|
-
<!-- if includes -->
|
144
|
-
|
145
|
-
<div id="section">
|
146
|
-
|
147
|
-
<div id="constants-list">
|
148
|
-
<h3 class="section-bar">Constants</h3>
|
149
|
-
|
150
|
-
<div class="name-list">
|
151
|
-
<table summary="Constants">
|
152
|
-
|
153
|
-
<tr class="top-aligned-row context-row">
|
154
|
-
<td class="context-item-name">URGENCY_LOW</td>
|
155
|
-
<td>=</td>
|
156
|
-
<td class="context-item-value">INT2FIX(NOTIFY_URGENCY_LOW)</td>
|
157
|
-
|
158
|
-
</tr>
|
159
|
-
|
160
|
-
<tr class="top-aligned-row context-row">
|
161
|
-
<td class="context-item-name">URGENCY_NORMAL</td>
|
162
|
-
<td>=</td>
|
163
|
-
<td class="context-item-value">INT2FIX(NOTIFY_URGENCY_NORMAL)</td>
|
164
|
-
|
165
|
-
</tr>
|
166
|
-
|
167
|
-
<tr class="top-aligned-row context-row">
|
168
|
-
<td class="context-item-name">URGENCY_CRITICAL</td>
|
169
|
-
<td>=</td>
|
170
|
-
<td class="context-item-value">INT2FIX(NOTIFY_URGENCY_CRITICAL)</td>
|
171
|
-
|
172
|
-
</tr>
|
173
|
-
|
174
|
-
<tr class="top-aligned-row context-row">
|
175
|
-
<td class="context-item-name">EXPIRES_DEFAULT</td>
|
176
|
-
<td>=</td>
|
177
|
-
<td class="context-item-value">INT2FIX(NOTIFY_EXPIRES_DEFAULT)</td>
|
178
|
-
|
179
|
-
</tr>
|
180
|
-
|
181
|
-
<tr class="top-aligned-row context-row">
|
182
|
-
<td class="context-item-name">EXPIRES_NEVER</td>
|
183
|
-
<td>=</td>
|
184
|
-
<td class="context-item-value">INT2FIX(NOTIFY_EXPIRES_NEVER)</td>
|
185
|
-
|
186
|
-
</tr>
|
187
|
-
|
188
|
-
</table>
|
189
|
-
</div>
|
190
|
-
</div>
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
<!-- if method_list -->
|
196
|
-
|
197
|
-
<div id="methods">
|
198
|
-
|
199
|
-
<h3 class="section-bar">Public Class methods</h3>
|
200
|
-
|
201
|
-
|
202
|
-
<div id="method-M000007" class="method-detail">
|
203
|
-
<a name="M000007"></a>
|
204
|
-
|
205
|
-
<div class="method-heading">
|
206
|
-
|
207
|
-
<a href="Notification.src/M000007.html" target="Code" class="method-signature"
|
208
|
-
onclick="popupCode('Notification.src/M000007.html');return false;">
|
209
|
-
|
210
|
-
<span class="method-name">new(summ, msg, icon, widget)<br />
|
211
|
-
</span>
|
212
|
-
|
213
|
-
</a>
|
214
|
-
|
215
|
-
</div>
|
216
|
-
|
217
|
-
<div class="method-description">
|
218
|
-
|
219
|
-
<p>
|
220
|
-
summ = The summary text (required)
|
221
|
-
</p>
|
222
|
-
<p>
|
223
|
-
msg = The body text or nil
|
224
|
-
</p>
|
225
|
-
<p>
|
226
|
-
icon = The icon or nil
|
227
|
-
</p>
|
228
|
-
<p>
|
229
|
-
widget = The widget (or a Gtk::StatusIcon, when compiled against GTK+ >=
|
230
|
-
2.9.2 and libnotify >= 0.4.1) to attach to or nil
|
231
|
-
</p>
|
232
|
-
<p>
|
233
|
-
Creates and returns a new notification, throw an exception on error
|
234
|
-
</p>
|
235
|
-
|
236
|
-
</div>
|
237
|
-
</div>
|
238
|
-
|
239
|
-
|
240
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
241
|
-
|
242
|
-
|
243
|
-
<div id="method-M000020" class="method-detail">
|
244
|
-
<a name="M000020"></a>
|
245
|
-
|
246
|
-
<div class="method-heading">
|
247
|
-
|
248
|
-
<a href="Notification.src/M000020.html" target="Code" class="method-signature"
|
249
|
-
onclick="popupCode('Notification.src/M000020.html');return false;">
|
250
|
-
|
251
|
-
<span class="method-name">add_action(action, label, user_data) { |action, user_data| ... }<br />
|
252
|
-
</span>
|
253
|
-
|
254
|
-
</a>
|
255
|
-
|
256
|
-
</div>
|
257
|
-
|
258
|
-
<div class="method-description">
|
259
|
-
|
260
|
-
<p>
|
261
|
-
action = The action id
|
262
|
-
</p>
|
263
|
-
<p>
|
264
|
-
label = The action label
|
265
|
-
</p>
|
266
|
-
<p>
|
267
|
-
user_data = Custom data to pass into the block (optional)
|
268
|
-
</p>
|
269
|
-
<p>
|
270
|
-
Adds an action. When the action is invoked, the specified block will be
|
271
|
-
called
|
272
|
-
</p>
|
273
|
-
<p>
|
274
|
-
Examples:
|
275
|
-
</p>
|
276
|
-
<p>
|
277
|
-
myinstance.add_action( “MyAction”, “MyLabel” ) do
|
278
|
-
|action|
|
279
|
-
</p>
|
280
|
-
<pre>
|
281
|
-
# something to do
|
282
|
-
</pre>
|
283
|
-
<p>
|
284
|
-
end
|
285
|
-
</p>
|
286
|
-
<p>
|
287
|
-
Or
|
288
|
-
</p>
|
289
|
-
<p>
|
290
|
-
myinstance.add_action( “MyAction”, “MyLabel”,
|
291
|
-
MyData ) do |action, mydata|
|
292
|
-
</p>
|
293
|
-
<pre>
|
294
|
-
# something to do
|
295
|
-
</pre>
|
296
|
-
<p>
|
297
|
-
end
|
298
|
-
</p>
|
299
|
-
|
300
|
-
</div>
|
301
|
-
</div>
|
302
|
-
|
303
|
-
|
304
|
-
<div id="method-M000009" class="method-detail">
|
305
|
-
<a name="M000009"></a>
|
306
|
-
|
307
|
-
<div class="method-heading">
|
308
|
-
|
309
|
-
<a href="Notification.src/M000009.html" target="Code" class="method-signature"
|
310
|
-
onclick="popupCode('Notification.src/M000009.html');return false;">
|
311
|
-
|
312
|
-
<span class="method-name">attach_to(widget)<br />
|
313
|
-
</span>
|
314
|
-
|
315
|
-
</a>
|
316
|
-
|
317
|
-
</div>
|
318
|
-
|
319
|
-
<div class="method-description">
|
320
|
-
|
321
|
-
<p>
|
322
|
-
widget = The widget (or a Gtk::StatusIcon, when compiled against GTK+ >=
|
323
|
-
2.9.2 and libnotify >= 0.4.1) to attach to
|
324
|
-
</p>
|
325
|
-
<p>
|
326
|
-
Attaches the notification to a Gtk::Widget or Gtk::StatusIcon
|
327
|
-
</p>
|
328
|
-
|
329
|
-
</div>
|
330
|
-
</div>
|
331
|
-
|
332
|
-
|
333
|
-
<div id="method-M000012" class="method-detail">
|
334
|
-
<a name="M000012"></a>
|
335
|
-
|
336
|
-
<div class="method-heading">
|
337
|
-
|
338
|
-
<a href="Notification.src/M000012.html" target="Code" class="method-signature"
|
339
|
-
onclick="popupCode('Notification.src/M000012.html');return false;">
|
340
|
-
|
341
|
-
<span class="method-name">category=(category_name)<br />
|
342
|
-
</span>
|
343
|
-
|
344
|
-
</a>
|
345
|
-
|
346
|
-
</div>
|
347
|
-
|
348
|
-
<div class="method-description">
|
349
|
-
|
350
|
-
<p>
|
351
|
-
category_name = The category name
|
352
|
-
</p>
|
353
|
-
<p>
|
354
|
-
Sets the category
|
355
|
-
</p>
|
356
|
-
|
357
|
-
</div>
|
358
|
-
</div>
|
359
|
-
|
360
|
-
|
361
|
-
<div id="method-M000021" class="method-detail">
|
362
|
-
<a name="M000021"></a>
|
363
|
-
|
364
|
-
<div class="method-heading">
|
365
|
-
|
366
|
-
<a href="Notification.src/M000021.html" target="Code" class="method-signature"
|
367
|
-
onclick="popupCode('Notification.src/M000021.html');return false;">
|
368
|
-
|
369
|
-
<span class="method-name">clear_actions<br />
|
370
|
-
</span>
|
371
|
-
|
372
|
-
</a>
|
373
|
-
|
374
|
-
</div>
|
375
|
-
|
376
|
-
<div class="method-description">
|
377
|
-
|
378
|
-
<p>
|
379
|
-
Clears all actions from the notification. Remember to use this method
|
380
|
-
before call the <a href="Notification.html#M000024">Notification#close</a>
|
381
|
-
method.
|
382
|
-
</p>
|
383
|
-
|
384
|
-
</div>
|
385
|
-
</div>
|
386
|
-
|
387
|
-
|
388
|
-
<div id="method-M000022" class="method-detail">
|
389
|
-
<a name="M000022"></a>
|
390
|
-
|
391
|
-
<div class="method-heading">
|
392
|
-
|
393
|
-
<a href="Notification.src/M000022.html" target="Code" class="method-signature"
|
394
|
-
onclick="popupCode('Notification.src/M000022.html');return false;">
|
395
|
-
|
396
|
-
<span class="method-name">clear_hints<br />
|
397
|
-
</span>
|
398
|
-
|
399
|
-
</a>
|
400
|
-
|
401
|
-
</div>
|
402
|
-
|
403
|
-
<div class="method-description">
|
404
|
-
|
405
|
-
<p>
|
406
|
-
Clears all hints from the notification. Remember to use this method before
|
407
|
-
call the <a href="Notification.html#M000024">Notification#close</a> method.
|
408
|
-
</p>
|
409
|
-
|
410
|
-
</div>
|
411
|
-
</div>
|
412
|
-
|
413
|
-
|
414
|
-
<div id="method-M000024" class="method-detail">
|
415
|
-
<a name="M000024"></a>
|
416
|
-
|
417
|
-
<div class="method-heading">
|
418
|
-
|
419
|
-
<a href="Notification.src/M000024.html" target="Code" class="method-signature"
|
420
|
-
onclick="popupCode('Notification.src/M000024.html');return false;">
|
421
|
-
|
422
|
-
<span class="method-name">close<br />
|
423
|
-
</span>
|
424
|
-
|
425
|
-
</a>
|
426
|
-
|
427
|
-
</div>
|
428
|
-
|
429
|
-
<div class="method-description">
|
430
|
-
|
431
|
-
<p>
|
432
|
-
Tells the notification server to hide the notification on the screen.
|
433
|
-
</p>
|
434
|
-
|
435
|
-
</div>
|
436
|
-
</div>
|
437
|
-
|
438
|
-
|
439
|
-
<div id="method-M000023" class="method-detail">
|
440
|
-
<a name="M000023"></a>
|
441
|
-
|
442
|
-
<div class="method-heading">
|
443
|
-
|
444
|
-
<a href="Notification.src/M000023.html" target="Code" class="method-signature"
|
445
|
-
onclick="popupCode('Notification.src/M000023.html');return false;">
|
446
|
-
|
447
|
-
<span class="method-name">closed_reason<br />
|
448
|
-
</span>
|
449
|
-
|
450
|
-
</a>
|
451
|
-
|
452
|
-
</div>
|
453
|
-
|
454
|
-
<div class="method-description">
|
455
|
-
|
456
|
-
<p>
|
457
|
-
** WHEN COMPILED AGAINST LIBNOTIFY 0.4.5 OR HIGHER **
|
458
|
-
</p>
|
459
|
-
<p>
|
460
|
-
Returns the reason code why the notification was closed
|
461
|
-
</p>
|
462
|
-
|
463
|
-
</div>
|
464
|
-
</div>
|
465
|
-
|
466
|
-
|
467
|
-
<div id="method-M000019" class="method-detail">
|
468
|
-
<a name="M000019"></a>
|
469
|
-
|
470
|
-
<div class="method-heading">
|
471
|
-
|
472
|
-
<a href="Notification.src/M000019.html" target="Code" class="method-signature"
|
473
|
-
onclick="popupCode('Notification.src/M000019.html');return false;">
|
474
|
-
|
475
|
-
<span class="method-name">geometry_hints(screen, x, y)<br />
|
476
|
-
</span>
|
477
|
-
|
478
|
-
</a>
|
479
|
-
|
480
|
-
</div>
|
481
|
-
|
482
|
-
<div class="method-description">
|
483
|
-
|
484
|
-
<p>
|
485
|
-
** WHEN COMPILED AGAINST LIBNOTIFY 0.4.1 OR HIGHER **
|
486
|
-
</p>
|
487
|
-
<p>
|
488
|
-
screen = The Gdk::Screen the notification should appear on
|
489
|
-
</p>
|
490
|
-
<p>
|
491
|
-
x = The X coordinate to point to
|
492
|
-
</p>
|
493
|
-
<p>
|
494
|
-
y = The Y coordinate to point to
|
495
|
-
</p>
|
496
|
-
<p>
|
497
|
-
Sets the geometry hints on the notification
|
498
|
-
</p>
|
499
|
-
|
500
|
-
</div>
|
501
|
-
</div>
|
502
|
-
|
503
|
-
|
504
|
-
<div id="method-M000015" class="method-detail">
|
505
|
-
<a name="M000015"></a>
|
506
|
-
|
507
|
-
<div class="method-heading">
|
508
|
-
|
509
|
-
<a href="Notification.src/M000015.html" target="Code" class="method-signature"
|
510
|
-
onclick="popupCode('Notification.src/M000015.html');return false;">
|
511
|
-
|
512
|
-
<span class="method-name">hint32(key, value)<br />
|
513
|
-
</span>
|
514
|
-
|
515
|
-
</a>
|
516
|
-
|
517
|
-
</div>
|
518
|
-
|
519
|
-
<div class="method-description">
|
520
|
-
|
521
|
-
<p>
|
522
|
-
key = The hint
|
523
|
-
</p>
|
524
|
-
<p>
|
525
|
-
value = The hint’s value
|
526
|
-
</p>
|
527
|
-
<p>
|
528
|
-
Sets a hint with a 32-bit integer value
|
529
|
-
</p>
|
530
|
-
|
531
|
-
</div>
|
532
|
-
</div>
|
533
|
-
|
534
|
-
|
535
|
-
<div id="method-M000018" class="method-detail">
|
536
|
-
<a name="M000018"></a>
|
537
|
-
|
538
|
-
<div class="method-heading">
|
539
|
-
|
540
|
-
<a href="Notification.src/M000018.html" target="Code" class="method-signature"
|
541
|
-
onclick="popupCode('Notification.src/M000018.html');return false;">
|
542
|
-
|
543
|
-
<span class="method-name">hint_byte(key, value)<br />
|
544
|
-
</span>
|
545
|
-
|
546
|
-
</a>
|
547
|
-
|
548
|
-
</div>
|
549
|
-
|
550
|
-
<div class="method-description">
|
551
|
-
|
552
|
-
<p>
|
553
|
-
key = The hint
|
554
|
-
</p>
|
555
|
-
<p>
|
556
|
-
value = The hint’s value
|
557
|
-
</p>
|
558
|
-
<p>
|
559
|
-
Sets a hint with a byte value
|
560
|
-
</p>
|
561
|
-
|
562
|
-
</div>
|
563
|
-
</div>
|
564
|
-
|
565
|
-
|
566
|
-
<div id="method-M000016" class="method-detail">
|
567
|
-
<a name="M000016"></a>
|
568
|
-
|
569
|
-
<div class="method-heading">
|
570
|
-
|
571
|
-
<a href="Notification.src/M000016.html" target="Code" class="method-signature"
|
572
|
-
onclick="popupCode('Notification.src/M000016.html');return false;">
|
573
|
-
|
574
|
-
<span class="method-name">hint_double(key, value)<br />
|
575
|
-
</span>
|
576
|
-
|
577
|
-
</a>
|
578
|
-
|
579
|
-
</div>
|
580
|
-
|
581
|
-
<div class="method-description">
|
582
|
-
|
583
|
-
<p>
|
584
|
-
key = The hint
|
585
|
-
</p>
|
586
|
-
<p>
|
587
|
-
value = The hint’s value
|
588
|
-
</p>
|
589
|
-
<p>
|
590
|
-
Sets a hint with a double value
|
591
|
-
</p>
|
592
|
-
|
593
|
-
</div>
|
594
|
-
</div>
|
595
|
-
|
596
|
-
|
597
|
-
<div id="method-M000017" class="method-detail">
|
598
|
-
<a name="M000017"></a>
|
599
|
-
|
600
|
-
<div class="method-heading">
|
601
|
-
|
602
|
-
<a href="Notification.src/M000017.html" target="Code" class="method-signature"
|
603
|
-
onclick="popupCode('Notification.src/M000017.html');return false;">
|
604
|
-
|
605
|
-
<span class="method-name">hint_string(key, value)<br />
|
606
|
-
</span>
|
607
|
-
|
608
|
-
</a>
|
609
|
-
|
610
|
-
</div>
|
611
|
-
|
612
|
-
<div class="method-description">
|
613
|
-
|
614
|
-
<p>
|
615
|
-
key = The hint
|
616
|
-
</p>
|
617
|
-
<p>
|
618
|
-
value = The hint’s value
|
619
|
-
</p>
|
620
|
-
<p>
|
621
|
-
Sets a hint with a string value
|
622
|
-
</p>
|
623
|
-
|
624
|
-
</div>
|
625
|
-
</div>
|
626
|
-
|
627
|
-
|
628
|
-
<div id="method-M000014" class="method-detail">
|
629
|
-
<a name="M000014"></a>
|
630
|
-
|
631
|
-
<div class="method-heading">
|
632
|
-
|
633
|
-
<a href="Notification.src/M000014.html" target="Code" class="method-signature"
|
634
|
-
onclick="popupCode('Notification.src/M000014.html');return false;">
|
635
|
-
|
636
|
-
<span class="method-name">pixbuf_icon=(icon)<br />
|
637
|
-
</span>
|
638
|
-
|
639
|
-
</a>
|
640
|
-
|
641
|
-
</div>
|
642
|
-
|
643
|
-
<div class="method-description">
|
644
|
-
|
645
|
-
<p>
|
646
|
-
icon = The icon
|
647
|
-
</p>
|
648
|
-
<p>
|
649
|
-
Sets the icon from a Gdk::Pixbuf
|
650
|
-
</p>
|
651
|
-
|
652
|
-
</div>
|
653
|
-
</div>
|
654
|
-
|
655
|
-
|
656
|
-
<div id="method-M000010" class="method-detail">
|
657
|
-
<a name="M000010"></a>
|
658
|
-
|
659
|
-
<div class="method-heading">
|
660
|
-
|
661
|
-
<a href="Notification.src/M000010.html" target="Code" class="method-signature"
|
662
|
-
onclick="popupCode('Notification.src/M000010.html');return false;">
|
663
|
-
|
664
|
-
<span class="method-name">show<br />
|
665
|
-
</span>
|
666
|
-
|
667
|
-
</a>
|
668
|
-
|
669
|
-
</div>
|
670
|
-
|
671
|
-
<div class="method-description">
|
672
|
-
|
673
|
-
<p>
|
674
|
-
Tells the notification server to display the notification on the screen. if
|
675
|
-
TRUE returns, show the notification otherwise returns FALSE
|
676
|
-
</p>
|
677
|
-
|
678
|
-
</div>
|
679
|
-
</div>
|
680
|
-
|
681
|
-
|
682
|
-
<div id="method-M000011" class="method-detail">
|
683
|
-
<a name="M000011"></a>
|
684
|
-
|
685
|
-
<div class="method-heading">
|
686
|
-
|
687
|
-
<a href="Notification.src/M000011.html" target="Code" class="method-signature"
|
688
|
-
onclick="popupCode('Notification.src/M000011.html');return false;">
|
689
|
-
|
690
|
-
<span class="method-name">timeout=(milliseconds)<br />
|
691
|
-
</span>
|
692
|
-
|
693
|
-
</a>
|
694
|
-
|
695
|
-
</div>
|
696
|
-
|
697
|
-
<div class="method-description">
|
698
|
-
|
699
|
-
<p>
|
700
|
-
Sets the timeout in milliseconds.
|
701
|
-
</p>
|
702
|
-
|
703
|
-
</div>
|
704
|
-
</div>
|
705
|
-
|
706
|
-
|
707
|
-
<div id="method-M000008" class="method-detail">
|
708
|
-
<a name="M000008"></a>
|
709
|
-
|
710
|
-
<div class="method-heading">
|
711
|
-
|
712
|
-
<a href="Notification.src/M000008.html" target="Code" class="method-signature"
|
713
|
-
onclick="popupCode('Notification.src/M000008.html');return false;">
|
714
|
-
|
715
|
-
<span class="method-name">update(summ, msg, icon)<br />
|
716
|
-
</span>
|
717
|
-
|
718
|
-
</a>
|
719
|
-
|
720
|
-
</div>
|
721
|
-
|
722
|
-
<div class="method-description">
|
723
|
-
|
724
|
-
<p>
|
725
|
-
summ = The new summary text (required)
|
726
|
-
</p>
|
727
|
-
<p>
|
728
|
-
msg = The new body text or nil
|
729
|
-
</p>
|
730
|
-
<p>
|
731
|
-
icon = The new icon or nil
|
732
|
-
</p>
|
733
|
-
<p>
|
734
|
-
This won’t send the update out and display it on the screen. For
|
735
|
-
that, you will need to call the <a
|
736
|
-
href="Notification.html#M000010">Notification#show</a> method.
|
737
|
-
</p>
|
738
|
-
<p>
|
739
|
-
Returns TRUE if ok, FALSE otherwise
|
740
|
-
</p>
|
741
|
-
|
742
|
-
</div>
|
743
|
-
</div>
|
744
|
-
|
745
|
-
|
746
|
-
<div id="method-M000013" class="method-detail">
|
747
|
-
<a name="M000013"></a>
|
748
|
-
|
749
|
-
<div class="method-heading">
|
750
|
-
|
751
|
-
<a href="Notification.src/M000013.html" target="Code" class="method-signature"
|
752
|
-
onclick="popupCode('Notification.src/M000013.html');return false;">
|
753
|
-
|
754
|
-
<span class="method-name">urgency=(urgency_level)<br />
|
755
|
-
</span>
|
756
|
-
|
757
|
-
</a>
|
758
|
-
|
759
|
-
</div>
|
760
|
-
|
761
|
-
<div class="method-description">
|
762
|
-
|
763
|
-
<p>
|
764
|
-
urgency_level = The urgency level
|
765
|
-
</p>
|
766
|
-
<p>
|
767
|
-
Sets the urgency level
|
768
|
-
</p>
|
769
|
-
|
770
|
-
</div>
|
771
|
-
</div>
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
</div>
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
</div>
|
781
|
-
|
782
|
-
<div id="validator-badges">
|
783
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
784
|
-
</div>
|
785
|
-
|
786
|
-
</body>
|
787
|
-
</html>
|