setting: Add a font picker

Monospace only so we get a deccent looking result.
Mostly from the terminology project - thanks guys
This commit is contained in:
Andy Williams 2015-05-30 10:26:51 +01:00
parent fe89f7fbde
commit 704cec0ae7
2 changed files with 30 additions and 0 deletions

View File

@ -1339,6 +1339,18 @@ _elm_code_widget_gravity_get(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd, doub
*y = pd->gravity_y;
}
EOLIAN static void
_elm_code_widget_policy_set(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v)
{
elm_scroller_policy_set(pd->scroller, policy_h, policy_v);
}
EOLIAN static void
_elm_code_widget_policy_get(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v)
{
elm_scroller_policy_get(pd->scroller, policy_h, policy_v);
}
EOLIAN static void
_elm_code_widget_tabstop_set(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd, unsigned int tabstop)
{

View File

@ -62,6 +62,24 @@ class Elm_Code_Widget (Elm.Layout, Elm_Interface_Atspi_Text)
y: double; /*@ The vertical gravity of the widget's scroller - valid values are 0.0 and 1.0 */
}
}
@property policy {
set {
/*@
Set the policy for scrollbar visibility.
@ingroup Layout */
}
get {
/*@
Get the widget's policy for scrollbar visibility.
@ingroup Layout */
}
values {
policy_h: Elm_Scroller_Policy; /*@ The horizontal scrollbar visibility policy */
policy_v: Elm_Scroller_Policy; /*@ The vertical scrollbar visibility policy */
}
}
@property tabstop {
set {
/*@