1 .\" Copyright (c) 2014-2017 Bert Burgemeister <trebbu@googlemail.com>
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:
11 .\" The above copyright notice and this permission notice shall be
12 .\" included in all copies or substantial portions of the Software.
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.
27 .Nd pipe-driven GTK+ interface
34 .Op Fl u Ar builder-file
35 .Op Fl e Ar parent-xid
38 .Op Fl -display Ar X-server
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
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
52 Simple one-shot dialogs as well as more complex, long-running programs
62 if necessary, sets its permissions to
64 and uses it for command input.
66 A command is a line of text.
68 .Qq Ar id Ns Cm \&: Ns Ar action Bq Ar data ,
70 being the name of the receiving widget;
72 is separated from the rest of the command by a single whitespace
74 Commands whose first non-whitespace character is
76 are considered comments and ignored silently, as are empty input lines.
77 Any occurences of the two-character sequences
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
86 and are otherwise ignored.
89 for applicable commands.
93 exists but is not a named pipe.
96 is deleted upon successful program termination.
98 Default command input is
103 if necessary, sets its permissions to
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 ,
111 being the name of the sending widget.
114 for possible feedback messages.
118 exists but is not a named pipe.
121 is deleted upon successful program termination.
123 Default feedback-message output is
128 in the background after printing its process ID to
131 It is an error if option
138 .It Fl u Ar builder-file
139 Displays the graphical user interface
141 which should be created using the
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
151 .It Fl e Ar parent-xid
152 Embeds the main window into the XEmbed socket
156 Appends for each command a line of
161 being the number of microseconds elapsed during
166 are separated by a tab character.
180 appending its output to
186 .It Fl -display Ar X-server
189 for user interaction.
191 Prints a help message and exits.
193 Prints the versions of the underlying GTK+ and cairo libraries and
201 The widget classes able to communicate through
212 .Sx GtkComboBoxText ,
218 .Sx GtkFileChooserButton ,
219 .Sx GtkFileChooserDialog ,
224 .Sx GtkImageMenuItem ,
236 .Sx GtkPrintUnixDialog ,
240 .Sx GtkScrolledWindow ,
242 .Sx GtkSeparatorMenuItem ,
250 .Sx GtkToggleButton ,
252 .Sx GtkTreeViewColumn ,
259 references a widget by the
261 attribute it is given in Glade.
269 .Dl <object class="GtkWindow" id="foo"> .
271 .\" Commands most widgets understand:
284 .Ss Unspecific Widget
285 .Bl -tag -width indent
289 .Qq Ar id Ns Cm :load Ar file
296 is required but ignored.
298 commands may be nested but on attempts to read from the same file, the
309 .Qq Ar id Ns Cm :main_quit
310 kills the user interface.
313 is required but ignored.
317 .Bl -tag -width indent
321 .Qq Ar id Ns Cm :set_label Ar text
322 replaces the frame label text with
325 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
326 makes the frame and its content grayed out
331 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
334 the frame, or makes it visible
337 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
338 sets the frame's tooltip.
339 Default is disabling the tooltip.
341 .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
342 writes a snapshot of the frame to an image file of the specified
345 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
346 sets the widget's minimum size to
350 Default is the frame's natural size.
354 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
360 .Qq Ar id Ns Cm :ping Bq Ar text
361 triggers a feedback message.
366 .Qq Ar id Ns Cm :ping Ar text
373 .Bl -tag -width indent
377 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
378 makes the box grayed out
383 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
386 the box, or makes it visible
388 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
389 sets the box's tooltip.
390 Default is disabling the tooltip.
392 .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
393 writes a snapshot of the box to an image file of the specified
396 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
397 sets the box's minimum size to
401 Default is the box's natural size.
405 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
411 .Qq Ar id Ns Cm :ping Bq Ar text
412 triggers a feedback message.
417 .Qq Ar id Ns Cm :ping Ar text
424 .Bl -tag -width indent
428 .Qq Ar id Ns Cm :set_label Ar string
429 replaces the button text with
432 .Qq Ar id Ns Cm :grab_focus
433 puts the keyboard focus onto the button.
435 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
436 makes the button grayed out
441 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
444 the button, or makes it visible
447 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
453 Initially, the button is unblocked.
455 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
456 sets the button's tooltip.
457 Default is disabling the tooltip.
459 .Qq Ar id Ns Cm :force
460 simulates a click on the button.
462 .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
463 writes a snapshot of the button to an image file of the specified
466 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
467 sets the button's minimum size to
471 Default is the button's natural size.
475 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
481 .Qq Ar id Ns Cm :ping Bq Ar text
482 triggers a feedback message.
487 .Qq Ar id Ns Cm :ping Ar text
492 .Qq Ar id Ns Cm \&:clicked
496 .Cm _ok , _apply , _cancel , _send_text ,
499 may work differently; see
500 .Sx GtkDialog , GtkFileChooserDialog ,
507 .Bl -tag -width indent
511 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
512 makes the box grayed out
517 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
520 the box, or makes it visible
523 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
524 sets the box's tooltip.
525 Default is disabling the tooltip.
527 .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
528 writes a snapshot of the box to an image file of the specified
531 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
532 sets the box's minimum size to
536 Default is the box's natural size.
540 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
546 .Qq Ar id Ns Cm :ping Bq Ar text
547 triggers a feedback message.
552 .Qq Ar id Ns Cm :ping Ar text
559 .Bl -tag -width indent
563 .Qq Ar id Ns Cm :select_date Ar yyyy Ns Cm - Ns Ar mm Ns Cm - Ns Ar dd
564 selects the date on the calendar.
566 .Qq Ar id Ns Cm :mark_day Ar day
571 .Qq Ar id Ns Cm :clear_marks
572 unmarks all days on the calendar.
574 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
575 makes the calendar grayed out
580 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
583 the calendar, or makes it visible
586 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
592 Initially, the calendar is unblocked.
594 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
595 sets the calendar's tooltip.
596 Default is disabling the tooltip.
598 .Qq Ar id Ns Cm :force
599 simulates a click on the currently selected date.
601 .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
602 writes a snapshot of the calendar to an image file of the specified
605 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
606 sets the calendar's minimum size to
610 Default is the widget's natural size.
614 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
616 sets the calendar's style.
620 .Qq Ar id Ns Cm :ping Bq Ar text
621 triggers a feedback message.
626 .Qq Ar id Ns Cm \&:clicked Ar yyyy Ns Cm - Ns Ar mm Ns Cm - Ns Ar dd
628 .Qq Ar id Ns Cm \&:doubleclicked Ar yyyy Ns Cm - Ns Ar mm Ns Cm - Ns Ar dd
630 .Qq Ar id Ns Cm :ping Ar text
637 .Bl -tag -width indent
641 .Qq Ar id Ns Cm :set_active Brq Cm 0 Ns | Ns Cm 1
642 switches the check mark off
647 .Qq Ar id Ns Cm :set_label Ar string
648 replaces the button text with
651 .Qq Ar id Ns Cm :grab_focus
652 puts the keyboard focus onto the button.
654 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
655 makes the button grayed out
660 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
663 the button, or makes it visible
666 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
672 Initially, the button is unblocked.
674 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
675 sets the button's tooltip.
676 Default is disabling the tooltip.
678 .Qq Ar id Ns Cm :force
679 simulates a click on the button.
681 .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
682 writes a snapshot of the button to an image file of the specified
685 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
686 sets the button's minimum size to
690 Default is the widget's natural size.
694 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
696 sets the button's style.
700 .Qq Ar id Ns Cm :ping Bq Ar text
701 triggers a feedback message.
711 .Qq Ar id Ns Cm :ping Ar text
718 .Bl -tag -width indent
722 .Qq Ar id Ns Cm :set_color Ar color
723 preselects the color; see
726 .Qq Ar id Ns Cm :grab_focus
727 puts the keyboard focus onto the button.
729 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
730 makes the button grayed out
735 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
738 the button, or makes it visible
741 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
747 Initially, the button is unblocked.
749 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
750 sets the button's tooltip.
751 Default is disabling the tooltip.
753 .Qq Ar id Ns Cm :force
754 opens the dialog window.
756 .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
757 writes a snapshot of the button to an image file of the specified
760 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
761 sets the button's minimum size to
765 Default is the widget's natural size.
769 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
771 sets the button's style.
775 .Qq Ar id Ns Cm :ping Bq Ar text
776 triggers a feedback message.
781 .Qq Ar id Ns Cm \&:color Cm rgb( Ns Ar red Ns Cm \&, Ns Ar green Ns Cm \&, Ns Ar blue Ns Cm \&)
783 .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 \&) .
787 lie between 0 and 255, and
791 .Qq Ar id Ns Cm :ping Ar text
802 .Bl -tag -width indent
806 .Qq Ar id Ns Cm :prepend_text Ar string
808 .Qq Ar id Ns Cm :append_text Ar string
809 prepend/append a new selectable item marked
812 .Qq Ar id Ns Cm :insert_text Ar position string
818 .Qq Ar id Ns Cm :remove Ar position
822 .Qq Ar id Ns Cm :grab_focus
823 puts the keyboard focus onto the combo box.
825 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
826 makes the combo box grayed out
831 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
834 the combo box, or makes it visible
837 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
843 Initially, the combo box is unblocked.
845 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
847 Default is disabling the tooltip.
849 .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
850 writes a snapshot of the combo box to an image file of the specified
853 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
854 sets the combo box's minimum size to
858 Default is the natural size.
862 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
868 .Qq Ar id Ns Cm :ping Bq Ar text
869 triggers a feedback message.
874 .Qq Ar entry_id Ns Cm \&:text Ar text ,
876 being the id of the child
879 .Qq Ar id Ns Cm :ping Ar text
895 .Ar foo Ns Cm _invoke .
903 .Ar foo Ns Cm _cancel
905 if the dialog is the sole window of the GUI and therefore named
916 it will take care of hiding the dialog window.
917 .Bl -tag -width indent
921 .Qq Ar id Ns Cm :set_title Ar string
922 replaces the text in the title bar with
925 .Qq Ar id Ns Cm :resize Bq Ar width height
926 changes the size of the dialog window to
930 pixels if specified, or to the default size.
932 .Qq Ar id Ns Cm :move Ar x y
933 moves the dialog window to position
936 .Qq Ar id Ns Cm :fullscreen
938 .Qq Ar id Ns Cm :unfullscreen
939 switch fullscreen mode on and off.
941 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
942 makes the dialog grayed out
947 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
950 the dialog, or makes it visible
953 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
958 feedback messages from the dialog window.
959 Initially, the window is unblocked.
961 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
962 sets the dialog window's tooltip.
963 Default is disabling the tooltip.
965 .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
966 writes a snapshot of the dialog window to an image file of the
969 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
970 sets the dialog window's minimum size to
974 Default is its natural size.
978 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
980 sets the dialog window's style.
984 .Qq Ar id Ns Cm :ping Bq Ar text
985 triggers a feedback message.
990 .Qq Ar id Ns Cm \&:closed
993 window was closed by the window manager.
995 .Qq Ar id Ns Cm :ping Ar text
1003 expect a context parameter of the form
1004 .Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc
1007 is an arbitrary non-negative integer that can be used later to
1008 reference the command.
1011 appends its command to the current list of drawing operations.
1014 replaces the first drawing operation with context parameter
1018 .Ar n Ns Cm < Ns Ar m ,
1019 inserts its command before the first drawing operation with context
1022 Both second and third form fall back to appending.
1024 The default coordinate system is a left-handed system with its origin
1025 in the upper-left corner.
1026 Angles increase from the positive X axis towards the positve Y axis
1027 .Pq clockwise in the default system .
1028 .Bl -tag -width indent
1032 .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
1033 adds a circular arc to the current path.
1034 The arc is centered at
1042 .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
1043 adds a circular arc to the current path.
1044 The arc is centered at
1046 and proceeds in the direction of decreasing angles from
1052 .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
1053 adds a line segment from the current point to the point most recently
1055 .Ar id Ns Cm :move_to
1057 .Ar id Ns Cm :rel_move_to .
1059 .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
1060 adds a cubic Bezier spline from the current point to
1067 If there is no current point, the curve will start at
1070 .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
1071 fills the current path and clears it.
1073 .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
1074 fills the current path without clearing it.
1076 .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
1077 adds a line from the current point to
1079 or creates a new current point at
1082 .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
1083 sets the current point to
1086 .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
1087 adds a rectangle to the current path.
1088 The top left corner is at
1091 .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
1092 adds a cubic Bezier spline from the current point to
1099 All coordinates are offsets relative to the current point.
1101 .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
1102 adds a line from the current point to a point offset from there by
1105 .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
1106 .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
1109 moves the current point such that
1110 .Qq Ar id Ns Cm :show_text Ar n text
1111 will place the specified reference point of
1113 on the original current point.
1115 .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
1116 moves the current point by
1119 .Qq Ar id Ns Cm :remove Ar n
1120 removes the elements with context parameter
1123 .Cm GtkDrawingArea Ar id .
1125 .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
1126 rotates the user space axes by
1130 .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
1131 scales the user space axes by
1134 .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
1135 sets the dash pattern to
1141 .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 ...
1142 resets the dash pattern to a line with arbitrary on/off portions.
1144 .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
1145 resets the dash pattern to a solid line.
1147 .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
1148 .Brq Cm normal | italic | oblique
1149 .Brq Cm normal | bold
1152 sets the font face for subsequent calls of
1153 .Ar id Ns Cm :show_text .
1155 .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
1156 sets the font size for subsequent calls of
1157 .Ar id Ns Cm :show_text .
1159 .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
1160 sets the line cap style.
1164 .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
1165 sets the line junction style.
1169 .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
1170 sets the line width.
1175 .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
1179 .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
1182 beginning at the current point.
1184 .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
1185 strokes the current path and clears it.
1187 .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
1188 strokes the current path without clearing it.
1190 .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
1191 modifies the current transformation matrix such that
1193 .Dl Va x' Li = Ar xx Va x Li + Ar xy Va y Li + Ar x0 ,
1194 .Dl Va y' Li = Ar yx Va y Li + Ar yy Va y Li + Ar y0 .
1196 Default is resetting the current transformation matrix.
1198 .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
1199 translates the user space origin by
1202 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1205 the drawing area, or makes it visible
1208 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1209 sets the drawing area's tooltip.
1210 Default is disabling the tooltip.
1212 .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
1213 writes a snapshot of the drawing area to an image file of the specified
1216 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1217 sets the drawing areas's minimum size to
1221 Default is the natural size.
1223 .Qq Ar id Ns Cm :ping Bq Ar text
1224 triggers a feedback message.
1229 .Qq Ar id Ns Cm :ping Ar text
1236 .Bl -tag -width indent
1240 .Qq Ar id Ns Cm :set_text Ar string
1241 replaces the user-editable text with
1244 .Qq Ar id Ns Cm :set_placeholder_text Ar string
1247 that is displayed when the entry is empty and unfocused.
1249 .Qq Ar id Ns Cm :grab_focus
1250 puts the keyboard focus into the entry.
1252 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1253 makes the entry grayed out
1258 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1261 the entry, or makes it visible
1264 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
1270 Initially, the entry is unblocked.
1272 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1273 sets the entry's tooltip.
1274 Default is disabling the tooltip.
1276 .Qq Ar id Ns Cm :force
1277 lets the entry report its current content.
1279 .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
1280 writes a snapshot of the entry to an image file of the specified
1283 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1284 sets the entry's minimum size to
1288 Default is the entry's natural size.
1292 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1298 .Qq Ar id Ns Cm :ping Bq Ar text
1299 triggers a feedback message.
1304 .Qq Ar id Ns Cm \&:text Ar text ,
1305 once for each change of
1308 .Qq Ar id Ns Cm :ping Ar text
1316 are mouse pointer coordinates relative to the
1318 .Bl -tag -width indent
1322 .Qq Ar id Ns Cm :grab_focus
1323 puts the keyboard focus onto the event box.
1325 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1326 makes the event box insensitive
1331 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
1337 Initially, the event box is unblocked.
1339 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1340 sets the tooltip of the event box.
1341 Default is disabling the tooltip.
1343 .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
1344 writes a snapshot of the event box to an image file of the specified
1347 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1348 sets the minimum size to
1352 Default is the natural size of the event box.
1356 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1358 sets the widget style.
1362 .Qq Ar id Ns Cm :ping Bq Ar text
1363 triggers a feedback message.
1368 .Qq Ar id Ns Cm \&:button_press Ar b x y ,
1369 .Qq Ar id Ns Cm \&:button_release Ar b x y
1372 is the mouse button (normally 1, 2, or 3 for the left, middle, and
1373 right button; others may exist).
1375 .Qq Ar id Ns Cm \&:motion Ar x y
1376 is reported repeatedly while the mouse is being moved with a button
1379 .Qq Ar id Ns Cm \&:key_press Ar key ,
1381 being the key's name
1388 .Qq Ar id Ns Cm :ping Ar text
1395 .Bl -tag -width indent
1399 .Qq Ar id Ns Cm :set_label Ar string
1400 replaces the expander label text with
1403 .Qq Ar id Ns Cm :set_expanded Brq Cm 0 Ns | Ns 1
1406 the child widget, or makes it visible
1409 .Qq Ar id Ns Cm :grab_focus
1410 puts the keyboard focus onto the expander.
1412 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1413 makes the expander grayed out
1418 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1421 the expander, or makes it visible
1424 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1425 sets the expander's tooltip.
1426 Default is disabling the tooltip.
1428 .Qq Ar id Ns Cm :force
1429 toggles the expansion state.
1431 .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
1432 writes a snapshot of the expander to an image file of the specified
1435 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1436 sets the expander's minimum size to
1440 Default is the natural size.
1444 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1450 .Qq Ar id Ns Cm :ping Bq Ar text
1451 triggers a feedback message.
1456 .Qq Ar id Ns Cm :ping Ar text
1463 .Bl -tag -width indent
1467 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1470 the grid, or makes it visible
1473 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1474 sets the grid's tooltip.
1475 Default is disabling the tooltip.
1477 .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
1478 writes a snapshot of the grid to an image file of the specified
1481 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1482 sets the grid's minimum size to
1486 Default is the grid's natural size.
1490 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1496 .Qq Ar id Ns Cm :ping Bq Ar text
1497 triggers a feedback message.
1502 .Qq Ar id Ns Cm :ping Ar text
1508 .Ss GtkFileChooserButton
1509 .Bl -tag -width indent
1513 .Qq Ar id Ns Cm :set_filename Ar path
1516 to the extent it exists.
1518 .Qq Ar id Ns Cm :grab_focus
1519 puts the keyboard focus onto the button.
1521 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1522 makes the button grayed out
1527 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1530 the button, or makes it visible
1533 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
1539 Initially, the button is unblocked.
1541 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1542 sets the button's tooltip.
1543 Default is disabling the tooltip.
1545 .Qq Ar id Ns Cm :force
1546 simulates fresh selection of the currently selected pathname.
1548 .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
1549 writes a snapshot of the button to an image file of the specified
1552 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1553 sets the button's minimum size to
1557 Default is the widget's natural size.
1561 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1567 .Qq Ar id Ns Cm :ping Bq Ar text
1568 triggers a feedback message.
1573 .Qq Ar id Ns Cm \&:file Ar pathname
1574 if the selection has changed.
1576 .Qq Ar id Ns Cm :ping Ar text
1582 .Ss GtkFileChooserDialog
1584 .Cm GtkFileChooserDialog
1587 will be invoked by a
1590 .Sx GtkImageMenuItem
1592 .Ar foo Ns Cm _invoke .
1595 .Cm GtkFileChooserDialog
1602 if the dialog is the sole window of the GUI and therefore named
1607 .Cm GtkFileChooserDialog
1612 .Ar foo Ns Cm _cancel
1614 if the dialog is the sole window of the GUI and therefore named
1619 .Cm GtkFileChooserDialog
1624 .Ar foo Ns Cm _apply
1626 if the dialog is the sole window of the GUI and therefore named
1629 .Bl -tag -width indent
1633 .Qq Ar id Ns Cm :set_filename Ar path
1636 to the extent it exists.
1638 .Qq Ar id Ns Cm :set_current_name Ar string
1641 the suggested filename, which may not yet exist.
1643 should either resemble an absolute path, or the
1645 must be set separately by
1646 .Ar id Ns Cm :set_filename Ar directory .
1648 .Qq Ar id Ns Cm :set_title Ar string
1649 replaces the text in the title bar with
1652 .Qq Ar id Ns Cm :resize Bq Ar width height
1653 changes the size of the dialog window to
1657 pixels if specified, or to the default size.
1659 .Qq Ar id Ns Cm :move Ar x y
1660 moves the dialog window to position
1663 .Qq Ar id Ns Cm :fullscreen
1665 .Qq Ar id Ns Cm :unfullscreen
1666 switch fullscreen mode on and off.
1668 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1669 makes the dialog grayed out
1674 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1677 the dialog, or makes it visible
1680 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
1685 feedback messages form the dialog window.
1686 Initially, the widget is unblocked.
1688 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1689 sets the dialog window's tooltip.
1690 Default is disabling the tooltip.
1692 .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
1693 writes a snapshot of the widget to an image file of the specified
1696 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1697 sets the widget's minimum size to
1701 Default is the widget's natural size.
1705 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1707 sets the widget style.
1711 .Qq Ar id Ns Cm :ping Bq Ar text
1712 triggers a feedback message.
1717 .Qq Ar id Ns Cm \&:file Ar pathname
1719 .Qq Ar id Ns Cm \&:folder Ar pathname
1721 .Qq Ar id Ns Cm \&:closed
1723 .Cm GtkFileChooserDialog
1724 window was closed by the window manager.
1726 .Qq Ar id Ns Cm :ping Ar text
1733 .Bl -tag -width indent
1737 .Qq Ar id Ns Cm :set_font_name Ar fontname
1738 preselects the font.
1740 .Qq Ar id Ns Cm :grab_focus
1741 puts the keyboard focus onto the button.
1743 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1744 makes the button grayed out
1749 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1752 the button, or makes it visible
1755 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
1761 Initially, the button is unblocked.
1763 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1764 sets the button's tooltip.
1765 Default is disabling the tooltip.
1767 .Qq Ar id Ns Cm :force
1768 opens the dialog window.
1770 .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
1771 writes a snapshot of the button to an image file of the specified
1774 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1775 sets the button's minimum size to
1779 Default is the button's natural size.
1783 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1789 .Qq Ar id Ns Cm :ping Bq Ar text
1790 triggers a feedback message.
1795 .Qq Ar id Ns Cm \&:font Ar fontname
1797 .Qq Ar id Ns Cm :ping Ar text
1804 .Bl -tag -width indent
1808 .Qq Ar id Ns Cm :set_label Ar text
1809 replaces the frame label text with
1812 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1813 makes the frame and its content grayed out
1818 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1821 the frame, or makes it visible
1824 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1825 sets the frame's tooltip.
1826 Default is disabling the tooltip.
1828 .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
1829 writes a snapshot of the frame to an image file of the specified
1832 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1833 sets the widget's minimum size to
1837 Default is the frame's natural size.
1841 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1847 .Qq Ar id Ns Cm :ping Bq Ar text
1848 triggers a feedback message.
1853 .Qq Ar id Ns Cm :ping Ar text
1860 .Bl -tag -width indent
1864 .Qq Ar id Ns Cm :set_from_icon_name Ar icon-name
1865 replaces the image with one of the standard icons.
1867 .Qq Ar id Ns Cm :set_from_file Ar path
1868 replaces the image by the one found at
1871 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1874 the image, or makes it visible
1877 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1878 sets the image's tooltip.
1879 Default is disabling the tooltip.
1881 .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
1882 writes a snapshot of the image to an image file of the specified
1885 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1886 sets the images's minimum size to
1890 Default is the image's natural size.
1894 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1901 .Qq Ar id Ns Cm :ping Bq Ar text
1902 triggers a feedback message.
1906 .Qq Ar id Ns Cm :ping Ar text
1913 .Bl -tag -width indent
1917 .Qq Ar id Ns Cm :popup ,
1918 .Qq Ar id Ns Cm :popdown
1919 displays the menu at mouse position or closes it, respectively.
1921 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1922 makes the menu grayed out
1927 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1928 sets the menu's tooltip.
1929 Default is disabling the tooltip.
1931 .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
1932 writes a snapshot of the (popped-up) menu to an image file of the
1935 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1936 sets the menu's minimum size to
1940 Default is the menu's natural size.
1944 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1946 sets the menu's style.
1950 .Qq Ar id Ns Cm :ping Bq Ar text
1951 triggers a feedback message.
1956 .Qq Ar id Ns Cm :ping Ar text
1963 .Bl -tag -width indent
1967 .Qq Ar id Ns Cm :grab_focus
1968 puts the keyboard focus onto the button.
1970 .Qq Ar id Ns Cm :force
1971 simulates a click onto the button.
1973 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1974 makes the button grayed out
1979 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1982 the button, or makes it visible
1985 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1986 sets the button's tooltip.
1987 Default is disabling the tooltip.
1989 .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
1990 writes a snapshot of the button to an image file of the specified
1993 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1994 sets the button's minimum size to
1998 Default is the button's natural size.
2002 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2004 sets the button's style.
2008 .Qq Ar id Ns Cm :ping Bq Ar text
2009 triggers a feedback message.
2014 .Qq Ar id Ns Cm :ping Ar text
2020 .Ss GtkImageMenuItem
2021 .Cm GtkImageMenuItem
2023 .Bl -tag -width indent
2027 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2028 makes the item grayed out
2033 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2036 the item, or makes it visible
2039 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
2045 Initially, the item is unblocked.
2047 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2048 sets the item's tooltip.
2049 Default is disabling the tooltip.
2051 .Qq Ar id Ns Cm :force
2052 simulates a click on the menu item.
2054 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2055 sets the item's minimum size to
2059 Default is the item's natural size.
2063 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2065 sets the item's style.
2069 .Qq Ar id Ns Cm :ping Bq Ar text
2070 triggers a feedback message.
2076 .Cm GtkImageMenuItem
2078 .Ar foo Ns Cm _invoke
2082 .Sx GtkFileChooserDialog
2086 If there isn't any dialog attached to the
2087 .Cm GtkImageMenuItem ,
2089 .Qq Ar id Ns Cm \&:active Ar label .
2091 .Qq Ar id Ns Cm :ping Ar text
2098 .Bl -tag -width indent
2102 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2103 makes the info bar grayed out
2108 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2111 the info bar, or makes it visible
2114 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2115 sets the info bar's tooltip.
2116 Default is disabling the tooltip.
2118 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2119 sets the info bar's minimum size to
2123 Default is the info bar's natural size.
2127 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2133 .Qq Ar id Ns Cm :ping Bq Ar text
2134 triggers a feedback message.
2139 .Qq Ar id Ns Cm :ping Ar text
2146 .Bl -tag -width indent
2150 .Qq Ar id Ns Cm :set_text Ar string
2151 replaces the label text with
2154 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2155 makes the label grayed out
2160 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2163 the label, or makes it visible
2166 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2167 sets the label's tooltip.
2168 Default is disabling the tooltip.
2170 .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
2171 writes a snapshot of the label to an image file of the specified
2174 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2175 sets the label's minimum size to
2179 Default is the natural size.
2183 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2185 sets the label's style.
2189 .Qq Ar id Ns Cm :ping Bq Ar text
2190 triggers a feedback message.
2195 .Qq Ar id Ns Cm :ping Ar text
2202 .Bl -tag -width indent
2206 .Qq Ar id Ns Cm :set_visited Brq Cm 0 Ns | Ns Cm 1
2207 gives the button text the appearance of an unvisited
2208 .Pq Cm 0 , No default
2213 .Qq Ar id Ns Cm :set_label Ar string
2214 replaces the button text with
2217 .Qq Ar id Ns Cm :grab_focus
2218 puts the keyboard focus onto the button.
2220 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2221 makes the button grayed out
2226 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2229 the button, or makes it visible
2232 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
2238 Initially, the button is unblocked.
2240 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2241 sets the button's tooltip.
2242 Default is disabling the tooltip.
2244 .Qq Ar id Ns Cm :force
2245 simulates a click on the button.
2247 .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
2248 writes a snapshot of the button to an image file of the specified
2251 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2252 sets the button's minimum size to
2256 Default is the button's natural size.
2260 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2266 .Qq Ar id Ns Cm :ping Bq Ar text
2267 triggers a feedback message.
2272 .Qq Ar id Ns Cm \&:clicked
2274 .Qq Ar id Ns Cm :ping Ar text
2281 .Bl -tag -width indent
2285 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2286 makes the menu bar grayed out
2291 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2294 the menu bar, or makes it visible
2297 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2298 sets the menu bar's tooltip.
2299 Default is disabling the tooltip.
2301 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2302 sets the menu bar's minimum size to
2306 Default is its natural size.
2310 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2312 sets the menu bar's style.
2316 .Qq Ar id Ns Cm :ping Bq Ar text
2317 triggers a feedback message.
2322 .Qq Ar id Ns Cm :ping Ar text
2329 .Bl -tag -width indent
2333 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2334 makes the item grayed out
2339 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2342 the item, or makes it visible
2345 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
2351 Initially, the item is unblocked.
2353 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2354 sets the item's tooltip.
2355 Default is disabling the tooltip.
2357 .Qq Ar id Ns Cm :force
2358 simulates a click on the menu item.
2360 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2361 sets the item's minimum size to
2365 Default is the item's natural size.
2369 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2371 sets the item's style.
2375 .Qq Ar id Ns Cm :ping Bq Ar text
2376 triggers a feedback message.
2384 .Ar foo Ns Cm _invoke
2388 .Sx GtkFileChooserDialog
2392 If there isn't any dialog attached to the
2395 .Qq Ar id Ns Cm \&:active Ar label .
2397 .Qq Ar id Ns Cm :ping Ar text
2404 .Bl -tag -width indent
2408 .Qq Ar id Ns Cm :set_current_page Ar n
2409 switches to zero-based page number
2412 .Qq Ar id Ns Cm :grab_focus
2413 puts the keyboard focus onto the notebook.
2415 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2416 makes the notebook grayed out
2421 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2424 the notebook, or makes it visible
2427 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2428 sets the notebook's tooltip.
2429 Default is disabling the tooltip.
2431 .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
2432 writes a snapshot of the notebook to an image file of the specified
2435 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2436 sets the notebooks's minimum size to
2440 Default is the widget's natural size.
2444 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2446 sets the notebook's style.
2450 .Qq Ar id Ns Cm :ping Bq Ar text
2451 triggers a feedback message.
2456 .Qq Ar id Ns Cm :ping Ar text
2463 .Bl -tag -width indent
2467 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2468 makes the overlay grayed out
2473 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2476 the overlay, or makes it visible
2479 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2480 sets the overlay's tooltip.
2481 Default is disabling the tooltip.
2483 .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
2484 writes a snapshot of the overlay to an image file of the specified
2487 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2488 sets the overlay's minimum size to
2492 Default is the overlay's natural size.
2496 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2502 .Qq Ar id Ns Cm :ping Bq Ar text
2503 triggers a feedback message.
2508 .Qq Ar id Ns Cm :ping Ar text
2515 .Bl -tag -width indent
2519 .Qq Ar id Ns Cm :grab_focus
2520 puts the keyboard focus onto the handle.
2522 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2523 makes the widget grayed out
2528 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2531 the widget, or makes it visible
2534 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2535 sets the widget's tooltip.
2536 Default is disabling the tooltip.
2538 .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
2539 writes a snapshot of the widget to an image file of the specified
2542 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2543 sets the widget's minimum size to
2547 Default is the widget's natural size.
2551 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2557 .Qq Ar id Ns Cm :ping Bq Ar text
2558 triggers a feedback message.
2563 .Qq Ar id Ns Cm :ping Ar text
2570 The main window can be turned into a
2572 and embedded into the XEmbed socket of another process; see
2576 .Ss GtkPrintUnixDialog
2577 .Bl -tag -width indent
2581 .Qq Ar id Ns Cm :print Ar file.ps
2582 opens the print dialog.
2587 to the printer the user selected in the dialog.
2589 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2590 makes the dialog grayed out
2595 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2598 the dialog, or makes it visible
2601 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
2607 Initially, the dialog is unblocked.
2609 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2610 sets the dialog's tooltip.
2611 Default is disabling the tooltip.
2613 .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
2614 writes a snapshot of the dialog to an image file of the specified
2617 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2618 sets the dialog's minimum size to
2622 Default is the dialog's natural size.
2626 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2628 sets the widget style.
2632 .Qq Ar id Ns Cm :ping Bq Ar text
2633 triggers a feedback message.
2638 .Qq Ar id Ns Cm \&:closed
2640 .Cm GtkPrintUnixDialog
2641 window was closed by the window manager.
2643 .Qq Ar id Ns Cm :ping Ar text
2650 .Bl -tag -width indent
2654 .Qq Ar id Ns Cm :set_fraction Ar x
2655 moves the progress bar to
2657 .Pq between 0 and 1 .
2659 .Qq Ar id Ns Cm :set_text Bq Ar string
2660 replaces the text of the progress bar with
2662 Default is the progress percentage.
2664 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2667 the progress bar, or makes it visible
2670 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2671 sets the tooltip of the progressbar.
2672 Default is disabling the tooltip.
2674 .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
2675 writes a snapshot of the progress bar to an image file of the
2678 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2679 sets the minimum size of the progress bar to
2683 Default is the natural size.
2687 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2693 .Qq Ar id Ns Cm :ping Bq Ar text
2694 triggers a feedback message.
2699 .Qq Ar id Ns Cm :ping Ar text
2706 .Bl -tag -width indent
2710 .Qq Ar id Ns Cm :set_active 1
2711 switches the button on.
2712 All other buttons of the same group will go off automatically.
2714 .Qq Ar id Ns Cm :set_label Ar string
2715 replaces the button text with
2718 .Qq Ar id Ns Cm :grab_focus
2719 puts the keyboard focus onto the button.
2721 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2722 makes the button grayed out
2727 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2730 the button, or makes it visible
2733 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
2739 Initially, the button is unblocked.
2741 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2742 sets the button's tooltip.
2743 Default is disabling the tooltip.
2745 .Qq Ar id Ns Cm :force
2746 simulates a click on the button.
2748 .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
2749 writes a snapshot of the button to an image file of the specified
2752 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2753 sets the button's minimum size to
2757 Default is the button's natural size.
2761 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2767 .Qq Ar id Ns Cm :ping Bq Ar text
2768 triggers a feedback message.
2773 .Qq Ar id Ns Cm \&:1
2775 .Qq Ar id Ns Cm \&:0
2778 .Qq Ar id Ns Cm :ping Ar text
2785 .Bl -tag -width indent
2789 .Qq Ar id Ns Cm :set_value Ar x
2790 moves the slider to value
2793 .Qq Ar id Ns Cm :set_fill_level Bq Ar x
2794 moves the fill level indicator to value
2796 Default is hiding the fill level indicator.
2798 .Qq Ar id Ns Cm :set_range Ar min max
2801 .Qq Ar id Ns Cm :set_increments Ar step page
2802 sets the steps the slider moves while pressing arrow keys and
2804 .Pf / Ql Page_Down ,
2807 .Qq Ar id Ns Cm :grab_focus
2808 puts the keyboard focus onto the scale.
2810 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2811 makes the scale grayed out
2816 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2819 the scale, or makes it visible
2822 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
2828 Initially, the scale is unblocked.
2830 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2831 sets the scale's tooltip.
2832 Default is disabling the tooltip.
2834 .Qq Ar id Ns Cm :force
2835 simulates fresh selection of the current value.
2837 .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
2838 writes a snapshot of the scale to an image file of the specified
2841 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2842 sets the scale's minimum size to
2846 Default is the natural size.
2850 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2856 .Qq Ar id Ns Cm :ping Bq Ar text
2857 triggers a feedback message.
2862 .Qq Ar id Ns Cm \&:value Ar number
2864 .Qq Ar id Ns Cm :ping Ar text
2870 .Ss GtkScrolledWindow
2871 .Bl -tag -width indent
2875 .Qq Ar id Ns Cm :hscroll Ar position
2877 .Qq Ar id Ns Cm :vscroll Ar position
2880 to the left or top edge of the
2881 .Cm GtkScrolledWindow ,
2884 .Qq Ar id Ns Cm :hscroll_to_range Ar pos0 pos1
2886 .Qq Ar id Ns Cm :vscroll_to_range Ar pos0 pos1
2887 scroll, if necessary, the range between
2892 .Cm GtkScrolledWindow .
2893 If the range is greater than the window, the initial part of the range
2896 .Qq Ar id Ns Cm :grab_focus
2897 puts the keyboard focus onto the widget.
2899 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2900 makes the widget grayed out
2905 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2908 the widget, or makes it visible
2911 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2912 sets the widget's tooltip.
2913 Default is disabling the tooltip.
2915 .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
2916 writes a snapshot of the widget to an image file of the specified
2919 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2920 sets the minimum size to
2924 Default is the widget's natural size.
2928 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2934 .Qq Ar id Ns Cm :ping Bq Ar text
2935 triggers a feedback message.
2940 .Qq Ar id Ns Cm :ping Ar text
2947 .Bl -tag -width indent
2951 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2952 makes the separator insensitive
2957 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2958 sets the tooltip of the separator.
2959 Default is disabling the tooltip.
2961 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2964 the separator, or makes it visible
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 separator to an image file of the specified
2971 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2972 sets the minimum size to
2976 Default is the natural size of the separator.
2980 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2982 sets the widget style.
2986 .Qq Ar id Ns Cm :ping Bq Ar text
2987 triggers a feedback message.
2992 .Qq Ar id Ns Cm :ping Ar text
2998 .Ss GtkSeparatorMenuItem
2999 .Bl -tag -width indent
3003 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
3004 makes the menu item insensitive
3009 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
3012 the menu item, or makes it visible
3015 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
3016 sets the tooltip of the menu item.
3017 Default is disabling the tooltip.
3019 .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
3020 writes a snapshot of the menu item to an image file of the specified
3023 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
3024 sets the minimum size to
3028 Default is the natural size of the menu item.
3032 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
3034 sets the widget style.
3038 .Qq Ar id Ns Cm :ping Bq Ar text
3039 triggers a feedback message.
3044 .Qq Ar id Ns Cm :ping Ar text
3051 .Bl -tag -width indent
3055 .Qq Ar id Ns Cm :ping Bq Ar text
3056 triggers a feedback message.
3061 .Qq Ar id Ns Cm :ping Ar text
3069 may be unsupported by Glade, but its definition can be inserted
3070 manually into the GtkBuilder
3073 .Bd -literal -offset indent
3075 <object class="GtkSocket" id="socket1">
3076 <property name="visible">True</property>
3077 <property name="can_focus">True</property>
3080 <property name="expand">True</property>
3081 <property name="fill">True</property>
3082 <property name="position">1</property>
3086 .Bl -tag -width indent
3091 requests a feedback message containing the socket
3094 .Qq Ar id Ns Cm :grab_focus
3095 puts the keyboard focus onto the socket.
3097 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
3098 makes the socket grayed out
3103 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
3106 the socket, or makes it visible
3109 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
3110 sets the socket's tooltip.
3111 Default is disabling the tooltip.
3112 .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
3113 writes a snapshot of the socket to an image file of the specified
3116 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
3117 sets the socket's minimum size to
3121 Default is the socket's natural size.
3125 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
3131 .Qq Ar id Ns Cm :ping Bq Ar text
3132 triggers a feedback message.
3137 .Qq Ar id Ns Cm :id Ar xid
3138 can be used by another process to XEmbed its widgets into the
3141 .Qq Ar id Ns Cm \&:plug-added ,
3143 .Ar id Ns Cm \&:plug-removed
3145 Notification that the other process has inserted its widgets into or
3146 removed them from the
3149 .Qq Ar id Ns Cm :ping Ar text
3156 .Bl -tag -width indent
3160 .Qq Ar id Ns Cm :set_text Ar string
3161 sets the selected value to
3164 .Qq Ar id Ns Cm :set_range Ar min max
3167 .Qq Ar id Ns Cm :set_increments Ar step page
3168 sets the steps the value changes while pressing arrow keys/left mouse
3171 .Pf / Ql Page_Down Ns
3172 /middle mouse button,
3175 .Qq Ar id Ns Cm :grab_focus
3176 puts the keyboard focus onto the button.
3178 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
3179 makes the button grayed out
3184 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
3187 the button, or makes it visible
3190 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
3196 Initially, the button is unblocked.
3198 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
3199 sets the button's tooltip.
3200 Default is disabling the tooltip.
3202 .Qq Ar id Ns Cm :force
3203 simulates fresh selection of the current value
3205 .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
3206 writes a snapshot of the button to an image file of the specified
3209 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
3210 sets the button's minimum size to
3214 Default is the widget's natural size.
3218 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
3220 sets the button's style.
3224 .Qq Ar id Ns Cm :ping Bq Ar text
3225 triggers a feedback message.
3230 .Qq Ar id Ns Cm \&:text Ar text
3232 .Qq Ar id Ns Cm :ping Ar text
3239 .Bl -tag -width indent
3243 .Qq Ar id Ns Cm :start
3245 .Qq Ar id Ns Cm :stop
3246 start and stop the spinner.
3248 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
3249 makes the spinner grayed out
3254 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
3257 the spinner, or makes it visible
3260 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
3261 sets the spinner's tooltip.
3262 Default is disabling the tooltip.
3264 .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
3265 writes a snapshot of the spinner to an image file of the specified
3268 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
3269 sets the spinner's minimum size to
3273 Default is the natural size.
3277 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
3283 .Qq Ar id Ns Cm :ping Bq Ar text
3284 triggers a feedback message.
3289 .Qq Ar id Ns Cm :ping Ar text
3296 The context parameter
3298 is an arbitrary non-whitespace string.
3299 .Bl -tag -width indent
3303 .Qq Ar id Ns Cm :push_id Ar c string ,
3304 .Qq Ar id Ns Cm :push Ar string
3307 with context parameter
3311 respectively, and display it in the statusbar.
3313 .Qq Ar id Ns Cm :pop_id Ar c ,
3314 .Qq Ar id Ns Cm :pop
3315 remove the latest entry associated with context parameter
3319 respectively, from the statusbar.
3321 .Qq Ar id Ns Cm :remove_all_id Ar c ,
3322 .Qq Ar id Ns Cm :remove_all
3323 remove the entries associated with context parameter
3327 respectively, from the statusbar.
3329 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
3330 makes the statusbar grayed out
3335 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
3338 the statusbar, or makes it visible
3341 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
3342 sets the statusbar's tooltip.
3343 Default is disabling the tooltip.
3345 .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
3346 writes a snapshot of the statusbar to an image file of the specified
3349 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
3350 sets the statusbar's minimum size to
3354 Default is the natural size.
3358 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
3360 sets the statusbar's style.
3364 .Qq Ar id Ns Cm :ping Bq Ar text
3365 triggers a feedback message.
3370 .Qq Ar id Ns Cm :ping Ar text
3377 .Bl -tag -width indent
3381 .Qq Ar id Ns Cm :set_active Brq Cm 0 Ns | Ns Cm 1
3382 turns the switch off
3387 .Qq Ar id Ns Cm :grab_focus
3388 puts the keyboard focus onto the switch.
3390 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
3391 makes the switch grayed out
3396 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
3399 the switch, or makes it visible
3402 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
3408 Initially, the switch is unblocked.
3410 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
3411 sets the tooltip of the switch.
3412 Default is disabling the tooltip.
3414 .Qq Ar id Ns Cm :force
3415 simulates a click on the switch.
3417 .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
3418 writes a snapshot of the switch to an image file of the specified
3421 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
3422 sets the switch's minimum size to
3426 Default is the natural size.
3430 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
3436 .Qq Ar id Ns Cm :ping Bq Ar text
3437 triggers a feedback message.
3442 .Qq Ar id Ns Cm \&:1
3444 .Qq Ar id Ns Cm \&:0
3447 .Qq Ar id Ns Cm :ping Ar text
3454 There should be a dedicated
3456 for sending (parts of) the text.
3464 .Ar foo Ns Cm _send_text
3465 will send the content of the
3470 .Ar foo Ns Cm _send_selection
3471 will send the highlighted part the
3473 .Bl -tag -width indent
3477 .Qq Ar id Ns Cm :set_text Ar string
3478 replaces the user-editable text with (potentially empty)
3481 .Qq Ar id Ns Cm :delete
3484 .Qq Ar id Ns Cm :insert_at_cursor Ar string
3489 .Qq Ar id Ns Cm :place_cursor Brq Ar position | Cm end
3490 places the text cursor at
3492 or at the end of the text.
3494 .Qq Ar id Ns Cm :place_cursor_at_line Ar line
3495 places the text cursor at the beginning of
3498 .Qq Ar id Ns Cm :scroll_to_cursor
3499 scrolls to the cursor position if necessary.
3501 .Qq Ar id Ns Cm :save Ar file
3506 command containing the text.
3508 .Qq Ar id Ns Cm :grab_focus
3509 puts the keyboard focus into the textview.
3511 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
3512 makes the text view grayed out
3517 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
3520 the text view, or makes it visible
3523 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
3524 sets the tooltip of the text view.
3525 Default is disabling the tooltip.
3527 .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
3528 writes a snapshot of the text view to an image file of the specified
3531 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
3532 sets the minimum size to
3536 Default is the natural size.
3540 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
3546 .Qq Ar id Ns Cm :ping Bq Ar text
3547 triggers a feedback message.
3552 .Qq Ar button_id Ns Cm \&:text Ar text ,
3560 and backslashes are replaced by
3563 .Qq Ar id Ns Cm :ping Ar text
3570 .Bl -tag -width indent
3574 .Qq Ar id Ns Cm :set_active Brq Cm 0 Ns | Ns Cm 1
3575 switches the button off
3580 .Qq Ar id Ns Cm :set_label Ar string
3581 replaces the button text with
3584 .Qq Ar id Ns Cm :grab_focus
3585 puts the keyboard focus onto the button.
3587 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
3588 makes the button grayed out
3593 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
3596 the button, or makes it visible
3599 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
3605 Initially, the button is unblocked.
3607 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
3608 sets the button's tooltip.
3609 Default is disabling the tooltip.
3611 .Qq Ar id Ns Cm :force
3612 simulates a click on the button.
3614 .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
3615 writes a snapshot of the button to an image file of the specified
3618 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
3619 sets the button's minimum size to
3623 Default is the button's natural size.
3627 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
3629 sets the button's style.
3633 .Qq Ar id Ns Cm :ping Bq Ar text
3634 triggers a feedback message.
3639 .Qq Ar id Ns Cm \&:1
3641 .Qq Ar id Ns Cm \&:0
3644 .Qq Ar id Ns Cm :ping Ar text
3652 can deal with columns of type
3653 .Cm gboolean , gint , guint , glong , gulong , gint64 , guint64 , gfloat , gdouble ,
3660 refer to the underlying model
3663 .Cm GtkTreeStore ) .
3665 is a sequence of one or more colon-separated integers, e.g.
3669 .Bl -tag -width indent
3673 .Qq Ar id Ns Cm :set Ar row column data
3674 replaces the content at
3678 (which should be compatible with the type of
3680 If necessary, new tree nodes are created to obtain the minimal tree
3681 structure needed to support
3684 .Qq Ar id Ns Cm :insert_row Brq Ar row Bo Cm as_child Bc | Cm end
3685 inserts a new, empty row; either as a sibling of
3691 or at the end of the list, respectively.
3693 .Qq Ar id Ns Cm :move_row Ar origin Brq Ar destination | Cm end
3696 within its current level to
3700 .Qq Ar id Ns Cm :remove_row Ar row
3701 removes the row at position
3704 .Qq Ar id Ns Cm :clear
3707 .Qq Ar id Ns Cm :expand Ar row
3708 expands one level of the subtree below
3711 .Qq Ar id Ns Cm :expand_all Bq Ar row
3712 expands the subtree below
3716 .Qq Ar id Ns Cm :collapse Bq Ar row
3717 collapses the subtree below
3721 .Qq Ar id Ns Cm :set_cursor Bq Ar row
3726 .Qq Ar id Ns Cm :scroll Ar row column
3731 .Qq Ar id Ns Cm :save Ar file
3732 stores the content of the underlying model as a sequence of
3737 .Qq Ar id Ns Cm :grab_focus
3738 puts the keyboard focus onto the tree view.
3740 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
3741 makes the tree view grayed out
3746 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
3749 the tree view, or makes it visible
3752 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
3758 Initially, the widget is unblocked.
3760 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
3761 sets the tooltip of the tree view.
3762 Default is disabling the tooltip.
3764 .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
3765 writes a snapshot of the tree view to an image file of the specified
3768 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
3769 sets the minimum size of the tree view to
3773 Default is the widget's natural size.
3777 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
3783 .Qq Ar id Ns Cm :ping Bq Ar text
3784 triggers a feedback message.
3789 .Qq Ar id Ns Cm \&:clicked
3791 .Qq Ar id Ns Cm \&: Ns Ar column_type row column value ,
3792 one message per cell in the underlying model for each selected row; or
3794 .Qq Ar id Ns Cm \&: Ns Ar column_type row column new_value ,
3799 .Qq Ar id Ns Cm :ping Ar text
3805 .Ss GtkTreeViewColumn
3806 .Bl -tag -width indent
3810 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
3816 Initially, the widget is unblocked.
3818 .Qq Ar id Ns Cm :ping Bq Ar text
3819 triggers a feedback message.
3824 .Qq Ar id Ns Cm \&:clicked
3826 .Qq Ar id Ns Cm :ping Ar text
3833 .Bl -tag -width indent
3837 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
3838 makes the viewport insensitive
3843 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
3846 the viewport, or makes it visible
3849 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
3850 sets the tooltip of the viewport.
3851 Default is disabling the tooltip.
3853 .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
3854 writes a snapshot of the viewport to an image file of the specified
3857 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
3858 sets the minimum size to
3862 Default is the natural size of the viewport.
3866 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
3868 sets the widget style.
3872 .Qq Ar id Ns Cm :ping Bq Ar text
3873 triggers a feedback message.
3878 .Qq Ar id Ns Cm :ping Ar text
3885 .Bl -tag -width indent
3889 .Qq Ar id Ns Cm :set_title Ar string
3890 replaces the text in the title bar with
3893 .Qq Ar id Ns Cm :resize Bq Ar width height
3894 changes the window size to
3898 pixels if specified, or to the default size.
3900 .Qq Ar id Ns Cm :move Ar x y
3901 moves the window to position
3904 .Qq Ar id Ns Cm :fullscreen
3906 .Qq Ar id Ns Cm :unfullscreen
3907 switch fullscreen mode on and off.
3909 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
3910 makes the widget grayed out
3915 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
3918 the widget, or makes it visible
3921 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
3927 Initially, the widget is unblocked.
3929 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
3930 sets the window's tooltip.
3931 Default is disabling the tooltip.
3932 .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
3933 writes a snapshot of the window to an image file of the specified
3936 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
3937 sets the window's minimum size to
3941 Default is the widget's natural size.
3945 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
3951 .Qq Ar id Ns Cm :ping Bq Ar text
3952 triggers a feedback message.
3957 .Qq Ar id Ns Cm \&:closed
3960 was closed by the window manager.
3962 .Qq Ar id Ns Cm :ping Ar text
3972 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
3976 of the widget style to
3978 Properties not explicitly specified are reset to their default values.
3980 .Bl -dash -offset indent -compact
3982 .Ql label1:style font:Bold 11; background-color:green
3984 .Ql label1:style font-style:italic; font-weight:bold; color:blue
3986 .Ql button1:style background-image:url("q.png")
3988 .Ql treeview1:style background-image:linear-gradient(45deg, yellow, blue);
3990 .Ql frame1:style border-color:red yellow; border-width:5px
3992 .Ql frame1:style border-radius:10px; transition:10s
3994 For color notations see
4001 .Bl -dash -offset indent -compact
4003 standard X11 colors names like
4005 .Ql Dark Sea Green ,
4011 hexadecimal values in the form
4012 .Cm # Ns Ar rgb , Cm # Ns Ar rrggbb , Cm # Ns Ar rrrgggbbb ,
4014 .Cm # Ns Ar rrrrggggbbbb ;
4016 RGB colors in the form
4017 .Cm rgb( Ns Ar red Ns Cm \&, Ns Ar green Ns Cm \&, Ns Ar blue Ns Cm \&)
4019 RGBA colors in the form
4020 .Cm rgba( Ns Ar red Ns Cm \&, Ns Ar green Ns Cm \&, Ns
4021 .Ar blue Ns Cm \&, Ns Ar alpha Ns Cm \&) ;
4022 .Ar red , green , blue
4023 between 0 and 255 and
4027 color expressions like
4030 .Ql lighter(currentColor) .
4035 .Ss Discovering Pipeglade Interactively
4036 Suppose the interface in
4039 .Sx GtkLabel Ql label1
4041 .Sx GtkButton Ql button1 .
4047 .Sx GtkButton , Ql button1:clicked
4048 will be reported on the terminal.
4051 .Dl label1:set_text The Button
4053 will change the text shown on the label into
4055 .Ss One-Shot File Dialog
4056 Suppose the interface in
4057 .Pa ./simple_open.ui
4059 .Sx GtkFileChooserDialog
4067 .Dl pipeglade -u simple_open.ui
4069 will open the dialog; pressing
4071 will close it after sending the selected filename to
4073 .Ss One-Shot User Notification
4075 .Pa ./simple_dialog.ui
4077 .Sx GtkLabel Ql label1 ,
4079 .Bd -literal -offset indent
4080 pipeglade -u simple_dialog.ui <<< \e
4081 "label1:set_text NOW READ THIS!"
4083 will set the label text accordingly and wait for user input.
4084 .Ss Continuous Input
4085 The following shell command displays a running clock:
4086 .Bd -literal -offset indent
4088 echo "label1:set_text `date`";
4090 done | pipeglade -u simple_dialog.ui
4092 .Ss Continuous Input and Output
4093 The following shell script fragment sets up
4095 for continuous communication with another program,
4097 .Bd -literal -offset indent
4098 pipeglade -i in.fifo -o out.fifo -b
4099 main_prog <out.fifo >in.fifo
4112 .An Bert Burgemeister
4113 .Aq Mt trebbu@googlemail.com .
4115 Due to what appears to be a bug in cairo v1.14.0,
4117 used with this library version occasionally crashes on