⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.10
Server IP:
157.245.101.34
Server:
Linux skvinfotech-website 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
doc
/
libglib2.0-doc
/
gio
/
View File Name :
GFileIcon.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>GFileIcon: GIO Reference Manual</title> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="GIO Reference Manual"> <link rel="up" href="icons.html" title="Icons"> <link rel="prev" href="GIcon.html" title="GIcon"> <link rel="next" href="GBytesIcon.html" title="GBytesIcon"> <meta name="generator" content="GTK-Doc V1.32 (XML mode)"> <link rel="stylesheet" href="style.css" type="text/css"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> <td width="100%" align="left" class="shortcuts"> <a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> <a href="#GFileIcon.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> <a href="#GFileIcon.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span> <a href="#GFileIcon.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties"> <span class="dim">|</span> <a href="#GFileIcon.properties" class="shortcut">Properties</a></span> </td> <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> <td><a accesskey="u" href="icons.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> <td><a accesskey="p" href="GIcon.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> <td><a accesskey="n" href="GBytesIcon.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> </tr></table> <div class="refentry"> <a name="GFileIcon"></a><div class="titlepage"></div> <div class="refnamediv"><table width="100%"><tr> <td valign="top"> <h2><span class="refentrytitle"><a name="GFileIcon.top_of_page"></a>GFileIcon</span></h2> <p>GFileIcon — Icons pointing to an image file</p> </td> <td class="gallery_image" valign="top" align="right"></td> </tr></table></div> <div class="refsect1"> <a name="GFileIcon.functions"></a><h2>Functions</h2> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="functions_proto_type"> <col class="functions_proto_name"> </colgroup> <tbody> <tr> <td class="function_type"> <a class="link" href="GIcon.html" title="GIcon"><span class="returnvalue">GIcon</span></a> * </td> <td class="function_name"> <a class="link" href="GFileIcon.html#g-file-icon-new" title="g_file_icon_new ()">g_file_icon_new</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="GFile.html" title="GFile"><span class="returnvalue">GFile</span></a> * </td> <td class="function_name"> <a class="link" href="GFileIcon.html#g-file-icon-get-file" title="g_file_icon_get_file ()">g_file_icon_get_file</a> <span class="c_punctuation">()</span> </td> </tr> </tbody> </table></div> </div> <div class="refsect1"> <a name="GFileIcon.properties"></a><h2>Properties</h2> <div class="informaltable"><table class="informaltable" border="0"> <colgroup> <col width="150px" class="properties_type"> <col width="300px" class="properties_name"> <col width="200px" class="properties_flags"> </colgroup> <tbody><tr> <td class="property_type"> <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> *</td> <td class="property_name"><a class="link" href="GFileIcon.html#GFileIcon--file" title="The “file” property">file</a></td> <td class="property_flags">Read / Write / Construct Only</td> </tr></tbody> </table></div> </div> <div class="refsect1"> <a name="GFileIcon.other"></a><h2>Types and Values</h2> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="other_proto_type"> <col class="other_proto_name"> </colgroup> <tbody><tr> <td class="datatype_keyword"> </td> <td class="function_name"><a class="link" href="GFileIcon.html#GFileIcon-struct" title="GFileIcon">GFileIcon</a></td> </tr></tbody> </table></div> </div> <div class="refsect1"> <a name="GFileIcon.object-hierarchy"></a><h2>Object Hierarchy</h2> <pre class="screen"> GObject <span class="lineart">╰──</span> GFileIcon </pre> </div> <div class="refsect1"> <a name="GFileIcon.implemented-interfaces"></a><h2>Implemented Interfaces</h2> <p> GFileIcon implements <a class="link" href="GIcon.html" title="GIcon">GIcon</a> and <a class="link" href="GLoadableIcon.html" title="GLoadableIcon">GLoadableIcon</a>.</p> </div> <div class="refsect1"> <a name="GFileIcon.includes"></a><h2>Includes</h2> <pre class="synopsis">#include <gio/gio.h> </pre> </div> <div class="refsect1"> <a name="GFileIcon.description"></a><h2>Description</h2> <p><a class="link" href="GFileIcon.html" title="GFileIcon"><span class="type">GFileIcon</span></a> specifies an icon by pointing to an image file to be used as icon.</p> </div> <div class="refsect1"> <a name="GFileIcon.functions_details"></a><h2>Functions</h2> <div class="refsect2"> <a name="g-file-icon-new"></a><h3>g_file_icon_new ()</h3> <pre class="programlisting"><a class="link" href="GIcon.html" title="GIcon"><span class="returnvalue">GIcon</span></a> * g_file_icon_new (<em class="parameter"><code><a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> *file</code></em>);</pre> <p>Creates a new icon for a file.</p> <div class="refsect3"> <a name="g-file-icon-new.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>file</p></td> <td class="parameter_description"><p>a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-file-icon-new.returns"></a><h4>Returns</h4> <p>a <a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a> for the given <em class="parameter"><code>file</code></em> , or <code class="literal">NULL</code> on error. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GFileIcon]</span></p> </div> </div> <hr> <div class="refsect2"> <a name="g-file-icon-get-file"></a><h3>g_file_icon_get_file ()</h3> <pre class="programlisting"><a class="link" href="GFile.html" title="GFile"><span class="returnvalue">GFile</span></a> * g_file_icon_get_file (<em class="parameter"><code><a class="link" href="GFileIcon.html" title="GFileIcon"><span class="type">GFileIcon</span></a> *icon</code></em>);</pre> <p>Gets the <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> associated with the given <em class="parameter"><code>icon</code></em> .</p> <div class="refsect3"> <a name="g-file-icon-get-file.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>icon</p></td> <td class="parameter_description"><p>a <a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="g-file-icon-get-file.returns"></a><h4>Returns</h4> <p>a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>, or <code class="literal">NULL</code>. </p> <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p> </div> </div> </div> <div class="refsect1"> <a name="GFileIcon.other_details"></a><h2>Types and Values</h2> <div class="refsect2"> <a name="GFileIcon-struct"></a><h3>GFileIcon</h3> <pre class="programlisting">typedef struct _GFileIcon GFileIcon;</pre> <p>Gets an icon for a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>. Implements <a class="link" href="GLoadableIcon.html" title="GLoadableIcon"><span class="type">GLoadableIcon</span></a>.</p> </div> </div> <div class="refsect1"> <a name="GFileIcon.property-details"></a><h2>Property Details</h2> <div class="refsect2"> <a name="GFileIcon--file"></a><h3>The <code class="literal">“file”</code> property</h3> <pre class="programlisting"> “file” <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> *</pre> <p>The file containing the icon.</p> <p>Owner: GFileIcon</p> <p>Flags: Read / Write / Construct Only</p> </div> </div> <div class="refsect1"> <a name="GFileIcon.see-also"></a><h2>See Also</h2> <p><a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a>, <a class="link" href="GLoadableIcon.html" title="GLoadableIcon"><span class="type">GLoadableIcon</span></a></p> </div> </div> <div class="footer"> <hr>Generated by GTK-Doc V1.32</div> </body> </html>