1 .\" Copyright (c) 2014-2016 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
211 .Sx GtkComboBoxText ,
217 .Sx GtkFileChooserButton ,
218 .Sx GtkFileChooserDialog ,
223 .Sx GtkImageMenuItem ,
230 .Sx GtkPrintUnixDialog ,
234 .Sx GtkScrolledWindow ,
236 .Sx GtkSeparatorMenuItem ,
243 .Sx GtkToggleButton ,
245 .Sx GtkTreeViewColumn ,
252 references a widget by the
254 attribute it is given in Glade.
262 .Dl <object class="GtkWindow" id="foo"> .
263 .Ss Unspecific Widget
264 .Bl -tag -width "commands "
267 .Qq Ar id Ns Cm :load Ar file
274 is required but ignored.
276 commands may be nested but on attempts to read from the same file, the
287 .Qq Ar id Ns Cm :main_quit
288 kills the user interface.
291 is required but ignored.
294 .Bl -tag -width "commands "
296 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
297 makes the box grayed out
302 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
305 the box, or makes it visible
307 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
308 sets the box's tooltip.
309 Default is disabling the tooltip.
311 .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
312 writes a snapshot of the box to an image file of the specified
315 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
316 sets the box's minimum size to
320 Default is the box's natural size.
324 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
333 .Bl -tag -width "commands "
335 .Qq Ar id Ns Cm :set_label Ar string
336 replaces the button text with
339 .Qq Ar id Ns Cm :grab_focus
340 puts the keyboard focus onto the button.
342 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
343 makes the button grayed out
348 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
351 the widget, or makes it visible
354 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
360 Initially, the button is unblocked.
362 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
363 sets the button's tooltip.
364 Default is disabling the tooltip.
366 .Qq Ar id Ns Cm :force
367 simulates a click on the button.
369 .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
370 writes a snapshot of the button to an image file of the specified
373 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
374 sets the button's minimum size to
378 Default is the button's natural size.
382 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
388 .Qq Ar id Ns Cm \&:clicked
392 .Cm _ok , _apply , _cancel , _send_text ,
395 may work differently; see
396 .Sx GtkDialog , GtkFileChooserDialog ,
402 .Bl -tag -width "commands "
404 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
405 makes the box grayed out
410 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
413 the box, or makes it visible
416 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
417 sets the box's tooltip.
418 Default is disabling the tooltip.
420 .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
421 writes a snapshot of the box to an image file of the specified
424 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
425 sets the box's minimum size to
429 Default is the box's natural size.
433 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
442 .Bl -tag -width "commands "
444 .Qq Ar id Ns Cm :select_date Ar yyyy Ns Cm - Ns Ar mm Ns Cm - Ns Ar dd
445 selects the date on the calendar.
447 .Qq Ar id Ns Cm :mark_day Ar day
452 .Qq Ar id Ns Cm :clear_marks
453 unmarks all days on the calendar.
455 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
456 makes the calendar grayed out
461 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
464 the calendar, or makes it visible
467 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
473 Initially, the calendar is unblocked.
475 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
476 sets the calendar's tooltip.
477 Default is disabling the tooltip.
479 .Qq Ar id Ns Cm :force
480 simulates a click on the currently selected date.
482 .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
483 writes a snapshot of the calendar to an image file of the specified
486 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
487 sets the calendar's minimum size to
491 Default is the widget's natural size.
495 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
497 sets the calendar's style.
501 .Qq Ar id Ns Cm \&:clicked Ar yyyy Ns Cm - Ns Ar mm Ns Cm - Ns Ar dd
503 .Qq Ar id Ns Cm \&:doubleclicked Ar yyyy Ns Cm - Ns Ar mm Ns Cm - Ns Ar dd
506 .Bl -tag -width "commands "
508 .Qq Ar id Ns Cm :set_active Brq Cm 0 Ns | Ns Cm 1
509 switches the check mark off
514 .Qq Ar id Ns Cm :set_label Ar string
515 replaces the button text with
518 .Qq Ar id Ns Cm :grab_focus
519 puts the keyboard focus onto the button.
521 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
522 makes the button grayed out
527 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
530 the button, or makes it visible
533 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
539 Initially, the button is unblocked.
541 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
542 sets the button's tooltip.
543 Default is disabling the tooltip.
545 .Qq Ar id Ns Cm :force
546 simulates a click on the button.
548 .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
549 writes a snapshot of the button to an image file of the specified
552 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
553 sets the button's minimum size to
557 Default is the widget's natural size.
561 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
563 sets the button's style.
573 .Bl -tag -width "commands "
575 .Qq Ar id Ns Cm :set_color Ar color
576 preselects the color; see
579 .Qq Ar id Ns Cm :grab_focus
580 puts the keyboard focus onto the button.
582 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
583 makes the button grayed out
588 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
591 the button, or makes it visible
594 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
600 Initially, the button is unblocked.
602 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
603 sets the button's tooltip.
604 Default is disabling the tooltip.
606 .Qq Ar id Ns Cm :force
607 opens the dialog window.
609 .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
610 writes a snapshot of the button to an image file of the specified
613 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
614 sets the button's minimum size to
618 Default is the widget's natural size.
622 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
624 sets the button's style.
628 .Qq Ar id Ns Cm \&:color Cm rgb( Ns Ar red Ns Cm \&, Ns Ar green Ns Cm \&, Ns Ar blue Ns Cm \&)
630 .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 \&) .
634 lie between 0 and 255, and
643 .Bl -tag -width "commands "
645 .Qq Ar id Ns Cm :prepend_text Ar string
647 .Qq Ar id Ns Cm :append_text Ar string
648 prepend/append a new selectable item marked
651 .Qq Ar id Ns Cm :insert_text Ar position string
657 .Qq Ar id Ns Cm :remove Ar position
661 .Qq Ar id Ns Cm :grab_focus
662 puts the keyboard focus onto the combo box.
664 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
665 makes the combo box grayed out
670 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
673 the combo box, or makes it visible
676 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
682 Initially, the combo box is unblocked.
684 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
686 Default is disabling the tooltip.
688 .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
689 writes a snapshot of the combo box to an image file of the specified
692 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
693 sets the combo box's minimum size to
697 Default is the natural size.
701 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
707 .Qq Ar entry_id Ns Cm \&:text Ar text ,
709 being the id of the child
722 .Ar foo Ns Cm _invoke .
730 .Ar foo Ns Cm _cancel
732 if the dialog is the sole window of the GUI and therefore named
743 it will take care of hiding the dialog window.
744 .Bl -tag -width "commands "
746 .Qq Ar id Ns Cm :set_title Ar string
747 replaces the text in the title bar with
750 .Qq Ar id Ns Cm :resize Bq Ar width height
751 changes the size of the dialog window to
755 pixels if specified, or to the default size.
757 .Qq Ar id Ns Cm :move Ar x y
758 moves the dialog window to position
761 .Qq Ar id Ns Cm :fullscreen
763 .Qq Ar id Ns Cm :unfullscreen
764 switch fullscreen mode on and off.
766 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
767 makes the dialog grayed out
772 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
775 the dialog, or makes it visible
778 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
783 feedback messages from the dialog window.
784 Initially, the window is unblocked.
786 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
787 sets the dialog window's tooltip.
788 Default is disabling the tooltip.
790 .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
791 writes a snapshot of the dialog window to an image file of the
794 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
795 sets the dialog window's minimum size to
799 Default is its natural size.
803 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
805 sets the dialog window's style.
809 .Qq Ar id Ns Cm \&:closed
812 window was closed by the window manager.
816 expect a context parameter of the form
817 .Bro Ar n Ns | Ns Cm = Ns Ar n Ns | Ns Ar n Ns Cm < Ns Ar m Brc
820 is an arbitrary non-negative integer that can be used later to
821 reference the command.
824 appends its command to the current list of drawing operations.
827 replaces the first drawing operation with context parameter
831 .Ar n Ns Cm < Ns Ar m ,
832 inserts its command before the first drawing operation with context
835 Both second and third form fall back to appending.
837 The default coordinate system is a left-handed system with its origin
838 in the upper-left corner.
839 Angles increase from the positive X axis towards the positve Y axis
840 .Pq clockwise in the default system .
841 .Bl -tag -width "commands "
843 .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
844 adds a circular arc to the current path.
845 The arc is centered at
853 .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
854 adds a circular arc to the current path.
855 The arc is centered at
857 and proceeds in the direction of decreasing angles from
863 .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
864 adds a line segment from the current point to the point most recently
866 .Ar id Ns Cm :move_to
868 .Ar id Ns Cm :rel_move_to .
870 .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
871 adds a cubic Bezier spline from the current point to
878 If there is no current point, the curve will start at
881 .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
882 fills the current path and clears it.
884 .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
885 fills the current path without clearing it.
887 .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
888 adds a line from the current point to
890 or creates a new current point at
893 .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
894 sets the current point to
897 .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
898 adds a rectangle to the current path.
899 The top left corner is at
902 .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
903 adds a cubic Bezier spline from the current point to
910 All coordinates are offsets relative to the current point.
912 .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
913 adds a line from the current point to a point offset from there by
916 .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
917 .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
920 moves the current point such that
921 .Qq Ar id Ns Cm :show_text Ar n text
922 will place the specified reference point of
924 on the original current point.
926 .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
927 moves the current point by
930 .Qq Ar id Ns Cm :remove Ar n
931 removes the elements with context parameter
934 .Cm GtkDrawingArea Ar id .
936 .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
937 rotates the user space axes by
941 .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
942 scales the user space axes by
945 .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
946 sets the dash pattern to
952 .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 ...
953 resets the dash pattern to a line with arbitrary on/off portions.
955 .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
956 resets the dash pattern to a solid line.
958 .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
959 .Brq Cm normal | italic | oblique
960 .Brq Cm normal | bold
963 sets the font face for subsequent calls of
964 .Ar id Ns Cm :show_text .
966 .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
967 sets the font size for subsequent calls of
968 .Ar id Ns Cm :show_text .
970 .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
971 sets the line cap style.
975 .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
976 sets the line junction style.
980 .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
986 .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
989 is in the format used with
992 .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
995 beginning at the current point.
997 .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
998 strokes the current path and clears it.
1000 .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
1001 strokes the current path without clearing it.
1003 .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
1004 modifies the current transformation matrix such that
1006 .Dl Va x' Li = Ar xx Va x Li + Ar xy Va y Li + Ar x0 ,
1007 .Dl Va y' Li = Ar yx Va y Li + Ar yy Va y Li + Ar y0 .
1009 Default is resetting the current transformation matrix.
1011 .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
1012 translates the user space origin by
1015 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1018 the drawing area, or makes it visible
1021 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1022 sets the drawing area's tooltip.
1023 Default is disabling the tooltip.
1025 .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
1026 writes a snapshot of the drawing area to an image file of the specified
1029 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1030 sets the drawing areas's minimum size to
1034 Default is the natural size.
1039 .Bl -tag -width "commands "
1041 .Qq Ar id Ns Cm :set_text Ar string
1042 replaces the user-editable text with
1045 .Qq Ar id Ns Cm :set_placeholder_text Ar string
1048 that is displayed when the entry is empty and unfocused.
1050 .Qq Ar id Ns Cm :grab_focus
1051 puts the keyboard focus into the entry.
1053 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1054 makes the entry grayed out
1059 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1062 the entry, or makes it visible
1065 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
1071 Initially, the entry is unblocked.
1073 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1074 sets the entry's tooltip.
1075 Default is disabling the tooltip.
1077 .Qq Ar id Ns Cm :force
1078 lets the entry report its current content.
1080 .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
1081 writes a snapshot of the entry to an image file of the specified
1084 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1085 sets the entry's minimum size to
1089 Default is the entry's natural size.
1093 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1099 .Qq Ar id Ns Cm \&:text Ar text ,
1100 once for each change of
1105 are mouse pointer coordinates relative to the
1107 .Bl -tag -width "commands "
1109 .Qq Ar id Ns Cm :grab_focus
1110 puts the keyboard focus onto the event box.
1112 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1113 makes the event box insensitive
1118 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
1124 Initially, the event box is unblocked.
1126 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1127 sets the tooltip of the event box.
1128 Default is disabling the tooltip.
1130 .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
1131 writes a snapshot of the event box to an image file of the specified
1134 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1135 sets the minimum size to
1139 Default is the natural size of the event box.
1143 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1145 sets the widget style.
1149 .Qq Ar id Ns Cm \&:button_press Ar b x y ,
1150 .Qq Ar id Ns Cm \&:button_release Ar b x y
1153 is the mouse button (normally 1, 2, or 3 for the left, middle, and
1154 right button; others may exist).
1156 .Qq Ar id Ns Cm \&:motion Ar x y
1157 is reported repeatedly while the mouse is being moved with a button
1160 .Qq Ar id Ns Cm \&:key_press Ar key ,
1162 being the key's name
1170 .Bl -tag -width "commands "
1172 .Qq Ar id Ns Cm :set_label Ar string
1173 replaces the expander label text with
1176 .Qq Ar id Ns Cm :set_expanded Brq Cm 0 Ns | Ns 1
1179 the child widget, or makes it visible
1182 .Qq Ar id Ns Cm :grab_focus
1183 puts the keyboard focus onto the expander.
1185 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1186 makes the expander grayed out
1191 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1194 the expander, or makes it visible
1197 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1198 sets the expander's tooltip.
1199 Default is disabling the tooltip.
1201 .Qq Ar id Ns Cm :force
1202 toggles the expansion state.
1204 .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
1205 writes a snapshot of the expander to an image file of the specified
1208 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1209 sets the expander's minimum size to
1213 Default is the natural size.
1217 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1226 .Bl -tag -width "commands "
1228 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1231 the grid, or makes it visible
1233 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1234 sets the grid's tooltip.
1235 Default is disabling the tooltip.
1237 .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
1238 writes a snapshot of the grid to an image file of the specified
1241 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1242 sets the grid's minimum size to
1246 Default is the grid's natural size.
1250 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1258 .Ss GtkFileChooserButton
1259 .Bl -tag -width "commands "
1261 .Qq Ar id Ns Cm :set_filename Ar path
1264 to the extent it exists.
1266 .Qq Ar id Ns Cm :grab_focus
1267 puts the keyboard focus onto the button.
1269 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1270 makes the button grayed out
1275 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1278 the button, or makes it visible
1281 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
1287 Initially, the button is unblocked.
1289 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1290 sets the button's tooltip.
1291 Default is disabling the tooltip.
1293 .Qq Ar id Ns Cm :force
1294 simulates fresh selection of the currently selected pathname.
1296 .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
1297 writes a snapshot of the button to an image file of the specified
1300 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1301 sets the button's minimum size to
1305 Default is the widget's natural size.
1309 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1315 .Qq Ar id Ns Cm \&:file Ar pathname
1316 if the selection has changed.
1318 .Ss GtkFileChooserDialog
1320 .Cm GtkFileChooserDialog
1323 will be invoked by a
1326 .Sx GtkImageMenuItem
1328 .Ar foo Ns Cm _invoke .
1331 .Cm GtkFileChooserDialog
1338 if the dialog is the sole window of the GUI and therefore named
1343 .Cm GtkFileChooserDialog
1348 .Ar foo Ns Cm _cancel
1350 if the dialog is the sole window of the GUI and therefore named
1355 .Cm GtkFileChooserDialog
1360 .Ar foo Ns Cm _apply
1362 if the dialog is the sole window of the GUI and therefore named
1365 .Bl -tag -width "commands "
1367 .Qq Ar id Ns Cm :set_filename Ar path
1370 to the extent it exists.
1372 .Qq Ar id Ns Cm :set_current_name Ar string
1375 the suggested filename, which may not yet exist.
1377 should either resemble an absolute path, or the
1379 must be set separately by
1380 .Ar id Ns Cm :set_filename Ar directory .
1382 .Qq Ar id Ns Cm :set_title Ar string
1383 replaces the text in the title bar with
1386 .Qq Ar id Ns Cm :resize Bq Ar width height
1387 changes the size of the dialog window to
1391 pixels if specified, or to the default size.
1393 .Qq Ar id Ns Cm :move Ar x y
1394 moves the dialog window to position
1397 .Qq Ar id Ns Cm :fullscreen
1399 .Qq Ar id Ns Cm :unfullscreen
1400 switch fullscreen mode on and off.
1402 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1403 makes the dialog grayed out
1408 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1411 the dialog, or makes it visible
1414 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
1419 feedback messages form the dialog window.
1420 Initially, the widget is unblocked.
1422 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1423 sets the dialog window's tooltip.
1424 Default is disabling the tooltip.
1426 .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
1427 writes a snapshot of the widget to an image file of the specified
1430 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1431 sets the widget's minimum size to
1435 Default is the widget's natural size.
1439 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1441 sets the widget style.
1445 .Qq Ar id Ns Cm \&:file Ar pathname
1447 .Qq Ar id Ns Cm \&:folder Ar pathname
1449 .Qq Ar id Ns Cm \&:closed
1451 .Cm GtkFileChooserDialog
1452 window was closed by the window manager.
1455 .Bl -tag -width "commands "
1457 .Qq Ar id Ns Cm :set_font_name Ar fontname
1458 preselects the font.
1460 .Qq Ar id Ns Cm :grab_focus
1461 puts the keyboard focus onto the button.
1463 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1464 makes the button grayed out
1469 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1472 the button, or makes it visible
1475 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
1481 Initially, the button is unblocked.
1483 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1484 sets the button's tooltip.
1485 Default is disabling the tooltip.
1487 .Qq Ar id Ns Cm :force
1488 opens the dialog window.
1490 .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
1491 writes a snapshot of the button to an image file of the specified
1494 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1495 sets the button's minimum size to
1499 Default is the button's natural size.
1503 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1509 .Qq Ar id Ns Cm \&:font Ar fontname
1512 .Bl -tag -width "commands "
1514 .Qq Ar id Ns Cm :set_label Ar text
1515 replaces the frame label text with
1518 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1519 makes the frame and its content grayed out
1524 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1527 the frame, or makes it visible
1530 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1531 sets the frame's tooltip.
1532 Default is disabling the tooltip.
1534 .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
1535 writes a snapshot of the frame to an image file of the specified
1538 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1539 sets the widget's minimum size to
1543 Default is the frame's natural size.
1547 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1556 .Bl -tag -width "commands "
1558 .Qq Ar id Ns Cm :set_from_icon_name Ar icon-name
1559 replaces the image with one of the standard icons.
1561 .Qq Ar id Ns Cm :set_from_file Ar path
1562 replaces the image by the one found at
1565 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1568 the image, or makes it visible
1571 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1572 sets the image's tooltip.
1573 Default is disabling the tooltip.
1575 .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
1576 writes a snapshot of the image to an image file of the specified
1579 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1580 sets the images's minimum size to
1584 Default is the image's natural size.
1588 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1596 .Ss GtkImageMenuItem
1597 .Bl -tag -width "commands "
1599 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1600 makes the item grayed out
1605 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1608 the item, or makes it visible
1611 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
1617 Initially, the item is unblocked.
1619 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1620 sets the item's tooltip.
1621 Default is disabling the tooltip.
1623 .Qq Ar id Ns Cm :force
1624 simulates a click on the menu item.
1626 .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
1627 writes a snapshot of the menu item to an image file of the specified
1630 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1631 sets the item's minimum size to
1635 Default is the item's natural size.
1639 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1641 sets the item's style.
1648 .Cm GtkImageMenuItem
1650 .Ar foo Ns Cm _invoke
1654 .Sx GtkFileChooserDialog
1658 If there isn't any dialog attached to the
1661 .Qq Ar id Ns Cm \&:active Ar label .
1664 .Bl -tag -width "commands "
1666 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1667 makes the info bar grayed out
1672 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1675 the info bar, or makes it visible
1678 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1679 sets the info bar's tooltip.
1680 Default is disabling the tooltip.
1682 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1683 sets the info bar's minimum size to
1687 Default is the info bar's natural size.
1691 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1700 .Bl -tag -width "commands "
1702 .Qq Ar id Ns Cm :set_text Ar string
1703 replaces the label text with
1706 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1707 makes the label grayed out
1712 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1715 the label, or makes it visible
1718 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1719 sets the label's tooltip.
1720 Default is disabling the tooltip.
1722 .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
1723 writes a snapshot of the label to an image file of the specified
1726 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1727 sets the label's minimum size to
1731 Default is the natural size.
1735 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1737 sets the label's style.
1744 .Bl -tag -width "commands "
1746 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1747 makes the item grayed out
1752 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1755 the item, or makes it visible
1758 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
1764 Initially, the item is unblocked.
1766 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1767 sets the item's tooltip.
1768 Default is disabling the tooltip.
1770 .Qq Ar id Ns Cm :force
1771 simulates a click on the menu item.
1773 .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
1774 writes a snapshot of the menu item to an image file of the specified
1777 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1778 sets the item's minimum size to
1782 Default is the item's natural size.
1786 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1788 sets the item's style.
1795 .Cm GtkImageMenuItem
1797 .Ar foo Ns Cm _invoke
1801 .Sx GtkFileChooserDialog
1805 If there isn't any dialog attached to the
1808 .Qq Ar id Ns Cm \&:active Ar label .
1811 .Bl -tag -width "commands "
1813 .Qq Ar id Ns Cm :set_current_page Ar n
1814 switches to zero-based page number
1817 .Qq Ar id Ns Cm :grab_focus
1818 puts the keyboard focus onto the notebook.
1820 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1821 makes the notebook grayed out
1826 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1829 the notebook, or makes it visible
1832 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1833 sets the notebook's tooltip.
1834 Default is disabling the tooltip.
1836 .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
1837 writes a snapshot of the notebook to an image file of the specified
1840 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1841 sets the notebooks's minimum size to
1845 Default is the widget's natural size.
1849 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1851 sets the notebook's style.
1858 .Bl -tag -width "commands "
1860 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1861 makes the overlay grayed out
1866 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1869 the overlay, or makes it visible
1872 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1873 sets the overlay's tooltip.
1874 Default is disabling the tooltip.
1876 .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
1877 writes a snapshot of the overlay to an image file of the specified
1880 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1881 sets the overlay's minimum size to
1885 Default is the overlay's natural size.
1889 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1898 The main window can be turned into a
1900 and embedded into the XEmbed socket of another process; see
1904 .Ss GtkPrintUnixDialog
1905 .Bl -tag -width "commands "
1907 .Qq Ar id Ns Cm :print Ar file.ps
1908 opens the print dialog.
1913 to the printer the user selected in the dialog.
1915 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
1916 makes the dialog grayed out
1921 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1924 the dialog, or makes it visible
1927 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
1933 Initially, the dialog is unblocked.
1935 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1936 sets the dialog's tooltip.
1937 Default is disabling the tooltip.
1939 .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
1940 writes a snapshot of the dialog to an image file of the specified
1943 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1944 sets the dialog's minimum size to
1948 Default is the dialog's natural size.
1952 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
1954 sets the widget style.
1958 .Qq Ar id Ns Cm \&:closed
1960 .Cm GtkPrintUnixDialog
1961 window was closed by the window manager.
1964 .Bl -tag -width "commands "
1966 .Qq Ar id Ns Cm :set_fraction Ar x
1967 moves the progress bar to
1969 .Pq between 0 and 1 .
1971 .Qq Ar id Ns Cm :set_text Bq Ar string
1972 replaces the text of the progress bar with
1974 Default is the progress percentage.
1976 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
1979 the progress bar, or makes it visible
1982 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
1983 sets the tooltip of the progressbar.
1984 Default is disabling the tooltip.
1986 .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
1987 writes a snapshot of the progress bar to an image file of the
1990 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
1991 sets the minimum size of the progress bar to
1995 Default is the natural size.
1999 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2008 .Bl -tag -width "commands "
2010 .Qq Ar id Ns Cm :set_active 1
2011 switches the button on.
2012 All other buttons of the same group will go off automatically.
2014 .Qq Ar id Ns Cm :set_label Ar string
2015 replaces the button text with
2018 .Qq Ar id Ns Cm :grab_focus
2019 puts the keyboard focus onto the button.
2021 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2022 makes the button grayed out
2027 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2030 the button, or makes it visible
2033 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
2039 Initially, the button is unblocked.
2041 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2042 sets the button's tooltip.
2043 Default is disabling the tooltip.
2045 .Qq Ar id Ns Cm :force
2046 simulates a click on the button.
2048 .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
2049 writes a snapshot of the button to an image file of the specified
2052 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2053 sets the button's minimum size to
2057 Default is the button's natural size.
2061 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2067 .Qq Ar id Ns Cm \&:1
2069 .Qq Ar id Ns Cm \&:0
2073 .Bl -tag -width "commands "
2075 .Qq Ar id Ns Cm :set_value Ar x
2076 moves the slider to value
2079 .Qq Ar id Ns Cm :set_fill_level Bq Ar x
2080 moves the fill level indicator to value
2082 Default is hiding the fill level indicator.
2084 .Qq Ar id Ns Cm :set_range Ar min max
2087 .Qq Ar id Ns Cm :set_increments Ar step page
2088 sets the steps the slider moves while pressing arrow keys and
2090 .Pf / Ql Page_Down ,
2093 .Qq Ar id Ns Cm :grab_focus
2094 puts the keyboard focus onto the scale.
2096 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2097 makes the scale grayed out
2102 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2105 the scale, or makes it visible
2108 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
2114 Initially, the scale is unblocked.
2116 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2117 sets the scale's tooltip.
2118 Default is disabling the tooltip.
2120 .Qq Ar id Ns Cm :force
2121 simulates fresh selection of the current value.
2123 .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
2124 writes a snapshot of the scale to an image file of the specified
2127 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2128 sets the scale's minimum size to
2132 Default is the natural size.
2136 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2142 .Qq Ar id Ns Cm \&:value Ar number
2144 .Ss GtkScrolledWindow
2145 .Bl -tag -width "commands "
2147 .Qq Ar id Ns Cm :hscroll Ar position
2149 .Qq Ar id Ns Cm :vscroll Ar position
2152 to the left or top edge of the
2153 .Cm GtkScrolledWindow ,
2156 .Qq Ar id Ns Cm :hscroll_to_range Ar pos0 pos1
2158 .Qq Ar id Ns Cm :vscroll_to_range Ar pos0 pos1
2159 scroll, if necessary, the range between
2164 .Cm GtkScrolledWindow .
2165 If the range is greater than the window, the initial part of the range
2168 .Qq Ar id Ns Cm :grab_focus
2169 puts the keyboard focus onto the widget.
2171 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2172 makes the widget grayed out
2177 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2180 the widget, or makes it visible
2183 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2184 sets the widget's tooltip.
2185 Default is disabling the tooltip.
2187 .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
2188 writes a snapshot of the widget to an image file of the specified
2191 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2192 sets the minimum size to
2196 Default is the widget's natural size.
2200 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2209 .Bl -tag -width "commands "
2211 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2212 makes the separator insensitive
2217 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2218 sets the tooltip of the separator.
2219 Default is disabling the tooltip.
2221 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2224 the separator, or makes it visible
2227 .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
2228 writes a snapshot of the separator to an image file of the specified
2231 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2232 sets the minimum size to
2236 Default is the natural size of the separator.
2240 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2242 sets the widget style.
2248 .Ss GtkSeparatorMenuItem
2249 .Bl -tag -width "commands "
2251 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2252 makes the menu item insensitive
2257 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2260 the menu item, or makes it visible
2263 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2264 sets the tooltip of the menu item.
2265 Default is disabling the tooltip.
2267 .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
2268 writes a snapshot of the menu item to an image file of the specified
2271 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2272 sets the minimum size to
2276 Default is the natural size of the menu item.
2280 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2282 sets the widget style.
2290 may be unsupported by Glade, but its definition can be inserted
2291 manually into the GtkBuilder
2294 .Bd -literal -offset indent
2296 <object class="GtkSocket" id="socket1">
2297 <property name="visible">True</property>
2298 <property name="can_focus">True</property>
2301 <property name="expand">True</property>
2302 <property name="fill">True</property>
2303 <property name="position">1</property>
2307 .Bl -tag -width "commands "
2310 requests a feedback message containing the socket
2313 .Qq Ar id Ns Cm :grab_focus
2314 puts the keyboard focus onto the socket.
2316 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2317 makes the socket grayed out
2322 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2325 the socket, or makes it visible
2328 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2329 sets the socket's tooltip.
2330 Default is disabling the tooltip.
2331 .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
2332 writes a snapshot of the socket to an image file of the specified
2335 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2336 sets the socket's minimum size to
2340 Default is the socket's natural size.
2344 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2350 .Qq Ar id Ns Cm :id Ar xid
2351 can be used by another process to XEmbed its widgets into the
2354 .Qq Ar id Ns Cm \&:plug-added ,
2356 .Ar id Ns Cm \&:plug-removed
2358 Notification that the other process has inserted its widgets into or
2359 removed them from the
2363 .Bl -tag -width "commands "
2365 .Qq Ar id Ns Cm :set_text Ar string
2366 sets the selected value to
2369 .Qq Ar id Ns Cm :set_range Ar min max
2372 .Qq Ar id Ns Cm :set_increments Ar step page
2373 sets the steps the value changes while pressing arrow keys/left mouse
2376 .Pf / Ql Page_Down Ns
2377 /middle mouse button,
2380 .Qq Ar id Ns Cm :grab_focus
2381 puts the keyboard focus onto the button.
2383 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2384 makes the button grayed out
2389 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2392 the button, or makes it visible
2395 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
2401 Initially, the button is unblocked.
2403 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2404 sets the button's tooltip.
2405 Default is disabling the tooltip.
2407 .Qq Ar id Ns Cm :force
2408 simulates fresh selection of the current value
2410 .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
2411 writes a snapshot of the button to an image file of the specified
2414 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2415 sets the button's minimum size to
2419 Default is the widget's natural size.
2423 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2425 sets the button's style.
2429 .Qq Ar id Ns Cm \&:text Ar text
2432 .Bl -tag -width "commands "
2434 .Qq Ar id Ns Cm :start
2436 .Qq Ar id Ns Cm :stop
2437 start and stop the spinner.
2439 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2440 makes the spinner grayed out
2445 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2448 the spinner, or makes it visible
2451 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2452 sets the spinner's tooltip.
2453 Default is disabling the tooltip.
2455 .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
2456 writes a snapshot of the spinner to an image file of the specified
2459 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2460 sets the spinner's minimum size to
2464 Default is the natural size.
2468 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2477 The context parameter
2479 is an arbitrary non-whitespace string.
2480 .Bl -tag -width "commands "
2482 .Qq Ar id Ns Cm :push_id Ar c string ,
2483 .Qq Ar id Ns Cm :push Ar string
2486 with context parameter
2490 respectively, and display it in the statusbar.
2492 .Qq Ar id Ns Cm :pop_id Ar c ,
2493 .Qq Ar id Ns Cm :pop
2494 remove the latest entry associated with context parameter
2498 respectively, from the statusbar.
2500 .Qq Ar id Ns Cm :remove_all_id Ar c ,
2501 .Qq Ar id Ns Cm :remove_all
2502 remove the entries associated with context parameter
2506 respectively, from the statusbar.
2508 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2509 makes the statusbar grayed out
2514 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2517 the statusbar, or makes it visible
2520 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2521 sets the statusbar's tooltip.
2522 Default is disabling the tooltip.
2524 .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
2525 writes a snapshot of the statusbar to an image file of the specified
2528 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2529 sets the statusbar's minimum size to
2533 Default is the natural size.
2537 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2539 sets the statusbar's style.
2546 .Bl -tag -width "commands "
2548 .Qq Ar id Ns Cm :set_active Brq Cm 0 Ns | Ns Cm 1
2549 turns the switch off
2554 .Qq Ar id Ns Cm :grab_focus
2555 puts the keyboard focus onto the switch.
2557 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2558 makes the switch grayed out
2563 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2566 the switch, or makes it visible
2569 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
2575 Initially, the switch is unblocked.
2577 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2578 sets the tooltip of the switch.
2579 Default is disabling the tooltip.
2581 .Qq Ar id Ns Cm :force
2582 simulates a click on the switch.
2584 .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
2585 writes a snapshot of the switch to an image file of the specified
2588 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2589 sets the switch's minimum size to
2593 Default is the natural size.
2597 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2603 .Qq Ar id Ns Cm \&:1
2605 .Qq Ar id Ns Cm \&:0
2609 There should be a dedicated
2611 for sending (parts of) the text.
2619 .Ar foo Ns Cm _send_text
2620 will send the content of the
2625 .Ar foo Ns Cm _send_selection
2626 will send the highlighted part the
2628 .Bl -tag -width "commands "
2630 .Qq Ar id Ns Cm :set_text Ar string
2631 replaces the user-editable text with (potentially empty)
2634 .Qq Ar id Ns Cm :delete
2637 .Qq Ar id Ns Cm :insert_at_cursor Ar string
2642 .Qq Ar id Ns Cm :place_cursor Brq Ar position | Cm end
2643 places the text cursor at
2645 or at the end of the text.
2647 .Qq Ar id Ns Cm :place_cursor_at_line Ar line
2648 places the text cursor at the beginning of
2651 .Qq Ar id Ns Cm :scroll_to_cursor
2652 scrolls to the cursor position if necessary.
2654 .Qq Ar id Ns Cm :save Ar file
2659 command containing the text.
2661 .Qq Ar id Ns Cm :grab_focus
2662 puts the keyboard focus into the textview.
2664 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2665 makes the text view grayed out
2670 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2673 the text view, or makes it visible
2676 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2677 sets the tooltip of the text view.
2678 Default is disabling the tooltip.
2680 .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
2681 writes a snapshot of the text view to an image file of the specified
2684 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2685 sets the minimum size to
2689 Default is the natural size.
2693 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2699 .Qq Ar button_id Ns Cm \&:text Ar text ,
2707 and backslashes are replaced by
2711 .Bl -tag -width "commands "
2713 .Qq Ar id Ns Cm :set_active Brq Cm 0 Ns | Ns Cm 1
2714 switches the button off
2719 .Qq Ar id Ns Cm :set_label Ar string
2720 replaces the button text with
2723 .Qq Ar id Ns Cm :grab_focus
2724 puts the keyboard focus onto the button.
2726 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2727 makes the button grayed out
2732 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2735 the button, or makes it visible
2738 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
2744 Initially, the button is unblocked.
2746 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2747 sets the button's tooltip.
2748 Default is disabling the tooltip.
2750 .Qq Ar id Ns Cm :force
2751 simulates a click on the button.
2753 .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
2754 writes a snapshot of the button to an image file of the specified
2757 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2758 sets the button's minimum size to
2762 Default is the button's natural size.
2766 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2768 sets the button's style.
2772 .Qq Ar id Ns Cm \&:1
2774 .Qq Ar id Ns Cm \&:0
2779 can deal with columns of type
2780 .Cm gboolean , gint , guint , glong , gulong , gint64 , guint64 , gfloat , gdouble ,
2787 refer to the underlying model
2790 .Cm GtkTreeStore ) .
2792 is a sequence of one or more colon-separated integers, e.g.
2796 .Bl -tag -width "commands "
2798 .Qq Ar id Ns Cm :set Ar row column data
2799 replaces the content at
2803 (which should be compatible with the type of
2805 If necessary, new tree nodes are created to obtain the minimal tree
2806 structure needed to support
2809 .Qq Ar id Ns Cm :insert_row Brq Ar row Bo Cm as_child Bc | Cm end
2810 inserts a new, empty row; either as a sibling of
2816 or at the end of the list, respectively.
2818 .Qq Ar id Ns Cm :move_row Ar origin Brq Ar destination | Cm end
2821 within its current level to
2825 .Qq Ar id Ns Cm :remove_row Ar row
2826 removes the row at position
2829 .Qq Ar id Ns Cm :clear
2832 .Qq Ar id Ns Cm :expand Ar row
2833 expands one level of the subtree below
2836 .Qq Ar id Ns Cm :expand_all Bq Ar row
2837 expands the subtree below
2841 .Qq Ar id Ns Cm :collapse Bq Ar row
2842 collapses the subtree below
2846 .Qq Ar id Ns Cm :set_cursor Bq Ar row
2851 .Qq Ar id Ns Cm :scroll Ar row column
2856 .Qq Ar id Ns Cm :save Ar file
2857 stores the content of the underlying model as a sequence of
2862 .Qq Ar id Ns Cm :grab_focus
2863 puts the keyboard focus onto the tree view.
2865 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2866 makes the tree view grayed out
2871 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2874 the tree view, or makes it visible
2877 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
2882 .Cm GtkTreeSelection
2889 Initially, the widget is unblocked.
2891 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2892 sets the tooltip of the tree view.
2893 Default is disabling the tooltip.
2895 .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
2896 writes a snapshot of the tree view to an image file of the specified
2899 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2900 sets the minimum size of the tree view to
2904 Default is the widget's natural size.
2908 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2914 .Qq Ar id Ns Cm \&:clicked
2916 .Qq Ar id Ns Cm \&: Ns Ar column_type row column value ,
2917 one message per cell in the underlying model for each selected row; or
2919 .Qq Ar id Ns Cm \&: Ns Ar column_type row column new_value ,
2924 .Ss GtkTreeViewColumn
2925 .Bl -tag -width "commands "
2927 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
2933 Initially, the widget is unblocked.
2935 .Qq Ar id Ns Cm \&:clicked
2938 .Bl -tag -width "commands "
2940 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
2941 makes the viewport insensitive
2946 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
2949 the viewport, or makes it visible
2952 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
2953 sets the tooltip of the viewport.
2954 Default is disabling the tooltip.
2956 .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
2957 writes a snapshot of the viewport to an image file of the specified
2960 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
2961 sets the minimum size to
2965 Default is the natural size of the viewport.
2969 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
2971 sets the widget style.
2978 .Bl -tag -width "commands "
2980 .Qq Ar id Ns Cm :set_title Ar string
2981 replaces the text in the title bar with
2984 .Qq Ar id Ns Cm :resize Bq Ar width height
2985 changes the window size to
2989 pixels if specified, or to the default size.
2991 .Qq Ar id Ns Cm :move Ar x y
2992 moves the window to position
2995 .Qq Ar id Ns Cm :fullscreen
2997 .Qq Ar id Ns Cm :unfullscreen
2998 switch fullscreen mode on and off.
3000 .Qq Ar id Ns Cm :set_sensitive Brq Cm 0 Ns | Ns Cm 1
3001 makes the widget grayed out
3006 .Qq Ar id Ns Cm :set_visible Brq Cm 0 Ns | Ns Cm 1
3009 the widget, or makes it visible
3012 .Qq Ar id Ns Cm :block Brq Cm 0 Ns | Ns Cm 1
3018 Initially, the widget is unblocked.
3020 .Qq Ar id Ns Cm :set_tooltip_text Bq Ar text
3021 sets the window's tooltip.
3022 Default is disabling the tooltip.
3023 .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
3024 writes a snapshot of the window to an image file of the specified
3027 .Qq Ar id Ns Cm :set_size_request Bq Ar width height
3028 sets the window's minimum size to
3032 Default is the widget's natural size.
3036 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
3042 .Qq Ar id Ns Cm \&:closed
3045 was closed by the window manager.
3051 .Bo Ar prop Ns Cm \&: Ns Ar val Ns Bo Cm \&; Ar prop Ns Cm \&: Ns Ar val ... Bc Bc
3055 of the widget style to
3057 Properties not explicitly specified are reset to their default values.
3059 .Bl -dash -offset indent -compact
3061 .Ql label1:style font:Bold 11; background-color:green
3063 .Ql label1:style font-style:italic; font-weight:bold; color:blue
3065 .Ql frame1:style border-color:red yellow; border-width:5px
3067 .Ql frame1:style border-radius:10px; transition:10s
3069 For a description of possible color notations see
3074 .Bl -dash -offset indent -compact
3076 a standard X11 color name, like
3077 .Ql Dark Sea Green ,
3079 a hexadecimal value in the form
3080 .Cm # Ns Ar rgb , Cm # Ns Ar rrggbb , Cm # Ns Ar rrrgggbbb ,
3082 .Cm # Ns Ar rrrrggggbbbb ,
3084 an RGB color in the form
3085 .Cm rgb( Ns Ar red Ns Cm \&, Ns Ar green Ns Cm \&, Ns Ar blue Ns Cm \&) ,
3088 an RGBA color in the form
3089 .Cm rgba( Ns Ar red Ns Cm \&, Ns Ar green Ns Cm \&, Ns
3090 .Ar blue Ns Cm \&, Ns Ar alpha Ns Cm \&) .
3095 .Ss Discovering Pipeglade Interactively
3096 Suppose the interface in
3099 .Sx GtkLabel Ql label1
3101 .Sx GtkButton Ql button1 .
3107 .Sx GtkButton , Ql button1:clicked
3108 will be reported on the terminal.
3111 .Dl label1:set_text The Button
3113 will change the text shown on the label into
3115 .Ss One-Shot File Dialog
3116 Suppose the interface in
3117 .Pa ./simple_open.ui
3119 .Sx GtkFileChooserDialog
3127 .Dl pipeglade -u simple_open.ui
3129 will open the dialog; pressing
3131 will close it after sending the selected filename to
3133 .Ss One-Shot User Notification
3135 .Pa ./simple_dialog.ui
3137 .Sx GtkLabel Ql label1 ,
3139 .Bd -literal -offset indent
3140 pipeglade -u simple_dialog.ui <<< \e
3141 "label1:set_text NOW READ THIS!"
3143 will set the label text accordingly and wait for user input.
3144 .Ss Continuous Input
3145 The following shell command displays a running clock:
3146 .Bd -literal -offset indent
3148 echo "label1:set_text `date`";
3150 done | pipeglade -u simple_dialog.ui
3152 .Ss Continuous Input and Output
3153 The following shell script fragment sets up
3155 for continuous communication with another program,
3157 .Bd -literal -offset indent
3158 pipeglade -i in.fifo -o out.fifo -b
3159 main_prog <out.fifo >in.fifo
3172 .An Bert Burgemeister
3173 .Aq Mt trebbu@googlemail.com .
3175 Due to what appears to be a bug in cairo v1.14.0,
3177 used with this library version occasionally crashes on