forked from enlightenment/efl
fomatting of headers -> fixup. and documentation fixing.
SVN revision: 66667
This commit is contained in:
parent
39f63f3bf6
commit
0930fdcd52
|
@ -2600,7 +2600,7 @@
|
|||
* @skipline elm_toolbar_add
|
||||
* @until Update
|
||||
*
|
||||
* The only difference here is that we set shrink mode to #ELM_SHRINK_MODE_HIDE,
|
||||
* The only difference here is that we set shrink mode to #ELM_TOOLBAR_SHRINK_HIDE,
|
||||
* that won't display items that doesn't fit to the window.
|
||||
*
|
||||
* Now, let's add an item with states. First, add the item just as any other.
|
||||
|
|
|
@ -1,304 +1,10 @@
|
|||
/*
|
||||
*
|
||||
* vim:ts=8:sw=3:sts=3:expandtab:cino=>5n-3f0^-2{2(0W1st0
|
||||
*/
|
||||
|
||||
/**
|
||||
@file Elementary.h.in
|
||||
@brief Elementary Widget Library
|
||||
*/
|
||||
|
||||
/**
|
||||
@mainpage Elementary
|
||||
@image html elementary.png
|
||||
@version 0.8.0
|
||||
@date 2008-2011
|
||||
|
||||
@section intro What is Elementary?
|
||||
|
||||
This is a VERY SIMPLE toolkit. It is not meant for writing extensive desktop
|
||||
applications (yet). Small simple ones with simple needs.
|
||||
|
||||
It is meant to make the programmers work almost brainless but give them lots
|
||||
of flexibility.
|
||||
|
||||
@li @ref Start - Go here to quickly get started with writing Apps
|
||||
|
||||
@section organization Organization
|
||||
|
||||
One can divide Elemementary into three main groups:
|
||||
@li @ref infralist - These are modules that deal with Elementary as a whole.
|
||||
@li @ref widgetslist - These are the widgets you'll compose your UI out of.
|
||||
@li @ref containerslist - These are the containers which hold the widgets.
|
||||
|
||||
@section license License
|
||||
|
||||
LGPL v2 (see COPYING in the base of Elementary's source). This applies to
|
||||
all files in the source tree.
|
||||
|
||||
@section ack Acknowledgements
|
||||
There is a lot that goes into making a widget set, and they don't happen out of
|
||||
nothing. It's like trying to make everyone everywhere happy, regardless of age,
|
||||
gender, race or nationality - and that is really tough. So thanks to people and
|
||||
organisations behind this, as listed in the @ref authors page.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @defgroup Start Getting Started
|
||||
*
|
||||
* To write an Elementary app, you can get started with the following:
|
||||
*
|
||||
@code
|
||||
#include <Elementary.h>
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
// create window(s) here and do any application init
|
||||
elm_run(); // run main loop
|
||||
elm_shutdown(); // after mainloop finishes running, shutdown
|
||||
return 0; // exit 0 for exit code
|
||||
}
|
||||
ELM_MAIN()
|
||||
@endcode
|
||||
*
|
||||
* To use autotools (which helps in many ways in the long run, like being able
|
||||
* to immediately create releases of your software directly from your tree
|
||||
* and ensure everything needed to build it is there) you will need a
|
||||
* configure.ac, Makefile.am and autogen.sh file.
|
||||
*
|
||||
* configure.ac:
|
||||
*
|
||||
@verbatim
|
||||
AC_INIT(myapp, 0.0.0, myname@mydomain.com)
|
||||
AC_PREREQ(2.52)
|
||||
AC_CONFIG_SRCDIR(configure.ac)
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
AC_PROG_CC
|
||||
AM_INIT_AUTOMAKE(1.6 dist-bzip2)
|
||||
PKG_CHECK_MODULES([ELEMENTARY], elementary)
|
||||
AC_OUTPUT(Makefile)
|
||||
@endverbatim
|
||||
*
|
||||
* Makefile.am:
|
||||
*
|
||||
@verbatim
|
||||
AUTOMAKE_OPTIONS = 1.4 foreign
|
||||
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.h.in configure depcomp install-sh missing
|
||||
|
||||
INCLUDES = -I$(top_srcdir)
|
||||
|
||||
bin_PROGRAMS = myapp
|
||||
|
||||
myapp_SOURCES = main.c
|
||||
myapp_LDADD = -pthread -L/usr/local/lib -leina -leet -levas -lecore -lecore_evas -lecore_file -ledje
|
||||
myapp_CFLAGS = -I/usr/local/include/eina-1 -I/usr/local/include/eina-1/eina -I/usr/local/include/eet-1 -I/usr/local/include/evas-1 -I/usr/local/include/ecore-1 -I/usr/local/include/edje-1 -I/usr/local/include -I/usr/local/include/embryo-1 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/valgrind -I/usr/include/fribidi -I/usr/include/alsa -I/usr/include/lua5.1
|
||||
@endverbatim
|
||||
*
|
||||
* autogen.sh:
|
||||
*
|
||||
@verbatim
|
||||
#!/bin/sh
|
||||
echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS || exit 1
|
||||
echo "Running autoheader..." ; autoheader || exit 1
|
||||
echo "Running autoconf..." ; autoconf || exit 1
|
||||
echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
|
||||
./configure "$@"
|
||||
@endverbatim
|
||||
*
|
||||
* To generate all the things needed to bootstrap just run:
|
||||
*
|
||||
@verbatim
|
||||
./autogen.sh
|
||||
@endverbatim
|
||||
*
|
||||
* This will generate Makefile.in's, the confgure script and everything else.
|
||||
* After this it works like all normal autotools projects:
|
||||
@verbatim
|
||||
./configure
|
||||
make
|
||||
sudo make install
|
||||
@endverbatim
|
||||
*
|
||||
* Note sudo was assumed to get root permissions, as this would install in
|
||||
* /usr/local which is system-owned. Use any way you like to gain root, or
|
||||
* specify a different prefix with configure:
|
||||
*
|
||||
@verbatim
|
||||
./confiugre --prefix=$HOME/mysoftware
|
||||
@endverbatim
|
||||
*
|
||||
* Also remember that autotools buys you some useful commands like:
|
||||
@verbatim
|
||||
make uninstall
|
||||
@endverbatim
|
||||
*
|
||||
* This uninstalls the software after it was installed with "make install".
|
||||
* It is very useful to clear up what you built if you wish to clean the
|
||||
* system.
|
||||
*
|
||||
@verbatim
|
||||
make distcheck
|
||||
@endverbatim
|
||||
*
|
||||
* This firstly checks if your build tree is "clean" and ready for
|
||||
* distribution. It also builds a tarball (myapp-0.0.0.tar.gz) that is
|
||||
* ready to upload and distribute to the world, that contains the generated
|
||||
* Makefile.in's and configure script. The users do not need to run
|
||||
* autogen.sh - just configure and on. They don't need autotools installed.
|
||||
* This tarball also builds cleanly, has all the sources it needs to build
|
||||
* included (that is sources for your application, not libraries it depends
|
||||
* on like Elementary). It builds cleanly in a buildroot and does not
|
||||
* contain any files that are temporarily generated like binaries and other
|
||||
* build-generated files, so the tarball is clean, and no need to worry
|
||||
* about cleaning up your tree before packaging.
|
||||
*
|
||||
@verbatim
|
||||
make clean
|
||||
@endverbatim
|
||||
*
|
||||
* This cleans up all build files (binaries, objects etc.) from the tree.
|
||||
*
|
||||
@verbatim
|
||||
make distclean
|
||||
@endverbatim
|
||||
*
|
||||
* This cleans out all files from the build and from configure's output too.
|
||||
*
|
||||
@verbatim
|
||||
make maintainer-clean
|
||||
@endverbatim
|
||||
*
|
||||
* This deletes all the files autogen.sh will produce so the tree is clean
|
||||
* to be put into a revision-control system (like CVS, SVN or GIT for example).
|
||||
*
|
||||
* There is a more advanced way of making use of the quicklaunch infrastructure
|
||||
* in Elementary (which will not be covered here due to its more advanced
|
||||
* nature).
|
||||
*
|
||||
* Now let's actually create an interactive "Hello World" gui that you can
|
||||
* click the ok button to exit. It's more code because this now does something
|
||||
* much more significant, but it's still very simple:
|
||||
*
|
||||
@code
|
||||
#include <Elementary.h>
|
||||
|
||||
static void
|
||||
on_done(void *data, Evas_Object *obj, void *event_info)
|
||||
{
|
||||
// quit the mainloop (elm_run function will return)
|
||||
elm_exit();
|
||||
}
|
||||
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
Evas_Object *win, *bg, *box, *lab, *btn;
|
||||
|
||||
// new window - do the usual and give it a name (hello) and title (Hello)
|
||||
win = elm_win_util_standard_add("hello", "Hello");
|
||||
// when the user clicks "close" on a window there is a request to delete
|
||||
evas_object_smart_callback_add(win, "delete,request", on_done, NULL);
|
||||
|
||||
// add a box object - default is vertical. a box holds children in a row,
|
||||
// either horizontally or vertically. nothing more.
|
||||
box = elm_box_add(win);
|
||||
// make the box hotizontal
|
||||
elm_box_horizontal_set(box, EINA_TRUE);
|
||||
// add object as a resize object for the window (controls window minimum
|
||||
// size as well as gets resized if window is resized)
|
||||
elm_win_resize_object_add(win, box);
|
||||
evas_object_show(box);
|
||||
|
||||
// add a label widget, set the text and put it in the pad frame
|
||||
lab = elm_label_add(win);
|
||||
// set default text of the label
|
||||
elm_object_text_set(lab, "Hello out there world!");
|
||||
// pack the label at the end of the box
|
||||
elm_box_pack_end(box, lab);
|
||||
evas_object_show(lab);
|
||||
|
||||
// add an ok button
|
||||
btn = elm_button_add(win);
|
||||
// set default text of button to "OK"
|
||||
elm_object_text_set(btn, "OK");
|
||||
// pack the button at the end of the box
|
||||
elm_box_pack_end(box, btn);
|
||||
evas_object_show(btn);
|
||||
// call on_done when button is clicked
|
||||
evas_object_smart_callback_add(btn, "clicked", on_done, NULL);
|
||||
|
||||
// now we are done, show the window
|
||||
evas_object_show(win);
|
||||
|
||||
// run the mainloop and process events and callbacks
|
||||
elm_run();
|
||||
elm_shutdown();
|
||||
return 0;
|
||||
}
|
||||
ELM_MAIN()
|
||||
@endcode
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
@page authors Authors
|
||||
@author Carsten Haitzler <raster@@rasterman.com>
|
||||
@author Gustavo Sverzut Barbieri <barbieri@@profusion.mobi>
|
||||
@author Cedric Bail <cedric.bail@@free.fr>
|
||||
@author Vincent Torri <vtorri@@univ-evry.fr>
|
||||
@author Daniel Kolesa <quaker66@@gmail.com>
|
||||
@author Jaime Thomas <avi.thomas@@gmail.com>
|
||||
@author Swisscom - http://www.swisscom.ch/
|
||||
@author Christopher Michael <devilhorns@@comcast.net>
|
||||
@author Marco Trevisan (Treviño) <mail@@3v1n0.net>
|
||||
@author Michael Bouchaud <michael.bouchaud@@gmail.com>
|
||||
@author Jonathan Atton (Watchwolf) <jonathan.atton@@gmail.com>
|
||||
@author Brian Wang <brian.wang.0721@@gmail.com>
|
||||
@author Mike Blumenkrantz (discomfitor/zmike) <michael.blumenkrantz@@gmail.com>
|
||||
@author Samsung Electronics <tbd>
|
||||
@author Samsung SAIT <tbd>
|
||||
@author Brett Nash <nash@@nash.id.au>
|
||||
@author Bruno Dilly <bdilly@@profusion.mobi>
|
||||
@author Rafael Fonseca <rfonseca@@profusion.mobi>
|
||||
@author Chuneon Park <hermet@@hermet.pe.kr>
|
||||
@author Woohyun Jung <wh0705.jung@@samsung.com>
|
||||
@author Jaehwan Kim <jae.hwan.kim@@samsung.com>
|
||||
@author Wonguk Jeong <wonguk.jeong@@samsung.com>
|
||||
@author Leandro A. F. Pereira <leandro@@profusion.mobi>
|
||||
@author Helen Fornazier <helen.fornazier@@profusion.mobi>
|
||||
@author Gustavo Lima Chaves <glima@@profusion.mobi>
|
||||
@author Fabiano Fidêncio <fidencio@@profusion.mobi>
|
||||
@author Tiago Falcão <tiago@@profusion.mobi>
|
||||
@author Otavio Pontes <otavio@@profusion.mobi>
|
||||
@author Viktor Kojouharov <vkojouharov@@gmail.com>
|
||||
@author Daniel Juyung Seo (SeoZ) <juyung.seo@@samsung.com> <seojuyung2@@gmail.com>
|
||||
@author Sangho Park <sangho.g.park@@samsung.com> <gouache95@@gmail.com>
|
||||
@author Rajeev Ranjan (Rajeev) <rajeev.r@@samsung.com> <rajeev.jnnce@@gmail.com>
|
||||
@author Seunggyun Kim <sgyun.kim@@samsung.com> <tmdrbs@@gmail.com>
|
||||
@author Sohyun Kim <anna1014.kim@@samsung.com> <sohyun.anna@@gmail.com>
|
||||
@author Jihoon Kim <jihoon48.kim@@samsung.com>
|
||||
@author Jeonghyun Yun (arosis) <jh0506.yun@@samsung.com>
|
||||
@author Tom Hacohen <tom@@stosb.com>
|
||||
@author Aharon Hillel <a.hillel@@partner.samsung.com>
|
||||
@author Jonathan Atton (Watchwolf) <jonathan.atton@@gmail.com>
|
||||
@author Shinwoo Kim <kimcinoo@@gmail.com>
|
||||
@author Govindaraju SM <govi.sm@@samsung.com> <govism@@gmail.com>
|
||||
@author Prince Kumar Dubey <prince.dubey@@samsung.com> <prince.dubey@@gmail.com>
|
||||
@author Sung W. Park <sungwoo@@gmail.com>
|
||||
@author Thierry el Borgi <thierry@@substantiel.fr>
|
||||
@author Shilpa Singh <shilpa.singh@@samsung.com> <shilpasingh.o@@gmail.com>
|
||||
@author Chanwook Jung <joey.jung@@samsung.com>
|
||||
@author Hyoyoung Chang <hyoyoung.chang@@samsung.com>
|
||||
@author Guillaume "Kuri" Friloux <guillaume.friloux@@asp64.com>
|
||||
@author Kim Yunhan <spbear@@gmail.com>
|
||||
@author Bluezery <ohpowel@@gmail.com>
|
||||
@author Nicolas Aguirre <aguirre.nicolas@@gmail.com>
|
||||
@author Sanjeev BA <iamsanjeev@@gmail.com>
|
||||
|
||||
Please contact <enlightenment-devel@lists.sourceforge.net> to get in
|
||||
contact with the developers and maintainers.
|
||||
* @file Elementary.h
|
||||
* @brief Elementary Widget Library
|
||||
*/
|
||||
#include <elm_intro.h>
|
||||
#include <elm_getting_started.h>
|
||||
#include <elm_authors.h>
|
||||
|
||||
#ifndef ELEMENTARY_H
|
||||
#define ELEMENTARY_H
|
||||
|
@ -364,7 +70,6 @@ contact with the developers and maintainers.
|
|||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
/* EFL headers */
|
||||
#include <Eina.h>
|
||||
#include <Eet.h>
|
||||
|
@ -429,7 +134,8 @@ contact with the developers and maintainers.
|
|||
|
||||
/* allow usage from c++ */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#define ELM_VERSION_MAJOR 0
|
||||
|
|
|
@ -1,314 +1,9 @@
|
|||
/*
|
||||
*
|
||||
* vim:ts=8:sw=3:sts=3:expandtab:cino=>5n-3f0^-2{2(0W1st0
|
||||
*/
|
||||
|
||||
/**
|
||||
@file Elementary.h.in
|
||||
@brief Elementary Widget Library
|
||||
*/
|
||||
|
||||
/**
|
||||
@mainpage Elementary
|
||||
@image html elementary.png
|
||||
@version 0.8.0
|
||||
@date 2008-2011
|
||||
|
||||
@section intro What is Elementary?
|
||||
|
||||
This is a VERY SIMPLE toolkit. It is not meant for writing extensive desktop
|
||||
applications (yet). Small simple ones with simple needs.
|
||||
|
||||
It is meant to make the programmers work almost brainless but give them lots
|
||||
of flexibility.
|
||||
|
||||
@li @ref Start - Go here to quickly get started with writing Apps
|
||||
|
||||
@section organization Organization
|
||||
|
||||
One can divide Elemementary into three main groups:
|
||||
@li @ref infralist - These are modules that deal with Elementary as a whole.
|
||||
@li @ref widgetslist - These are the widgets you'll compose your UI out of.
|
||||
@li @ref containerslist - These are the containers which hold the widgets.
|
||||
|
||||
@section license License
|
||||
|
||||
LGPL v2 (see COPYING in the base of Elementary's source). This applies to
|
||||
all files in the source tree.
|
||||
|
||||
@section ack Acknowledgements
|
||||
There is a lot that goes into making a widget set, and they don't happen out of
|
||||
nothing. It's like trying to make everyone everywhere happy, regardless of age,
|
||||
gender, race or nationality - and that is really tough. So thanks to people and
|
||||
organisations behind this, as listed in the @ref authors page.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @defgroup Start Getting Started
|
||||
*
|
||||
* To write an Elementary app, you can get started with the following:
|
||||
*
|
||||
@code
|
||||
#include <Elementary.h>
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
// create window(s) here and do any application init
|
||||
elm_run(); // run main loop
|
||||
elm_shutdown(); // after mainloop finishes running, shutdown
|
||||
return 0; // exit 0 for exit code
|
||||
}
|
||||
ELM_MAIN()
|
||||
@endcode
|
||||
*
|
||||
* To use autotools (which helps in many ways in the long run, like being able
|
||||
* to immediately create releases of your software directly from your tree
|
||||
* and ensure everything needed to build it is there) you will need a
|
||||
* configure.ac, Makefile.am and autogen.sh file.
|
||||
*
|
||||
* configure.ac:
|
||||
*
|
||||
@verbatim
|
||||
AC_INIT(myapp, 0.0.0, myname@mydomain.com)
|
||||
AC_PREREQ(2.52)
|
||||
AC_CONFIG_SRCDIR(configure.ac)
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
AC_PROG_CC
|
||||
AM_INIT_AUTOMAKE(1.6 dist-bzip2)
|
||||
PKG_CHECK_MODULES([ELEMENTARY], elementary)
|
||||
AC_OUTPUT(Makefile)
|
||||
@endverbatim
|
||||
*
|
||||
* Makefile.am:
|
||||
*
|
||||
@verbatim
|
||||
AUTOMAKE_OPTIONS = 1.4 foreign
|
||||
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.h.in configure depcomp install-sh missing
|
||||
|
||||
INCLUDES = -I$(top_srcdir)
|
||||
|
||||
bin_PROGRAMS = myapp
|
||||
|
||||
myapp_SOURCES = main.c
|
||||
myapp_LDADD = @ELEMENTARY_LIBS@
|
||||
myapp_CFLAGS = @ELEMENTARY_CFLAGS@
|
||||
@endverbatim
|
||||
*
|
||||
* autogen.sh:
|
||||
*
|
||||
@verbatim
|
||||
#!/bin/sh
|
||||
echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS || exit 1
|
||||
echo "Running autoheader..." ; autoheader || exit 1
|
||||
echo "Running autoconf..." ; autoconf || exit 1
|
||||
echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
|
||||
./configure "$@"
|
||||
@endverbatim
|
||||
*
|
||||
* To generate all the things needed to bootstrap just run:
|
||||
*
|
||||
@verbatim
|
||||
./autogen.sh
|
||||
@endverbatim
|
||||
*
|
||||
* This will generate Makefile.in's, the confgure script and everything else.
|
||||
* After this it works like all normal autotools projects:
|
||||
@verbatim
|
||||
./configure
|
||||
make
|
||||
sudo make install
|
||||
@endverbatim
|
||||
*
|
||||
* Note sudo was assumed to get root permissions, as this would install in
|
||||
* /usr/local which is system-owned. Use any way you like to gain root, or
|
||||
* specify a different prefix with configure:
|
||||
*
|
||||
@verbatim
|
||||
./confiugre --prefix=$HOME/mysoftware
|
||||
@endverbatim
|
||||
*
|
||||
* Also remember that autotools buys you some useful commands like:
|
||||
@verbatim
|
||||
make uninstall
|
||||
@endverbatim
|
||||
*
|
||||
* This uninstalls the software after it was installed with "make install".
|
||||
* It is very useful to clear up what you built if you wish to clean the
|
||||
* system.
|
||||
*
|
||||
@verbatim
|
||||
make distcheck
|
||||
@endverbatim
|
||||
*
|
||||
* This firstly checks if your build tree is "clean" and ready for
|
||||
* distribution. It also builds a tarball (myapp-0.0.0.tar.gz) that is
|
||||
* ready to upload and distribute to the world, that contains the generated
|
||||
* Makefile.in's and configure script. The users do not need to run
|
||||
* autogen.sh - just configure and on. They don't need autotools installed.
|
||||
* This tarball also builds cleanly, has all the sources it needs to build
|
||||
* included (that is sources for your application, not libraries it depends
|
||||
* on like Elementary). It builds cleanly in a buildroot and does not
|
||||
* contain any files that are temporarily generated like binaries and other
|
||||
* build-generated files, so the tarball is clean, and no need to worry
|
||||
* about cleaning up your tree before packaging.
|
||||
*
|
||||
@verbatim
|
||||
make clean
|
||||
@endverbatim
|
||||
*
|
||||
* This cleans up all build files (binaries, objects etc.) from the tree.
|
||||
*
|
||||
@verbatim
|
||||
make distclean
|
||||
@endverbatim
|
||||
*
|
||||
* This cleans out all files from the build and from configure's output too.
|
||||
*
|
||||
@verbatim
|
||||
make maintainer-clean
|
||||
@endverbatim
|
||||
*
|
||||
* This deletes all the files autogen.sh will produce so the tree is clean
|
||||
* to be put into a revision-control system (like CVS, SVN or GIT for example).
|
||||
*
|
||||
* There is a more advanced way of making use of the quicklaunch infrastructure
|
||||
* in Elementary (which will not be covered here due to its more advanced
|
||||
* nature).
|
||||
*
|
||||
* Now let's actually create an interactive "Hello World" gui that you can
|
||||
* click the ok button to exit. It's more code because this now does something
|
||||
* much more significant, but it's still very simple:
|
||||
*
|
||||
@code
|
||||
#include <Elementary.h>
|
||||
|
||||
static void
|
||||
on_done(void *data, Evas_Object *obj, void *event_info)
|
||||
{
|
||||
// quit the mainloop (elm_run function will return)
|
||||
elm_exit();
|
||||
}
|
||||
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
Evas_Object *win, *bg, *box, *lab, *btn;
|
||||
|
||||
// new window - do the usual and give it a name (hello) and title (Hello)
|
||||
win = elm_win_util_standard_add("hello", "Hello");
|
||||
// when the user clicks "close" on a window there is a request to delete
|
||||
evas_object_smart_callback_add(win, "delete,request", on_done, NULL);
|
||||
|
||||
// add a box object - default is vertical. a box holds children in a row,
|
||||
// either horizontally or vertically. nothing more.
|
||||
box = elm_box_add(win);
|
||||
// make the box hotizontal
|
||||
elm_box_horizontal_set(box, EINA_TRUE);
|
||||
// add object as a resize object for the window (controls window minimum
|
||||
// size as well as gets resized if window is resized)
|
||||
elm_win_resize_object_add(win, box);
|
||||
evas_object_show(box);
|
||||
|
||||
// add a label widget, set the text and put it in the pad frame
|
||||
lab = elm_label_add(win);
|
||||
// set default text of the label
|
||||
elm_object_text_set(lab, "Hello out there world!");
|
||||
// pack the label at the end of the box
|
||||
elm_box_pack_end(box, lab);
|
||||
evas_object_show(lab);
|
||||
|
||||
// add an ok button
|
||||
btn = elm_button_add(win);
|
||||
// set default text of button to "OK"
|
||||
elm_object_text_set(btn, "OK");
|
||||
// pack the button at the end of the box
|
||||
elm_box_pack_end(box, btn);
|
||||
evas_object_show(btn);
|
||||
// call on_done when button is clicked
|
||||
evas_object_smart_callback_add(btn, "clicked", on_done, NULL);
|
||||
|
||||
// now we are done, show the window
|
||||
evas_object_show(win);
|
||||
|
||||
// run the mainloop and process events and callbacks
|
||||
elm_run();
|
||||
elm_shutdown();
|
||||
return 0;
|
||||
}
|
||||
ELM_MAIN()
|
||||
@endcode
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
@page authors Authors
|
||||
@author Carsten Haitzler <raster@@rasterman.com>
|
||||
@author Gustavo Sverzut Barbieri <barbieri@@profusion.mobi>
|
||||
@author Cedric Bail <cedric.bail@@free.fr>
|
||||
@author Vincent Torri <vtorri@@univ-evry.fr>
|
||||
@author Daniel Kolesa <quaker66@@gmail.com>
|
||||
@author Jaime Thomas <avi.thomas@@gmail.com>
|
||||
@author Swisscom - http://www.swisscom.ch/
|
||||
@author Christopher Michael <devilhorns@@comcast.net>
|
||||
@author Marco Trevisan (Treviño) <mail@@3v1n0.net>
|
||||
@author Michael Bouchaud <michael.bouchaud@@gmail.com>
|
||||
@author Jonathan Atton (Watchwolf) <jonathan.atton@@gmail.com>
|
||||
@author Brian Wang <brian.wang.0721@@gmail.com>
|
||||
@author Mike Blumenkrantz (discomfitor/zmike) <michael.blumenkrantz@@gmail.com>
|
||||
@author Samsung Electronics <tbd>
|
||||
@author Samsung SAIT <tbd>
|
||||
@author Brett Nash <nash@@nash.id.au>
|
||||
@author Bruno Dilly <bdilly@@profusion.mobi>
|
||||
@author Rafael Fonseca <rfonseca@@profusion.mobi>
|
||||
@author Chuneon Park <hermet@@hermet.pe.kr>
|
||||
@author Woohyun Jung <wh0705.jung@@samsung.com>
|
||||
@author Jaehwan Kim <jae.hwan.kim@@samsung.com>
|
||||
@author Wonguk Jeong <wonguk.jeong@@samsung.com>
|
||||
@author Leandro A. F. Pereira <leandro@@profusion.mobi>
|
||||
@author Helen Fornazier <helen.fornazier@@profusion.mobi>
|
||||
@author Gustavo Lima Chaves <glima@@profusion.mobi>
|
||||
@author Fabiano Fidêncio <fidencio@@profusion.mobi>
|
||||
@author Tiago Falcão <tiago@@profusion.mobi>
|
||||
@author Otavio Pontes <otavio@@profusion.mobi>
|
||||
@author Viktor Kojouharov <vkojouharov@@gmail.com>
|
||||
@author Daniel Juyung Seo (SeoZ) <juyung.seo@@samsung.com> <seojuyung2@@gmail.com>
|
||||
@author Sangho Park <sangho.g.park@@samsung.com> <gouache95@@gmail.com>
|
||||
@author Rajeev Ranjan (Rajeev) <rajeev.r@@samsung.com> <rajeev.jnnce@@gmail.com>
|
||||
@author Seunggyun Kim <sgyun.kim@@samsung.com> <tmdrbs@@gmail.com>
|
||||
@author Sohyun Kim <anna1014.kim@@samsung.com> <sohyun.anna@@gmail.com>
|
||||
@author Jihoon Kim <jihoon48.kim@@samsung.com>
|
||||
@author Jeonghyun Yun (arosis) <jh0506.yun@@samsung.com>
|
||||
@author Tom Hacohen <tom@@stosb.com>
|
||||
@author Aharon Hillel <a.hillel@@partner.samsung.com>
|
||||
@author Jonathan Atton (Watchwolf) <jonathan.atton@@gmail.com>
|
||||
@author Shinwoo Kim <kimcinoo@@gmail.com>
|
||||
@author Govindaraju SM <govi.sm@@samsung.com> <govism@@gmail.com>
|
||||
@author Prince Kumar Dubey <prince.dubey@@samsung.com> <prince.dubey@@gmail.com>
|
||||
@author Sung W. Park <sungwoo@@gmail.com>
|
||||
@author Thierry el Borgi <thierry@@substantiel.fr>
|
||||
@author Shilpa Singh <shilpa.singh@@samsung.com> <shilpasingh.o@@gmail.com>
|
||||
@author Chanwook Jung <joey.jung@@samsung.com>
|
||||
@author Hyoyoung Chang <hyoyoung.chang@@samsung.com>
|
||||
@author Guillaume "Kuri" Friloux <guillaume.friloux@@asp64.com>
|
||||
@author Kim Yunhan <spbear@@gmail.com>
|
||||
@author Bluezery <ohpowel@@gmail.com>
|
||||
@author Nicolas Aguirre <aguirre.nicolas@@gmail.com>
|
||||
@author Sanjeev BA <iamsanjeev@@gmail.com>
|
||||
|
||||
Please contact <enlightenment-devel@lists.sourceforge.net> to get in
|
||||
contact with the developers and maintainers.
|
||||
*/
|
||||
|
||||
#ifndef ELEMENTARY_H
|
||||
#define ELEMENTARY_H
|
||||
|
||||
/**
|
||||
* @file Elementary.h
|
||||
* @brief Elementary's API
|
||||
*
|
||||
* Elementary API.
|
||||
* @brief Elementary Widget Library
|
||||
*/
|
||||
#ifndef ELEMENTARY_H
|
||||
#define ELEMENTARY_H
|
||||
|
||||
@ELM_UNIX_DEF@ ELM_UNIX
|
||||
@ELM_WIN32_DEF@ ELM_WIN32
|
||||
|
@ -364,7 +59,6 @@ contact with the developers and maintainers.
|
|||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
/* EFL headers */
|
||||
#include <Eina.h>
|
||||
#include <Eet.h>
|
||||
|
@ -429,9 +123,15 @@ contact with the developers and maintainers.
|
|||
|
||||
/* allow usage from c++ */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
/* docs */
|
||||
#include <elm_intro.h>
|
||||
#include <elm_getting_started.h>
|
||||
#include <elm_authors.h>
|
||||
|
||||
#define ELM_VERSION_MAJOR @VMAJ@
|
||||
#define ELM_VERSION_MINOR @VMIN@
|
||||
|
||||
|
|
|
@ -85,4 +85,3 @@
|
|||
#define ELM_CURSOR_XTERM "xterm"
|
||||
|
||||
#endif // ifndef _ELM_CURSOR_H
|
||||
|
||||
|
|
|
@ -56,6 +56,7 @@ elc_multibuttonentry.h \
|
|||
elc_naviframe.h \
|
||||
elm_actionslider.h \
|
||||
elm_app.h \
|
||||
elm_authors.h \
|
||||
elm_bg.h \
|
||||
elm_box.h \
|
||||
elm_bubble.h \
|
||||
|
@ -85,12 +86,14 @@ elm_general.h \
|
|||
elm_gengrid.h \
|
||||
elm_genlist.h \
|
||||
elm_gesture_layer.h \
|
||||
elm_getting_started.h \
|
||||
elm_glview.h \
|
||||
elm_grid.h \
|
||||
elm_hover.h \
|
||||
elm_icon.h \
|
||||
elm_image.h \
|
||||
elm_index.h \
|
||||
elm_intro.h \
|
||||
elm_label.h \
|
||||
elm_layout.h \
|
||||
elm_list.h \
|
||||
|
|
|
@ -50,7 +50,8 @@
|
|||
attribute */
|
||||
int button; /**< The mouse button used to click on it */
|
||||
Evas_Object *hover; /**< The hover object to use for the popup */
|
||||
struct {
|
||||
struct
|
||||
{
|
||||
Evas_Coord x, y, w, h;
|
||||
} anchor, /**< Geometry selection of text used as anchor */
|
||||
hover_parent; /**< Geometry of the object used as parent by the
|
||||
|
@ -81,7 +82,9 @@
|
|||
* @param parent The parent object
|
||||
* @return The new object or NULL if it cannot be created
|
||||
*/
|
||||
EAPI Evas_Object *elm_anchorblock_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_anchorblock_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set the text to show in the anchorblock
|
||||
|
@ -224,4 +227,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -53,7 +53,8 @@
|
|||
attribute */
|
||||
int button; /**< The mouse button used to click on it */
|
||||
Evas_Object *hover; /**< The hover object to use for the popup */
|
||||
struct {
|
||||
struct
|
||||
{
|
||||
Evas_Coord x, y, w, h;
|
||||
} anchor, /**< Geometry selection of text used as anchor */
|
||||
hover_parent; /**< Geometry of the object used as parent by the
|
||||
|
@ -84,7 +85,9 @@
|
|||
* @param parent The parent object
|
||||
* @return The new object or NULL if it cannot be created
|
||||
*/
|
||||
EAPI Evas_Object *elm_anchorview_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_anchorview_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set the text to show in the anchorview
|
||||
|
@ -257,4 +260,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -32,11 +32,6 @@
|
|||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @addtogroup Ctxpopup
|
||||
* @{
|
||||
*/
|
||||
|
||||
typedef enum _Elm_Ctxpopup_Direction
|
||||
{
|
||||
ELM_CTXPOPUP_DIRECTION_DOWN, /**< ctxpopup show appear below clicked
|
||||
|
@ -48,7 +43,7 @@
|
|||
ELM_CTXPOPUP_DIRECTION_UP, /**< ctxpopup show appear above the clicked
|
||||
area */
|
||||
ELM_CTXPOPUP_DIRECTION_UNKNOWN, /**< ctxpopup does not determine it's direction yet*/
|
||||
} Elm_Ctxpopup_Direction;
|
||||
} Elm_Ctxpopup_Direction; /**< Direction in which to show the popup */
|
||||
|
||||
/**
|
||||
* @brief Add a new Ctxpopup object to the parent.
|
||||
|
@ -58,7 +53,9 @@
|
|||
*
|
||||
* @ingroup Ctxpopup
|
||||
*/
|
||||
EAPI Evas_Object *elm_ctxpopup_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_ctxpopup_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* @brief Set the Ctxpopup's parent
|
||||
|
@ -324,4 +321,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -72,7 +72,9 @@
|
|||
*
|
||||
* @ingroup Fileselector
|
||||
*/
|
||||
EAPI Evas_Object *elm_fileselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_fileselector_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Enable/disable the file name entry box where the user can type
|
||||
|
@ -143,7 +145,7 @@
|
|||
* selector widget
|
||||
*
|
||||
* @param obj The file selector object
|
||||
* @param only @c EINA_TRUE to show them, @c EINA_FALSE to hide.
|
||||
* @param buttons @c EINA_TRUE to show buttons, @c EINA_FALSE to hide.
|
||||
*
|
||||
* @note A file selector without those buttons will never emit the
|
||||
* @c "done" smart event, and is only usable if one is just hooking
|
||||
|
@ -310,4 +312,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -44,7 +44,9 @@
|
|||
* @return a new file selector button widget handle or @c NULL, on
|
||||
* errors
|
||||
*/
|
||||
EAPI Evas_Object *elm_fileselector_button_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_fileselector_button_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set the label for a given file selector button widget
|
||||
|
@ -196,7 +198,7 @@
|
|||
* widget's internal file selector
|
||||
*
|
||||
* @param obj The file selector button widget
|
||||
* @param expand @c EINA_TRUE to enable tree view, @c EINA_FALSE to
|
||||
* @param value @c EINA_TRUE to enable tree view, @c EINA_FALSE to
|
||||
* disable
|
||||
*
|
||||
* This has the same effect as elm_fileselector_expandable_set(),
|
||||
|
@ -229,7 +231,7 @@
|
|||
* as well.
|
||||
*
|
||||
* @param obj The file selector button widget
|
||||
* @param only @c EINA_TRUE to make @p obj widget's internal file
|
||||
* @param value @c EINA_TRUE to make @p obj widget's internal file
|
||||
* selector only display directories, @c EINA_FALSE to make files
|
||||
* to be displayed in it too
|
||||
*
|
||||
|
@ -261,7 +263,7 @@
|
|||
* internal file selector.
|
||||
*
|
||||
* @param obj The file selector button widget
|
||||
* @param is_save @c EINA_TRUE to make @p obj widget's internal
|
||||
* @param value @c EINA_TRUE to make @p obj widget's internal
|
||||
* file selector a "saving dialog", @c EINA_FALSE otherwise
|
||||
*
|
||||
* This has the same effect as elm_fileselector_is_save_set(),
|
||||
|
@ -315,4 +317,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -56,7 +56,9 @@
|
|||
* @return a new file selector entry widget handle or @c NULL, on
|
||||
* errors
|
||||
*/
|
||||
EAPI Evas_Object *elm_fileselector_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_fileselector_entry_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set the label for a given file selector entry widget's button
|
||||
|
@ -357,4 +359,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -47,7 +47,9 @@
|
|||
* @param parent The parent object
|
||||
* @return The new object or NULL if it cannot be created
|
||||
*/
|
||||
EAPI Evas_Object *elm_hoversel_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_hoversel_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* @brief This sets the hoversel to expand horizontally.
|
||||
|
@ -319,4 +321,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -38,7 +38,9 @@
|
|||
* @return The new object or NULL if it cannot be created
|
||||
*
|
||||
*/
|
||||
EAPI Evas_Object *elm_multibuttonentry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_multibuttonentry_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Get the label
|
||||
|
@ -302,4 +304,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -62,7 +62,9 @@
|
|||
*
|
||||
* @ingroup Naviframe
|
||||
*/
|
||||
EAPI Evas_Object *elm_naviframe_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_naviframe_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* @brief Push a new item to the top of the naviframe stack (and show it).
|
||||
|
@ -383,4 +385,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -46,7 +46,9 @@
|
|||
* @param parent The parent object
|
||||
* @return The new actionslider object or NULL if it cannot be created
|
||||
*/
|
||||
EAPI Evas_Object *elm_actionslider_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_actionslider_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set actionslider labels.
|
||||
|
@ -151,4 +153,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -191,4 +191,3 @@
|
|||
* using.
|
||||
*/
|
||||
EAPI const char *elm_app_locale_dir_get(void);
|
||||
|
||||
|
|
|
@ -0,0 +1,61 @@
|
|||
/**
|
||||
* @page authors Authors
|
||||
* @author Carsten Haitzler <raster@@rasterman.com>
|
||||
* @author Gustavo Sverzut Barbieri <barbieri@@profusion.mobi>
|
||||
* @author Cedric Bail <cedric.bail@@free.fr>
|
||||
* @author Vincent Torri <vtorri@@univ-evry.fr>
|
||||
* @author Daniel Kolesa <quaker66@@gmail.com>
|
||||
* @author Jaime Thomas <avi.thomas@@gmail.com>
|
||||
* @author Swisscom - http://www.swisscom.ch/
|
||||
* @author Christopher Michael <devilhorns@@comcast.net>
|
||||
* @author Marco Trevisan (Treviño) <mail@@3v1n0.net>
|
||||
* @author Michael Bouchaud <michael.bouchaud@@gmail.com>
|
||||
* @author Jonathan Atton (Watchwolf) <jonathan.atton@@gmail.com>
|
||||
* @author Brian Wang <brian.wang.0721@@gmail.com>
|
||||
* @author Mike Blumenkrantz (discomfitor/zmike) <michael.blumenkrantz@@gmail.com>
|
||||
* @author Samsung Electronics tbd
|
||||
* @author Samsung SAIT tbd
|
||||
* @author Brett Nash <nash@@nash.id.au>
|
||||
* @author Bruno Dilly <bdilly@@profusion.mobi>
|
||||
* @author Rafael Fonseca <rfonseca@@profusion.mobi>
|
||||
* @author Chuneon Park <hermet@@hermet.pe.kr>
|
||||
* @author Woohyun Jung <wh0705.jung@@samsung.com>
|
||||
* @author Jaehwan Kim <jae.hwan.kim@@samsung.com>
|
||||
* @author Wonguk Jeong <wonguk.jeong@@samsung.com>
|
||||
* @author Leandro A. F. Pereira <leandro@@profusion.mobi>
|
||||
* @author Helen Fornazier <helen.fornazier@@profusion.mobi>
|
||||
* @author Gustavo Lima Chaves <glima@@profusion.mobi>
|
||||
* @author Fabiano Fidêncio <fidencio@@profusion.mobi>
|
||||
* @author Tiago Falcão <tiago@@profusion.mobi>
|
||||
* @author Otavio Pontes <otavio@@profusion.mobi>
|
||||
* @author Viktor Kojouharov <vkojouharov@@gmail.com>
|
||||
* @author Daniel Juyung Seo (SeoZ) <juyung.seo@@samsung.com> <seojuyung2@@gmail.com>
|
||||
* @author Sangho Park <sangho.g.park@@samsung.com> <gouache95@@gmail.com>
|
||||
* @author Rajeev Ranjan (Rajeev) <rajeev.r@@samsung.com> <rajeev.jnnce@@gmail.com>
|
||||
* @author Seunggyun Kim <sgyun.kim@@samsung.com> <tmdrbs@@gmail.com>
|
||||
* @author Sohyun Kim <anna1014.kim@@samsung.com> <sohyun.anna@@gmail.com>
|
||||
* @author Jihoon Kim <jihoon48.kim@@samsung.com>
|
||||
* @author Jeonghyun Yun (arosis) <jh0506.yun@@samsung.com>
|
||||
* @author Tom Hacohen <tom@@stosb.com>
|
||||
* @author Aharon Hillel <a.hillel@@partner.samsung.com>
|
||||
* @author Jonathan Atton (Watchwolf) <jonathan.atton@@gmail.com>
|
||||
* @author Shinwoo Kim <kimcinoo@@gmail.com>
|
||||
* @author Govindaraju SM <govi.sm@@samsung.com> <govism@@gmail.com>
|
||||
* @author Prince Kumar Dubey <prince.dubey@@samsung.com> <prince.dubey@@gmail.com>
|
||||
* @author Sung W. Park <sungwoo@@gmail.com>
|
||||
* @author Thierry el Borgi <thierry@@substantiel.fr>
|
||||
* @author Shilpa Singh <shilpa.singh@@samsung.com> <shilpasingh.o@@gmail.com>
|
||||
* @author Chanwook Jung <joey.jung@@samsung.com>
|
||||
* @author Hyoyoung Chang <hyoyoung.chang@@samsung.com>
|
||||
* @author Guillaume "Kuri" Friloux <guillaume.friloux@@asp64.com>
|
||||
* @author Kim Yunhan <spbear@@gmail.com>
|
||||
* @author Bluezery <ohpowel@@gmail.com>
|
||||
* @author Nicolas Aguirre <aguirre.nicolas@@gmail.com>
|
||||
* @author Sanjeev BA <iamsanjeev@@gmail.com>
|
||||
* @author Hyunsil Park <hyunsil.park@samsung.com>
|
||||
* @author Goun Lee <gouni.lee@samsung.com>
|
||||
* @author Mikael Sans <sans.mikael@gmail.com>
|
||||
*
|
||||
* Please contact <enlightenment-devel@lists.sourceforge.net> to get in
|
||||
* contact with the developers and maintainers.
|
||||
*/
|
|
@ -38,7 +38,9 @@
|
|||
*
|
||||
* @ingroup Bg
|
||||
*/
|
||||
EAPI Evas_Object *elm_bg_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_bg_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set the file (image or edje) used for the background
|
||||
|
@ -187,4 +189,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -87,7 +87,9 @@
|
|||
* @param parent The parent object
|
||||
* @return The new object or NULL if it cannot be created
|
||||
*/
|
||||
EAPI Evas_Object *elm_box_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_box_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set the horizontal orientation
|
||||
|
@ -450,4 +452,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -51,7 +51,9 @@
|
|||
*
|
||||
* This function adds a text bubble to the given parent evas object.
|
||||
*/
|
||||
EAPI Evas_Object *elm_bubble_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_bubble_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set the label of the bubble
|
||||
|
@ -215,4 +217,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -44,7 +44,9 @@
|
|||
* @param parent The parent object
|
||||
* @return The new object or NULL if it cannot be created
|
||||
*/
|
||||
EAPI Evas_Object *elm_button_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_button_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set the label used in the button
|
||||
|
@ -191,4 +193,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -246,4 +246,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -44,7 +44,9 @@
|
|||
*
|
||||
* @ingroup Calendar
|
||||
*/
|
||||
EAPI Evas_Object *elm_calendar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_calendar_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Get weekdays names displayed by the calendar.
|
||||
|
@ -171,7 +173,6 @@
|
|||
*/
|
||||
EAPI Eina_Bool elm_calendar_day_selection_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
|
||||
|
||||
|
||||
/**
|
||||
* Set selected date to be highlighted on calendar.
|
||||
*
|
||||
|
@ -471,4 +472,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -39,7 +39,9 @@
|
|||
* @param parent The parent object
|
||||
* @return The new object or NULL if it cannot be created
|
||||
*/
|
||||
EAPI Evas_Object *elm_check_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_check_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* @brief Set the text label of the check object
|
||||
|
@ -140,4 +142,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -72,7 +72,9 @@
|
|||
*
|
||||
* @ingroup Clock
|
||||
*/
|
||||
EAPI Evas_Object *elm_clock_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_clock_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set a clock widget's time, programmatically
|
||||
|
@ -301,4 +303,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -103,4 +103,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -21,7 +21,9 @@
|
|||
*
|
||||
* @ingroup Colorselector
|
||||
*/
|
||||
EAPI Evas_Object *elm_colorselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_colorselector_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
/**
|
||||
* Set a color for the colorselector
|
||||
*
|
||||
|
@ -49,4 +51,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -566,4 +566,3 @@
|
|||
* @ingroup Longpress
|
||||
*/
|
||||
EAPI void elm_longpress_timeout_set(double longpress_timeout);
|
||||
|
||||
|
|
|
@ -42,7 +42,9 @@
|
|||
*
|
||||
* @ingroup Conformant
|
||||
*/
|
||||
EAPI Evas_Object *elm_conformant_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_conformant_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set the content of the conformant widget.
|
||||
|
@ -116,4 +118,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -37,7 +37,9 @@
|
|||
*
|
||||
* @ingroup Cursors
|
||||
*/
|
||||
EAPI void elm_object_cursor_set(Evas_Object *obj, const char *cursor) EINA_ARG_NONNULL(1);
|
||||
EAPI void
|
||||
elm_object_cursor_set(Evas_Object *obj, const char *cursor)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Get the cursor to be shown when mouse is over the object
|
||||
|
@ -141,4 +143,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -25,4 +25,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -82,7 +82,9 @@
|
|||
*
|
||||
* @return The toggle object
|
||||
*/
|
||||
EINA_DEPRECATED EAPI Evas_Object *elm_toggle_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EINA_DEPRECATED EAPI Evas_Object *
|
||||
elm_toggle_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* @brief Sets the label to be displayed with the toggle.
|
||||
|
@ -267,4 +269,3 @@
|
|||
EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_autosave_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
|
||||
EINA_DEPRECATED EAPI void elm_scrolled_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly) EINA_ARG_NONNULL(1);
|
||||
EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cnp_textonly_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
|
||||
|
||||
|
|
|
@ -41,7 +41,9 @@
|
|||
*
|
||||
* @ingroup Diskselector
|
||||
*/
|
||||
EAPI Evas_Object *elm_diskselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_diskselector_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Enable or disable round mode.
|
||||
|
@ -314,7 +316,6 @@
|
|||
*/
|
||||
EAPI Elm_Diskselector_Item *elm_diskselector_item_append(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
|
||||
|
||||
|
||||
/**
|
||||
* Delete them item from the diskselector.
|
||||
*
|
||||
|
@ -744,7 +745,6 @@
|
|||
*/
|
||||
EAPI const char *elm_diskselector_item_cursor_style_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
|
||||
|
||||
|
||||
/**
|
||||
* Set if the cursor set should be searched on the theme or should use
|
||||
* the provided by the engine, only.
|
||||
|
@ -783,4 +783,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -55,4 +55,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -302,7 +302,6 @@
|
|||
*/
|
||||
typedef Edje_Entry_Change_Info Elm_Entry_Change_Info;
|
||||
|
||||
|
||||
/**
|
||||
* This adds an entry to @p parent object.
|
||||
*
|
||||
|
@ -315,7 +314,9 @@
|
|||
* @param parent The parent object
|
||||
* @return The new object or NULL if it cannot be created
|
||||
*/
|
||||
EAPI Evas_Object *elm_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_entry_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Sets the entry to single line mode.
|
||||
|
@ -875,7 +876,8 @@
|
|||
* @param s The string (in markup) to be converted
|
||||
* @return The converted string (in UTF-8). It should be freed.
|
||||
*/
|
||||
EAPI char *elm_entry_markup_to_utf8(const char *s) EINA_MALLOC EINA_WARN_UNUSED_RESULT;
|
||||
EAPI char *elm_entry_markup_to_utf8(const char *s)
|
||||
EINA_MALLOC EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
/**
|
||||
* This converts a UTF-8 string into markup (HTML-like).
|
||||
|
@ -886,7 +888,8 @@
|
|||
* @param s The string (in UTF-8) to be converted
|
||||
* @return The converted string (in markup). It should be freed.
|
||||
*/
|
||||
EAPI char *elm_entry_utf8_to_markup(const char *s) EINA_MALLOC EINA_WARN_UNUSED_RESULT;
|
||||
EAPI char *elm_entry_utf8_to_markup(const char *s)
|
||||
EINA_MALLOC EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
/**
|
||||
* This sets the file (and implicitly loads it) for the text to display and
|
||||
|
@ -1250,4 +1253,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -4,4 +4,3 @@
|
|||
EAPI void elm_factory_maxmin_mode_set(Evas_Object *obj, Eina_Bool enabled);
|
||||
EAPI Eina_Bool elm_factory_maxmin_mode_get(const Evas_Object *obj);
|
||||
EAPI void elm_factory_maxmin_reset_set(Evas_Object *obj);
|
||||
|
||||
|
|
|
@ -75,4 +75,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -58,7 +58,9 @@
|
|||
* @param parent The parent object
|
||||
* @return The new object or NULL if it cannot be created
|
||||
*/
|
||||
EAPI Evas_Object *elm_flip_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_flip_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* @brief Set the front content of the flip widget.
|
||||
|
@ -287,4 +289,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -49,7 +49,9 @@
|
|||
*
|
||||
* @ingroup Flipselector
|
||||
*/
|
||||
EAPI Evas_Object *elm_flipselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_flipselector_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Programmatically select the next item of a flip selector widget
|
||||
|
@ -335,4 +337,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -79,7 +79,9 @@
|
|||
*
|
||||
* @ingroup Focus
|
||||
*/
|
||||
EAPI Eina_Bool elm_object_focus_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
|
||||
EAPI Eina_Bool
|
||||
elm_object_focus_get(const Evas_Object *obj)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set/unset focus to a given Elementary object.
|
||||
|
@ -291,4 +293,3 @@
|
|||
* @ingroup Focus
|
||||
*/
|
||||
EAPI Eina_Bool elm_object_tree_unfocusable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
|
||||
|
||||
|
|
|
@ -125,7 +125,9 @@
|
|||
* elm_font_fontconfig_name_get(), for one style only (single font
|
||||
* instance, not family).
|
||||
*/
|
||||
EAPI Elm_Font_Properties *elm_font_properties_get(const char *font) EINA_ARG_NONNULL(1);
|
||||
EAPI Elm_Font_Properties *
|
||||
elm_font_properties_get(const char *font)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Free font properties return by elm_font_properties_get().
|
||||
|
@ -193,4 +195,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
* @param parent The parent object
|
||||
* @return The new object or NULL if it cannot be created
|
||||
*/
|
||||
EAPI Evas_Object *elm_frame_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_frame_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* @brief Set the frame label
|
||||
|
@ -99,4 +101,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -173,59 +173,27 @@ struct _Widget_Data
|
|||
Eina_Bool reorder_item_changed : 1;
|
||||
};
|
||||
|
||||
Elm_Gen_Item *
|
||||
_elm_genlist_item_new(Widget_Data *wd,
|
||||
const Elm_Gen_Item_Class *itc,
|
||||
const void *data,
|
||||
Elm_Gen_Item *parent,
|
||||
Evas_Smart_Cb func,
|
||||
const void *func_data);
|
||||
Elm_Gen_Item *_elm_genlist_item_new(Widget_Data *wd, const Elm_Gen_Item_Class *itc, const void *data, Elm_Gen_Item *parent, Evas_Smart_Cb func, const void *func_data);
|
||||
|
||||
Evas_Object *
|
||||
_elm_genlist_item_widget_get(const Elm_Gen_Item *it);
|
||||
Evas_Object *_elm_genlist_item_widget_get(const Elm_Gen_Item *it);
|
||||
|
||||
void
|
||||
_elm_genlist_page_relative_set(Evas_Object *obj,
|
||||
double h_pagerel,
|
||||
double v_pagerel);
|
||||
void _elm_genlist_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel);
|
||||
|
||||
void
|
||||
_elm_genlist_page_relative_get(const Evas_Object *obj,
|
||||
double *h_pagerel,
|
||||
double *v_pagerel);
|
||||
void _elm_genlist_page_relative_get(const Evas_Object *obj, double *h_pagerel, double *v_pagerel);
|
||||
|
||||
void
|
||||
_elm_genlist_page_size_set(Evas_Object *obj,
|
||||
Evas_Coord h_pagesize,
|
||||
Evas_Coord v_pagesize);
|
||||
void _elm_genlist_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize);
|
||||
|
||||
void
|
||||
_elm_genlist_current_page_get(const Evas_Object *obj,
|
||||
int *h_pagenumber,
|
||||
int *v_pagenumber);
|
||||
void _elm_genlist_current_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber);
|
||||
|
||||
void
|
||||
_elm_genlist_last_page_get(const Evas_Object *obj,
|
||||
int *h_pagenumber,
|
||||
int *v_pagenumber);
|
||||
void _elm_genlist_last_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber);
|
||||
|
||||
void
|
||||
_elm_genlist_page_show(const Evas_Object *obj,
|
||||
int h_pagenumber,
|
||||
int v_pagenumber);
|
||||
void _elm_genlist_page_show(const Evas_Object *obj, int h_pagenumber, int v_pagenumber);
|
||||
|
||||
void
|
||||
_elm_genlist_page_bring_in(const Evas_Object *obj,
|
||||
int h_pagenumber,
|
||||
int v_pagenumber);
|
||||
void _elm_genlist_page_bring_in(const Evas_Object *obj, int h_pagenumber, int v_pagenumber);
|
||||
|
||||
void
|
||||
_elm_genlist_item_unrealize(Elm_Gen_Item *it,
|
||||
Eina_Bool calc);
|
||||
void
|
||||
_elm_genlist_item_del_serious(Elm_Gen_Item *it);
|
||||
void _elm_genlist_item_unrealize(Elm_Gen_Item *it, Eina_Bool calc);
|
||||
void _elm_genlist_item_del_serious(Elm_Gen_Item *it);
|
||||
|
||||
void
|
||||
_elm_genlist_item_del_notserious(Elm_Gen_Item *it);
|
||||
void _elm_genlist_item_del_notserious(Elm_Gen_Item *it);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -353,4 +353,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -287,7 +287,9 @@
|
|||
*
|
||||
* @ingroup Gengrid
|
||||
*/
|
||||
EAPI Evas_Object *elm_gengrid_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_gengrid_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set the size for the items of a given gengrid widget
|
||||
|
@ -1513,4 +1515,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -428,7 +428,9 @@
|
|||
*
|
||||
* @ingroup Genlist
|
||||
*/
|
||||
EAPI Evas_Object *elm_genlist_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_genlist_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Remove all items from a given genlist widget.
|
||||
|
@ -1914,4 +1916,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -136,9 +136,8 @@
|
|||
* This is noticeable when doing V-shape movement
|
||||
* @ingroup Elm_Gesture_Layer
|
||||
*/
|
||||
struct _Elm_Gesture_Momentum_Info
|
||||
{ /* Report line ends, timestamps, and momentum computed */
|
||||
Evas_Coord x1; /**< Final-swipe direction starting point on X */
|
||||
struct _Elm_Gesture_Momentum_Info /* Report line ends, timestamps, and momentum computed */
|
||||
{Evas_Coord x1; /**< Final-swipe direction starting point on X */
|
||||
Evas_Coord y1; /**< Final-swipe direction starting point on Y */
|
||||
Evas_Coord x2; /**< Final-swipe direction ending point on X */
|
||||
Evas_Coord y2; /**< Final-swipe direction ending point on Y */
|
||||
|
@ -164,9 +163,8 @@
|
|||
* Struct holds line info for user
|
||||
* @ingroup Elm_Gesture_Layer
|
||||
*/
|
||||
struct _Elm_Gesture_Line_Info
|
||||
{ /* Report line ends, timestamps, and momentum computed */
|
||||
Elm_Gesture_Momentum_Info momentum; /**< Line momentum info */
|
||||
struct _Elm_Gesture_Line_Info /* Report line ends, timestamps, and momentum computed */
|
||||
{Elm_Gesture_Momentum_Info momentum; /**< Line momentum info */
|
||||
double angle; /**< Angle (direction) of lines */
|
||||
};
|
||||
|
||||
|
@ -249,7 +247,9 @@
|
|||
*
|
||||
* @ingroup Elm_Gesture_Layer
|
||||
*/
|
||||
EAPI void elm_gesture_layer_cb_set(Evas_Object *obj, Elm_Gesture_Types idx, Elm_Gesture_State cb_type, Elm_Gesture_Event_Cb cb, void *data) EINA_ARG_NONNULL(1);
|
||||
EAPI void
|
||||
elm_gesture_layer_cb_set(Evas_Object *obj, Elm_Gesture_Types idx, Elm_Gesture_State cb_type, Elm_Gesture_Event_Cb cb, void *data)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Call this function to get repeat-events settings.
|
||||
|
@ -321,4 +321,3 @@
|
|||
* @ingroup Elm_Gesture_Layer
|
||||
*/
|
||||
EAPI Evas_Object *elm_gesture_layer_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
|
||||
|
|
|
@ -0,0 +1,196 @@
|
|||
/**
|
||||
* @defgroup Start Getting Started
|
||||
*
|
||||
* To write an Elementary app, you can get started with the following:
|
||||
*
|
||||
* @code
|
||||
* #include <Elementary.h>
|
||||
* EAPI_MAIN int
|
||||
* elm_main(int argc, char **argv)
|
||||
* {
|
||||
* // create window(s) here and do any application init
|
||||
* elm_run(); // run main loop
|
||||
* elm_shutdown(); // after mainloop finishes running, shutdown
|
||||
* return 0; // exit 0 for exit code
|
||||
* }
|
||||
* ELM_MAIN()
|
||||
* @endcode
|
||||
*
|
||||
* To use autotools (which helps in many ways in the long run, like being able
|
||||
* to immediately create releases of your software directly from your tree
|
||||
* and ensure everything needed to build it is there) you will need a
|
||||
* configure.ac, Makefile.am and autogen.sh file.
|
||||
*
|
||||
* configure.ac:
|
||||
*
|
||||
* @verbatim
|
||||
* AC_INIT(myapp, 0.0.0, myname@mydomain.com)
|
||||
* AC_PREREQ(2.52)
|
||||
* AC_CONFIG_SRCDIR(configure.ac)
|
||||
* AM_CONFIG_HEADER(config.h)
|
||||
* AC_PROG_CC
|
||||
* AM_INIT_AUTOMAKE(1.6 dist-bzip2)
|
||||
* PKG_CHECK_MODULES([ELEMENTARY], elementary)
|
||||
* AC_OUTPUT(Makefile)
|
||||
* @endverbatim
|
||||
*
|
||||
* Makefile.am:
|
||||
*
|
||||
* @verbatim
|
||||
* AUTOMAKE_OPTIONS = 1.4 foreign
|
||||
* MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.h.in configure depcomp install-sh missing
|
||||
*
|
||||
* INCLUDES = -I$(top_srcdir)
|
||||
*
|
||||
* bin_PROGRAMS = myapp
|
||||
*
|
||||
* myapp_SOURCES = main.c
|
||||
* myapp_LDADD = @ELEMENTARY_LIBS@
|
||||
* myapp_CFLAGS = @ELEMENTARY_CFLAGS@
|
||||
* @endverbatim
|
||||
*
|
||||
* autogen.sh:
|
||||
*
|
||||
* @verbatim
|
||||
*#!/bin/sh
|
||||
* echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS || exit 1
|
||||
* echo "Running autoheader..." ; autoheader || exit 1
|
||||
* echo "Running autoconf..." ; autoconf || exit 1
|
||||
* echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
|
||||
* ./configure "$@"
|
||||
* @endverbatim
|
||||
*
|
||||
* To generate all the things needed to bootstrap just run:
|
||||
*
|
||||
* @verbatim
|
||||
* ./autogen.sh
|
||||
* @endverbatim
|
||||
*
|
||||
* This will generate Makefile.in's, the confgure script and everything else.
|
||||
* After this it works like all normal autotools projects:
|
||||
* @verbatim
|
||||
* ./configure
|
||||
* make
|
||||
* sudo make install
|
||||
* @endverbatim
|
||||
*
|
||||
* Note sudo was assumed to get root permissions, as this would install in
|
||||
* /usr/local which is system-owned. Use any way you like to gain root, or
|
||||
* specify a different prefix with configure:
|
||||
*
|
||||
* @verbatim
|
||||
* ./confiugre --prefix=$HOME/mysoftware
|
||||
* @endverbatim
|
||||
*
|
||||
* Also remember that autotools buys you some useful commands like:
|
||||
* @verbatim
|
||||
* make uninstall
|
||||
* @endverbatim
|
||||
*
|
||||
* This uninstalls the software after it was installed with "make install".
|
||||
* It is very useful to clear up what you built if you wish to clean the
|
||||
* system.
|
||||
*
|
||||
* @verbatim
|
||||
* make distcheck
|
||||
* @endverbatim
|
||||
*
|
||||
* This firstly checks if your build tree is "clean" and ready for
|
||||
* distribution. It also builds a tarball (myapp-0.0.0.tar.gz) that is
|
||||
* ready to upload and distribute to the world, that contains the generated
|
||||
* Makefile.in's and configure script. The users do not need to run
|
||||
* autogen.sh - just configure and on. They don't need autotools installed.
|
||||
* This tarball also builds cleanly, has all the sources it needs to build
|
||||
* included (that is sources for your application, not libraries it depends
|
||||
* on like Elementary). It builds cleanly in a buildroot and does not
|
||||
* contain any files that are temporarily generated like binaries and other
|
||||
* build-generated files, so the tarball is clean, and no need to worry
|
||||
* about cleaning up your tree before packaging.
|
||||
*
|
||||
* @verbatim
|
||||
* make clean
|
||||
* @endverbatim
|
||||
*
|
||||
* This cleans up all build files (binaries, objects etc.) from the tree.
|
||||
*
|
||||
* @verbatim
|
||||
* make distclean
|
||||
* @endverbatim
|
||||
*
|
||||
* This cleans out all files from the build and from configure's output too.
|
||||
*
|
||||
* @verbatim
|
||||
* make maintainer-clean
|
||||
* @endverbatim
|
||||
*
|
||||
* This deletes all the files autogen.sh will produce so the tree is clean
|
||||
* to be put into a revision-control system (like CVS, SVN or GIT for example).
|
||||
*
|
||||
* There is a more advanced way of making use of the quicklaunch infrastructure
|
||||
* in Elementary (which will not be covered here due to its more advanced
|
||||
* nature).
|
||||
*
|
||||
* Now let's actually create an interactive "Hello World" gui that you can
|
||||
* click the ok button to exit. It's more code because this now does something
|
||||
* much more significant, but it's still very simple:
|
||||
*
|
||||
* @code
|
||||
* #include <Elementary.h>
|
||||
*
|
||||
* static void
|
||||
* on_done(void *data, Evas_Object *obj, void *event_info)
|
||||
* {
|
||||
* // quit the mainloop (elm_run function will return)
|
||||
* elm_exit();
|
||||
* }
|
||||
*
|
||||
* EAPI_MAIN int
|
||||
* elm_main(int argc, char **argv)
|
||||
* {
|
||||
* Evas_Object *win, *bg, *box, *lab, *btn;
|
||||
*
|
||||
* // new window - do the usual and give it a name (hello) and title (Hello)
|
||||
* win = elm_win_util_standard_add("hello", "Hello");
|
||||
* // when the user clicks "close" on a window there is a request to delete
|
||||
* evas_object_smart_callback_add(win, "delete,request", on_done, NULL);
|
||||
*
|
||||
* // add a box object - default is vertical. a box holds children in a row,
|
||||
* // either horizontally or vertically. nothing more.
|
||||
* box = elm_box_add(win);
|
||||
* // make the box hotizontal
|
||||
* elm_box_horizontal_set(box, EINA_TRUE);
|
||||
* // add object as a resize object for the window (controls window minimum
|
||||
* // size as well as gets resized if window is resized)
|
||||
* elm_win_resize_object_add(win, box);
|
||||
* evas_object_show(box);
|
||||
*
|
||||
* // add a label widget, set the text and put it in the pad frame
|
||||
* lab = elm_label_add(win);
|
||||
* // set default text of the label
|
||||
* elm_object_text_set(lab, "Hello out there world!");
|
||||
* // pack the label at the end of the box
|
||||
* elm_box_pack_end(box, lab);
|
||||
* evas_object_show(lab);
|
||||
*
|
||||
* // add an ok button
|
||||
* btn = elm_button_add(win);
|
||||
* // set default text of button to "OK"
|
||||
* elm_object_text_set(btn, "OK");
|
||||
* // pack the button at the end of the box
|
||||
* elm_box_pack_end(box, btn);
|
||||
* evas_object_show(btn);
|
||||
* // call on_done when button is clicked
|
||||
* evas_object_smart_callback_add(btn, "clicked", on_done, NULL);
|
||||
*
|
||||
* // now we are done, show the window
|
||||
* evas_object_show(win);
|
||||
*
|
||||
* // run the mainloop and process events and callbacks
|
||||
* elm_run();
|
||||
* elm_shutdown();
|
||||
* return 0;
|
||||
* }
|
||||
* ELM_MAIN()
|
||||
* @endcode
|
||||
*
|
||||
*/
|
|
@ -42,7 +42,9 @@
|
|||
*
|
||||
* @ingroup GLView
|
||||
*/
|
||||
EAPI Evas_Object *elm_glview_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_glview_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Sets the size of the glview
|
||||
|
@ -182,4 +184,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -108,4 +108,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -58,7 +58,9 @@
|
|||
* @param parent The parent object
|
||||
* @return The hover object or NULL if one could not be created
|
||||
*/
|
||||
EAPI Evas_Object *elm_hover_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_hover_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* @brief Sets the target object for the hover.
|
||||
|
@ -190,4 +192,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -106,7 +106,9 @@
|
|||
*
|
||||
* @ingroup Icon
|
||||
*/
|
||||
EAPI Evas_Object *elm_icon_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_icon_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set the file that will be used as icon.
|
||||
|
@ -528,4 +530,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -49,11 +49,14 @@
|
|||
ELM_IMAGE_ROTATE_180 = 2, /**< rotate 180 degrees clockwise */
|
||||
ELM_IMAGE_ROTATE_270 = 3, /**< rotate 90 degrees counter-clockwise (i.e. 270 degrees clockwise) */
|
||||
// XXX: remove
|
||||
/*EINA_DEPRECATED*/ELM_IMAGE_ROTATE_90_CW = 1, /**< rotate 90 degrees clockwise */
|
||||
/*EINA_DEPRECATED */ ELM_IMAGE_ROTATE_90_CW = 1,
|
||||
/**< rotate 90 degrees clockwise */
|
||||
// XXX: remove
|
||||
/*EINA_DEPRECATED*/ELM_IMAGE_ROTATE_180_CW = 2, /**< rotate 180 degrees clockwise */
|
||||
/*EINA_DEPRECATED */ ELM_IMAGE_ROTATE_180_CW = 2,
|
||||
/**< rotate 180 degrees clockwise */
|
||||
// XXX: remove
|
||||
/*EINA_DEPRECATED*/ELM_IMAGE_ROTATE_90_CCW = 3, /**< rotate 90 degrees counter-clockwise (i.e. 270 degrees clockwise) */
|
||||
/*EINA_DEPRECATED */ ELM_IMAGE_ROTATE_90_CCW = 3,
|
||||
/**< rotate 90 degrees counter-clockwise (i.e. 270 degrees clockwise) */
|
||||
ELM_IMAGE_FLIP_HORIZONTAL = 4, /**< flip image horizontally */
|
||||
ELM_IMAGE_FLIP_VERTICAL = 5, /**< flip image vertically */
|
||||
ELM_IMAGE_FLIP_TRANSPOSE = 6, /**< flip the image along the y = (width - x) line (bottom-left to top-right) */
|
||||
|
@ -70,7 +73,9 @@
|
|||
*
|
||||
* @ingroup Image
|
||||
*/
|
||||
EAPI Evas_Object *elm_image_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_image_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set the file that will be used as image.
|
||||
|
@ -389,4 +394,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -60,7 +60,9 @@
|
|||
*
|
||||
* @ingroup Index
|
||||
*/
|
||||
EAPI Evas_Object *elm_index_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_index_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set whether a given index widget is or not visible,
|
||||
|
@ -342,4 +344,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
/**
|
||||
* @mainpage Elementary
|
||||
* @image html elementary.png
|
||||
* @version 0.8.0
|
||||
* @date 2008-2011
|
||||
*
|
||||
* @section intro What is Elementary?
|
||||
*
|
||||
* This is a VERY SIMPLE toolkit. It is not meant for writing extensive desktop
|
||||
* applications (yet). Small simple ones with simple needs.
|
||||
*
|
||||
* It is meant to make the programmers work almost brainless but give them lots
|
||||
* of flexibility.
|
||||
*
|
||||
* @li @ref Start - Go here to quickly get started with writing Apps
|
||||
*
|
||||
* @section organization Organization
|
||||
*
|
||||
* One can divide Elemementary into three main groups:
|
||||
* @li @ref infralist - These are modules that deal with Elementary as a whole.
|
||||
* @li @ref widgetslist - These are the widgets you'll compose your UI out of.
|
||||
* @li @ref containerslist - These are the containers which hold the widgets.
|
||||
*
|
||||
* @section license License
|
||||
*
|
||||
* LGPL v2 (see COPYING in the base of Elementary's source). This applies to
|
||||
* all files in the source tree.
|
||||
*
|
||||
* @section ack Acknowledgements
|
||||
* There is a lot that goes into making a widget set, and they don't happen out of
|
||||
* nothing. It's like trying to make everyone everywhere happy, regardless of age,
|
||||
* gender, race or nationality - and that is really tough. So thanks to people and
|
||||
* organisations behind this, as listed in the @ref authors page.
|
||||
*/
|
|
@ -37,7 +37,9 @@
|
|||
* @param parent The parent object
|
||||
* @return The new object or NULL if it cannot be created
|
||||
*/
|
||||
EAPI Evas_Object *elm_label_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_label_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* @brief Set the label on the label object
|
||||
|
@ -233,4 +235,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -152,7 +152,9 @@
|
|||
*
|
||||
* @ingroup Layout
|
||||
*/
|
||||
EAPI Evas_Object *elm_layout_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_layout_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set the file that will be used as layout
|
||||
|
|
|
@ -83,7 +83,9 @@
|
|||
*
|
||||
* @ingroup List
|
||||
*/
|
||||
EAPI Evas_Object *elm_list_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_list_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Starts the list.
|
||||
|
@ -1191,4 +1193,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -190,7 +190,9 @@
|
|||
*
|
||||
* @ingroup Map
|
||||
*/
|
||||
EAPI Evas_Object *elm_map_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_map_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set the zoom level of the map.
|
||||
|
@ -852,7 +854,7 @@
|
|||
EAPI void elm_map_group_class_zoom_grouped_set(Elm_Map_Group_Class *clas, int zoom) EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set if the markers associated to the group class @clas are hidden or not.
|
||||
* Set if the markers associated to the group class @p clas are hidden or not.
|
||||
*
|
||||
* @param clas The group class.
|
||||
* @param hide Use @c EINA_TRUE to hide markers or @c EINA_FALSE
|
||||
|
|
|
@ -37,7 +37,9 @@
|
|||
*
|
||||
* @ingroup Mapbuf
|
||||
*/
|
||||
EAPI Evas_Object *elm_mapbuf_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_mapbuf_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set the content of the mapbuf.
|
||||
|
@ -192,4 +194,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -28,7 +28,9 @@
|
|||
* @param parent The parent object.
|
||||
* @return The new object or NULL if it cannot be created.
|
||||
*/
|
||||
EAPI Evas_Object *elm_menu_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_menu_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* @brief Set the parent for the given menu widget
|
||||
|
@ -369,4 +371,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -21,7 +21,9 @@
|
|||
*
|
||||
* @return EINA_TRUE if mirrored is set, EINA_FALSE otherwise
|
||||
*/
|
||||
EAPI Eina_Bool elm_object_mirrored_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
|
||||
EAPI Eina_Bool
|
||||
elm_object_mirrored_get(const Evas_Object *obj)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set the system mirrored mode. This determines the default mirrored mode
|
||||
|
@ -52,4 +54,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -47,4 +47,3 @@
|
|||
* @ingroup Web
|
||||
*/
|
||||
EAPI Eina_Bool elm_need_web(void);
|
||||
|
||||
|
|
|
@ -49,7 +49,9 @@
|
|||
* @param parent The parent object
|
||||
* @return The new object or NULL if it cannot be created
|
||||
*/
|
||||
EAPI Evas_Object *elm_notify_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_notify_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* @brief Set the content of the notify widget
|
||||
|
@ -188,4 +190,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -196,7 +196,9 @@
|
|||
*
|
||||
* @ingroup Styles
|
||||
*/
|
||||
EAPI void elm_object_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
|
||||
EAPI void
|
||||
elm_object_style_set(Evas_Object *obj, const char *style)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Get the style used by the widget
|
||||
|
@ -433,4 +435,3 @@
|
|||
* @ingroup General
|
||||
*/
|
||||
EAPI void *elm_object_event_callback_del(Evas_Object *obj, Elm_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
|
||||
|
||||
|
|
|
@ -8,7 +8,9 @@
|
|||
*
|
||||
* @ingroup General
|
||||
*/
|
||||
EAPI Evas_Object *elm_object_item_object_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_object_item_object_get(const Elm_Object_Item *it)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set a content of an object item
|
||||
|
@ -221,4 +223,3 @@
|
|||
* @ingroup Styles
|
||||
*/
|
||||
EAPI Eina_Bool elm_object_item_disabled_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
|
||||
|
||||
|
|
|
@ -53,7 +53,9 @@
|
|||
*
|
||||
* @ingroup Pager
|
||||
*/
|
||||
EAPI Evas_Object *elm_pager_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_pager_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* @brief Push an object to the top of the pager stack (and show it).
|
||||
|
@ -117,4 +119,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
*
|
||||
* @return The panel object, or NULL on failure
|
||||
*/
|
||||
EAPI Evas_Object *elm_panel_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_panel_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* @brief Sets the orientation of the panel
|
||||
|
@ -127,4 +129,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -50,7 +50,9 @@
|
|||
*
|
||||
* @ingroup Panes
|
||||
*/
|
||||
EAPI Evas_Object *elm_panes_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_panes_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set the left content of the panes widget.
|
||||
|
@ -237,4 +239,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -59,4 +59,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -21,7 +21,9 @@
|
|||
*
|
||||
* @ingroup Photo
|
||||
*/
|
||||
EAPI Evas_Object *elm_photo_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_photo_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set the file that will be used as photo
|
||||
|
@ -81,4 +83,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -55,7 +55,9 @@
|
|||
* @param parent The parent object
|
||||
* @return The new object or NULL if it cannot be created
|
||||
*/
|
||||
EAPI Evas_Object *elm_photocam_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_photocam_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* @brief Set the photo file to be shown
|
||||
|
@ -257,4 +259,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -264,7 +264,6 @@ char *_elm_util_text_to_mkup(const char *text);
|
|||
|
||||
Eina_Bool _elm_video_check(Evas_Object *video);
|
||||
|
||||
|
||||
extern char *_elm_appname;
|
||||
extern Elm_Config *_elm_config;
|
||||
extern const char *_elm_data_dir;
|
||||
|
@ -286,6 +285,7 @@ _elm_dgettext(const char *string)
|
|||
|
||||
return dgettext(PACKAGE, string);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* Used by the paste handler */
|
||||
|
|
|
@ -50,7 +50,9 @@
|
|||
*
|
||||
* @ingroup Progressbar
|
||||
*/
|
||||
EAPI Evas_Object *elm_progressbar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_progressbar_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set whether a given progress bar widget is at "pulsing mode" or
|
||||
|
|
|
@ -39,7 +39,9 @@
|
|||
* @param parent The parent object
|
||||
* @return The new object or NULL if it cannot be created
|
||||
*/
|
||||
EAPI Evas_Object *elm_radio_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_radio_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* @brief Set the text label of the radio object
|
||||
|
@ -175,4 +177,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -55,7 +55,9 @@
|
|||
*
|
||||
* @ingroup Scaling
|
||||
*/
|
||||
EAPI void elm_object_scale_set(Evas_Object *obj, double scale) EINA_ARG_NONNULL(1);
|
||||
EAPI void
|
||||
elm_object_scale_set(Evas_Object *obj, double scale)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Get the scaling factor for a given Elementary object
|
||||
|
@ -66,4 +68,3 @@
|
|||
* @ingroup Scaling
|
||||
*/
|
||||
EAPI double elm_object_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
|
||||
|
||||
|
|
|
@ -27,7 +27,9 @@
|
|||
* @param obj The object
|
||||
* @ingroup Scrollhints
|
||||
*/
|
||||
EAPI void elm_object_scroll_hold_push(Evas_Object *obj) EINA_ARG_NONNULL(1);
|
||||
EAPI void
|
||||
elm_object_scroll_hold_push(Evas_Object *obj)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Pop the scroll hold by 1
|
||||
|
@ -111,4 +113,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -52,7 +52,9 @@
|
|||
* @param parent The parent object
|
||||
* @return The new object or NULL if it cannot be created
|
||||
*/
|
||||
EAPI Evas_Object *elm_scroller_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_scroller_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* @brief Set the content of the scroller widget (the object to be scrolled around).
|
||||
|
@ -410,4 +412,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -48,7 +48,9 @@
|
|||
*
|
||||
* @ingroup SegmentControl
|
||||
*/
|
||||
EAPI Evas_Object *elm_segment_control_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_segment_control_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Append a new item to the segment control object.
|
||||
|
@ -330,4 +332,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -15,7 +15,9 @@
|
|||
*
|
||||
* @return The separator object, or NULL upon failure
|
||||
*/
|
||||
EAPI Evas_Object *elm_separator_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_separator_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
/**
|
||||
* @brief Set the horizontal mode of a separator object
|
||||
*
|
||||
|
@ -35,4 +37,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -65,7 +65,9 @@
|
|||
*
|
||||
* @ingroup Slider
|
||||
*/
|
||||
EAPI Evas_Object *elm_slider_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_slider_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set the label of a given slider widget
|
||||
|
@ -537,4 +539,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -91,7 +91,9 @@
|
|||
*
|
||||
* @ingroup Slideshow
|
||||
*/
|
||||
EAPI Evas_Object *elm_slideshow_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_slideshow_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Add (append) a new item in a given slideshow widget.
|
||||
|
@ -560,4 +562,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -51,7 +51,9 @@
|
|||
* @ingroup Spinner
|
||||
*
|
||||
*/
|
||||
EAPI Evas_Object *elm_spinner_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_spinner_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set the format string of the displayed label.
|
||||
|
@ -344,4 +346,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -89,7 +89,9 @@
|
|||
EAPI void elm_store_free(Elm_Store *st);
|
||||
|
||||
EAPI Elm_Store *elm_store_filesystem_new(void);
|
||||
EAPI void elm_store_filesystem_directory_set(Elm_Store *st, const char *dir) EINA_ARG_NONNULL(1);
|
||||
EAPI void
|
||||
elm_store_filesystem_directory_set(Elm_Store *st, const char *dir)
|
||||
EINA_ARG_NONNULL(1);
|
||||
EAPI const char *elm_store_filesystem_directory_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
|
||||
EAPI const char *elm_store_item_filesystem_path_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
|
||||
|
||||
|
@ -109,4 +111,3 @@
|
|||
EAPI void *elm_store_item_data_get(Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
|
||||
EAPI const Elm_Store *elm_store_item_store_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
|
||||
EAPI const Elm_Genlist_Item *elm_store_item_genlist_item_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
|
||||
|
||||
|
|
|
@ -21,7 +21,9 @@
|
|||
* @param parent The parent object
|
||||
* @return The new object or NULL if it cannot be created
|
||||
*/
|
||||
EAPI Evas_Object *elm_table_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_table_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* @brief Set the homogeneous layout in the table
|
||||
|
@ -126,4 +128,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -345,7 +345,9 @@
|
|||
* configuration difficult. Avoid any custom themes at all if it can be
|
||||
* helped.
|
||||
*/
|
||||
EAPI void elm_object_theme_set(Evas_Object *obj, Elm_Theme *th) EINA_ARG_NONNULL(1);
|
||||
EAPI void
|
||||
elm_object_theme_set(Evas_Object *obj, Elm_Theme *th)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Get the specific theme to be used
|
||||
|
@ -375,4 +377,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -72,7 +72,9 @@
|
|||
*
|
||||
* @ingroup Thumb
|
||||
*/
|
||||
EAPI Evas_Object *elm_thumb_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_thumb_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Reload thumbnail if it was generated before.
|
||||
|
@ -260,4 +262,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -84,7 +84,9 @@
|
|||
*
|
||||
* @ingroup Toolbar
|
||||
*/
|
||||
EAPI Evas_Object *elm_toolbar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_toolbar_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Set the icon size, in pixels, to be used by toolbar items.
|
||||
|
@ -1307,4 +1309,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -28,7 +28,9 @@
|
|||
|
||||
EAPI double elm_tooltip_delay_get(void);
|
||||
EAPI Eina_Bool elm_tooltip_delay_set(double delay);
|
||||
EAPI void elm_object_tooltip_show(Evas_Object *obj) EINA_ARG_NONNULL(1);
|
||||
EAPI void
|
||||
elm_object_tooltip_show(Evas_Object *obj)
|
||||
EINA_ARG_NONNULL(1);
|
||||
EAPI void elm_object_tooltip_hide(Evas_Object *obj) EINA_ARG_NONNULL(1);
|
||||
EAPI void elm_object_tooltip_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1, 2);
|
||||
EAPI void elm_object_tooltip_domain_translatable_text_set(Evas_Object *obj, const char *domain, const char *text) EINA_ARG_NONNULL(1, 3);
|
||||
|
@ -43,4 +45,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -170,7 +170,9 @@
|
|||
* @ingroup Transit
|
||||
* @warning Just call this function if you are sure the transit is alive.
|
||||
*/
|
||||
EAPI void elm_transit_del(Elm_Transit *transit) EINA_ARG_NONNULL(1);
|
||||
EAPI void
|
||||
elm_transit_del(Elm_Transit *transit)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Add a new effect to the transit.
|
||||
|
@ -825,4 +827,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -230,4 +230,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -348,7 +348,9 @@
|
|||
* @see elm_web_uri_set()
|
||||
* @see elm_web_webkit_view_get()
|
||||
*/
|
||||
EAPI Evas_Object *elm_web_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *
|
||||
elm_web_add(Evas_Object *parent)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Get internal ewk_view object from web object.
|
||||
|
@ -899,4 +901,3 @@
|
|||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
|
|
@ -203,7 +203,6 @@ typedef Evas_Object *(*Elm_Widget_On_Content_Unset_Cb)(const void *data, const c
|
|||
typedef void (*Elm_Widget_On_Signal_Emit_Cb)(void *data, const char *emission, const char *source);
|
||||
typedef void (*Elm_Widget_On_Disable_Set_Cb)(void *data);
|
||||
|
||||
|
||||
#define ELM_ACCESS_TYPE 0 // when reading out widget or item this is read first
|
||||
#define ELM_ACCESS_INFO 1 // next read is info - this is normally label
|
||||
#define ELM_ACCESS_STATE 2 // if there is a state (eg checkbox) then read state out
|
||||
|
@ -387,7 +386,9 @@ EAPI void elm_widget_scroll_freeze_pop(Evas_Object *obj);
|
|||
EAPI int elm_widget_scroll_freeze_get(const Evas_Object *obj);
|
||||
EAPI void elm_widget_scale_set(Evas_Object *obj, double scale);
|
||||
EAPI double elm_widget_scale_get(const Evas_Object *obj);
|
||||
EAPI Eina_Bool elm_widget_mirrored_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
|
||||
EAPI Eina_Bool
|
||||
elm_widget_mirrored_get(const Evas_Object *obj)
|
||||
EINA_ARG_NONNULL(1);
|
||||
EAPI void elm_widget_mirrored_set(Evas_Object *obj, Eina_Bool mirrored) EINA_ARG_NONNULL(1);
|
||||
EAPI Eina_Bool elm_widget_mirrored_automatic_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
|
||||
EAPI void elm_widget_mirrored_automatic_set(Evas_Object *obj, Eina_Bool automatic) EINA_ARG_NONNULL(1);
|
||||
|
|
|
@ -236,7 +236,9 @@
|
|||
* @param obj The window object
|
||||
* @param subobj The resize object to add
|
||||
*/
|
||||
EAPI void elm_win_resize_object_add(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
|
||||
EAPI void
|
||||
elm_win_resize_object_add(Evas_Object *obj, Evas_Object *subobj)
|
||||
EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Delete @p subobj as a resize object of window @p obj.
|
||||
|
@ -573,7 +575,7 @@
|
|||
* that they fit inside the current window geometry.
|
||||
*
|
||||
* @param obj The window object
|
||||
* @param layer The rotation of the window in degrees (0-360),
|
||||
* @param rotation The rotation of the window in degrees (0-360),
|
||||
* counter-clockwise.
|
||||
*/
|
||||
EAPI void elm_win_rotation_with_resize_set(Evas_Object *obj, int rotation) EINA_ARG_NONNULL(1);
|
||||
|
@ -932,7 +934,7 @@
|
|||
* @return The new object or NULL if it cannot be created
|
||||
*/
|
||||
// XXX: deprecate this
|
||||
EAPI Evas_Object *elm_win_inwin_add(Evas_Object *obj) EINA_ARG_NONNULL(1);
|
||||
EAPI Evas_Object *elm_win_inwin_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
|
||||
/**
|
||||
* Activates an inwin object, ensuring its visibility
|
||||
|
@ -1014,4 +1016,3 @@
|
|||
* "focus,out" - window lost focus
|
||||
* "moved" - window that holds the canvas was moved
|
||||
*/
|
||||
|
||||
|
|
|
@ -8,4 +8,3 @@ void _elm_smart_pan_min_get (Evas_Object *obj, Evas_Coord *x, Eva
|
|||
void _elm_smart_pan_child_size_get(Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);
|
||||
void _elm_smart_pan_gravity_set(Evas_Object *obj, double x, double y);
|
||||
void _elm_smart_pan_gravity_get(Evas_Object *obj, double *x, double *y);
|
||||
|
||||
|
|
Loading…
Reference in New Issue