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