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