]> Pileus Git - ~andy/gtk/blob - docs/reference/gtk/tmpl/gtkstyle.sgml
Set the width of the layout to the actual wrap width (our requisition) not
[~andy/gtk] / docs / reference / gtk / tmpl / gtkstyle.sgml
1 <!-- ##### SECTION Title ##### -->
2 Styles
3
4 <!-- ##### SECTION Short_Description ##### -->
5
6
7 <!-- ##### SECTION Long_Description ##### -->
8 <para>
9
10 </para>
11
12 <!-- ##### SECTION See_Also ##### -->
13 <para>
14
15 </para>
16
17 <!-- ##### MACRO GTK_STYLE_ATTACHED ##### -->
18 <para>
19 Returns whether the style is attached to a window.
20 </para>
21
22 @style: a #GtkStyle.
23
24
25 <!-- ##### STRUCT GtkStyle ##### -->
26 <para>
27
28 </para>
29
30 @fg: 
31 @bg: 
32 @light: 
33 @dark: 
34 @mid: 
35 @text: 
36 @base: 
37 @text_aa: 
38 @black: 
39 @white: 
40 @font_desc: 
41 @xthickness: 
42 @ythickness: 
43 @fg_gc: 
44 @bg_gc: 
45 @light_gc: 
46 @dark_gc: 
47 @mid_gc: 
48 @text_gc: 
49 @base_gc: 
50 @text_aa_gc: 
51 @black_gc: 
52 @white_gc: 
53 @bg_pixmap: 
54
55 <!-- ##### FUNCTION gtk_style_new ##### -->
56 <para>
57
58 </para>
59
60 @Returns: 
61
62
63 <!-- ##### FUNCTION gtk_style_copy ##### -->
64 <para>
65
66 </para>
67
68 @style: 
69 @Returns: 
70
71
72 <!-- ##### FUNCTION gtk_style_attach ##### -->
73 <para>
74
75 </para>
76
77 @style: 
78 @window: 
79 @Returns: 
80
81
82 <!-- ##### FUNCTION gtk_style_detach ##### -->
83 <para>
84
85 </para>
86
87 @style: 
88
89
90 <!-- ##### FUNCTION gtk_style_ref ##### -->
91 <para>
92
93 </para>
94
95 @style: 
96 @Returns: 
97
98
99 <!-- ##### FUNCTION gtk_style_unref ##### -->
100 <para>
101
102 </para>
103
104 @style: 
105
106
107 <!-- ##### FUNCTION gtk_style_set_background ##### -->
108 <para>
109
110 </para>
111
112 @style: 
113 @window: 
114 @state_type: 
115
116
117 <!-- ##### FUNCTION gtk_style_apply_default_background ##### -->
118 <para>
119
120 </para>
121
122 @style: 
123 @window: 
124 @set_bg: 
125 @state_type: 
126 @area: 
127 @x: 
128 @y: 
129 @width: 
130 @height: 
131
132
133 <!-- ##### MACRO gtk_style_apply_default_pixmap ##### -->
134 <para>
135
136 </para>
137
138 @s: 
139 @gw: 
140 @st: 
141 @a: 
142 @x: 
143 @y: 
144 @w: 
145 @h: 
146
147
148 <!-- ##### FUNCTION gtk_style_lookup_icon_set ##### -->
149 <para>
150
151 </para>
152
153 @style: 
154 @stock_id: 
155 @Returns: 
156
157
158 <!-- ##### FUNCTION gtk_style_render_icon ##### -->
159 <para>
160
161 </para>
162
163 @style: 
164 @source: 
165 @direction: 
166 @state: 
167 @size: 
168 @widget: 
169 @detail: 
170 @Returns: 
171
172
173 <!-- ##### FUNCTION gtk_style_get_font ##### -->
174 <para>
175
176 </para>
177
178 @style: 
179 @Returns: 
180
181
182 <!-- ##### FUNCTION gtk_style_get_font_for_display ##### -->
183 <para>
184
185 </para>
186
187 @display: 
188 @style: 
189 @Returns: 
190
191
192 <!-- ##### FUNCTION gtk_style_set_font ##### -->
193 <para>
194
195 </para>
196
197 @style: 
198 @font: 
199
200
201 <!-- ##### FUNCTION gtk_draw_hline ##### -->
202 <para>
203
204 </para>
205
206 @style: 
207 @window: 
208 @state_type: 
209 @x1: 
210 @x2: 
211 @y: 
212
213
214 <!-- ##### FUNCTION gtk_draw_vline ##### -->
215 <para>
216
217 </para>
218
219 @style: 
220 @window: 
221 @state_type: 
222 @y1: 
223 @y2: 
224 @x: 
225
226
227 <!-- ##### FUNCTION gtk_draw_shadow ##### -->
228 <para>
229
230 </para>
231
232 @style: 
233 @window: 
234 @state_type: 
235 @shadow_type: 
236 @x: 
237 @y: 
238 @width: 
239 @height: 
240
241
242 <!-- ##### FUNCTION gtk_draw_polygon ##### -->
243 <para>
244
245 </para>
246
247 @style: 
248 @window: 
249 @state_type: 
250 @shadow_type: 
251 @points: 
252 @npoints: 
253 @fill: 
254
255
256 <!-- ##### FUNCTION gtk_draw_arrow ##### -->
257 <para>
258
259 </para>
260
261 @style: 
262 @window: 
263 @state_type: 
264 @shadow_type: 
265 @arrow_type: 
266 @fill: 
267 @x: 
268 @y: 
269 @width: 
270 @height: 
271
272
273 <!-- ##### FUNCTION gtk_draw_diamond ##### -->
274 <para>
275
276 </para>
277
278 @style: 
279 @window: 
280 @state_type: 
281 @shadow_type: 
282 @x: 
283 @y: 
284 @width: 
285 @height: 
286
287
288 <!-- ##### FUNCTION gtk_draw_string ##### -->
289 <para>
290
291 </para>
292
293 @style: 
294 @window: 
295 @state_type: 
296 @x: 
297 @y: 
298 @string: 
299
300
301 <!-- ##### FUNCTION gtk_draw_box ##### -->
302 <para>
303
304 </para>
305
306 @style: 
307 @window: 
308 @state_type: 
309 @shadow_type: 
310 @x: 
311 @y: 
312 @width: 
313 @height: 
314
315
316 <!-- ##### FUNCTION gtk_draw_box_gap ##### -->
317 <para>
318
319 </para>
320
321 @style: 
322 @window: 
323 @state_type: 
324 @shadow_type: 
325 @x: 
326 @y: 
327 @width: 
328 @height: 
329 @gap_side: 
330 @gap_x: 
331 @gap_width: 
332
333
334 <!-- ##### FUNCTION gtk_draw_check ##### -->
335 <para>
336
337 </para>
338
339 @style: 
340 @window: 
341 @state_type: 
342 @shadow_type: 
343 @x: 
344 @y: 
345 @width: 
346 @height: 
347
348
349 <!-- ##### FUNCTION gtk_draw_extension ##### -->
350 <para>
351
352 </para>
353
354 @style: 
355 @window: 
356 @state_type: 
357 @shadow_type: 
358 @x: 
359 @y: 
360 @width: 
361 @height: 
362 @gap_side: 
363
364
365 <!-- ##### FUNCTION gtk_draw_flat_box ##### -->
366 <para>
367
368 </para>
369
370 @style: 
371 @window: 
372 @state_type: 
373 @shadow_type: 
374 @x: 
375 @y: 
376 @width: 
377 @height: 
378
379
380 <!-- ##### FUNCTION gtk_draw_focus ##### -->
381 <para>
382
383 </para>
384
385 @style: 
386 @window: 
387 @x: 
388 @y: 
389 @width: 
390 @height: 
391
392
393 <!-- ##### FUNCTION gtk_draw_handle ##### -->
394 <para>
395
396 </para>
397
398 @style: 
399 @window: 
400 @state_type: 
401 @shadow_type: 
402 @x: 
403 @y: 
404 @width: 
405 @height: 
406 @orientation: 
407
408
409 <!-- ##### FUNCTION gtk_draw_option ##### -->
410 <para>
411
412 </para>
413
414 @style: 
415 @window: 
416 @state_type: 
417 @shadow_type: 
418 @x: 
419 @y: 
420 @width: 
421 @height: 
422
423
424 <!-- ##### FUNCTION gtk_draw_shadow_gap ##### -->
425 <para>
426
427 </para>
428
429 @style: 
430 @window: 
431 @state_type: 
432 @shadow_type: 
433 @x: 
434 @y: 
435 @width: 
436 @height: 
437 @gap_side: 
438 @gap_x: 
439 @gap_width: 
440
441
442 <!-- ##### FUNCTION gtk_draw_slider ##### -->
443 <para>
444
445 </para>
446
447 @style: 
448 @window: 
449 @state_type: 
450 @shadow_type: 
451 @x: 
452 @y: 
453 @width: 
454 @height: 
455 @orientation: 
456
457
458 <!-- ##### FUNCTION gtk_draw_tab ##### -->
459 <para>
460
461 </para>
462
463 @style: 
464 @window: 
465 @state_type: 
466 @shadow_type: 
467 @x: 
468 @y: 
469 @width: 
470 @height: 
471
472
473 <!-- ##### FUNCTION gtk_draw_expander ##### -->
474 <para>
475
476 </para>
477
478 @style: 
479 @window: 
480 @state_type: 
481 @x: 
482 @y: 
483 @expander_style: 
484 <!-- # Unused Parameters # -->
485 @is_open: 
486
487
488 <!-- ##### FUNCTION gtk_draw_layout ##### -->
489 <para>
490
491 </para>
492
493 @style: 
494 @window: 
495 @state_type: 
496 @use_text: 
497 @x: 
498 @y: 
499 @layout: 
500
501
502 <!-- ##### FUNCTION gtk_draw_resize_grip ##### -->
503 <para>
504
505 </para>
506
507 @style: 
508 @window: 
509 @state_type: 
510 @edge: 
511 @x: 
512 @y: 
513 @width: 
514 @height: 
515
516
517 <!-- ##### FUNCTION gtk_paint_arrow ##### -->
518 <para>
519
520 </para>
521
522 @style: 
523 @window: 
524 @state_type: 
525 @shadow_type: 
526 @area: 
527 @widget: 
528 @detail: 
529 @arrow_type: 
530 @fill: 
531 @x: 
532 @y: 
533 @width: 
534 @height: 
535
536
537 <!-- ##### FUNCTION gtk_paint_box ##### -->
538 <para>
539
540 </para>
541
542 @style: 
543 @window: 
544 @state_type: 
545 @shadow_type: 
546 @area: 
547 @widget: 
548 @detail: 
549 @x: 
550 @y: 
551 @width: 
552 @height: 
553
554
555 <!-- ##### FUNCTION gtk_paint_box_gap ##### -->
556 <para>
557
558 </para>
559
560 @style: 
561 @window: 
562 @state_type: 
563 @shadow_type: 
564 @area: 
565 @widget: 
566 @detail: 
567 @x: 
568 @y: 
569 @width: 
570 @height: 
571 @gap_side: 
572 @gap_x: 
573 @gap_width: 
574
575
576 <!-- ##### FUNCTION gtk_paint_check ##### -->
577 <para>
578
579 </para>
580
581 @style: 
582 @window: 
583 @state_type: 
584 @shadow_type: 
585 @area: 
586 @widget: 
587 @detail: 
588 @x: 
589 @y: 
590 @width: 
591 @height: 
592
593
594 <!-- ##### FUNCTION gtk_paint_diamond ##### -->
595 <para>
596
597 </para>
598
599 @style: 
600 @window: 
601 @state_type: 
602 @shadow_type: 
603 @area: 
604 @widget: 
605 @detail: 
606 @x: 
607 @y: 
608 @width: 
609 @height: 
610
611
612 <!-- ##### FUNCTION gtk_paint_extension ##### -->
613 <para>
614
615 </para>
616
617 @style: 
618 @window: 
619 @state_type: 
620 @shadow_type: 
621 @area: 
622 @widget: 
623 @detail: 
624 @x: 
625 @y: 
626 @width: 
627 @height: 
628 @gap_side: 
629
630
631 <!-- ##### FUNCTION gtk_paint_flat_box ##### -->
632 <para>
633
634 </para>
635
636 @style: 
637 @window: 
638 @state_type: 
639 @shadow_type: 
640 @area: 
641 @widget: 
642 @detail: 
643 @x: 
644 @y: 
645 @width: 
646 @height: 
647
648
649 <!-- ##### FUNCTION gtk_paint_focus ##### -->
650 <para>
651
652 </para>
653
654 @style: 
655 @window: 
656 @state_type: 
657 @area: 
658 @widget: 
659 @detail: 
660 @x: 
661 @y: 
662 @width: 
663 @height: 
664
665
666 <!-- ##### FUNCTION gtk_paint_handle ##### -->
667 <para>
668
669 </para>
670
671 @style: 
672 @window: 
673 @state_type: 
674 @shadow_type: 
675 @area: 
676 @widget: 
677 @detail: 
678 @x: 
679 @y: 
680 @width: 
681 @height: 
682 @orientation: 
683
684
685 <!-- ##### FUNCTION gtk_paint_hline ##### -->
686 <para>
687
688 </para>
689
690 @style: 
691 @window: 
692 @state_type: 
693 @area: 
694 @widget: 
695 @detail: 
696 @x1: 
697 @x2: 
698 @y: 
699
700
701 <!-- ##### FUNCTION gtk_paint_option ##### -->
702 <para>
703
704 </para>
705
706 @style: 
707 @window: 
708 @state_type: 
709 @shadow_type: 
710 @area: 
711 @widget: 
712 @detail: 
713 @x: 
714 @y: 
715 @width: 
716 @height: 
717
718
719 <!-- ##### FUNCTION gtk_paint_polygon ##### -->
720 <para>
721
722 </para>
723
724 @style: 
725 @window: 
726 @state_type: 
727 @shadow_type: 
728 @area: 
729 @widget: 
730 @detail: 
731 @points: 
732 @npoints: 
733 @fill: 
734
735
736 <!-- ##### FUNCTION gtk_paint_shadow ##### -->
737 <para>
738
739 </para>
740
741 @style: 
742 @window: 
743 @state_type: 
744 @shadow_type: 
745 @area: 
746 @widget: 
747 @detail: 
748 @x: 
749 @y: 
750 @width: 
751 @height: 
752
753
754 <!-- ##### FUNCTION gtk_paint_shadow_gap ##### -->
755 <para>
756
757 </para>
758
759 @style: 
760 @window: 
761 @state_type: 
762 @shadow_type: 
763 @area: 
764 @widget: 
765 @detail: 
766 @x: 
767 @y: 
768 @width: 
769 @height: 
770 @gap_side: 
771 @gap_x: 
772 @gap_width: 
773
774
775 <!-- ##### FUNCTION gtk_paint_slider ##### -->
776 <para>
777
778 </para>
779
780 @style: 
781 @window: 
782 @state_type: 
783 @shadow_type: 
784 @area: 
785 @widget: 
786 @detail: 
787 @x: 
788 @y: 
789 @width: 
790 @height: 
791 @orientation: 
792
793
794 <!-- ##### FUNCTION gtk_paint_string ##### -->
795 <para>
796
797 </para>
798
799 @style: 
800 @window: 
801 @state_type: 
802 @area: 
803 @widget: 
804 @detail: 
805 @x: 
806 @y: 
807 @string: 
808
809
810 <!-- ##### FUNCTION gtk_paint_tab ##### -->
811 <para>
812
813 </para>
814
815 @style: 
816 @window: 
817 @state_type: 
818 @shadow_type: 
819 @area: 
820 @widget: 
821 @detail: 
822 @x: 
823 @y: 
824 @width: 
825 @height: 
826
827
828 <!-- ##### FUNCTION gtk_paint_vline ##### -->
829 <para>
830
831 </para>
832
833 @style: 
834 @window: 
835 @state_type: 
836 @area: 
837 @widget: 
838 @detail: 
839 @y1: 
840 @y2: 
841 @x: 
842
843
844 <!-- ##### FUNCTION gtk_paint_expander ##### -->
845 <para>
846
847 </para>
848
849 @style: 
850 @window: 
851 @state_type: 
852 @area: 
853 @widget: 
854 @detail: 
855 @x: 
856 @y: 
857 @expander_style: 
858 <!-- # Unused Parameters # -->
859 @is_open: 
860
861
862 <!-- ##### FUNCTION gtk_paint_layout ##### -->
863 <para>
864
865 </para>
866
867 @style: 
868 @window: 
869 @state_type: 
870 @use_text: 
871 @area: 
872 @widget: 
873 @detail: 
874 @x: 
875 @y: 
876 @layout: 
877
878
879 <!-- ##### FUNCTION gtk_paint_resize_grip ##### -->
880 <para>
881
882 </para>
883
884 @style: 
885 @window: 
886 @state_type: 
887 @area: 
888 @widget: 
889 @detail: 
890 @edge: 
891 @x: 
892 @y: 
893 @width: 
894 @height: 
895
896
897 <!-- ##### STRUCT GtkBorder ##### -->
898 <para>
899
900 </para>
901
902 @left: 
903 @right: 
904 @top: 
905 @bottom: 
906
907 <!-- ##### FUNCTION gtk_border_copy ##### -->
908 <para>
909
910 </para>
911
912 @border: 
913 @Returns: 
914
915
916 <!-- ##### FUNCTION gtk_border_free ##### -->
917 <para>
918
919 </para>
920
921 @border: 
922
923
924 <!-- ##### STRUCT GtkRcProperty ##### -->
925 <para>
926
927 </para>
928
929 @type_name: 
930 @property_name: 
931 @origin: 
932 @value: 
933
934 <!-- ##### USER_FUNCTION GtkRcPropertyParser ##### -->
935 <para>
936
937 </para>
938
939 @pspec: 
940 @rc_string: 
941 @property_value: 
942 @Returns: 
943
944