Put www stuff into a separate Makefile
[pipeglade.git] / pipeglade.1
blobff9395f54a1e5d128637fe2a89442aa9507d8927
1 .\" Copyright (c) 2014-2016 Bert Burgemeister <trebbu@googlemail.com>
2 .\"
3 .\" Permission is hereby granted, free of charge, to any person obtaining
4 .\" a copy of this software and associated documentation files (the
5 .\" "Software"), to deal in the Software without restriction, including
6 .\" without limitation the rights to use, copy, modify, merge, publish,
7 .\" distribute, sublicense, and/or sell copies of the Software, and to
8 .\" permit persons to whom the Software is furnished to do so, subject to
9 .\" the following conditions:
10 .\"
11 .\" The above copyright notice and this permission notice shall be
12 .\" included in all copies or substantial portions of the Software.
13 .\"
14 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 .\" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17 .\" NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18 .\" LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19 .\" OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20 .\" WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 .\"
22 .Dd June 24, 2016
23 .Dt PIPEGLADE 1 PRM
24 .Os BSD
25 .Sh NAME
26 .Nm pipeglade
27 .Nd pipe-driven GTK+ interface
28 .Sh SYNOPSIS
29 .Nm
30 .Oo
31 .Op Fl i Ar in-fifo
32 .Op Fl o Ar out-fifo
33 .Op Fl b
34 .Op Fl u Ar builder-file
35 .Op Fl e Ar parent-xid
36 .Op Fl l Ar log-file
37 .Op Fl O Ar err-file
38 .Op Fl -display Ar X-server
39 .Oc |
40 .Op Fl h | G | V
41 .Sh DESCRIPTION
42 .Nm
43 is a helper program that displays graphical user
44 interfaces for other programs.
45 It renders the GUI definition found in a GtkBuilder XML file
46 (typically created using the
47 .Xr glade 1
48 interface designer), and communicates with the main program solely
49 through plain text messages via pipes or fifos.
50 It provides access to a subset of features of a subset of widgets of
51 GTK+ 3.
52 Simple one-shot dialogs as well as more complex, long-running programs
53 can be built using
54 .Nm ;
55 see
56 .Sx EXAMPLES .
57 .Sh OPTIONS
58 .Bl -tag -width Ds
59 .It Fl i Ar in-fifo
60 Creates a named pipe
61 .Ar in-fifo
62 if necessary, sets its permissions to
63 .Li 0600 ,
64 and uses it for command input.
65 .Pp
66 A command is a line of text.
67 Its format is
68 .Qq Ar id Ns Cm \&: Ns Ar action Bq Ar data ,
69 .Ar id
70 being the name of the receiving widget;
71 .Ar data
72 is separated from the rest of the command by a single whitespace
73 character.
74 Commands whose first non-whitespace character is
75 .Cm #
76 are considered comments and ignored silently, as are empty input lines.
77 Any occurences of the two-character sequences
78 .Cm \en
79 and
80 .Cm \er
81 will be converted into newline or carriage return, respectively.
82 Every other character following a backslash will be left unchanged,
83 but the backslash will be removed.
84 Invalid commands are reported on
85 .Va stderr
86 and are otherwise ignored.
87 See
88 .Sx WIDGETS
89 for applicable commands.
90 .Pp
91 It is an error if
92 .Ar in-fifo
93 exists but is not a named pipe.
94 The named pipe
95 .Ar in-fifo
96 is deleted upon successful program termination.
97 .Pp
98 Default command input is
99 .Va stdin .
100 .It Fl o Ar out-fifo
101 Creates a named pipe
102 .Ar out-fifo
103 if necessary, sets its permissions to
104 .Li 0600 ,
105 and uses it for output of feedback messages from the
106 graphical user interface.
108 A feedback message is a line of text; its format is
109 .Qq Ar id Ns Cm \&: Ns Ar info Bq Ar data ,
110 .Ar id
111 being the name of the sending widget.
113 .Sx WIDGETS
114 for possible feedback messages.
116 It is an error if
117 .Ar out-fifo
118 exists but is not a named pipe.
119 The named pipe
120 .Ar out-fifo
121 is deleted upon successful program termination.
123 Default feedback-message output is
124 .Va stdout .
125 .It Fl b
126 Runs
128 in the background after printing its process ID to
129 .Va stdout .
131 It is an error if option
132 .Fl b
133 is used and not both
134 .Fl i Ar in-fifo
136 .Fl o Ar out-fifo
137 are specified.
138 .It Fl u Ar builder-file
139 Displays the graphical user interface
140 .Ar builder-file
141 which should be created using the
142 .Xr glade 1
143 user interface designer and saved in GtkBuilder (.ui) format.
144 Widget ids should consist of alphanumeric ASCII characters including
145 hyphens and underscores.
146 The main window must must be given the id
147 .Cm main .
149 Default is
150 .Pa ./pipeglade.ui .
151 .It Fl e Ar parent-xid
152 Embeds the main window into the XEmbed socket
153 .Ar parent-xid
154 of another process.
155 .It Fl l Ar log-file
156 Appends for each command a line of
157 .Qq Ar time activity
159 .Ar log-file ,
160 .Ar time
161 being the number of microseconds elapsed during
162 .Ar activity .
163 .Ar time
165 .Ar activity
166 are separated by a tab character.
167 Permissions of
168 .Ar log-file
169 are set to
170 .Li 0600 .
172 .Ar log-file
173 name of
174 .Ql -
175 means
176 .Va stderr .
177 .It Fl O Ar err-file
178 Redirects
179 .Va stderr ,
180 appending its output to
181 .Ar err-file .
182 Permissions of
183 .Ar err-file
184 are set to
185 .Li 0600 .
186 .It Fl -display Ar X-server
187 Uses the display on
188 .Ar X-server
189 for user interaction.
190 .It Fl h
191 Prints a help message and exits.
192 .It Fl G
193 Prints the versions of the underlying GTK+ and cairo libraries and
194 exits.
195 .It Fl V
196 Prints the
198 version and exits.
200 .Sh WIDGETS
201 The widget classes able to communicate through
204 .\" BEGIN_TOC
205 .Sx GtkAspectFrame ,
206 .Sx GtkBox ,
207 .Sx GtkButton ,
208 .Sx GtkButtonBox ,
209 .Sx GtkCalendar ,
210 .Sx GtkCheckButton ,
211 .Sx GtkColorButton ,
212 .Sx GtkComboBoxText ,
213 .Sx GtkDialog ,
214 .Sx GtkDrawingArea ,
215 .Sx GtkEntry ,
216 .Sx GtkEventBox ,
217 .Sx GtkExpander ,
218 .Sx GtkFileChooserButton ,
219 .Sx GtkFileChooserDialog ,
220 .Sx GtkFontButton ,
221 .Sx GtkFrame ,
222 .Sx GtkGrid ,
223 .Sx GtkImage ,
224 .Sx GtkImageMenuItem ,
225 .Sx GtkInfoBar ,
226 .Sx GtkLabel ,
227 .Sx GtkLinkButton ,
228 .Sx GtkMenu ,
229 .Sx GtkMenuBar ,
230 .Sx GtkMenuButton ,
231 .Sx GtkMenuItem ,
232 .Sx GtkNotebook ,
233 .Sx GtkOverlay ,
234 .Sx GtkPaned ,
235 .Sx GtkPlug ,
236 .Sx GtkPrintUnixDialog ,
237 .Sx GtkProgressBar ,
238 .Sx GtkRadioButton ,
239 .Sx GtkScale ,
240 .Sx GtkScrolledWindow ,
241 .Sx GtkSeparator ,
242 .Sx GtkSeparatorMenuItem ,
243 .Sx GtkSizeGroup ,
244 .Sx GtkSocket ,
245 .Sx GtkSpinButton ,
246 .Sx GtkSpinner ,
247 .Sx GtkStatusbar ,
248 .Sx GtkSwitch ,
249 .Sx GtkTextView ,
250 .Sx GtkToggleButton ,
251 .Sx GtkTreeView ,
252 .Sx GtkTreeViewColumn ,
253 .Sx GtkViewport ,
255 .Sx GtkWindow .
256 .\" END_TOC
259 references a widget by the
260 .Ar id
261 attribute it is given in Glade.
262 In the
263 .Pa .ui
264 file, a
265 .Cm GtkWindow
266 named
267 .Li foo
268 would appear as
269 .Dl <object class="GtkWindow" id="foo"> .
271 .\" Commands most widgets understand:
273 .\"  set_visible
274 .\"  set_sensitive
275 .\"  grab_focus
276 .\"  set_tooltip_text
277 .\"  block
278 .\"  set_size_request
279 .\"  style
280 .\"  force
281 .\"  snapshot
283 .Ss Unspecific Widget
284 .Bl -tag -width "commands "
285 .It Commands
287 .Qq Ar id Ns Cm :load Ar file
288 reads arbitrary
290 commands from
291 .Ar file .
292 A non-empty
293 .Ar id
294 is required but ignored.
295 .Cm :load
296 commands may be nested but on attempts to read from the same file, the
297 inner
298 .Cm :load
299 is ignored.
300 There is also a
301 .Cm :save
302 command; see
303 .Sx GtkTextView
305 .Sx GtkTreeView .
307 .Qq Ar id Ns Cm :main_quit
308 kills the user interface.
309 A non-empty
310 .Ar id
311 is required but ignored.
313 .Ss GtkAspectFrame
314 .Bl -tag -width "commands "
315 .It Commands
316 .Qq Ar id Ns Cm :set_label Ar text
317 replaces the frame label text with
318 .Ar string .
320 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
321 makes the frame and its content grayed out
322 .Pq Cm 0
323 or responsive
324 .Pq Cm 1 .
326 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
327 hides
328 .Pq Cm 0
329 the frame, or makes it visible
330 .Pq Cm 1 .
332 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
333 sets the frame's tooltip.
334 Default is disabling the tooltip.
336 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
337 writes a snapshot of the frame to an image file of the specified
338 type.
340 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
341 sets the widget's minimum size to
342 .Ar width
344 .Ar height .
345 Default is the frame's natural size.
348 .Ar id Ns Cm :style
349 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
351 sets the style.
353 .Sx Style .
354 .It Feedback
355 none
357 .Ss GtkBox
358 .Bl -tag -width "commands "
359 .It Commands
360 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
361 makes the box grayed out
362 .Pq Cm 0
363 or responsive
364 .Pq Cm 1 .
366 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
367 hides
368 .Pq Cm 0
369 the box, or makes it visible
370 .Pq Cm 1 .
371 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
372 sets the box's tooltip.
373 Default is disabling the tooltip.
375 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
376 writes a snapshot of the box to an image file of the specified
377 type.
379 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
380 sets the box's minimum size to
381 .Ar width
383 .Ar height .
384 Default is the box's natural size.
387 .Ar id Ns Cm :style
388 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
390 sets the style.
392 .Sx Style .
393 .It Feedback
394 none
396 .Ss GtkButton
397 .Bl -tag -width "commands "
398 .It Commands
399 .Qq Ar id Ns Cm :set_label Ar string
400 replaces the button text with
401 .Ar string .
403 .Qq Ar id Ns Cm :grab_focus
404 puts the keyboard focus onto the button.
406 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
407 makes the button grayed out
408 .Pq Cm 0
409 or responsive
410 .Pq Cm 1 .
412 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
413 hides
414 .Pq Cm 0
415 the button, or makes it visible
416 .Pq Cm 1 .
418 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
419 blocks
420 .Pq Cm 1
421 or unblocks
422 .Pq Cm 0
423 feedback messages.
424 Initially, the button is unblocked.
426 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
427 sets the button's tooltip.
428 Default is disabling the tooltip.
430 .Qq Ar id Ns Cm :force
431 simulates a click on the button.
433 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
434 writes a snapshot of the button to an image file of the specified
435 type.
437 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
438 sets the button's minimum size to
439 .Ar width
441 .Ar height .
442 Default is the button's natural size.
445 .Ar id Ns Cm :style
446 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
448 sets the style.
450 .Sx Style .
451 .It Feedback
452 .Qq Ar id Ns Cm \&:clicked
454 .Cm GtkButton Ns
455 s with ids ending in
456 .Cm _ok , _apply , _cancel , _send_text ,
458 .Cm _send_selection
459 may work differently; see
460 .Sx GtkDialog , GtkFileChooserDialog ,
462 .Sx GtkTextView
463 for details.
465 .Ss GtkButtonBox
466 .Bl -tag -width "commands "
467 .It Commands
468 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
469 makes the box grayed out
470 .Pq Cm 0
471 or responsive
472 .Pq Cm 1 .
474 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
475 hides
476 .Pq Cm 0
477 the box, or makes it visible
478 .Pq Cm 1 .
480 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
481 sets the box's tooltip.
482 Default is disabling the tooltip.
484 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
485 writes a snapshot of the box to an image file of the specified
486 type.
488 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
489 sets the box's minimum size to
490 .Ar width
492 .Ar height .
493 Default is the box's natural size.
496 .Ar id Ns Cm :style
497 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
499 sets the style.
501 .Sx Style .
502 .It Feedback
503 none
505 .Ss GtkCalendar
506 .Bl -tag -width "commands "
507 .It Commands
508 .Qq Ar id Ns Cm :select_date Ar yyyy Ns Cm - Ns Ar mm Ns Cm - Ns Ar dd
509 selects the date on the calendar.
511 .Qq Ar id Ns Cm :mark_day Ar day
512 marks
513 .Ar day Pq 1-31
514 on the calendar.
516 .Qq Ar id Ns Cm :clear_marks
517 unmarks all days on the calendar.
519 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
520 makes the calendar grayed out
521 .Pq Cm 0
522 or responsive
523 .Pq Cm 1 .
525 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
526 hides
527 .Pq Cm 0
528 the calendar, or makes it visible
529 .Pq Cm 1 .
531 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
532 blocks
533 .Pq Cm 1
534 or unblocks
535 .Pq Cm 0
536 feedback messages.
537 Initially, the calendar is unblocked.
539 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
540 sets the calendar's tooltip.
541 Default is disabling the tooltip.
543 .Qq Ar id Ns Cm :force
544 simulates a click on the currently selected date.
546 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
547 writes a snapshot of the calendar to an image file of the specified
548 type.
550 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
551 sets the calendar's minimum size to
552 .Ar width
554 .Ar height .
555 Default is the widget's natural size.
558 .Ar id Ns Cm :style
559 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
561 sets the calendar's style.
563 .Sx Style .
564 .It Feedback
565 .Qq Ar id Ns Cm \&:clicked Ar yyyy Ns Cm - Ns Ar mm Ns Cm - Ns Ar dd
567 .Qq Ar id Ns Cm \&:doubleclicked Ar yyyy Ns Cm - Ns Ar mm Ns Cm - Ns Ar dd
569 .Ss GtkCheckButton
570 .Bl -tag -width "commands "
571 .It Commands
572 .Qq Ar id Ns Cm :set_active Brq Cm 0 Ns | Ns Cm 1
573 switches the check mark off
574 .Pq Cm 0
575 or on
576 .Pq Cm 1 .
578 .Qq Ar id Ns Cm :set_label Ar string
579 replaces the button text with
580 .Ar string .
582 .Qq Ar id Ns Cm :grab_focus
583 puts the keyboard focus onto the button.
585 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
586 makes the button grayed out
587 .Pq Cm 0
588 or responsive
589 .Pq Cm 1 .
591 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
592 hides
593 .Pq Cm 0
594 the button, or makes it visible
595 .Pq Cm 1 .
597 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
598 blocks
599 .Pq Cm 1
600 or unblocks
601 .Pq Cm 0
602 feedback messages.
603 Initially, the button is unblocked.
605 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
606 sets the button's tooltip.
607 Default is disabling the tooltip.
609 .Qq Ar id Ns Cm :force
610 simulates a click on the button.
612 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
613 writes a snapshot of the button to an image file of the specified
614 type.
616 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
617 sets the button's minimum size to
618 .Ar width
620 .Ar height .
621 Default is the widget's natural size.
624 .Ar id Ns Cm :style
625 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
627 sets the button's style.
629 .Sx Style .
630 .It Feedback
631 .Qq Ar id Ns Cm \&:1
632 if switched on, or
633 .Qq Ar id Ns Cm \&:0
634 otherwise.
636 .Ss GtkColorButton
637 .Bl -tag -width "commands "
638 .It Commands
639 .Qq Ar id Ns Cm :set_color Ar color
640 preselects the color; see
641 .Sx Color .
643 .Qq Ar id Ns Cm :grab_focus
644 puts the keyboard focus onto the button.
646 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
647 makes the button grayed out
648 .Pq Cm 0
649 or responsive
650 .Pq Cm 1 .
652 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
653 hides
654 .Pq Cm 0
655 the button, or makes it visible
656 .Pq Cm 1 .
658 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
659 blocks
660 .Pq Cm 1
661 or unblocks
662 .Pq Cm 0
663 feedback messages.
664 Initially, the button is unblocked.
666 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
667 sets the button's tooltip.
668 Default is disabling the tooltip.
670 .Qq Ar id Ns Cm :force
671 opens the dialog window.
673 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
674 writes a snapshot of the button to an image file of the specified
675 type.
677 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
678 sets the button's minimum size to
679 .Ar width
681 .Ar height .
682 Default is the widget's natural size.
685 .Ar id Ns Cm :style
686 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
688 sets the button's style.
690 .Sx Style .
691 .It Feedback
692 .Qq Ar id Ns Cm \&:color Cm rgb( Ns Ar red Ns Cm \&, Ns Ar green Ns Cm \&, Ns Ar blue Ns Cm \&)
694 .Qq Ar id Ns Cm \&:color Cm rgba( Ns Ar red Ns Cm \&, Ns Ar green Ns Cm \&, Ns Ar blue Ns Cm \&, Ns Ar alpha Ns Cm \&) .
695 .Ar red , green ,
697 .Ar blue
698 lie between 0 and 255, and
699 .Ar alpha
700 between 0 and 1.
702 .Ss GtkComboBoxText
704 .Cm GtkComboBoxText
705 should contain a
706 .Cm GtkEntry .
707 .Bl -tag -width "commands "
708 .It Commands
709 .Qq Ar id Ns Cm :prepend_text Ar string
711 .Qq Ar id Ns Cm :append_text Ar string
712 prepend/append a new selectable item marked
713 .Ar string .
715 .Qq Ar id Ns Cm :insert_text Ar position string
716 inserts item
717 .Ar string
719 .Ar position .
721 .Qq Ar id Ns Cm :remove Ar position
722 removes the item at
723 .Ar position .
725 .Qq Ar id Ns Cm :grab_focus
726 puts the keyboard focus onto the combo box.
728 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
729 makes the combo box grayed out
730 .Pq Cm 0
731 or responsive
732 .Pq Cm 1 .
734 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
735 hides
736 .Pq Cm 0
737 the combo box, or makes it visible
738 .Pq Cm 1 .
740 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
741 blocks
742 .Pq Cm 1
743 or unblocks
744 .Pq Cm 0
745 feedback messages.
746 Initially, the combo box is unblocked.
748 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
749 sets the tooltip.
750 Default is disabling the tooltip.
752 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
753 writes a snapshot of the combo box to an image file of the specified
754 type.
756 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
757 sets the combo box's minimum size to
758 .Ar width
760 .Ar height .
761 Default is the natural size.
764 .Ar id Ns Cm :style
765 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
767 sets the style.
769 .Sx Style .
770 .It Feedback
771 .Qq Ar entry_id Ns Cm \&:text Ar text ,
772 .Ar entry_id
773 being the id of the child
774 .Cm GtkEntry .
776 .Ss GtkDialog
778 .Cm GtkDialog
779 with id
780 .Ar foo
781 will be invoked by a
782 .Sx GtkMenuItem
783 or a
784 .Sx GtkImageMenuItem
785 with id
786 .Ar foo Ns Cm _invoke .
789 .Cm GtkDialog
790 should have a
791 .Sq Cancel
792 .Sx GtkButton
793 with id
794 .Ar foo Ns Cm _cancel
795 .Po Cm main_cancel
796 if the dialog is the sole window of the GUI and therefore named
797 .Cm main
798 .Pc .
800 If the
801 .Cm GtkDialog
802 has an
803 .Sq Ok
804 .Sx GtkButton
805 with id
806 .Ar foo Ns Cm _ok ,
807 it will take care of hiding the dialog window.
808 .Bl -tag -width "commands "
809 .It Commands
810 .Qq Ar id Ns Cm :set_title Ar string
811 replaces the text in the title bar with
812 .Ar string .
814 .Qq Ar id Ns Cm :resize Bq Ar width height
815 changes the size of the dialog window to
816 .Ar width
818 .Ar height
819 pixels if specified, or to the default size.
821 .Qq Ar id Ns Cm :move Ar x y
822 moves the dialog window to position
823 .Pq Ar x , y .
825 .Qq Ar id Ns Cm :fullscreen
827 .Qq Ar id Ns Cm :unfullscreen
828 switch fullscreen mode on and off.
830 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
831 makes the dialog grayed out
832 .Pq Cm 0
833 or responsive
834 .Pq Cm 1 .
836 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
837 hides
838 .Pq Cm 0
839 the dialog, or makes it visible
840 .Pq Cm 1 .
842 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
843 blocks
844 .Pq Cm 1
845 or unblocks
846 .Pq Cm 0
847 feedback messages from the dialog window.
848 Initially, the window is unblocked.
850 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
851 sets the dialog window's tooltip.
852 Default is disabling the tooltip.
854 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
855 writes a snapshot of the dialog window to an image file of the
856 specified type.
858 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
859 sets the dialog window's minimum size to
860 .Ar width
862 .Ar height .
863 Default is its natural size.
866 .Ar id Ns Cm :style
867 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
869 sets the dialog window's style.
871 .Sx Style .
872 .It Feedback
873 .Qq Ar id Ns Cm \&:closed
874 if the
875 .Cm GtkDialog
876 window was closed by the window manager.
878 .Ss GtkDrawingArea
879 Drawing commands
880 expect a context parameter of the form
881 .Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc
882 where
883 .Ar n
884 is an arbitrary non-negative integer that can be used later to
885 reference the command.
886 The first form,
887 .Ar n ,
888 appends its command to the current list of drawing operations.
889 The second form,
890 .Cm = Ns Ar n ,
891 replaces the first drawing operation with context parameter
892 .Ar n
893 by the new command.
894 The third form,
895 .Ar n Ns Cm < Ns Ar m ,
896 inserts its command before the first drawing operation with context
897 parameter
898 .Ar m .
899 Both second and third form fall back to appending.
901 The default coordinate system is a left-handed system with its origin
902 in the upper-left corner.
903 Angles increase from the positive X axis towards the positve Y axis
904 .Pq clockwise in the default system .
905 .Bl -tag -width "commands "
906 .It Commands
907 .Qq Ar id Ns Cm :arc Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc x y radius angle1 angle2
908 adds a circular arc to the current path.
909 The arc is centered at
910 .Pq Ar x , y
911 and proceeds from
912 .Ar angle1
914 .Ar angle2
915 .Pq in degrees .
917 .Qq Ar id Ns Cm :arc_negative Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc x y radius angle1 angle2
918 adds a circular arc to the current path.
919 The arc is centered at
920 .Pq Ar x , y
921 and proceeds in the direction of decreasing angles from
922 .Ar angle1
924 .Ar angle2
925 .Pq in degrees .
927 .Qq Ar id Ns Cm :close_path Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc
928 adds a line segment from the current point to the point most recently
929 passed to
930 .Ar id Ns Cm :move_to
932 .Ar id Ns Cm :rel_move_to .
934 .Qq Ar id Ns Cm :curve_to Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc x1 y1 x2 y2 x3 y3
935 adds a cubic Bezier spline from the current point to
936 .Pq Ar x3 , y3 ,
937 using
938 .Pq Ar x1 , y1
940 .Pq Ar x2 , y2
941 as control points.
942 If there is no current point, the curve will start at
943 .Pq Ar x1 , y1 .
945 .Qq Ar id Ns Cm :fill Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc
946 fills the current path and clears it.
948 .Qq Ar id Ns Cm :fill_preserve Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc
949 fills the current path without clearing it.
951 .Qq Ar id Ns Cm :line_to Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc x y
952 adds a line from the current point to
953 .Pq Ar x , y ,
954 or creates a new current point at
955 .Pq Ar x , y .
957 .Qq Ar id Ns Cm :move_to Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc x y
958 sets the current point to
959 .Pq Ar x , y .
961 .Qq Ar id Ns Cm :rectangle Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc x y width height
962 adds a rectangle to the current path.
963 The top left corner is at
964 .Pq Ar x , y .
966 .Qq Ar id Ns Cm :rel_curve_to Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc dx1 dy1 dx2 dy2 dx3 dy3
967 adds a cubic Bezier spline from the current point to
968 .Pq Ar dx3 , dy3 ,
969 using
970 .Pq Ar dx1 , dy1
972 .Pq Ar dx2 , dy2
973 as control points.
974 All coordinates are offsets relative to the current point.
976 .Qq Ar id Ns Cm :rel_line_to Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc dx dy
977 adds a line from the current point to a point offset from there by
978 .Pq Ar dx , dy .
980 .Qo Ar id Ns Cm :rel_move_for Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc
981 .Brq Cm c Ns | Ns Cm e Ns | Ns Cm n Ns | Ns Cm ne Ns | Ns Cm nw Ns | Ns Cm s Ns | Ns Cm se Ns | Ns Cm sw Ns | Ns Cm w
982 .Ar text
984 moves the current point such that
985 .Qq Ar id Ns Cm :show_text Ar n text
986 will place the specified reference point of
987 .Ar text
988 on the original current point.
990 .Qq Ar id Ns Cm :rel_move_to Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc dx dy
991 moves the current point by
992 .Pq Ar dx , dy .
994 .Qq Ar id Ns Cm :remove Ar n
995 removes the elements with context parameter
996 .Ar n
997 from the
998 .Cm GtkDrawingArea Ar id .
1000 .Qq Ar id Ns Cm :rotate Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc Ar angle
1001 rotates the user space axes by
1002 .Ar angle
1003 .Pq in degrees .
1005 .Qq Ar id Ns Cm :scale Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc Ar sx sy
1006 scales the user space axes by
1007 .Pq Ar sx , sy .
1009 .Qq Ar id Ns Cm :set_dash Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc l
1010 sets the dash pattern to
1011 .Ar l
1013 .Ar l
1014 off.
1016 .Qq Ar id Ns Cm :set_dash Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc l1on l1off l2on l2off ...
1017 resets the dash pattern to a line with arbitrary on/off portions.
1019 .Qq Ar id Ns Cm :set_dash Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc
1020 resets the dash pattern to a solid line.
1022 .Qo Ar id Ns Cm :set_font_face Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc
1023 .Brq Cm normal | italic | oblique
1024 .Brq Cm normal | bold
1025 .Bq Ar family
1027 sets the font face for subsequent calls of
1028 .Ar id Ns Cm :show_text .
1030 .Qq Ar id Ns Cm :set_font_size Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc size
1031 sets the font size for subsequent calls of
1032 .Ar id Ns Cm :show_text .
1034 .Qq Ar id Ns Cm :set_line_cap Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc Brq Cm butt | round | square
1035 sets the line cap style.
1036 Default is
1037 .Cm butt .
1039 .Qq Ar id Ns Cm :set_line_join Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc Brq Cm miter | round | bevel
1040 sets the line junction style.
1041 Default is
1042 .Cm miter .
1044 .Qq Ar id Ns Cm :set_line_width Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc width
1045 sets the line width.
1046 Default
1047 .Ar width
1048 is 2.
1050 .Qq Ar id Ns Cm :set_source_rgba Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc color
1051 sets the color; see
1052 .Sx Color .
1054 .Qq Ar id Ns Cm :show_text Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc text
1055 writes
1056 .Ar text ,
1057 beginning at the current point.
1059 .Qq Ar id Ns Cm :stroke Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc
1060 strokes the current path and clears it.
1062 .Qq Ar id Ns Cm :stroke_preserve Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc
1063 strokes the current path without clearing it.
1065 .Qq Ar id Ns Cm :transform Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc Bq Ar xx yx xy yy x0 y0
1066 modifies the current transformation matrix such that
1068 .Dl Va x' Li = Ar xx Va x Li + Ar xy Va y Li + Ar x0 ,
1069 .Dl Va y' Li = Ar yx Va y Li + Ar yy Va y Li + Ar y0 .
1071 Default is resetting the current transformation matrix.
1073 .Qq Ar id Ns Cm :translate Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc Ar tx ty
1074 translates the user space origin by
1075 .Pq Ar tx , ty .
1077 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1078 hides
1079 .Pq Cm 0
1080 the drawing area, or makes it visible
1081 .Pq Cm 1 .
1083 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1084 sets the drawing area's tooltip.
1085 Default is disabling the tooltip.
1087 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
1088 writes a snapshot of the drawing area to an image file of the specified
1089 type.
1091 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1092 sets the drawing areas's minimum size to
1093 .Ar width
1095 .Ar height .
1096 Default is the natural size.
1097 .It Feedback
1098 none
1100 .Ss GtkEntry
1101 .Bl -tag -width "commands "
1102 .It Commands
1103 .Qq Ar id Ns Cm :set_text Ar string
1104 replaces the user-editable text with
1105 .Ar string .
1107 .Qq Ar id Ns Cm :set_placeholder_text Ar string
1108 sets the
1109 .Ar string
1110 that is displayed when the entry is empty and unfocused.
1112 .Qq Ar id Ns Cm :grab_focus
1113 puts the keyboard focus into the entry.
1115 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1116 makes the entry grayed out
1117 .Pq Cm 0
1118 or responsive
1119 .Pq Cm 1 .
1121 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1122 hides
1123 .Pq Cm 0
1124 the entry, or makes it visible
1125 .Pq Cm 1 .
1127 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
1128 blocks
1129 .Pq Cm 1
1130 or unblocks
1131 .Pq Cm 0
1132 feedback messages.
1133 Initially, the entry is unblocked.
1135 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1136 sets the entry's tooltip.
1137 Default is disabling the tooltip.
1139 .Qq Ar id Ns Cm :force
1140 lets the entry report its current content.
1142 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
1143 writes a snapshot of the entry to an image file of the specified
1144 type.
1146 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1147 sets the entry's minimum size to
1148 .Ar width
1150 .Ar height .
1151 Default is the entry's natural size.
1154 .Ar id Ns Cm :style
1155 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1157 sets the style.
1159 .Sx Style .
1160 .It Feedback
1161 .Qq Ar id Ns Cm \&:text Ar text ,
1162 once for each change of
1163 .Ar text .
1165 .Ss GtkEventBox
1166 .Ar x , y
1167 are mouse pointer coordinates relative to the
1168 .Cm GtkEventBox .
1169 .Bl -tag -width "commands "
1170 .It Commands
1171 .Qq Ar id Ns Cm :grab_focus
1172 puts the keyboard focus onto the event box.
1174 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1175 makes the event box insensitive
1176 .Pq Cm 0
1177 or responsive
1178 .Pq Cm 1 .
1180 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
1181 blocks
1182 .Pq Cm 1
1183 or unblocks
1184 .Pq Cm 0
1185 feedback messages.
1186 Initially, the event box is unblocked.
1188 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1189 sets the tooltip of the event box.
1190 Default is disabling the tooltip.
1192 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
1193 writes a snapshot of the event box to an image file of the specified
1194 type.
1196 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1197 sets the minimum size to
1198 .Ar width
1200 .Ar height .
1201 Default is the natural size of the event box.
1204 .Ar id Ns Cm :style
1205 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1207 sets the widget style.
1209 .Sx Style .
1210 .It Feedback
1211 .Qq Ar id Ns Cm \&:button_press Ar b x y ,
1212 .Qq Ar id Ns Cm \&:button_release Ar b x y
1213 where
1214 .Ar b
1215 is the mouse button (normally 1, 2, or 3 for the left, middle, and
1216 right button; others may exist).
1218 .Qq Ar id Ns Cm \&:motion Ar x y
1219 is reported repeatedly while the mouse is being moved with a button
1220 pressed.
1222 .Qq Ar id Ns Cm \&:key_press Ar key ,
1223 .Ar key
1224 being the key's name
1225 .Po e.g.
1226 .Ql Control_L ,
1227 .Ql Tab ,
1228 .Ql a
1229 .Pc .
1231 .Ss GtkExpander
1232 .Bl -tag -width "commands "
1233 .It Commands
1234 .Qq Ar id Ns Cm :set_label Ar string
1235 replaces the expander label text with
1236 .Ar string .
1238 .Qq Ar id Ns Cm :set_expanded Brq Cm 0 Ns | Ns  1
1239 hides
1240 .Pq Cm 0
1241 the child widget, or makes it visible
1242 .Pq Cm 1 .
1244 .Qq Ar id Ns Cm :grab_focus
1245 puts the keyboard focus onto the expander.
1247 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1248 makes the expander grayed out
1249 .Pq Cm 0
1250 or responsive
1251 .Pq Cm 1 .
1253 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1254 hides
1255 .Pq Cm 0
1256 the expander, or makes it visible
1257 .Pq Cm 1 .
1259 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1260 sets the expander's tooltip.
1261 Default is disabling the tooltip.
1263 .Qq Ar id Ns Cm :force
1264 toggles the expansion state.
1266 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
1267 writes a snapshot of the expander to an image file of the specified
1268 type.
1270 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1271 sets the expander's minimum size to
1272 .Ar width
1274 .Ar height .
1275 Default is the natural size.
1278 .Ar id Ns Cm :style
1279 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1281 sets the style.
1283 .Sx Style .
1284 .It Feedback
1285 none
1287 .Ss GtkGrid
1288 .Bl -tag -width "commands "
1289 .It Commands
1290 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1291 hides
1292 .Pq Cm 0
1293 the grid, or makes it visible
1294 .Pq Cm 1 .
1295 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1296 sets the grid's tooltip.
1297 Default is disabling the tooltip.
1299 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
1300 writes a snapshot of the grid to an image file of the specified
1301 type.
1303 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1304 sets the grid's minimum size to
1305 .Ar width
1307 .Ar height .
1308 Default is the grid's natural size.
1311 .Ar id Ns Cm :style
1312 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1314 sets the style.
1316 .Sx Style .
1317 .It Feedback
1318 none
1320 .Ss GtkFileChooserButton
1321 .Bl -tag -width "commands "
1322 .It Commands
1323 .Qq Ar id Ns Cm :set_filename Ar path
1324 preselects
1325 .Ar path
1326 to the extent it exists.
1328 .Qq Ar id Ns Cm :grab_focus
1329 puts the keyboard focus onto the button.
1331 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1332 makes the button grayed out
1333 .Pq Cm 0
1334 or responsive
1335 .Pq Cm 1 .
1337 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1338 hides
1339 .Pq Cm 0
1340 the button, or makes it visible
1341 .Pq Cm 1 .
1343 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
1344 blocks
1345 .Pq Cm 1
1346 or unblocks
1347 .Pq Cm 0
1348 feedback messages.
1349 Initially, the button is unblocked.
1351 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1352 sets the button's tooltip.
1353 Default is disabling the tooltip.
1355 .Qq Ar id Ns Cm :force
1356 simulates fresh selection of the currently selected pathname.
1358 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
1359 writes a snapshot of the button to an image file of the specified
1360 type.
1362 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1363 sets the button's minimum size to
1364 .Ar width
1366 .Ar height .
1367 Default is the widget's natural size.
1370 .Ar id Ns Cm :style
1371 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1373 sets the style.
1375 .Sx Style .
1376 .It Feedback
1377 .Qq Ar id Ns Cm \&:file Ar pathname
1378 if the selection has changed.
1380 .Ss GtkFileChooserDialog
1382 .Cm GtkFileChooserDialog
1383 with id
1384 .Ar foo
1385 will be invoked by a
1386 .Sx GtkMenuItem
1387 or a
1388 .Sx GtkImageMenuItem
1389 with id
1390 .Ar foo Ns Cm _invoke .
1393 .Cm GtkFileChooserDialog
1394 should have an
1395 .Sq OK
1396 .Sx GtkButton
1397 with id
1398 .Ar foo Ns Cm _ok
1399 .Po Cm main_ok
1400 if the dialog is the sole window of the GUI and therefore named
1401 .Cm main
1402 .Pc .
1405 .Cm GtkFileChooserDialog
1406 may have a
1407 .Sq Cancel
1408 .Sx GtkButton
1409 with id
1410 .Ar foo Ns Cm _cancel
1411 .Po Cm main_cancel
1412 if the dialog is the sole window of the GUI and therefore named
1413 .Cm main
1414 .Pc .
1417 .Cm GtkFileChooserDialog
1418 may have an
1419 .Sq Apply
1420 .Sx GtkButton
1421 with id
1422 .Ar foo Ns Cm _apply
1423 .Po Cm main_apply
1424 if the dialog is the sole window of the GUI and therefore named
1425 .Cm main
1426 .Pc .
1427 .Bl -tag -width "commands "
1428 .It Commands
1429 .Qq Ar id Ns Cm :set_filename Ar path
1430 preselects
1431 .Ar path
1432 to the extent it exists.
1434 .Qq Ar id Ns Cm :set_current_name Ar string
1435 makes
1436 .Ar string
1437 the suggested filename, which may not yet exist.
1438 .Ar string
1439 should either resemble an absolute path, or the
1440 .Ar directory
1441 must be set separately by
1442 .Ar id Ns Cm :set_filename Ar directory .
1444 .Qq Ar id Ns Cm :set_title Ar string
1445 replaces the text in the title bar with
1446 .Ar string .
1448 .Qq Ar id Ns Cm :resize Bq Ar width height
1449 changes the size of the dialog window to
1450 .Ar width
1452 .Ar height
1453 pixels if specified, or to the default size.
1455 .Qq Ar id Ns Cm :move Ar x y
1456 moves the dialog window to position
1457 .Pq Ar x , y .
1459 .Qq Ar id Ns Cm :fullscreen
1461 .Qq Ar id Ns Cm :unfullscreen
1462 switch fullscreen mode on and off.
1464 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1465 makes the dialog grayed out
1466 .Pq Cm 0
1467 or responsive
1468 .Pq Cm 1 .
1470 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1471 hides
1472 .Pq Cm 0
1473 the dialog, or makes it visible
1474 .Pq Cm 1 .
1476 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
1477 blocks
1478 .Pq Cm 1
1479 or unblocks
1480 .Pq Cm 0
1481 feedback messages form the dialog window.
1482 Initially, the widget is unblocked.
1484 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1485 sets the dialog window's tooltip.
1486 Default is disabling the tooltip.
1488 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
1489 writes a snapshot of the widget to an image file of the specified
1490 type.
1492 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1493 sets the widget's minimum size to
1494 .Ar width
1496 .Ar height .
1497 Default is the widget's natural size.
1500 .Ar id Ns Cm :style
1501 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1503 sets the widget style.
1505 .Sx Style .
1506 .It Feedback
1507 .Qq Ar id Ns Cm \&:file Ar pathname
1508 and/or
1509 .Qq Ar id Ns Cm \&:folder Ar pathname
1511 .Qq Ar id Ns Cm \&:closed
1512 if the
1513 .Cm GtkFileChooserDialog
1514 window was closed by the window manager.
1516 .Ss GtkFontButton
1517 .Bl -tag -width "commands "
1518 .It Commands
1519 .Qq Ar id Ns Cm :set_font_name Ar fontname
1520 preselects the font.
1522 .Qq Ar id Ns Cm :grab_focus
1523 puts the keyboard focus onto the button.
1525 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1526 makes the button grayed out
1527 .Pq Cm 0
1528 or responsive
1529 .Pq Cm 1 .
1531 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1532 hides
1533 .Pq Cm 0
1534 the button, or makes it visible
1535 .Pq Cm 1 .
1537 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
1538 blocks
1539 .Pq Cm 1
1540 or unblocks
1541 .Pq Cm 0
1542 feedback messages.
1543 Initially, the button is unblocked.
1545 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1546 sets the button's tooltip.
1547 Default is disabling the tooltip.
1549 .Qq Ar id Ns Cm :force
1550 opens the dialog window.
1552 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
1553 writes a snapshot of the button to an image file of the specified
1554 type.
1556 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1557 sets the button's minimum size to
1558 .Ar width
1560 .Ar height .
1561 Default is the button's natural size.
1564 .Ar id Ns Cm :style
1565 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1567 sets the style.
1569 .Sx Style .
1570 .It Feedback
1571 .Qq Ar id Ns Cm \&:font Ar fontname
1573 .Ss GtkFrame
1574 .Bl -tag -width "commands "
1575 .It Commands
1576 .Qq Ar id Ns Cm :set_label Ar text
1577 replaces the frame label text with
1578 .Ar string .
1580 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1581 makes the frame and its content grayed out
1582 .Pq Cm 0
1583 or responsive
1584 .Pq Cm 1 .
1586 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1587 hides
1588 .Pq Cm 0
1589 the frame, or makes it visible
1590 .Pq Cm 1 .
1592 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1593 sets the frame's tooltip.
1594 Default is disabling the tooltip.
1596 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
1597 writes a snapshot of the frame to an image file of the specified
1598 type.
1600 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1601 sets the widget's minimum size to
1602 .Ar width
1604 .Ar height .
1605 Default is the frame's natural size.
1608 .Ar id Ns Cm :style
1609 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1611 sets the style.
1613 .Sx Style .
1614 .It Feedback
1615 none
1617 .Ss GtkImage
1618 .Bl -tag -width "commands "
1619 .It Commands
1620 .Qq Ar id Ns Cm :set_from_icon_name Ar icon-name
1621 replaces the image with one of the standard icons.
1623 .Qq Ar id Ns Cm :set_from_file Ar path
1624 replaces the image by the one found at
1625 .Ar path Ns .
1627 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1628 hides
1629 .Pq Cm 0
1630 the image, or makes it visible
1631 .Pq Cm 1 .
1633 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1634 sets the image's tooltip.
1635 Default is disabling the tooltip.
1637 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
1638 writes a snapshot of the image to an image file of the specified
1639 type.
1641 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1642 sets the images's minimum size to
1643 .Ar width
1645 .Ar height .
1646 Default is the image's natural size.
1649 .Ar id Ns Cm :style
1650 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1652 sets the style.
1654 .Sx Style .
1655 .It Feedback
1656 none
1658 .Ss GtkMenu
1659 .Bl -tag -width "commands "
1660 .It Commands
1661 .Qq Ar id Ns Cm :popup ,
1662 .Qq Ar id Ns Cm :popdown
1663 displays the menu at mouse position or closes it, respectively.
1665 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1666 makes the menu grayed out
1667 .Pq Cm 0
1668 or responsive
1669 .Pq Cm 1 .
1671 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1672 sets the menu's tooltip.
1673 Default is disabling the tooltip.
1675 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
1676 writes a snapshot of the (popped-up) menu to an image file of the
1677 specified type.
1679 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1680 sets the menu's minimum size to
1681 .Ar width
1683 .Ar height .
1684 Default is the menu's natural size.
1687 .Ar id Ns Cm :style
1688 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1690 sets the menu's style.
1692 .Sx Style .
1693 .It Feedback
1694 none
1696 .Ss GtkMenuButton
1697 .Bl -tag -width "commands "
1698 .It Commands
1699 .Qq Ar id Ns Cm :grab_focus
1700 puts the keyboard focus onto the button.
1702 .Qq Ar id Ns Cm :force
1703 simulates a click onto the button.
1705 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1706 makes the button grayed out
1707 .Pq Cm 0
1708 or responsive
1709 .Pq Cm 1 .
1711 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1712 hides
1713 .Pq Cm 0
1714 the button, or makes it visible
1715 .Pq Cm 1 .
1717 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1718 sets the button's tooltip.
1719 Default is disabling the tooltip.
1721 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
1722 writes a snapshot of the button to an image file of the specified
1723 type.
1725 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1726 sets the button's minimum size to
1727 .Ar width
1729 .Ar height .
1730 Default is the button's natural size.
1733 .Ar id Ns Cm :style
1734 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1736 sets the button's style.
1738 .Sx Style .
1739 .It Feedback
1740 none
1742 .Ss GtkImageMenuItem
1743 .Cm GtkImageMenuItem
1744 is deprecated.
1745 .Bl -tag -width "commands "
1746 .It Commands
1747 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1748 makes the item grayed out
1749 .Pq Cm 0
1750 or responsive
1751 .Pq Cm 1 .
1753 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1754 hides
1755 .Pq Cm 0
1756 the item, or makes it visible
1757 .Pq Cm 1 .
1759 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
1760 blocks
1761 .Pq Cm 1
1762 or unblocks
1763 .Pq Cm 0
1764 feedback messages.
1765 Initially, the item is unblocked.
1767 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1768 sets the item's tooltip.
1769 Default is disabling the tooltip.
1771 .Qq Ar id Ns Cm :force
1772 simulates a click on the menu item.
1774 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1775 sets the item's minimum size to
1776 .Ar width
1778 .Ar height .
1779 Default is the item's natural size.
1782 .Ar id Ns Cm :style
1783 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1785 sets the item's style.
1787 .Sx Style .
1788 .It Feedback
1790 .Cm GtkImageMenuItem
1791 with id
1792 .Ar foo Ns Cm _invoke
1793 will invoke the
1794 .Sx GtkDialog
1796 .Sx GtkFileChooserDialog
1797 with id
1798 .Ar foo
1799 if it exists.
1800 If there isn't any dialog attached to the
1801 .Cm GtkImageMenuItem ,
1802 it reports
1803 .Qq Ar id Ns Cm \&:active Ar label .
1805 .Ss GtkInfoBar
1806 .Bl -tag -width "commands "
1807 .It Commands
1808 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1809 makes the info bar grayed out
1810 .Pq Cm 0
1811 or responsive
1812 .Pq Cm 1 .
1814 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1815 hides
1816 .Pq Cm 0
1817 the info bar, or makes it visible
1818 .Pq Cm 1 .
1820 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1821 sets the info bar's tooltip.
1822 Default is disabling the tooltip.
1824 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1825 sets the info bar's minimum size to
1826 .Ar width
1828 .Ar height .
1829 Default is the info bar's natural size.
1832 .Ar id Ns Cm :style
1833 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1835 sets the style.
1837 .Sx Style .
1838 .It Feedback
1839 none
1841 .Ss GtkLabel
1842 .Bl -tag -width "commands "
1843 .It Commands
1844 .Qq Ar id Ns Cm :set_text Ar string
1845 replaces the label text with
1846 .Ar string .
1848 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1849 makes the label grayed out
1850 .Pq Cm 0
1851 or clearly visible
1852 .Pq Cm 1 .
1854 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1855 hides
1856 .Pq Cm 0
1857 the label, or makes it visible
1858 .Pq Cm 1 .
1860 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1861 sets the label's tooltip.
1862 Default is disabling the tooltip.
1864 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
1865 writes a snapshot of the label to an image file of the specified
1866 type.
1868 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1869 sets the label's minimum size to
1870 .Ar width
1872 .Ar height .
1873 Default is the natural size.
1876 .Ar id Ns Cm :style
1877 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1879 sets the label's style.
1881 .Sx Style .
1882 .It Feedback
1883 none
1885 .Ss GtkLinkButton
1886 .Bl -tag -width "commands "
1887 .It Commands
1888 .Qq Ar id Ns Cm :set_visited Brq Cm 0 Ns | Ns Cm 1
1889 gives the button text the appearance of an unvisited
1890 .Pq Cm 0 , No default
1891 or visited
1892 .Pq Cm 1
1893 link.
1895 .Qq Ar id Ns Cm :set_label Ar string
1896 replaces the button text with
1897 .Ar string .
1899 .Qq Ar id Ns Cm :grab_focus
1900 puts the keyboard focus onto the button.
1902 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1903 makes the button grayed out
1904 .Pq Cm 0
1905 or responsive
1906 .Pq Cm 1 .
1908 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1909 hides
1910 .Pq Cm 0
1911 the button, or makes it visible
1912 .Pq Cm 1 .
1914 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
1915 blocks
1916 .Pq Cm 1
1917 or unblocks
1918 .Pq Cm 0
1919 feedback messages.
1920 Initially, the button is unblocked.
1922 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1923 sets the button's tooltip.
1924 Default is disabling the tooltip.
1926 .Qq Ar id Ns Cm :force
1927 simulates a click on the button.
1929 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
1930 writes a snapshot of the button to an image file of the specified
1931 type.
1933 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1934 sets the button's minimum size to
1935 .Ar width
1937 .Ar height .
1938 Default is the button's natural size.
1941 .Ar id Ns Cm :style
1942 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1944 sets the style.
1946 .Sx Style .
1947 .It Feedback
1948 .Qq Ar id Ns Cm \&:clicked
1950 .Ss GtkMenuBar
1951 .Bl -tag -width "commands "
1952 .It Commands
1953 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1954 makes the menu bar grayed out
1955 .Pq Cm 0
1956 or responsive
1957 .Pq Cm 1 .
1959 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1960 hides
1961 .Pq Cm 0
1962 the menu bar, or makes it visible
1963 .Pq Cm 1 .
1965 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1966 sets the menu bar's tooltip.
1967 Default is disabling the tooltip.
1969 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1970 sets the menu bar's minimum size to
1971 .Ar width
1973 .Ar height .
1974 Default is its natural size.
1977 .Ar id Ns Cm :style
1978 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1980 sets the menu bar's style.
1982 .Sx Style .
1983 .It Feedback
1984 none
1986 .Ss GtkMenuItem
1987 .Bl -tag -width "commands "
1988 .It Commands
1989 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1990 makes the item grayed out
1991 .Pq Cm 0
1992 or responsive
1993 .Pq Cm 1 .
1995 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1996 hides
1997 .Pq Cm 0
1998 the item, or makes it visible
1999 .Pq Cm 1 .
2001 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
2002 blocks
2003 .Pq Cm 1
2004 or unblocks
2005 .Pq Cm 0
2006 feedback messages.
2007 Initially, the item is unblocked.
2009 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2010 sets the item's tooltip.
2011 Default is disabling the tooltip.
2013 .Qq Ar id Ns Cm :force
2014 simulates a click on the menu item.
2016 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2017 sets the item's minimum size to
2018 .Ar width
2020 .Ar height .
2021 Default is the item's natural size.
2024 .Ar id Ns Cm :style
2025 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2027 sets the item's style.
2029 .Sx Style .
2030 .It Feedback
2032 .Cm GtkMenuItem
2033 with id
2034 .Ar foo Ns Cm _invoke
2035 will invoke the
2036 .Sx GtkDialog
2038 .Sx GtkFileChooserDialog
2039 with id
2040 .Ar foo
2041 if it exists.
2042 If there isn't any dialog attached to the
2043 .Cm GtkMenuItem ,
2044 it reports
2045 .Qq Ar id Ns Cm \&:active Ar label .
2047 .Ss GtkNotebook
2048 .Bl -tag -width "commands "
2049 .It Commands
2050 .Qq Ar id Ns Cm :set_current_page Ar n
2051 switches to zero-based page number
2052 .Ar n .
2054 .Qq Ar id Ns Cm :grab_focus
2055 puts the keyboard focus onto the notebook.
2057 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2058 makes the notebook grayed out
2059 .Pq Cm 0
2060 or responsive
2061 .Pq Cm 1 .
2063 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2064 hides
2065 .Pq Cm 0
2066 the notebook, or makes it visible
2067 .Pq Cm 1 .
2069 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2070 sets the notebook's tooltip.
2071 Default is disabling the tooltip.
2073 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
2074 writes a snapshot of the notebook to an image file of the specified
2075 type.
2077 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2078 sets the notebooks's minimum size to
2079 .Ar width
2081 .Ar height .
2082 Default is the widget's natural size.
2085 .Ar id Ns Cm :style
2086 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2088 sets the notebook's style.
2090 .Sx Style .
2091 .It Feedback
2092 none
2094 .Ss GtkOverlay
2095 .Bl -tag -width "commands "
2096 .It Commands
2097 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2098 makes the overlay grayed out
2099 .Pq Cm 0
2100 or responsive
2101 .Pq Cm 1 .
2103 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2104 hides
2105 .Pq Cm 0
2106 the overlay, or makes it visible
2107 .Pq Cm 1 .
2109 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2110 sets the overlay's tooltip.
2111 Default is disabling the tooltip.
2113 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
2114 writes a snapshot of the overlay to an image file of the specified
2115 type.
2117 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2118 sets the overlay's minimum size to
2119 .Ar width
2121 .Ar height .
2122 Default is the overlay's natural size.
2125 .Ar id Ns Cm :style
2126 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2128 sets the style.
2130 .Sx Style .
2131 .It Feedback
2132 none
2134 .Ss GtkPaned
2135 .Bl -tag -width "commands "
2136 .It Commands
2137 .Qq Ar id Ns Cm :grab_focus
2138 puts the keyboard focus onto the handle.
2140 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2141 makes the widget grayed out
2142 .Pq Cm 0
2143 or responsive
2144 .Pq Cm 1 .
2146 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2147 hides
2148 .Pq Cm 0
2149 the widget, or makes it visible
2150 .Pq Cm 1 .
2152 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2153 sets the widget's tooltip.
2154 Default is disabling the tooltip.
2156 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
2157 writes a snapshot of the widget to an image file of the specified
2158 type.
2160 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2161 sets the widget's minimum size to
2162 .Ar width
2164 .Ar height .
2165 Default is the widget's natural size.
2168 .Ar id Ns Cm :style
2169 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2171 sets the style.
2173 .Sx Style .
2174 .It Feedback
2175 none
2177 .Ss GtkPlug
2178 The main window can be turned into a
2179 .Cm GtkPlug
2180 and embedded into the XEmbed socket of another process; see
2181 .Sx OPTIONS ,
2182 option
2183 .Fl e .
2184 .Ss GtkPrintUnixDialog
2185 .Bl -tag -width "commands "
2186 .It Commands
2187 .Qq Ar id Ns Cm :print Ar file.ps
2188 opens the print dialog.
2189 Pressing the
2190 .Ql Print
2191 button sends
2192 .Ar file.ps
2193 to the printer the user selected in the dialog.
2195 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2196 makes the dialog grayed out
2197 .Pq Cm 0
2198 or responsive
2199 .Pq Cm 1 .
2201 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2202 hides
2203 .Pq Cm 0
2204 the dialog, or makes it visible
2205 .Pq Cm 1 .
2207 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
2208 blocks
2209 .Pq Cm 1
2210 or unblocks
2211 .Pq Cm 0
2212 feedback messages.
2213 Initially, the dialog is unblocked.
2215 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2216 sets the dialog's tooltip.
2217 Default is disabling the tooltip.
2219 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
2220 writes a snapshot of the dialog to an image file of the specified
2221 type.
2223 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2224 sets the dialog's minimum size to
2225 .Ar width
2227 .Ar height .
2228 Default is the dialog's natural size.
2231 .Ar id Ns Cm :style
2232 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2234 sets the widget style.
2236 .Sx Style .
2237 .It Feedback
2238 .Qq Ar id Ns Cm \&:closed
2239 if the
2240 .Cm GtkPrintUnixDialog
2241 window was closed by the window manager.
2243 .Ss GtkProgressBar
2244 .Bl -tag -width "commands "
2245 .It Commands
2246 .Qq Ar id Ns Cm :set_fraction Ar x
2247 moves the progress bar to
2248 .Ar x
2249 .Pq between 0 and 1 .
2251 .Qq Ar id Ns Cm :set_text Bq Ar string
2252 replaces the text of the progress bar with
2253 .Ar string .
2254 Default is the progress percentage.
2256 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2257 hides
2258 .Pq Cm 0
2259 the progress bar, or makes it visible
2260 .Pq Cm 1 .
2262 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2263 sets the tooltip of the progressbar.
2264 Default is disabling the tooltip.
2266 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
2267 writes a snapshot of the progress bar to an image file of the
2268 specified type.
2270 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2271 sets the minimum size of the progress bar to
2272 .Ar width
2274 .Ar height .
2275 Default is the natural size.
2278 .Ar id Ns Cm :style
2279 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2281 sets the style.
2283 .Sx Style .
2284 .It Feedback
2285 none
2287 .Ss GtkRadioButton
2288 .Bl -tag -width "commands "
2289 .It Commands
2290 .Qq Ar id Ns Cm :set_active 1
2291 switches the button on.
2292 All other buttons of the same group will go off automatically.
2294 .Qq Ar id Ns Cm :set_label Ar string
2295 replaces the button text with
2296 .Ar string .
2298 .Qq Ar id Ns Cm :grab_focus
2299 puts the keyboard focus onto the button.
2301 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2302 makes the button grayed out
2303 .Pq Cm 0
2304 or responsive
2305 .Pq Cm 1 .
2307 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2308 hides
2309 .Pq Cm 0
2310 the button, or makes it visible
2311 .Pq Cm 1 .
2313 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
2314 blocks
2315 .Pq Cm 1
2316 or unblocks
2317 .Pq Cm 0
2318 feedback messages.
2319 Initially, the button is unblocked.
2321 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2322 sets the button's tooltip.
2323 Default is disabling the tooltip.
2325 .Qq Ar id Ns Cm :force
2326 simulates a click on the button.
2328 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
2329 writes a snapshot of the button to an image file of the specified
2330 type.
2332 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2333 sets the button's minimum size to
2334 .Ar width
2336 .Ar height .
2337 Default is the button's natural size.
2340 .Ar id Ns Cm :style
2341 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2343 sets the style.
2345 .Sx Style .
2346 .It Feedback
2347 .Qq Ar id Ns Cm \&:1
2348 if switched on, or
2349 .Qq Ar id Ns Cm \&:0
2350 otherwise.
2352 .Ss GtkScale
2353 .Bl -tag -width "commands "
2354 .It Commands
2355 .Qq Ar id Ns Cm :set_value Ar x
2356 moves the slider to value
2357 .Ar x .
2359 .Qq Ar id Ns Cm :set_fill_level Bq Ar x
2360 moves the fill level indicator to value
2361 .Ar x .
2362 Default is hiding the fill level indicator.
2364 .Qq Ar id Ns Cm :set_range Ar min max
2365 changes the range.
2367 .Qq Ar id Ns Cm :set_increments Ar step page
2368 sets the steps the slider moves while pressing arrow keys and
2369 .Ql Page_Up Ns
2370 .Pf / Ql Page_Down ,
2371 respectively.
2373 .Qq Ar id Ns Cm :grab_focus
2374 puts the keyboard focus onto the scale.
2376 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2377 makes the scale grayed out
2378 .Pq Cm 0
2379 or responsive
2380 .Pq Cm 1 .
2382 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2383 hides
2384 .Pq Cm 0
2385 the scale, or makes it visible
2386 .Pq Cm 1 .
2388 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
2389 blocks
2390 .Pq Cm 1
2391 or unblocks
2392 .Pq Cm 0
2393 feedback messages.
2394 Initially, the scale is unblocked.
2396 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2397 sets the scale's tooltip.
2398 Default is disabling the tooltip.
2400 .Qq Ar id Ns Cm :force
2401 simulates fresh selection of the current value.
2403 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
2404 writes a snapshot of the scale to an image file of the specified
2405 type.
2407 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2408 sets the scale's minimum size to
2409 .Ar width
2411 .Ar height .
2412 Default is the natural size.
2415 .Ar id Ns Cm :style
2416 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2418 sets the style.
2420 .Sx Style .
2421 .It Feedback
2422 .Qq Ar id Ns Cm \&:value Ar number
2424 .Ss GtkScrolledWindow
2425 .Bl -tag -width "commands "
2426 .It Commands
2427 .Qq Ar id Ns Cm :hscroll Ar position
2429 .Qq Ar id Ns Cm :vscroll Ar position
2430 scroll
2431 .Ar position
2432 to the left or top edge of the
2433 .Cm GtkScrolledWindow ,
2434 respectively.
2436 .Qq Ar id Ns Cm :hscroll_to_range Ar pos0 pos1
2438 .Qq Ar id Ns Cm :vscroll_to_range Ar pos0 pos1
2439 scroll, if necessary, the range between
2440 .Ar pos0
2442 .Ar pos1
2443 into the
2444 .Cm GtkScrolledWindow .
2445 If the range is greater than the window, the initial part of the range
2446 will be visible.
2448 .Qq Ar id Ns Cm :grab_focus
2449 puts the keyboard focus onto the widget.
2451 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2452 makes the widget grayed out
2453 .Pq Cm 0
2454 or responsive
2455 .Pq Cm 1 .
2457 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2458 hides
2459 .Pq Cm 0
2460 the widget, or makes it visible
2461 .Pq Cm 1 .
2463 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2464 sets the widget's tooltip.
2465 Default is disabling the tooltip.
2467 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
2468 writes a snapshot of the widget to an image file of the specified
2469 type.
2471 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2472 sets the minimum size to
2473 .Ar width
2475 .Ar height .
2476 Default is the widget's natural size.
2479 .Ar id Ns Cm :style
2480 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2482 sets the style.
2484 .Sx Style .
2485 .It Feedback
2486 none
2488 .Ss GtkSeparator
2489 .Bl -tag -width "commands "
2490 .It Commands
2491 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2492 makes the separator insensitive
2493 .Pq Cm 0
2494 or responsive
2495 .Pq Cm 1 .
2497 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2498 sets the tooltip of the separator.
2499 Default is disabling the tooltip.
2501 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2502 hides
2503 .Pq Cm 0
2504 the separator, or makes it visible
2505 .Pq Cm 1 .
2507 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
2508 writes a snapshot of the separator to an image file of the specified
2509 type.
2511 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2512 sets the minimum size to
2513 .Ar width
2515 .Ar height .
2516 Default is the natural size of the separator.
2519 .Ar id Ns Cm :style
2520 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2522 sets the widget style.
2524 .Sx Style .
2525 .It Feedback
2526 none
2528 .Ss GtkSeparatorMenuItem
2529 .Bl -tag -width "commands "
2530 .It Commands
2531 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2532 makes the menu item insensitive
2533 .Pq Cm 0
2534 or responsive
2535 .Pq Cm 1 .
2537 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2538 hides
2539 .Pq Cm 0
2540 the menu item, or makes it visible
2541 .Pq Cm 1 .
2543 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2544 sets the tooltip of the menu item.
2545 Default is disabling the tooltip.
2547 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
2548 writes a snapshot of the menu item to an image file of the specified
2549 type.
2551 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2552 sets the minimum size to
2553 .Ar width
2555 .Ar height .
2556 Default is the natural size of the menu item.
2559 .Ar id Ns Cm :style
2560 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2562 sets the widget style.
2564 .Sx Style .
2565 .It Feedback
2566 none
2568 .Ss GtkSizeGroup
2569 .Bl -tag -width "commands "
2570 .It Commands
2571 none
2572 .It Feedback
2573 none
2575 .Ss GtkSocket
2576 .Cm GtkSocket
2577 may be unsupported by Glade, but its definition can be inserted
2578 manually into the GtkBuilder
2579 .Pq Pa .ui
2580 file:
2581 .Bd -literal -offset indent
2582 <child>
2583   <object class="GtkSocket" id="socket1">
2584     <property name="visible">True</property>
2585     <property name="can_focus">True</property>
2586   </object>
2587   <packing>
2588     <property name="expand">True</property>
2589     <property name="fill">True</property>
2590     <property name="position">1</property>
2591   </packing>
2592 </child>
2594 .Bl -tag -width "commands "
2595 .It Commands
2596 .Qq Ar id Ns Cm :id
2597 requests a feedback message containing the socket
2598 .Ar xid .
2600 .Qq Ar id Ns Cm :grab_focus
2601 puts the keyboard focus onto the socket.
2603 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2604 makes the socket grayed out
2605 .Pq Cm 0
2606 or responsive
2607 .Pq Cm 1 .
2609 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2610 hides
2611 .Pq Cm 0
2612 the socket, or makes it visible
2613 .Pq Cm 1 .
2615 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2616 sets the socket's tooltip.
2617 Default is disabling the tooltip.
2618 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
2619 writes a snapshot of the socket to an image file of the specified
2620 type.
2622 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2623 sets the socket's minimum size to
2624 .Ar width
2626 .Ar height .
2627 Default is the socket's natural size.
2630 .Ar id Ns Cm :style
2631 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2633 sets the style.
2635 .Sx Style .
2636 .It Feedback
2637 .Qq Ar id Ns Cm :id Ar xid
2638 can be used by another process to XEmbed its widgets into the
2639 .Cm GtkSocket .
2641 .Qq Ar id Ns Cm \&:plug-added ,
2643 .Ar id Ns Cm \&:plug-removed
2644 .Qc .
2645 Notification that the other process has inserted its widgets into or
2646 removed them from the
2647 .Cm GtkSocket .
2649 .Ss GtkSpinButton
2650 .Bl -tag -width "commands "
2651 .It Commands
2652 .Qq Ar id Ns Cm :set_text Ar string
2653 sets the selected value to
2654 .Ar string .
2656 .Qq Ar id Ns Cm :set_range Ar min max
2657 changes the range.
2659 .Qq Ar id Ns Cm :set_increments Ar step page
2660 sets the steps the value changes while pressing arrow keys/left mouse
2661 button, and
2662 .Ql Page_Up Ns
2663 .Pf / Ql Page_Down Ns
2664 /middle mouse button,
2665 respectively.
2667 .Qq Ar id Ns Cm :grab_focus
2668 puts the keyboard focus onto the button.
2670 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2671 makes the button grayed out
2672 .Pq Cm 0
2673 or responsive
2674 .Pq Cm 1 .
2676 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2677 hides
2678 .Pq Cm 0
2679 the button, or makes it visible
2680 .Pq Cm 1 .
2682 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
2683 blocks
2684 .Pq Cm 1
2685 or unblocks
2686 .Pq Cm 0
2687 feedback messages.
2688 Initially, the button is unblocked.
2690 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2691 sets the button's tooltip.
2692 Default is disabling the tooltip.
2694 .Qq Ar id Ns Cm :force
2695 simulates fresh selection of the current value
2697 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
2698 writes a snapshot of the button to an image file of the specified
2699 type.
2701 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2702 sets the button's minimum size to
2703 .Ar width
2705 .Ar height .
2706 Default is the widget's natural size.
2709 .Ar id Ns Cm :style
2710 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2712 sets the button's style.
2714 .Sx Style .
2715 .It Feedback
2716 .Qq Ar id Ns Cm \&:text Ar text
2718 .Ss GtkSpinner
2719 .Bl -tag -width "commands "
2720 .It Commands
2721 .Qq Ar id Ns Cm :start
2723 .Qq Ar id Ns Cm :stop
2724 start and stop the spinner.
2726 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2727 makes the spinner grayed out
2728 .Pq Cm 0
2729 or clearly visible
2730 .Pq Cm 1 .
2732 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2733 hides
2734 .Pq Cm 0
2735 the spinner, or makes it visible
2736 .Pq Cm 1 .
2738 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2739 sets the spinner's tooltip.
2740 Default is disabling the tooltip.
2742 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
2743 writes a snapshot of the spinner to an image file of the specified
2744 type.
2746 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2747 sets the spinner's minimum size to
2748 .Ar width
2750 .Ar height .
2751 Default is the natural size.
2754 .Ar id Ns Cm :style
2755 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2757 sets the style.
2759 .Sx Style .
2760 .It Feedback
2761 none
2763 .Ss GtkStatusbar
2764 The context parameter
2765 .Ar c
2766 is an arbitrary non-whitespace string.
2767 .Bl -tag -width "commands "
2768 .It Commands
2769 .Qq Ar id Ns Cm :push_id Ar c string ,
2770 .Qq Ar id Ns Cm :push Ar string
2771 associate
2772 .Ar string
2773 with context parameter
2774 .Ar c
2776 .Ql 0 ,
2777 respectively, and display it in the statusbar.
2779 .Qq Ar id Ns Cm :pop_id Ar c ,
2780 .Qq Ar id Ns Cm :pop
2781 remove the latest entry associated with context parameter
2782 .Ar c
2784 .Ql 0 ,
2785 respectively, from the statusbar.
2787 .Qq Ar id Ns Cm :remove_all_id Ar c ,
2788 .Qq Ar id Ns Cm :remove_all
2789 remove the entries associated with context parameter
2790 .Ar c
2792 .Ql 0 ,
2793 respectively, from the statusbar.
2795 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2796 makes the statusbar grayed out
2797 .Pq Cm 0
2798 or clearly visible
2799 .Pq Cm 1 .
2801 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2802 hides
2803 .Pq Cm 0
2804 the statusbar, or makes it visible
2805 .Pq Cm 1 .
2807 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2808 sets the statusbar's tooltip.
2809 Default is disabling the tooltip.
2811 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
2812 writes a snapshot of the statusbar to an image file of the specified
2813 type.
2815 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2816 sets the statusbar's minimum size to
2817 .Ar width
2819 .Ar height .
2820 Default is the natural size.
2823 .Ar id Ns Cm :style
2824 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2826 sets the statusbar's style.
2828 .Sx Style .
2829 .It Feedback
2830 none
2832 .Ss GtkSwitch
2833 .Bl -tag -width "commands "
2834 .It Commands
2835 .Qq Ar id Ns Cm :set_active Brq Cm 0 Ns | Ns Cm 1
2836 turns the switch off
2837 .Pq Cm 0
2838 or on
2839 .Pq Cm 1 .
2841 .Qq Ar id Ns Cm :grab_focus
2842 puts the keyboard focus onto the switch.
2844 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2845 makes the switch grayed out
2846 .Pq Cm 0
2847 or responsive
2848 .Pq Cm 1 .
2850 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2851 hides
2852 .Pq Cm 0
2853 the switch, or makes it visible
2854 .Pq Cm 1 .
2856 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
2857 blocks
2858 .Pq Cm 1
2859 or unblocks
2860 .Pq Cm 0
2861 feedback messages.
2862 Initially, the switch is unblocked.
2864 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2865 sets the tooltip of the switch.
2866 Default is disabling the tooltip.
2868 .Qq Ar id Ns Cm :force
2869 simulates a click on the switch.
2871 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
2872 writes a snapshot of the switch to an image file of the specified
2873 type.
2875 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2876 sets the switch's minimum size to
2877 .Ar width
2879 .Ar height .
2880 Default is the natural size.
2883 .Ar id Ns Cm :style
2884 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2886 sets the style.
2888 .Sx Style .
2889 .It Feedback
2890 .Qq Ar id Ns Cm \&:1
2891 if switched on, or
2892 .Qq Ar id Ns Cm \&:0
2893 otherwise.
2895 .Ss GtkTextView
2896 There should be a dedicated
2897 .Sx GtkButton
2898 for sending (parts of) the text.
2899 If the id of the
2900 .Cm GtkTextView
2902 .Ar foo ,
2904 .Sx GtkButton
2905 with id
2906 .Ar foo Ns Cm _send_text
2907 will send the content of the
2908 .Cm GtkTextView ;
2910 .Sx GtkButton
2911 with id
2912 .Ar foo Ns Cm _send_selection
2913 will send the highlighted part the
2914 .Cm GtkTextView .
2915 .Bl -tag -width "commands "
2916 .It Commands
2917 .Qq Ar id Ns Cm :set_text Ar string
2918 replaces the user-editable text with (potentially empty)
2919 .Ar string Ns .
2921 .Qq Ar id Ns Cm :delete
2922 deletes the text.
2924 .Qq Ar id Ns Cm :insert_at_cursor Ar string
2925 inserts
2926 .Ar string
2927 at cursor position.
2929 .Qq Ar id Ns Cm :place_cursor Brq Ar position | Cm end
2930 places the text cursor at
2931 .Ar position
2932 or at the end of the text.
2934 .Qq Ar id Ns Cm :place_cursor_at_line Ar line
2935 places the text cursor at the beginning of
2936 .Ar line .
2938 .Qq Ar id Ns Cm :scroll_to_cursor
2939 scrolls to the cursor position if necessary.
2941 .Qq Ar id Ns Cm :save Ar file
2942 stores in
2943 .Ar file
2946 command containing the text.
2948 .Qq Ar id Ns Cm :grab_focus
2949 puts the keyboard focus into the textview.
2951 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2952 makes the text view grayed out
2953 .Pq Cm 0
2954 or responsive
2955 .Pq Cm 1 .
2957 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2958 hides
2959 .Pq Cm 0
2960 the text view, or makes it visible
2961 .Pq Cm 1 .
2963 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2964 sets the tooltip of the text view.
2965 Default is disabling the tooltip.
2967 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
2968 writes a snapshot of the text view to an image file of the specified
2969 type.
2971 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2972 sets the minimum size to
2973 .Ar width
2975 .Ar height .
2976 Default is the natural size.
2979 .Ar id Ns Cm :style
2980 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2982 sets the style.
2984 .Sx Style .
2985 .It Feedback
2986 .Qq Ar button_id Ns Cm \&:text Ar text ,
2987 .Ar button_id
2988 being the id of the
2989 .Sx GtkButton .
2990 Line endings in
2991 .Ar text
2992 are replaced by
2993 .Cm \en ,
2994 and backslashes are replaced by
2995 .Cm \e\e .
2997 .Ss GtkToggleButton
2998 .Bl -tag -width "commands "
2999 .It Commands
3000 .Qq Ar id Ns Cm :set_active Brq Cm 0 Ns | Ns Cm 1
3001 switches the button off
3002 .Pq Cm 0
3003 or on
3004 .Pq Cm 1 .
3006 .Qq Ar id Ns Cm :set_label Ar string
3007 replaces the button text with
3008 .Ar string .
3010 .Qq Ar id Ns Cm :grab_focus
3011 puts the keyboard focus onto the button.
3013 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
3014 makes the button grayed out
3015 .Pq Cm 0
3016 or responsive
3017 .Pq Cm 1 .
3019 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
3020 hides
3021 .Pq Cm 0
3022 the button, or makes it visible
3023 .Pq Cm 1 .
3025 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
3026 blocks
3027 .Pq Cm 1
3028 or unblocks
3029 .Pq Cm 0
3030 feedback messages.
3031 Initially, the button is unblocked.
3033 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
3034 sets the button's tooltip.
3035 Default is disabling the tooltip.
3037 .Qq Ar id Ns Cm :force
3038 simulates a click on the button.
3040 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
3041 writes a snapshot of the button to an image file of the specified
3042 type.
3044 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
3045 sets the button's minimum size to
3046 .Ar width
3048 .Ar height .
3049 Default is the button's natural size.
3052 .Ar id Ns Cm :style
3053 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
3055 sets the button's style.
3057 .Sx Style .
3058 .It Feedback
3059 .Qq Ar id Ns Cm \&:1
3060 if switched on, or
3061 .Qq Ar id Ns Cm \&:0
3062 otherwise.
3064 .Ss GtkTreeView
3066 can deal with columns of type
3067 .Cm gboolean , gint , guint , glong , gulong , gint64 , guint64 , gfloat , gdouble ,
3069 .Cm gchararray .
3071 .Ar row
3073 .Ar column
3074 refer to the underlying model
3075 .Cm ( GtkListStore
3077 .Cm GtkTreeStore ) .
3078 .Ar row
3079 is a sequence of one or more colon-separated integers, e.g.
3080 .Ql 3
3082 .Ql 0:0:1 .
3083 .Bl -tag -width "commands "
3084 .It Commands
3085 .Qq Ar id Ns Cm :set Ar row column data
3086 replaces the content at
3087 .Pq Ar row , column
3088 with
3089 .Ar data
3090 (which should be compatible with the type of
3091 .Ar column ) .
3092 If necessary, new tree nodes are created to obtain the minimal tree
3093 structure needed to support
3094 .Ar row .
3096 .Qq Ar id Ns Cm :insert_row Brq Ar row Bo Cm as_child Bc | Cm end
3097 inserts a new, empty row; either as a sibling of
3098 .Ar row
3099 at position
3100 .Ar row ,
3101 or as a child of
3102 .Ar row ,
3103 or at the end of the list, respectively.
3105 .Qq Ar id Ns Cm :move_row Ar origin Brq Ar destination | Cm end
3106 moves the row at
3107 .Ar origin
3108 within its current level to
3109 .Ar destination
3110 or to the end.
3112 .Qq Ar id Ns Cm :remove_row Ar row
3113 removes the row at position
3114 .Ar row .
3116 .Qq Ar id Ns Cm :clear
3117 removes all rows.
3119 .Qq Ar id Ns Cm :expand Ar row
3120 expands one level of the subtree below
3121 .Ar row .
3123 .Qq Ar id Ns Cm :expand_all Bq Ar row
3124 expands the subtree below
3125 .Ar row ,
3126 or the whole tree.
3128 .Qq Ar id Ns Cm :collapse Bq Ar row
3129 collapses the subtree below
3130 .Ar row ,
3131 or the whole tree.
3133 .Qq Ar id Ns Cm :set_cursor Bq Ar row
3134 sets the cursor to
3135 .Ar row ,
3136 or unsets it.
3138 .Qq Ar id Ns Cm :scroll Ar row column
3139 scrolls the cell at
3140 .Pq Ar row , column
3141 into view.
3143 .Qq Ar id Ns Cm :save Ar file
3144 stores the content of the underlying model as a sequence of
3146 commands into
3147 .Ar file .
3149 .Qq Ar id Ns Cm :grab_focus
3150 puts the keyboard focus onto the tree view.
3152 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
3153 makes the tree view grayed out
3154 .Pq Cm 0
3155 or responsive
3156 .Pq Cm 1 .
3158 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
3159 hides
3160 .Pq Cm 0
3161 the tree view, or makes it visible
3162 .Pq Cm 1 .
3164 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
3165 blocks
3166 .Pq Cm 1
3167 or unblocks
3168 .Pq Cm 0
3169 feedback messages.
3170 Initially, the widget is unblocked.
3172 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
3173 sets the tooltip of the tree view.
3174 Default is disabling the tooltip.
3176 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
3177 writes a snapshot of the tree view to an image file of the specified
3178 type.
3180 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
3181 sets the minimum size of the tree view to
3182 .Ar width
3184 .Ar height .
3185 Default is the widget's natural size.
3188 .Ar id Ns Cm :style
3189 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
3191 sets the style.
3193 .Sx Style .
3194 .It Feedback
3195 .Qq Ar id Ns Cm \&:clicked
3197 .Qq Ar id Ns Cm \&: Ns Ar column_type row column value ,
3198 one message per cell in the underlying model for each selected row; or
3200 .Qq Ar id Ns Cm \&: Ns Ar column_type row column new_value ,
3201 if the cell at
3202 .Pq Ar row , column
3203 has been edited.
3205 .Ss GtkTreeViewColumn
3206 .Bl -tag -width "commands "
3207 .It Commands
3208 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
3209 blocks
3210 .Pq Cm 1
3211 or unblocks
3212 .Pq Cm 0
3213 feedback messages.
3214 Initially, the widget is unblocked.
3215 .It Feedback
3216 .Qq Ar id Ns Cm \&:clicked
3218 .Ss GtkViewport
3219 .Bl -tag -width "commands "
3220 .It Commands
3221 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
3222 makes the viewport insensitive
3223 .Pq Cm 0
3224 or responsive
3225 .Pq Cm 1 .
3227 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
3228 hides
3229 .Pq Cm 0
3230 the viewport, or makes it visible
3231 .Pq Cm 1 .
3233 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
3234 sets the tooltip of the viewport.
3235 Default is disabling the tooltip.
3237 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
3238 writes a snapshot of the viewport to an image file of the specified
3239 type.
3241 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
3242 sets the minimum size to
3243 .Ar width
3245 .Ar height .
3246 Default is the natural size of the viewport.
3249 .Ar id Ns Cm :style
3250 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
3252 sets the widget style.
3254 .Sx Style .
3255 .It Feedback
3256 none
3258 .Ss GtkWindow
3259 .Bl -tag -width "commands "
3260 .It Commands
3261 .Qq Ar id Ns Cm :set_title Ar string
3262 replaces the text in the title bar with
3263 .Ar string .
3265 .Qq Ar id Ns Cm :resize Bq Ar width height
3266 changes the window size to
3267 .Ar width
3269 .Ar height
3270 pixels if specified, or to the default size.
3272 .Qq Ar id Ns Cm :move Ar x y
3273 moves the window to position
3274 .Pq Ar x , y .
3276 .Qq Ar id Ns Cm :fullscreen
3278 .Qq Ar id Ns Cm :unfullscreen
3279 switch fullscreen mode on and off.
3281 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
3282 makes the widget grayed out
3283 .Pq Cm 0
3284 or responsive
3285 .Pq Cm 1 .
3287 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
3288 hides
3289 .Pq Cm 0
3290 the widget, or makes it visible
3291 .Pq Cm 1 .
3293 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
3294 blocks
3295 .Pq Cm 1
3296 or unblocks
3297 .Pq Cm 0
3298 feedback messages.
3299 Initially, the widget is unblocked.
3301 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
3302 sets the window's tooltip.
3303 Default is disabling the tooltip.
3304 .Qq Ar id Ns Cm :snapshot Ar file Ns Brq Cm .ps Ns | Ns Cm .eps Ns | Ns Cm .epsf Ns | Ns Cm .pdf Ns | Ns Cm .svg
3305 writes a snapshot of the window to an image file of the specified
3306 type.
3308 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
3309 sets the window's minimum size to
3310 .Ar width
3312 .Ar height .
3313 Default is the widget's natural size.
3316 .Ar id Ns Cm :style
3317 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
3319 sets the style.
3321 .Sx Style .
3322 .It Feedback
3323 .Qq Ar id Ns Cm \&:closed
3324 if the
3325 .Cm GtkWindow
3326 was closed by the window manager.
3328 .Sh SPECIAL SYNTAX
3329 .Ss Style
3331 .Ar id Ns Cm :style
3332 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
3334 sets properties
3335 .Ar prop
3336 of the widget style to
3337 .Ar val .
3338 Properties not explicitly specified are reset to their default values.
3339 Examples:
3340 .Bl -dash -offset indent -compact
3342 .Ql label1:style font:Bold 11; background-color:green
3344 .Ql label1:style font-style:italic; font-weight:bold; color:blue
3346 .Ql button1:style background-image:url("q.png")
3348 .Ql treeview1:style background-image:linear-gradient(45deg, yellow, blue);
3350 .Ql frame1:style border-color:red yellow; border-width:5px
3352 .Ql frame1:style border-radius:10px; transition:10s
3354 For color notations see
3355 .Sx Color ,
3356 below.
3357 .Ss Color
3358 Possible
3359 .Ar color
3360 notations:
3361 .Bl -dash -offset indent -compact
3363 standard X11 colors names like
3364 .Ql blue ,
3365 .Ql Dark Sea Green ,
3367 .Ql Red ;
3369 .Ql transparent ;
3371 hexadecimal values in the form
3372 .Cm # Ns Ar rgb , Cm # Ns Ar rrggbb , Cm # Ns Ar rrrgggbbb ,
3374 .Cm # Ns Ar rrrrggggbbbb ;
3376 RGB colors in the form
3377 .Cm rgb( Ns Ar red Ns Cm \&, Ns Ar green Ns Cm \&, Ns Ar blue Ns Cm \&)
3379 RGBA colors in the form
3380 .Cm rgba( Ns Ar red Ns Cm \&, Ns Ar green Ns Cm \&, Ns
3381 .Ar blue Ns Cm \&, Ns Ar alpha Ns Cm \&) ;
3382 .Ar red , green , blue
3383 between 0 and 255 and
3384 .Ar alpha
3385 between 0 and 1;
3387 color expressions like
3388 .Ql darker(blue)
3390 .Ql lighter(currentColor) .
3392 .Sh EXIT STATUS
3393 .Ex -std
3394 .Sh EXAMPLES
3395 .Ss Discovering Pipeglade Interactively
3396 Suppose the interface in
3397 .Pa ./pipeglade.ui
3398 has a
3399 .Sx GtkLabel Ql label1
3400 and a
3401 .Sx GtkButton Ql button1 .
3402 After invoking
3404 .Dl pipeglade
3406 and clicking the
3407 .Sx GtkButton , Ql button1:clicked
3408 will be reported on the terminal.
3409 Typing
3411 .Dl label1:set_text The Button
3413 will change the text shown on the label into
3414 .Ql The Button .
3415 .Ss One-Shot File Dialog
3416 Suppose the interface in
3417 .Pa ./simple_open.ui
3418 contains a
3419 .Sx GtkFileChooserDialog
3420 with an
3421 .Sq OK
3422 .Sx GtkButton
3423 whose id is
3424 .Ql main_ok .
3425 Invoking
3427 .Dl pipeglade -u simple_open.ui
3429 will open the dialog; pressing
3430 .Sq OK
3431 will close it after sending the selected filename to
3432 .Va stdout .
3433 .Ss One-Shot User Notification
3434 If the interface in
3435 .Pa ./simple_dialog.ui
3436 contains a
3437 .Sx GtkLabel Ql label1 ,
3438 then
3439 .Bd -literal -offset indent
3440 pipeglade -u simple_dialog.ui <<< \e
3441     "label1:set_text NOW READ THIS!"
3443 will set the label text accordingly and wait for user input.
3444 .Ss Continuous Input
3445 The following shell command displays a running clock:
3446 .Bd -literal -offset indent
3447 while true; do
3448     echo "label1:set_text `date`";
3449     sleep 1;
3450 done | pipeglade -u simple_dialog.ui
3452 .Ss Continuous Input and Output
3453 The following shell script fragment sets up
3455 for continuous communication with another program,
3456 .Pa main_prog :
3457 .Bd -literal -offset indent
3458 pipeglade -i in.fifo -o out.fifo -b
3459 main_prog <out.fifo >in.fifo
3461 .Sh SEE ALSO
3462 .Xr dialog 1 ,
3463 .Xr glade 1 ,
3464 .Xr gxmessage 1 ,
3465 .Xr kdialog 1 ,
3466 .Xr whiptail 1 ,
3467 .Xr xmessage 1 ,
3468 .Xr zenity 1
3469 .Sh AUTHOR
3471 was written by
3472 .An Bert Burgemeister
3473 .Aq Mt trebbu@googlemail.com .
3474 .Sh BUGS
3475 Due to what appears to be a bug in cairo v1.14.0,
3477 used with this library version occasionally crashes on
3478 .Cm GtkDrawingArea
3479 commands.