search for: text_input

Displaying 10 results from an estimated 10 matches for "text_input".

2011 Aug 09
4
Nesting select and text_field in radio_button
I''m creating my first Rails app and need an idea creating forms. I have Meeting model with place attribute. I want to have two fields for Meeting.place = one would be select with places from other meetings or text_field if the place is being used first time. User would be selecting radio_button of which field he has used. So is there any way to nest select and text_field within 2
2007 Oct 17
0
6 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c
...c/swfdec_text_field.c b/libswfdec/swfdec_text_field.c index 064dcd0..0db0c37 100644 --- a/libswfdec/swfdec_text_field.c +++ b/libswfdec/swfdec_text_field.c @@ -58,12 +58,18 @@ swfdec_text_field_dispose (GObject *object) { SwfdecTextField *text = SWFDEC_TEXT_FIELD (object); - g_free (text->text_input); - text->text_input = NULL; - g_free (text->variable); - text->variable = NULL; - g_free (text->font); - text->font = NULL; + if (text->text_input != NULL) { + g_free (text->text_input); + text->text_input = NULL; + } + if (text->variable != NULL) { + g_...
2006 Dec 27
1
php agi trixbox help
...php code------------ #!/usr/local/bin/php -q <?php set_time_limit(30); require('phpagi.php'); $agi = new AGI(); $agi->answer(); $cid = $agi->parse_callerid(); $agi->text2wav("Hello, {$cid['name']}. Let's enter some text."); $text = $agi->text_input('UPPERCASE'); $agi->text2wav("You entered $text"); $agi->text2wav('Goodbye'); $agi->hangup(); ?> ------extensions_custom.php------------ exten => 311,1,Answer exten => 311,2 Wait(1) exten => 311,3,DigitTimeout(7) exten => 311,4,ResponseTimeou...
2007 Oct 14
0
5 commits - libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml.h
...e of the font from EditText tag, not SwfdecFont diff --git a/libswfdec/swfdec_text_field.c b/libswfdec/swfdec_text_field.c index fabddb2..2f38d85 100644 --- a/libswfdec/swfdec_text_field.c +++ b/libswfdec/swfdec_text_field.c @@ -62,6 +62,8 @@ swfdec_text_field_dispose (GObject *object) text->text_input = NULL; g_free (text->variable); text->variable = NULL; + g_free (text->font); + text->font = NULL; G_OBJECT_CLASS (swfdec_text_field_parent_class)->dispose (object); } @@ -396,7 +398,7 @@ tag_func_define_edit_text (SwfdecSwfDecoder * s, guint tag) font = swfdec_sw...
2006 Mar 28
1
Passing the input name to "text_field_with_auto_complete"
I have a view with two auto complete input boxes. How do I give the input a name like I can for "text_input" helper? I''ve looked at the docs (http://api.rubyonrails.com/classes/ActionView/Helpers/JavaScriptMacrosHelper.html#M000462) but cant make sense of it... <p><label for="search_start_station">From</label><br/> <%= text_field_with_au...
2007 Oct 23
0
9 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_style_sheet.c libswfdec/swfdec_style_sheet.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h
...t;border_color = SWFDEC_COLOR_COMBINE (0, 0, 0, 0); - text->background_color = SWFDEC_COLOR_COMBINE (255, 255, 255, 0); + text->border_color = SWFDEC_COLOR_COMBINE (0, 0, 0, 255); + text->background_color = SWFDEC_COLOR_COMBINE (255, 255, 255, 255); // text if (text->text->text_input != NULL) { diff --git a/libswfdec/swfdec_text_field_movie_as.c b/libswfdec/swfdec_text_field_movie_as.c index bef2ca6..86ca221 100644 --- a/libswfdec/swfdec_text_field_movie_as.c +++ b/libswfdec/swfdec_text_field_movie_as.c @@ -481,7 +481,7 @@ swfdec_text_field_movie_get_backgroundColor (SwfdecAsCo...
2007 Oct 22
0
12 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h test/trace
...WFDEC_AS_OBJECT (text)->context, str)); + } else { + SWFDEC_AS_VALUE_SET_STRING (ret, text->text_display); + } } static void commit 19bf55d1c8e6500e34a87e65abf54f5a12951746 Author: Pekka Lampila <pekka.lampila at iki.fi> Date: Mon Oct 22 14:01:21 2007 +0300 Remove unused text_input variable from SwfdecTextFieldMovie diff --git a/libswfdec/swfdec_text_field_movie.c b/libswfdec/swfdec_text_field_movie.c index 021b8ad..fb8cec4 100644 --- a/libswfdec/swfdec_text_field_movie.c +++ b/libswfdec/swfdec_text_field_movie.c @@ -876,8 +876,6 @@ swfdec_text_field_movie_mark (SwfdecAsObje...
2007 Oct 29
0
20 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h
...ject_new (SWFDEC_TYPE_TEXT_FIELD_MOVIE, NULL); + SwfdecTextFieldMovie *ret = + g_object_new (SWFDEC_TYPE_TEXT_FIELD_MOVIE, NULL); ret->text = text; @@ -57,9 +58,9 @@ swfdec_text_field_dispose (GObject *object) { SwfdecTextField *text = SWFDEC_TEXT_FIELD (object); - if (text->text_input != NULL) { - g_free (text->text_input); - text->text_input = NULL; + if (text->input != NULL) { + g_free (text->input); + text->input = NULL; } if (text->variable != NULL) { g_free (text->variable); @@ -109,6 +110,7 @@ tag_func_define_edit_text (SwfdecSw...
2007 Oct 15
0
6 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_video.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c
...t;border_color = SWFDEC_COLOR_COMBINE (0, 0, 0, 255); - text->background_color = SWFDEC_COLOR_COMBINE (255, 255, 255, 255); + text->border_color = SWFDEC_COLOR_COMBINE (0, 0, 0, 0); + text->background_color = SWFDEC_COLOR_COMBINE (255, 255, 255, 0); // text if (text->text->text_input != NULL) { diff --git a/libswfdec/swfdec_text_field_movie_as.c b/libswfdec/swfdec_text_field_movie_as.c index 121fefc..19aabd6 100644 --- a/libswfdec/swfdec_text_field_movie_as.c +++ b/libswfdec/swfdec_text_field_movie_as.c @@ -36,6 +36,16 @@ #include "swfdec_internal.h" #include "...
2007 Nov 15
2
Changes to 'refs/tags/0.5.4'
Tag '0.5.4' created by Benjamin Otte <otte at gnome.org> at 2007-11-15 10:12 -0800 release 0.5.4 ("Turkish Cycling Federation") -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHPBurvMv5VCdLq8QRAj1KAJ40NHRRS3gKyJjSjyyoH7gDaGi/tQCeOha/ R5PF4bZQqmSdJ64t8EbD4cA= =8qBy -----END PGP SIGNATURE----- Changes since the dawn of time: Benjamin Otte (40):