\hypertarget{group__Evas__Object__Group__Size__Hints}{\section{Size Hints}
\label{group__Evas__Object__Group__Size__Hints}\index{Size Hints@{Size Hints}}
}


Objects may carry hints, so that another object that acts as a manager (see \hyperlink{group__Evas__Smart__Object__Group}{Smart Object Functions}) may know how to properly position and resize its subordinate objects.  


\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{group__Evas__Object__Group__Size__Hints_ga3f7c33bc1dd416c71cbddf6988ca847f}{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-min\-\_\-set}(w, h)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-M\-I\-N\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, w), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, h)
\item 
\#define \hyperlink{group__Evas__Object__Group__Size__Hints_ga2f457becb5a1e09c4ebdaa6a0da9342b}{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-min\-\_\-get}(w, h)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-M\-I\-N\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, w), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, h)
\item 
\#define \hyperlink{group__Evas__Object__Group__Size__Hints_ga28698793372946b5da0d546f2e592753}{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-max\-\_\-set}(w, h)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-M\-A\-X\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, w), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, h)
\item 
\#define \hyperlink{group__Evas__Object__Group__Size__Hints_ga3f2b2a79d803287c383ca5ee4c34ef75}{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-max\-\_\-get}(w, h)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-M\-A\-X\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, w), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, h)
\item 
\#define \hyperlink{group__Evas__Object__Group__Size__Hints_ga5c5da48210d1d1ae97d687c580f4a2d2}{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-request\-\_\-set}(w, h)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-R\-E\-Q\-U\-E\-S\-T\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, w), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, h)
\item 
\#define \hyperlink{group__Evas__Object__Group__Size__Hints_ga7c6b9f0585b92c3dd2dac3824a75d431}{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-request\-\_\-get}(w, h)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-R\-E\-Q\-U\-E\-S\-T\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, w), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, h)
\item 
\#define \hyperlink{group__Evas__Object__Group__Size__Hints_gab30c800ea7b8269d5e681f4ee02130f0}{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-set}(aspect, w, h)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-A\-S\-P\-E\-C\-T\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(\hyperlink{Evas__Common_8h_a632ab4ce7efb20da04d34a4f8bbcef3d}{Evas\-\_\-\-Aspect\-\_\-\-Control}, aspect), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, w), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, h)
\item 
\#define \hyperlink{group__Evas__Object__Group__Size__Hints_ga941eb4538d66f488e0e915b1f833333c}{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-get}(aspect, w, h)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-A\-S\-P\-E\-C\-T\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(\hyperlink{Evas__Common_8h_a632ab4ce7efb20da04d34a4f8bbcef3d}{Evas\-\_\-\-Aspect\-\_\-\-Control} $\ast$, aspect), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, w), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, h)
\item 
\#define \hyperlink{group__Evas__Object__Group__Size__Hints_ga1ca1ede74ef1d6bbbca82fe95b00545f}{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-align\-\_\-set}(x, y)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-A\-L\-I\-G\-N\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(double, x), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(double, y)
\item 
\#define \hyperlink{group__Evas__Object__Group__Size__Hints_ga5576c35b575aee4ba418726be7651340}{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-align\-\_\-get}(x, y)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-A\-L\-I\-G\-N\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(double $\ast$, x), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(double $\ast$, y)
\item 
\#define \hyperlink{group__Evas__Object__Group__Size__Hints_gadf96f10fca82cc1ff07d3bd2b5457263}{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-weight\-\_\-set}(x, y)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-W\-E\-I\-G\-H\-T\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(double, x), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(double, y)
\item 
\#define \hyperlink{group__Evas__Object__Group__Size__Hints_ga55ec4a1dd132104735de7e147a62f938}{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-weight\-\_\-get}(x, y)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-W\-E\-I\-G\-H\-T\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(double $\ast$, x), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(double $\ast$, y)
\item 
\#define \hyperlink{group__Evas__Object__Group__Size__Hints_gae5b9cce323063337d85398df06752c75}{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-padding\-\_\-set}(l, r, t, b)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-P\-A\-D\-D\-I\-N\-G\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, l), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, r), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, t), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, b)
\item 
\#define \hyperlink{group__Evas__Object__Group__Size__Hints_gaeceaa34685439913d147b243dd93467e}{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-padding\-\_\-get}(l, r, t, b)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-P\-A\-D\-D\-I\-N\-G\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, l), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, r), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, t), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, b)
\end{DoxyCompactItemize}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{group__Evas__Object__Group__Size__Hints_gaa0f1a81632956267a4f82f3b98d41840}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-min\-\_\-get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\-\_\-\-Object} $\ast$obj, Evas\-\_\-\-Coord $\ast$w, Evas\-\_\-\-Coord $\ast$h)
\begin{DoxyCompactList}\small\item\em Retrieves the hints for an object's minimum size. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Object__Group__Size__Hints_ga3014f5c9dfbdc6c7af41a27826e50e57}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-min\-\_\-set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\-\_\-\-Object} $\ast$obj, Evas\-\_\-\-Coord w, Evas\-\_\-\-Coord h)
\begin{DoxyCompactList}\small\item\em Sets the hints for an object's minimum size. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Object__Group__Size__Hints_ga9bf9ef18f79bf7316748f4c4405280d6}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-max\-\_\-get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\-\_\-\-Object} $\ast$obj, Evas\-\_\-\-Coord $\ast$w, Evas\-\_\-\-Coord $\ast$h)
\begin{DoxyCompactList}\small\item\em Retrieves the hints for an object's maximum size. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Object__Group__Size__Hints_ga69aec74e9d28688f27c4f491c4ac8ecb}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-max\-\_\-set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\-\_\-\-Object} $\ast$obj, Evas\-\_\-\-Coord w, Evas\-\_\-\-Coord h)
\begin{DoxyCompactList}\small\item\em Sets the hints for an object's maximum size. \end{DoxyCompactList}\item 
\hyperlink{Evas__Common_8h_a345b301c43ed309476090a5220fb03c3}{Evas\-\_\-\-Display\-\_\-\-Mode} \hyperlink{group__Evas__Object__Group__Size__Hints_ga91cb78621075072df60c539b753976fc}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-display\-\_\-mode\-\_\-get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\-\_\-\-Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Retrieves the hints for an object's display mode. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Object__Group__Size__Hints_ga667573b6024138fbe8c9eecb499db147}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-display\-\_\-mode\-\_\-set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\-\_\-\-Object} $\ast$obj, \hyperlink{Evas__Common_8h_a345b301c43ed309476090a5220fb03c3}{Evas\-\_\-\-Display\-\_\-\-Mode} dispmode)
\begin{DoxyCompactList}\small\item\em Sets the hints for an object's disply mode. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Object__Group__Size__Hints_ga22c351311e1c1c5d4ea915eaab51dd78}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-request\-\_\-get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\-\_\-\-Object} $\ast$obj, Evas\-\_\-\-Coord $\ast$w, Evas\-\_\-\-Coord $\ast$h)
\begin{DoxyCompactList}\small\item\em Retrieves the hints for an object's optimum size. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Object__Group__Size__Hints_gade9db2a84ab4ab32ab9afef5852b26ee}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-request\-\_\-set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\-\_\-\-Object} $\ast$obj, Evas\-\_\-\-Coord w, Evas\-\_\-\-Coord h)
\begin{DoxyCompactList}\small\item\em Sets the hints for an object's optimum size. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Object__Group__Size__Hints_gace56a2292cb09ad73dfc54143e768088}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\-\_\-\-Object} $\ast$obj, \hyperlink{Evas__Common_8h_a632ab4ce7efb20da04d34a4f8bbcef3d}{Evas\-\_\-\-Aspect\-\_\-\-Control} $\ast$aspect, Evas\-\_\-\-Coord $\ast$w, Evas\-\_\-\-Coord $\ast$h)
\begin{DoxyCompactList}\small\item\em Retrieves the hints for an object's aspect ratio. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Object__Group__Size__Hints_ga8c5243311efac47b9ed242c72905ccdf}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\-\_\-\-Object} $\ast$obj, \hyperlink{Evas__Common_8h_a632ab4ce7efb20da04d34a4f8bbcef3d}{Evas\-\_\-\-Aspect\-\_\-\-Control} aspect, Evas\-\_\-\-Coord w, Evas\-\_\-\-Coord h)
\begin{DoxyCompactList}\small\item\em Sets the hints for an object's aspect ratio. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Object__Group__Size__Hints_gabb27bb867c664d47d648963db7f97d14}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-align\-\_\-get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\-\_\-\-Object} $\ast$obj, double $\ast$x, double $\ast$y)
\begin{DoxyCompactList}\small\item\em Retrieves the hints for on object's alignment. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Object__Group__Size__Hints_ga44b67b368e5cda723129c2852bd81ead}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-align\-\_\-set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\-\_\-\-Object} $\ast$obj, double x, double y)
\begin{DoxyCompactList}\small\item\em Sets the hints for an object's alignment. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Object__Group__Size__Hints_ga4102899b5b7d54018f59b6c2712ac432}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-weight\-\_\-get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\-\_\-\-Object} $\ast$obj, double $\ast$x, double $\ast$y)
\begin{DoxyCompactList}\small\item\em Retrieves the hints for an object's weight. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Object__Group__Size__Hints_ga2af897b00f32bebf08705929276386f5}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-weight\-\_\-set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\-\_\-\-Object} $\ast$obj, double x, double y)
\begin{DoxyCompactList}\small\item\em Sets the hints for an object's weight. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Object__Group__Size__Hints_gafbd60238617892ceafc6be5b4372b191}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-padding\-\_\-get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\-\_\-\-Object} $\ast$obj, Evas\-\_\-\-Coord $\ast$l, Evas\-\_\-\-Coord $\ast$r, Evas\-\_\-\-Coord $\ast$t, Evas\-\_\-\-Coord $\ast$b)
\begin{DoxyCompactList}\small\item\em Retrieves the hints for an object's padding space. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Object__Group__Size__Hints_ga532372779637796d1bb5c6f43367eb1a}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-padding\-\_\-set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\-\_\-\-Object} $\ast$obj, Evas\-\_\-\-Coord l, Evas\-\_\-\-Coord r, Evas\-\_\-\-Coord t, Evas\-\_\-\-Coord b)
\begin{DoxyCompactList}\small\item\em Sets the hints for an object's padding space. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Objects may carry hints, so that another object that acts as a manager (see \hyperlink{group__Evas__Smart__Object__Group}{Smart Object Functions}) may know how to properly position and resize its subordinate objects. The Size Hints provide a common interface that is recommended as the protocol for such information.

For example, box objects use alignment hints to align its lines/columns inside its container, padding hints to set the padding between each individual child, etc.

Examples on their usage\-:
\begin{DoxyItemize}
\item \hyperlink{Example_Evas_Size_Hints}{evas-\/hints.c}
\item \hyperlink{Example_Evas_Aspect_Hints}{evas-\/aspect-\/hints.c} 
\end{DoxyItemize}

\subsection{Macro Definition Documentation}
\hypertarget{group__Evas__Object__Group__Size__Hints_ga3f7c33bc1dd416c71cbddf6988ca847f}{\index{Size Hints@{Size Hints}!evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-min\-\_\-set@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-min\-\_\-set}}
\index{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-min\-\_\-set@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-min\-\_\-set}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-min\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-min\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{w, }
\item[{}]{h}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-M\-I\-N\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, w), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, h)}}\label{group__Evas__Object__Group__Size__Hints_ga3f7c33bc1dd416c71cbddf6988ca847f}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Sets the hints for an object's minimum size.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em w} & in \\
\hline
\mbox{\tt in}  & {\em h} & in\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_ga3014f5c9dfbdc6c7af41a27826e50e57}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-min\-\_\-set} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-min\-\_\-set().

\hypertarget{group__Evas__Object__Group__Size__Hints_ga2f457becb5a1e09c4ebdaa6a0da9342b}{\index{Size Hints@{Size Hints}!evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-min\-\_\-get@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-min\-\_\-get}}
\index{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-min\-\_\-get@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-min\-\_\-get}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-min\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-min\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{w, }
\item[{}]{h}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-M\-I\-N\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, w), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, h)}}\label{group__Evas__Object__Group__Size__Hints_ga2f457becb5a1e09c4ebdaa6a0da9342b}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Retrieves the hints for an object's minimum size.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em w} & out \\
\hline
\mbox{\tt out}  & {\em h} & out\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_gaa0f1a81632956267a4f82f3b98d41840}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-min\-\_\-get} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-min\-\_\-get().

\hypertarget{group__Evas__Object__Group__Size__Hints_ga28698793372946b5da0d546f2e592753}{\index{Size Hints@{Size Hints}!evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-max\-\_\-set@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-max\-\_\-set}}
\index{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-max\-\_\-set@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-max\-\_\-set}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-max\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-max\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{w, }
\item[{}]{h}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-M\-A\-X\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, w), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, h)}}\label{group__Evas__Object__Group__Size__Hints_ga28698793372946b5da0d546f2e592753}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Sets the hints for an object's maximum size.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em w} & in \\
\hline
\mbox{\tt in}  & {\em h} & in\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_ga69aec74e9d28688f27c4f491c4ac8ecb}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-max\-\_\-set} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-max\-\_\-set().

\hypertarget{group__Evas__Object__Group__Size__Hints_ga3f2b2a79d803287c383ca5ee4c34ef75}{\index{Size Hints@{Size Hints}!evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-max\-\_\-get@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-max\-\_\-get}}
\index{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-max\-\_\-get@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-max\-\_\-get}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-max\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-max\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{w, }
\item[{}]{h}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-M\-A\-X\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, w), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, h)}}\label{group__Evas__Object__Group__Size__Hints_ga3f2b2a79d803287c383ca5ee4c34ef75}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Retrieves the hints for an object's maximum size.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em w} & out \\
\hline
\mbox{\tt out}  & {\em h} & out\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_ga9bf9ef18f79bf7316748f4c4405280d6}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-max\-\_\-get} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-max\-\_\-get().

\hypertarget{group__Evas__Object__Group__Size__Hints_ga5c5da48210d1d1ae97d687c580f4a2d2}{\index{Size Hints@{Size Hints}!evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-request\-\_\-set@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-request\-\_\-set}}
\index{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-request\-\_\-set@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-request\-\_\-set}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-request\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-request\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{w, }
\item[{}]{h}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-R\-E\-Q\-U\-E\-S\-T\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, w), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, h)}}\label{group__Evas__Object__Group__Size__Hints_ga5c5da48210d1d1ae97d687c580f4a2d2}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Sets the hints for an object's optimum size.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em w} & in \\
\hline
\mbox{\tt in}  & {\em h} & in\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_gade9db2a84ab4ab32ab9afef5852b26ee}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-request\-\_\-set} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-request\-\_\-set().

\hypertarget{group__Evas__Object__Group__Size__Hints_ga7c6b9f0585b92c3dd2dac3824a75d431}{\index{Size Hints@{Size Hints}!evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-request\-\_\-get@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-request\-\_\-get}}
\index{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-request\-\_\-get@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-request\-\_\-get}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-request\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-request\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{w, }
\item[{}]{h}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-R\-E\-Q\-U\-E\-S\-T\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, w), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, h)}}\label{group__Evas__Object__Group__Size__Hints_ga7c6b9f0585b92c3dd2dac3824a75d431}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Retrieves the hints for an object's optimum size.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em w} & out \\
\hline
\mbox{\tt out}  & {\em h} & out\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_ga22c351311e1c1c5d4ea915eaab51dd78}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-request\-\_\-get} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-request\-\_\-get().

\hypertarget{group__Evas__Object__Group__Size__Hints_gab30c800ea7b8269d5e681f4ee02130f0}{\index{Size Hints@{Size Hints}!evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-set@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-set}}
\index{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-set@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-set}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{aspect, }
\item[{}]{w, }
\item[{}]{h}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-A\-S\-P\-E\-C\-T\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K({\bf Evas\-\_\-\-Aspect\-\_\-\-Control}, aspect), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, w), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, h)}}\label{group__Evas__Object__Group__Size__Hints_gab30c800ea7b8269d5e681f4ee02130f0}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Sets the hints for an object's aspect ratio.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em aspect} & in \\
\hline
\mbox{\tt in}  & {\em w} & in \\
\hline
\mbox{\tt in}  & {\em h} & in\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_ga8c5243311efac47b9ed242c72905ccdf}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-set} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-set().

\hypertarget{group__Evas__Object__Group__Size__Hints_ga941eb4538d66f488e0e915b1f833333c}{\index{Size Hints@{Size Hints}!evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-get@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-get}}
\index{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-get@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-get}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{aspect, }
\item[{}]{w, }
\item[{}]{h}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-A\-S\-P\-E\-C\-T\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K({\bf Evas\-\_\-\-Aspect\-\_\-\-Control} $\ast$, aspect), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, w), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, h)}}\label{group__Evas__Object__Group__Size__Hints_ga941eb4538d66f488e0e915b1f833333c}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Retrieves the hints for an object's aspect ratio.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em aspect} & out \\
\hline
\mbox{\tt out}  & {\em w} & out \\
\hline
\mbox{\tt out}  & {\em h} & out\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_gace56a2292cb09ad73dfc54143e768088}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-get} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-get().

\hypertarget{group__Evas__Object__Group__Size__Hints_ga1ca1ede74ef1d6bbbca82fe95b00545f}{\index{Size Hints@{Size Hints}!evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-align\-\_\-set@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-align\-\_\-set}}
\index{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-align\-\_\-set@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-align\-\_\-set}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-align\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-align\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{x, }
\item[{}]{y}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-A\-L\-I\-G\-N\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(double, x), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(double, y)}}\label{group__Evas__Object__Group__Size__Hints_ga1ca1ede74ef1d6bbbca82fe95b00545f}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Sets the hints for an object's alignment.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em x} & in \\
\hline
\mbox{\tt in}  & {\em y} & in\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_ga44b67b368e5cda723129c2852bd81ead}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-align\-\_\-set} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-align\-\_\-set().

\hypertarget{group__Evas__Object__Group__Size__Hints_ga5576c35b575aee4ba418726be7651340}{\index{Size Hints@{Size Hints}!evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-align\-\_\-get@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-align\-\_\-get}}
\index{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-align\-\_\-get@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-align\-\_\-get}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-align\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-align\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{x, }
\item[{}]{y}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-A\-L\-I\-G\-N\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(double $\ast$, x), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(double $\ast$, y)}}\label{group__Evas__Object__Group__Size__Hints_ga5576c35b575aee4ba418726be7651340}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Retrieves the hints for on object's alignment.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em x} & out \\
\hline
\mbox{\tt out}  & {\em y} & out\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_gabb27bb867c664d47d648963db7f97d14}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-align\-\_\-get} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-align\-\_\-get().

\hypertarget{group__Evas__Object__Group__Size__Hints_gadf96f10fca82cc1ff07d3bd2b5457263}{\index{Size Hints@{Size Hints}!evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-weight\-\_\-set@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-weight\-\_\-set}}
\index{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-weight\-\_\-set@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-weight\-\_\-set}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-weight\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-weight\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{x, }
\item[{}]{y}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-W\-E\-I\-G\-H\-T\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(double, x), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(double, y)}}\label{group__Evas__Object__Group__Size__Hints_gadf96f10fca82cc1ff07d3bd2b5457263}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Sets the hints for an object's weight.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em x} & in \\
\hline
\mbox{\tt in}  & {\em y} & in\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_ga2af897b00f32bebf08705929276386f5}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-weight\-\_\-set} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-weight\-\_\-set().

\hypertarget{group__Evas__Object__Group__Size__Hints_ga55ec4a1dd132104735de7e147a62f938}{\index{Size Hints@{Size Hints}!evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-weight\-\_\-get@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-weight\-\_\-get}}
\index{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-weight\-\_\-get@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-weight\-\_\-get}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-weight\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-weight\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{x, }
\item[{}]{y}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-W\-E\-I\-G\-H\-T\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(double $\ast$, x), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(double $\ast$, y)}}\label{group__Evas__Object__Group__Size__Hints_ga55ec4a1dd132104735de7e147a62f938}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Retrieves the hints for an object's weight.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em x} & out \\
\hline
\mbox{\tt out}  & {\em y} & out\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_ga4102899b5b7d54018f59b6c2712ac432}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-weight\-\_\-get} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-weight\-\_\-get().

\hypertarget{group__Evas__Object__Group__Size__Hints_gae5b9cce323063337d85398df06752c75}{\index{Size Hints@{Size Hints}!evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-padding\-\_\-set@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-padding\-\_\-set}}
\index{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-padding\-\_\-set@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-padding\-\_\-set}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-padding\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-padding\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{l, }
\item[{}]{r, }
\item[{}]{t, }
\item[{}]{b}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-P\-A\-D\-D\-I\-N\-G\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, l), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, r), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, t), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, b)}}\label{group__Evas__Object__Group__Size__Hints_gae5b9cce323063337d85398df06752c75}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Sets the hints for an object's padding space.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em l} & in \\
\hline
\mbox{\tt in}  & {\em r} & in \\
\hline
\mbox{\tt in}  & {\em t} & in \\
\hline
\mbox{\tt in}  & {\em b} & in\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_ga532372779637796d1bb5c6f43367eb1a}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-padding\-\_\-set} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-padding\-\_\-set().

\hypertarget{group__Evas__Object__Group__Size__Hints_gaeceaa34685439913d147b243dd93467e}{\index{Size Hints@{Size Hints}!evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-padding\-\_\-get@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-padding\-\_\-get}}
\index{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-padding\-\_\-get@{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-padding\-\_\-get}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-padding\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-padding\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{l, }
\item[{}]{r, }
\item[{}]{t, }
\item[{}]{b}
\end{DoxyParamCaption}
)~E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-I\-D(E\-V\-A\-S\-\_\-\-O\-B\-J\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-Z\-E\-\_\-\-H\-I\-N\-T\-\_\-\-P\-A\-D\-D\-I\-N\-G\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, l), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, r), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, t), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord $\ast$, b)}}\label{group__Evas__Object__Group__Size__Hints_gaeceaa34685439913d147b243dd93467e}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Retrieves the hints for an object's padding space.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em l} & out \\
\hline
\mbox{\tt out}  & {\em r} & out \\
\hline
\mbox{\tt out}  & {\em t} & out \\
\hline
\mbox{\tt out}  & {\em b} & out\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_gafbd60238617892ceafc6be5b4372b191}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-padding\-\_\-get} 
\end{DoxySeeAlso}


Referenced by evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-padding\-\_\-get().



\subsection{Function Documentation}
\hypertarget{group__Evas__Object__Group__Size__Hints_gaa0f1a81632956267a4f82f3b98d41840}{\index{Size Hints@{Size Hints}!evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-min\-\_\-get@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-min\-\_\-get}}
\index{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-min\-\_\-get@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-min\-\_\-get}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-min\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}void evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-min\-\_\-get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\-\_\-\-Object} $\ast$}]{obj, }
\item[{Evas\-\_\-\-Coord $\ast$}]{w, }
\item[{Evas\-\_\-\-Coord $\ast$}]{h}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Group__Size__Hints_gaa0f1a81632956267a4f82f3b98d41840}


Retrieves the hints for an object's minimum size. 


\begin{DoxyParams}{Parameters}
{\em obj} & The given Evas object to query hints from. \\
\hline
{\em w} & Pointer to an integer in which to store the minimum width. \\
\hline
{\em h} & Pointer to an integer in which to store the minimum height.\\
\hline
\end{DoxyParams}
These are hints on the minimum sizes {\ttfamily obj} should have. This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.

\begin{DoxyNote}{Note}
Use {\ttfamily N\-U\-L\-L} pointers on the hint components you're not interested in\-: they'll be ignored by the function.
\end{DoxyNote}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_ga3014f5c9dfbdc6c7af41a27826e50e57}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-min\-\_\-set()} for an example 
\end{DoxySeeAlso}


References evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-min\-\_\-get.

\hypertarget{group__Evas__Object__Group__Size__Hints_ga3014f5c9dfbdc6c7af41a27826e50e57}{\index{Size Hints@{Size Hints}!evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-min\-\_\-set@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-min\-\_\-set}}
\index{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-min\-\_\-set@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-min\-\_\-set}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-min\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-min\-\_\-set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\-\_\-\-Object} $\ast$}]{obj, }
\item[{Evas\-\_\-\-Coord}]{w, }
\item[{Evas\-\_\-\-Coord}]{h}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Group__Size__Hints_ga3014f5c9dfbdc6c7af41a27826e50e57}


Sets the hints for an object's minimum size. 


\begin{DoxyParams}{Parameters}
{\em obj} & The given Evas object to query hints from. \\
\hline
{\em w} & Integer to use as the minimum width hint. \\
\hline
{\em h} & Integer to use as the minimum height hint.\\
\hline
\end{DoxyParams}
This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.

Values {\ttfamily 0} will be treated as unset hint components, when queried by managers.

Example\-:  
\begin{DoxyCodeInclude}
        \hyperlink{group__Evas__Object__Group__Size__Hints_ga3014f5c9dfbdc6c7af41a27826e50e57}{evas\_object\_size\_hint\_min\_set}(
          rect, r\_data->min\_ptr->\hyperlink{struct__Eina__Rectangle_af6a92d51ec25ee3464c81297ffc3a330}{w}, r\_data->min\_ptr->h);

        fprintf(stdout, \textcolor{stringliteral}{"Changing min. size hints for %s rect. to (%d, %d)\(\backslash\)n"},
                name, r\_data->min\_ptr->w, r\_data->min\_ptr->h);
        \textcolor{keywordflow}{return};

\end{DoxyCodeInclude}


In this example the minimum size hints change the behavior of an Evas box when layouting its children. See the full \hyperlink{Example_Evas_Size_Hints}{example}.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_gaa0f1a81632956267a4f82f3b98d41840}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-min\-\_\-get()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\-: ]\par
\hyperlink{edje-box2_8c-example}{edje-\/box2.\-c}, \hyperlink{edje-table_8c-example}{edje-\/table.\-c}, \hyperlink{ephysics_logo_8c-example}{ephysics\-\_\-logo.\-c}, \hyperlink{evas-box_8c-example}{evas-\/box.\-c}, \hyperlink{evas-hints_8c-example}{evas-\/hints.\-c}, and \hyperlink{evas-table_8c-example}{evas-\/table.\-c}.\end{Desc}


References evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-min\-\_\-set.



Referenced by edje\-\_\-extern\-\_\-object\-\_\-min\-\_\-size\-\_\-set().

\hypertarget{group__Evas__Object__Group__Size__Hints_ga9bf9ef18f79bf7316748f4c4405280d6}{\index{Size Hints@{Size Hints}!evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-max\-\_\-get@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-max\-\_\-get}}
\index{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-max\-\_\-get@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-max\-\_\-get}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-max\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}void evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-max\-\_\-get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\-\_\-\-Object} $\ast$}]{obj, }
\item[{Evas\-\_\-\-Coord $\ast$}]{w, }
\item[{Evas\-\_\-\-Coord $\ast$}]{h}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Group__Size__Hints_ga9bf9ef18f79bf7316748f4c4405280d6}


Retrieves the hints for an object's maximum size. 


\begin{DoxyParams}{Parameters}
{\em obj} & The given Evas object to query hints from. \\
\hline
{\em w} & Pointer to an integer in which to store the maximum width. \\
\hline
{\em h} & Pointer to an integer in which to store the maximum height.\\
\hline
\end{DoxyParams}
These are hints on the maximum sizes {\ttfamily obj} should have. This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.

\begin{DoxyNote}{Note}
Use {\ttfamily N\-U\-L\-L} pointers on the hint components you're not interested in\-: they'll be ignored by the function.
\end{DoxyNote}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_ga69aec74e9d28688f27c4f491c4ac8ecb}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-max\-\_\-set()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\-: ]\par
\hyperlink{evas-hints_8c-example}{evas-\/hints.\-c}.\end{Desc}


References evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-max\-\_\-get.

\hypertarget{group__Evas__Object__Group__Size__Hints_ga69aec74e9d28688f27c4f491c4ac8ecb}{\index{Size Hints@{Size Hints}!evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-max\-\_\-set@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-max\-\_\-set}}
\index{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-max\-\_\-set@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-max\-\_\-set}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-max\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-max\-\_\-set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\-\_\-\-Object} $\ast$}]{obj, }
\item[{Evas\-\_\-\-Coord}]{w, }
\item[{Evas\-\_\-\-Coord}]{h}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Group__Size__Hints_ga69aec74e9d28688f27c4f491c4ac8ecb}


Sets the hints for an object's maximum size. 


\begin{DoxyParams}{Parameters}
{\em obj} & The given Evas object to query hints from. \\
\hline
{\em w} & Integer to use as the maximum width hint. \\
\hline
{\em h} & Integer to use as the maximum height hint.\\
\hline
\end{DoxyParams}
This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.

Values {\ttfamily -\/1} will be treated as unset hint components, when queried by managers.

Example\-:  
\begin{DoxyCodeInclude}
        \hyperlink{group__Evas__Object__Group__Size__Hints_ga69aec74e9d28688f27c4f491c4ac8ecb}{evas\_object\_size\_hint\_max\_set}(
          rect, r\_data->max\_ptr->\hyperlink{struct__Eina__Rectangle_af6a92d51ec25ee3464c81297ffc3a330}{w}, r\_data->max\_ptr->h);

        fprintf(stdout, \textcolor{stringliteral}{"Changing max. size hints for %s rect. to (%d, %d)\(\backslash\)n"},
                name, r\_data->max\_ptr->w, r\_data->max\_ptr->h);
        \textcolor{keywordflow}{return};

\end{DoxyCodeInclude}


In this example the maximum size hints change the behavior of an Evas box when layouting its children. See the full \hyperlink{Example_Evas_Size_Hints}{example}.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_ga9bf9ef18f79bf7316748f4c4405280d6}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-max\-\_\-get()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\-: ]\par
\hyperlink{ephysics_logo_8c-example}{ephysics\-\_\-logo.\-c}, and \hyperlink{evas-hints_8c-example}{evas-\/hints.\-c}.\end{Desc}


References evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-max\-\_\-set.



Referenced by edje\-\_\-extern\-\_\-object\-\_\-max\-\_\-size\-\_\-set().

\hypertarget{group__Evas__Object__Group__Size__Hints_ga91cb78621075072df60c539b753976fc}{\index{Size Hints@{Size Hints}!evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-display\-\_\-mode\-\_\-get@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-display\-\_\-mode\-\_\-get}}
\index{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-display\-\_\-mode\-\_\-get@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-display\-\_\-mode\-\_\-get}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-display\-\_\-mode\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Evas\-\_\-\-Display\-\_\-\-Mode} evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-display\-\_\-mode\-\_\-get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\-\_\-\-Object} $\ast$}]{obj}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Group__Size__Hints_ga91cb78621075072df60c539b753976fc}


Retrieves the hints for an object's display mode. 


\begin{DoxyParams}{Parameters}
{\em obj} & The given Evas object to query hints from.\\
\hline
\end{DoxyParams}
These are hints on the display mode {\ttfamily obj}. This is not a size enforcement in any way, it's just a hint that can be used whenever appropriate. This mode can be used object's display mode like commpress or expand

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_ga667573b6024138fbe8c9eecb499db147}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-display\-\_\-mode\-\_\-set()} 
\end{DoxySeeAlso}


References E\-V\-A\-S\-\_\-\-D\-I\-S\-P\-L\-A\-Y\-\_\-\-M\-O\-D\-E\-\_\-\-N\-O\-N\-E.

\hypertarget{group__Evas__Object__Group__Size__Hints_ga667573b6024138fbe8c9eecb499db147}{\index{Size Hints@{Size Hints}!evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-display\-\_\-mode\-\_\-set@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-display\-\_\-mode\-\_\-set}}
\index{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-display\-\_\-mode\-\_\-set@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-display\-\_\-mode\-\_\-set}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-display\-\_\-mode\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-display\-\_\-mode\-\_\-set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\-\_\-\-Object} $\ast$}]{obj, }
\item[{{\bf Evas\-\_\-\-Display\-\_\-\-Mode}}]{dispmode}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Group__Size__Hints_ga667573b6024138fbe8c9eecb499db147}


Sets the hints for an object's disply mode. 


\begin{DoxyParams}{Parameters}
{\em obj} & The given Evas object to query hints from. \\
\hline
{\em dispmode} & to use as the display mode hint.\\
\hline
\end{DoxyParams}
This is not a size enforcement in any way, it's just a hint that can be used whenever appropriate.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_ga91cb78621075072df60c539b753976fc}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-display\-\_\-mode\-\_\-get()} 
\end{DoxySeeAlso}
\hypertarget{group__Evas__Object__Group__Size__Hints_ga22c351311e1c1c5d4ea915eaab51dd78}{\index{Size Hints@{Size Hints}!evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-request\-\_\-get@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-request\-\_\-get}}
\index{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-request\-\_\-get@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-request\-\_\-get}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-request\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}void evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-request\-\_\-get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\-\_\-\-Object} $\ast$}]{obj, }
\item[{Evas\-\_\-\-Coord $\ast$}]{w, }
\item[{Evas\-\_\-\-Coord $\ast$}]{h}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Group__Size__Hints_ga22c351311e1c1c5d4ea915eaab51dd78}


Retrieves the hints for an object's optimum size. 


\begin{DoxyParams}{Parameters}
{\em obj} & The given Evas object to query hints from. \\
\hline
{\em w} & Pointer to an integer in which to store the requested width. \\
\hline
{\em h} & Pointer to an integer in which to store the requested height.\\
\hline
\end{DoxyParams}
These are hints on the optimum sizes {\ttfamily obj} should have. This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.

\begin{DoxyNote}{Note}
Use {\ttfamily N\-U\-L\-L} pointers on the hint components you're not interested in\-: they'll be ignored by the function.
\end{DoxyNote}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_gade9db2a84ab4ab32ab9afef5852b26ee}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-request\-\_\-set()} 
\end{DoxySeeAlso}


References evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-request\-\_\-get.

\hypertarget{group__Evas__Object__Group__Size__Hints_gade9db2a84ab4ab32ab9afef5852b26ee}{\index{Size Hints@{Size Hints}!evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-request\-\_\-set@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-request\-\_\-set}}
\index{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-request\-\_\-set@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-request\-\_\-set}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-request\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-request\-\_\-set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\-\_\-\-Object} $\ast$}]{obj, }
\item[{Evas\-\_\-\-Coord}]{w, }
\item[{Evas\-\_\-\-Coord}]{h}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Group__Size__Hints_gade9db2a84ab4ab32ab9afef5852b26ee}


Sets the hints for an object's optimum size. 


\begin{DoxyParams}{Parameters}
{\em obj} & The given Evas object to query hints from. \\
\hline
{\em w} & Integer to use as the preferred width hint. \\
\hline
{\em h} & Integer to use as the preferred height hint.\\
\hline
\end{DoxyParams}
This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.

Values {\ttfamily 0} will be treated as unset hint components, when queried by managers.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_ga22c351311e1c1c5d4ea915eaab51dd78}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-request\-\_\-get()} 
\end{DoxySeeAlso}


References evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-request\-\_\-set.

\hypertarget{group__Evas__Object__Group__Size__Hints_gace56a2292cb09ad73dfc54143e768088}{\index{Size Hints@{Size Hints}!evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-get@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-get}}
\index{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-get@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-get}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}void evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\-\_\-\-Object} $\ast$}]{obj, }
\item[{{\bf Evas\-\_\-\-Aspect\-\_\-\-Control} $\ast$}]{aspect, }
\item[{Evas\-\_\-\-Coord $\ast$}]{w, }
\item[{Evas\-\_\-\-Coord $\ast$}]{h}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Group__Size__Hints_gace56a2292cb09ad73dfc54143e768088}


Retrieves the hints for an object's aspect ratio. 


\begin{DoxyParams}{Parameters}
{\em obj} & The given Evas object to query hints from. \\
\hline
{\em aspect} & Returns the policy/type of aspect ratio applied to {\ttfamily obj}. \\
\hline
{\em w} & Pointer to an integer in which to store the aspect's width ratio term. \\
\hline
{\em h} & Pointer to an integer in which to store the aspect's height ratio term.\\
\hline
\end{DoxyParams}
The different aspect ratio policies are documented in the \hyperlink{Evas__Common_8h_a632ab4ce7efb20da04d34a4f8bbcef3d}{Evas\-\_\-\-Aspect\-\_\-\-Control} type. A container respecting these size hints would {\bfseries resize} its children accordingly to those policies.

For any policy, if any of the given aspect ratio terms are {\ttfamily 0}, the object's container should ignore the aspect and scale {\ttfamily obj} to occupy the whole available area. If they are both positive integers, that proportion will be respected, under each scaling policy.

These images illustrate some of the \hyperlink{Evas__Common_8h_a632ab4ce7efb20da04d34a4f8bbcef3d}{Evas\-\_\-\-Aspect\-\_\-\-Control} policies\-:

  
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics{any-policy}}
\end{DoxyImageNoCaption}


  
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics{aspect-control-none-neither}}
\end{DoxyImageNoCaption}


  
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics{aspect-control-both}}
\end{DoxyImageNoCaption}


  
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics{aspect-control-horizontal}}
\end{DoxyImageNoCaption}


This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.

\begin{DoxyNote}{Note}
Use {\ttfamily N\-U\-L\-L} pointers on the hint components you're not interested in\-: they'll be ignored by the function.
\end{DoxyNote}
Example\-:  
\begin{DoxyCodeInclude}
   \textcolor{keywordflow}{if} (strcmp(ev->\hyperlink{struct__Evas__Event__Key__Down_a70473bba88a1afaee180a54150513824}{key}, \textcolor{stringliteral}{"c"}) == 0) \textcolor{comment}{/* cycle aspect control on obj */}
     \{
        Evas\_Coord w, h;
        \hyperlink{Evas__Common_8h_a632ab4ce7efb20da04d34a4f8bbcef3d}{Evas\_Aspect\_Control} aspect;

        \hyperlink{group__Evas__Object__Group__Size__Hints_gace56a2292cb09ad73dfc54143e768088}{evas\_object\_size\_hint\_aspect\_get}(d.rect, &aspect, &w, &h);

        aspect = (aspect + 1) % 5;

        \hyperlink{group__Evas__Object__Group__Size__Hints_ga8c5243311efac47b9ed242c72905ccdf}{evas\_object\_size\_hint\_aspect\_set}(d.rect, aspect, w, h);

        fprintf(stdout, \textcolor{stringliteral}{"Changing aspect control to %s\(\backslash\)n"},
                \_get\_aspect\_name(aspect));

        \textcolor{keywordflow}{return};
     \}

\end{DoxyCodeInclude}


See the full \hyperlink{Example_Evas_Aspect_Hints}{example}.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_ga8c5243311efac47b9ed242c72905ccdf}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-set()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\-: ]\par
\hyperlink{evas-aspect-hints_8c-example}{evas-\/aspect-\/hints.\-c}.\end{Desc}


References E\-V\-A\-S\-\_\-\-A\-S\-P\-E\-C\-T\-\_\-\-C\-O\-N\-T\-R\-O\-L\-\_\-\-N\-O\-N\-E, and evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-get.

\hypertarget{group__Evas__Object__Group__Size__Hints_ga8c5243311efac47b9ed242c72905ccdf}{\index{Size Hints@{Size Hints}!evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-set@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-set}}
\index{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-set@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-set}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\-\_\-\-Object} $\ast$}]{obj, }
\item[{{\bf Evas\-\_\-\-Aspect\-\_\-\-Control}}]{aspect, }
\item[{Evas\-\_\-\-Coord}]{w, }
\item[{Evas\-\_\-\-Coord}]{h}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Group__Size__Hints_ga8c5243311efac47b9ed242c72905ccdf}


Sets the hints for an object's aspect ratio. 


\begin{DoxyParams}{Parameters}
{\em obj} & The given Evas object to query hints from. \\
\hline
{\em aspect} & The policy/type of aspect ratio to apply to {\ttfamily obj}. \\
\hline
{\em w} & Integer to use as aspect width ratio term. \\
\hline
{\em h} & Integer to use as aspect height ratio term.\\
\hline
\end{DoxyParams}
This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.

If any of the given aspect ratio terms are {\ttfamily 0}, the object's container will ignore the aspect and scale {\ttfamily obj} to occupy the whole available area, for any given policy.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_gace56a2292cb09ad73dfc54143e768088}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-get()} for more information. 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\-: ]\par
\hyperlink{evas-aspect-hints_8c-example}{evas-\/aspect-\/hints.\-c}.\end{Desc}


References evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-aspect\-\_\-set.



Referenced by edje\-\_\-extern\-\_\-object\-\_\-aspect\-\_\-set().

\hypertarget{group__Evas__Object__Group__Size__Hints_gabb27bb867c664d47d648963db7f97d14}{\index{Size Hints@{Size Hints}!evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-align\-\_\-get@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-align\-\_\-get}}
\index{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-align\-\_\-get@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-align\-\_\-get}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-align\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}void evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-align\-\_\-get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\-\_\-\-Object} $\ast$}]{obj, }
\item[{double $\ast$}]{x, }
\item[{double $\ast$}]{y}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Group__Size__Hints_gabb27bb867c664d47d648963db7f97d14}


Retrieves the hints for on object's alignment. 


\begin{DoxyParams}{Parameters}
{\em obj} & The given Evas object to query hints from. \\
\hline
{\em x} & Pointer to a double in which to store the horizontal alignment hint. \\
\hline
{\em y} & Pointer to a double in which to store the vertical alignment hint.\\
\hline
\end{DoxyParams}
This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.

\begin{DoxyNote}{Note}
Use {\ttfamily N\-U\-L\-L} pointers on the hint components you're not interested in\-: they'll be ignored by the function. 

If {\ttfamily obj} is invalid, then the hint components will be set with 0.\-5
\end{DoxyNote}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_ga44b67b368e5cda723129c2852bd81ead}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-align\-\_\-set()} for more information 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\-: ]\par
\hyperlink{evas-hints_8c-example}{evas-\/hints.\-c}.\end{Desc}


References evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-align\-\_\-get.

\hypertarget{group__Evas__Object__Group__Size__Hints_ga44b67b368e5cda723129c2852bd81ead}{\index{Size Hints@{Size Hints}!evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-align\-\_\-set@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-align\-\_\-set}}
\index{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-align\-\_\-set@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-align\-\_\-set}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-align\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-align\-\_\-set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\-\_\-\-Object} $\ast$}]{obj, }
\item[{double}]{x, }
\item[{double}]{y}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Group__Size__Hints_ga44b67b368e5cda723129c2852bd81ead}


Sets the hints for an object's alignment. 


\begin{DoxyParams}{Parameters}
{\em obj} & The given Evas object to query hints from. \\
\hline
{\em x} & Double, ranging from {\ttfamily 0.\-0} to {\ttfamily 1.\-0} or with the special value \hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{E\-V\-A\-S\-\_\-\-H\-I\-N\-T\-\_\-\-F\-I\-L\-L}, to use as horizontal alignment hint. \\
\hline
{\em y} & Double, ranging from {\ttfamily 0.\-0} to {\ttfamily 1.\-0} or with the special value \hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{E\-V\-A\-S\-\_\-\-H\-I\-N\-T\-\_\-\-F\-I\-L\-L}, to use as vertical alignment hint.\\
\hline
\end{DoxyParams}
These are hints on how to align an object {\bfseries inside the boundaries of a container/manager}. Accepted values are in the {\ttfamily 0.\-0} to {\ttfamily 1.\-0} range, with the special value \hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{E\-V\-A\-S\-\_\-\-H\-I\-N\-T\-\_\-\-F\-I\-L\-L} used to specify \char`\"{}justify\char`\"{} or \char`\"{}fill\char`\"{} by some users. In this case, maximum size hints should be enforced with higher priority, if they are set. Also, any padding hint set on objects should add up to the alignment space on the final scene composition.

See documentation of possible users\-: in Evas, they are the \hyperlink{group__Evas__Object__Box}{box} and \hyperlink{group__Evas__Object__Table}{table} smart objects.

For the horizontal component, {\ttfamily 0.\-0} means to the left, {\ttfamily 1.\-0} means to the right. Analogously, for the vertical component, {\ttfamily 0.\-0} to the top, {\ttfamily 1.\-0} means to the bottom.

See the following figure\-:

  
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics{alignment-hints}}
\end{DoxyImageNoCaption}


This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.

\begin{DoxyNote}{Note}
Default alignment hint values are 0.\-5, for both axis.
\end{DoxyNote}
Example\-:  
\begin{DoxyCodeInclude}
        \hyperlink{group__Evas__Object__Group__Size__Hints_ga44b67b368e5cda723129c2852bd81ead}{evas\_object\_size\_hint\_align\_set}(
          rect, r\_data->align\_ptr->\hyperlink{struct__Eina__Rectangle_a8358c0791dcf476432687510ca4e5d5c}{x}, r\_data->align\_ptr->y);

        fprintf(stdout, \textcolor{stringliteral}{"Changing align hints for %s rect. to (%f, %f)\(\backslash\)n"},
                name, r\_data->align\_ptr->x, r\_data->align\_ptr->y);
        \textcolor{keywordflow}{return};

\end{DoxyCodeInclude}


In this example the alignment hints change the behavior of an Evas box when layouting its children. See the full \hyperlink{Example_Evas_Size_Hints}{example}.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_gabb27bb867c664d47d648963db7f97d14}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-align\-\_\-get()} 

\hyperlink{group__Evas__Object__Group__Size__Hints_ga69aec74e9d28688f27c4f491c4ac8ecb}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-max\-\_\-set()} 

\hyperlink{group__Evas__Object__Group__Size__Hints_ga532372779637796d1bb5c6f43367eb1a}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-padding\-\_\-set()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\-: ]\par
\hyperlink{evas-hints_8c-example}{evas-\/hints.\-c}.\end{Desc}


References evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-align\-\_\-set.

\hypertarget{group__Evas__Object__Group__Size__Hints_ga4102899b5b7d54018f59b6c2712ac432}{\index{Size Hints@{Size Hints}!evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-weight\-\_\-get@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-weight\-\_\-get}}
\index{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-weight\-\_\-get@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-weight\-\_\-get}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-weight\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}void evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-weight\-\_\-get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\-\_\-\-Object} $\ast$}]{obj, }
\item[{double $\ast$}]{x, }
\item[{double $\ast$}]{y}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Group__Size__Hints_ga4102899b5b7d54018f59b6c2712ac432}


Retrieves the hints for an object's weight. 


\begin{DoxyParams}{Parameters}
{\em obj} & The given Evas object to query hints from. \\
\hline
{\em x} & Pointer to a double in which to store the horizontal weight. \\
\hline
{\em y} & Pointer to a double in which to store the vertical weight.\\
\hline
\end{DoxyParams}
Accepted values are zero or positive values. Some users might use this hint as a boolean, but some might consider it as a {\bfseries proportion}, see documentation of possible users, which in Evas are the \hyperlink{group__Evas__Object__Box}{box} and \hyperlink{group__Evas__Object__Table}{table} smart objects.

This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.

\begin{DoxyNote}{Note}
Use {\ttfamily N\-U\-L\-L} pointers on the hint components you're not interested in\-: they'll be ignored by the function. 

If {\ttfamily obj} is invalid, then the hint components will be set with 0.\-0
\end{DoxyNote}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_ga2af897b00f32bebf08705929276386f5}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-weight\-\_\-set()} for an example 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\-: ]\par
\hyperlink{evas-hints_8c-example}{evas-\/hints.\-c}.\end{Desc}


References evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-weight\-\_\-get.

\hypertarget{group__Evas__Object__Group__Size__Hints_ga2af897b00f32bebf08705929276386f5}{\index{Size Hints@{Size Hints}!evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-weight\-\_\-set@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-weight\-\_\-set}}
\index{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-weight\-\_\-set@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-weight\-\_\-set}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-weight\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-weight\-\_\-set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\-\_\-\-Object} $\ast$}]{obj, }
\item[{double}]{x, }
\item[{double}]{y}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Group__Size__Hints_ga2af897b00f32bebf08705929276386f5}


Sets the hints for an object's weight. 


\begin{DoxyParams}{Parameters}
{\em obj} & The given Evas object to query hints from. \\
\hline
{\em x} & Nonnegative double value to use as horizontal weight hint. \\
\hline
{\em y} & Nonnegative double value to use as vertical weight hint.\\
\hline
\end{DoxyParams}
This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.

This is a hint on how a container object should {\bfseries resize} a given child within its area. Containers may adhere to the simpler logic of just expanding the child object's dimensions to fit its own (see the \hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{E\-V\-A\-S\-\_\-\-H\-I\-N\-T\-\_\-\-E\-X\-P\-A\-N\-D} helper weight macro) or the complete one of taking each child's weight hint as real {\bfseries weights} to how much of its size to allocate for them in each axis. A container is supposed to, after {\bfseries normalizing} the weights of its children (with weight hints), distribute the space it has to layout them by those factors -- most weighted children get larger in this process than the least ones.

Example\-:  
\begin{DoxyCodeInclude}
        \hyperlink{group__Evas__Object__Group__Size__Hints_ga2af897b00f32bebf08705929276386f5}{evas\_object\_size\_hint\_weight\_set}(
          rect, r\_data->weight\_ptr->\hyperlink{struct__Eina__Rectangle_a8358c0791dcf476432687510ca4e5d5c}{x}, r\_data->weight\_ptr->y);

        fprintf(stdout, \textcolor{stringliteral}{"Changing weight hints for %s rect. to (%f, %f)\(\backslash\)n"},
                name, r\_data->weight\_ptr->x, r\_data->weight\_ptr->y);
        \textcolor{keywordflow}{return};

\end{DoxyCodeInclude}


In this example the weight hints change the behavior of an Evas box when layouting its children. See the full \hyperlink{Example_Evas_Size_Hints}{example}.

\begin{DoxyNote}{Note}
Default weight hint values are 0.\-0, for both axis.
\end{DoxyNote}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_ga4102899b5b7d54018f59b6c2712ac432}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-weight\-\_\-get()} for more information 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\-: ]\par
\hyperlink{edje-table_8c-example}{edje-\/table.\-c}, and \hyperlink{evas-hints_8c-example}{evas-\/hints.\-c}.\end{Desc}


References evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-weight\-\_\-set.

\hypertarget{group__Evas__Object__Group__Size__Hints_gafbd60238617892ceafc6be5b4372b191}{\index{Size Hints@{Size Hints}!evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-padding\-\_\-get@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-padding\-\_\-get}}
\index{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-padding\-\_\-get@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-padding\-\_\-get}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-padding\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}void evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-padding\-\_\-get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\-\_\-\-Object} $\ast$}]{obj, }
\item[{Evas\-\_\-\-Coord $\ast$}]{l, }
\item[{Evas\-\_\-\-Coord $\ast$}]{r, }
\item[{Evas\-\_\-\-Coord $\ast$}]{t, }
\item[{Evas\-\_\-\-Coord $\ast$}]{b}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Group__Size__Hints_gafbd60238617892ceafc6be5b4372b191}


Retrieves the hints for an object's padding space. 


\begin{DoxyParams}{Parameters}
{\em obj} & The given Evas object to query hints from. \\
\hline
{\em l} & Pointer to an integer in which to store left padding. \\
\hline
{\em r} & Pointer to an integer in which to store right padding. \\
\hline
{\em t} & Pointer to an integer in which to store top padding. \\
\hline
{\em b} & Pointer to an integer in which to store bottom padding.\\
\hline
\end{DoxyParams}
Padding is extra space an object takes on each of its delimiting rectangle sides, in canvas units. This space will be rendered transparent, naturally, as in the following figure\-:

  
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics{padding-hints}}
\end{DoxyImageNoCaption}


This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.

\begin{DoxyNote}{Note}
Use {\ttfamily N\-U\-L\-L} pointers on the hint components you're not interested in\-: they'll be ignored by the function.
\end{DoxyNote}
Example\-:  
\begin{DoxyCodeInclude}
        \hyperlink{group__Evas__Object__Group__Size__Hints_ga532372779637796d1bb5c6f43367eb1a}{evas\_object\_size\_hint\_padding\_set}(
          rect, r\_data->padding\_ptr->l, r\_data->padding\_ptr->r,
          r\_data->padding\_ptr->t, r\_data->padding\_ptr->b);

        fprintf(stdout, \textcolor{stringliteral}{"Changing padding size hints for %s rect."}
                        \textcolor{stringliteral}{" to (%d, %d, %d, %d)\(\backslash\)n"},
                name, r\_data->padding\_ptr->l, r\_data->padding\_ptr->r,
                r\_data->padding\_ptr->t, r\_data->padding\_ptr->b);
        \textcolor{keywordflow}{return};

\end{DoxyCodeInclude}


In this example the padding hints change the behavior of an Evas box when layouting its children. See the full \hyperlink{Example_Evas_Size_Hints}{example}.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_ga532372779637796d1bb5c6f43367eb1a}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-padding\-\_\-set()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\-: ]\par
\hyperlink{evas-hints_8c-example}{evas-\/hints.\-c}.\end{Desc}


References evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-padding\-\_\-get.

\hypertarget{group__Evas__Object__Group__Size__Hints_ga532372779637796d1bb5c6f43367eb1a}{\index{Size Hints@{Size Hints}!evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-padding\-\_\-set@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-padding\-\_\-set}}
\index{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-padding\-\_\-set@{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-padding\-\_\-set}!Size Hints@{Size Hints}}
\subsubsection[{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-padding\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-padding\-\_\-set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\-\_\-\-Object} $\ast$}]{obj, }
\item[{Evas\-\_\-\-Coord}]{l, }
\item[{Evas\-\_\-\-Coord}]{r, }
\item[{Evas\-\_\-\-Coord}]{t, }
\item[{Evas\-\_\-\-Coord}]{b}
\end{DoxyParamCaption}
)}}\label{group__Evas__Object__Group__Size__Hints_ga532372779637796d1bb5c6f43367eb1a}


Sets the hints for an object's padding space. 


\begin{DoxyParams}{Parameters}
{\em obj} & The given Evas object to query hints from. \\
\hline
{\em l} & Integer to specify left padding. \\
\hline
{\em r} & Integer to specify right padding. \\
\hline
{\em t} & Integer to specify top padding. \\
\hline
{\em b} & Integer to specify bottom padding.\\
\hline
\end{DoxyParams}
This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Evas__Object__Group__Size__Hints_gafbd60238617892ceafc6be5b4372b191}{evas\-\_\-object\-\_\-size\-\_\-hint\-\_\-padding\-\_\-get()} for more information 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\-: ]\par
\hyperlink{evas-hints_8c-example}{evas-\/hints.\-c}.\end{Desc}


References evas\-\_\-obj\-\_\-size\-\_\-hint\-\_\-padding\-\_\-set.

