Displaying 18 results from an estimated 18 matches for "menubutton".
2003 Aug 15
1
menubutton don´t work
Why the variable archOp does not take the value that be chosen in the
menubutton?, therefore always remains as a white one, I intend to charge
the direccion of open files in a vector and then to elect with the
menubutton with which to work but not functions thanks.Ruben
library(tcltk)
arch<-tclVar(init=" ")
archOp<-tclVar(init=" ")
vectPath<-c()...
2006 Jun 21
3
getElementsByClassName
...ormance of this function to be?
I wrote this code:
function CreateTOC(){
var $aTOC = document.getElementsByClassName(''tocitem'');
if(isArray($aTOC)){
$temp = ''<INPUT TYPE="SUBMIT" NAME="cmdSave_Update"
VALUE="Close" CLASS="menubuttons"> '';
$temp += ''<INPUT TYPE="SUBMIT" NAME="cmdSave_Update"
VALUE="Save_Update" CLASS="menubuttons"> '';
$temp += ''<SELECT NAME="cboTOC"
onChange="location=this.options[this.selectedIndex]....
2007 Aug 13
0
2 commits - libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_tag.h
...(bits);
+ id = swfdec_bits_get_u16 (&s->b);
button = swfdec_swf_decoder_create_character (s, id, SWFDEC_TYPE_BUTTON);
if (!button)
return SWFDEC_STATUS_OK;
SWFDEC_LOG (" ID: %d", id);
- flags = swfdec_bits_get_u8 (bits);
- if (flags & 0x01)
- button->menubutton = TRUE;
- offset = swfdec_bits_get_u16 (bits);
-
- SWFDEC_LOG (" flags = %d", flags);
- SWFDEC_LOG (" offset = %d", offset);
-
- while (swfdec_bits_peek_u8 (bits)) {
- int reserved;
+ reserved = swfdec_bits_getbits (&s->b, 7);
+ button->menubutton = swfdec_b...
2001 Sep 19
2
tcltk: Difficulties creating menus
I am struggling with adding menus to a tcltk application. The following
example (from the O'Reilly book on Perl/Tk) works fine:
#!/usr/bin/perl -w
use Tk;
my $mw = MainWindow->new;
$menub = $mw->Menubutton(-text => "Color")->pack();
foreach (qw/red yellow green blue grey/) {
$menub->radiobutton(-label => $_, -command => \&set_bg,
-variable => \$background_color, -value => $_);
}
MainLoop;
sub set_bg {
print "Background value is now: $b...
2005 Dec 17
0
CentOS-announce Digest, Vol 10, Issue 7
...nd displays it as a string into the panel.
------------
xfce4-weather-plugin
A weather plugin for the Xfce panel. It shows the current temperature
and weather condition, using weather data provided by xoap.weather.com.
------------
xfce4-windowlist-plugin
Windowlist plugin for the Xfce panel. The menubutton shows the icon of
the active window and leftclick pops up a window list. Leftclick on one
of the items activates the selected window, rightclick pops up a window
action menu.
------------
The following files have been uploaded and are syncing to the mirrors:
i386:
xfce4-cpugraph-plugin-0.2.2-4.c4...
2007 Oct 19
1
tcltk: help with tkmenubutton
I am struck here. What magic inchantation is required with tkmenubutton?
I am converting the examples of Perl/Tk from page...
http://gd.tuwien.ac.at/languages/perl/Hajji-Perlkurs/part4/tkperl.html
... to R's tcltk.
But I don't know how to convert one line in this example:
library(tcltk)
# create a main window
mw <- tktoplevel()
# a menu consists of a...
2006 Apr 01
0
CEEA-2005:1216-001 CentOS 4 i386 xfce - enhancement update (extras only)
...nd displays it as a string into the panel.
------------
xfce4-weather-plugin
A weather plugin for the Xfce panel. It shows the current temperature
and weather condition, using weather data provided by xoap.weather.com.
------------
xfce4-windowlist-plugin
Windowlist plugin for the Xfce panel. The menubutton shows the icon of
the active window and leftclick pops up a window list. Leftclick on one
of the items activates the selected window, rightclick pops up a window
action menu.
------------
The following files have been uploaded and are syncing to the mirrors:
i386:
xfce4-cpugraph-plugin-0.2.2-4.c4...
2006 Apr 01
0
CEEA-2005:1216-001 CentOS 4 x86_64 xfce - enhancement update (extras only)
...nd displays it as a string into the panel.
------------
xfce4-weather-plugin
A weather plugin for the Xfce panel. It shows the current temperature
and weather condition, using weather data provided by xoap.weather.com.
------------
xfce4-windowlist-plugin
Windowlist plugin for the Xfce panel. The menubutton shows the icon of
the active window and leftclick pops up a window list. Leftclick on one
of the items activates the selected window, rightclick pops up a window
action menu.
------------
The following files have been uploaded and are syncing to the mirrors:
x86_64:
xfce4-cpugraph-plugin-0.2.2-4....
2007 Oct 30
0
libswfdec/swfdec_button_movie.c
...14 +173,14 @@ swfdec_button_movie_change_mouse (SwfdecButtonMovie *movie, gboolean mouse_in, i
[(mouse_in ? 2 : 0) + button];
#ifndef G_DISABLE_ASSERT
- if (event == (guint) -1) {
+ if (event == -1) {
g_error ("Unhandled event for %s: %u => %u",
movie->button->menubutton ? "menu" : "button",
(movie->mouse_in ? 2 : 0) + movie->mouse_button,
(mouse_in ? 2 : 0) + button);
}
#endif
- if (event != 0) {
+ if (event >= 0) {
SWFDEC_LOG ("emitting event for condition %u", event);
swfdec_button_movie_execute (movie,...
2003 Sep 09
1
charge a vector with variables and to use as variable in a checkbutton?
hello, how i cant to charge in form dynamic a checkbutton, try to do it
with a vector be charged automaticamente but not
works, for example
library(tcltk)
tt<-tktoplevel()
f<-tkframe(tt)
tkpack(f)
i<-2
if (i==1) {b1<-tkcheckbutton
(f,text="b1",variable="b1",relief="raised");tkpack(b1);print(tclvalue
("b1"))}else if (i==2) {b1<-tkcheckbutton
2000 Aug 09
2
tcltk_example
Hello R and tcltk users...
I'm running into difficulties applying the tkmenubutton() and tklistbox()
functions, found in the tcltk package, to a simple gui. My search for R
code which utilizes these two functions has come up empty. Currently, I am
attempting to translate pure "Tcl/Tk" code to R with little to no success.
So far, the most helpful tool for learning...
2007 Nov 28
0
59 commits - libswfdec-gtk/swfdec_gtk_widget.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_button.c libswfdec/swfdec_button.h libswfdec/swfdec_button_movie.c libswfdec/swfdec_button_movie.h libswfdec/swfdec_event.c
...movie_parent_class)->mouse_release (movie, button);
} else {
swfdec_button_movie_set_state (SWFDEC_BUTTON_MOVIE (movie), SWFDEC_BUTTON_UP);
- }
- SWFDEC_MOVIE_CLASS (swfdec_button_movie_parent_class)->mouse_release (movie, button);
+ /* NB: We don't chain to parent here for menubuttons*/
+ if (!SWFDEC_BUTTON_MOVIE (movie)->button->menubutton)
+ SWFDEC_MOVIE_CLASS (swfdec_button_movie_parent_class)->mouse_release (movie, button);
+ }
}
static void
diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c
index a9f99a7..15d6af3 100644
---...
2007 Aug 13
0
Branch 'vivi' - 24 commits - configure.ac libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_tag.h vivified/core vivified/dock vivified/ui
...(bits);
+ id = swfdec_bits_get_u16 (&s->b);
button = swfdec_swf_decoder_create_character (s, id, SWFDEC_TYPE_BUTTON);
if (!button)
return SWFDEC_STATUS_OK;
SWFDEC_LOG (" ID: %d", id);
- flags = swfdec_bits_get_u8 (bits);
- if (flags & 0x01)
- button->menubutton = TRUE;
- offset = swfdec_bits_get_u16 (bits);
-
- SWFDEC_LOG (" flags = %d", flags);
- SWFDEC_LOG (" offset = %d", offset);
-
- while (swfdec_bits_peek_u8 (bits)) {
- int reserved;
+ reserved = swfdec_bits_getbits (&s->b, 7);
+ button->menubutton = swfdec_b...
2007 Mar 19
0
7 commits - libswfdec/jpeg libswfdec/swfdec_button_movie.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_movie.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_video.c player/swfdec_debug_movies.c
...C_BUTTON_OVER_DOWN_TO_IDLE:
+ return "onDragOut";
+ default:
+ g_assert_not_reached ();
+ return NULL;
+ }
+}
static void
swfdec_button_movie_execute (SwfdecButtonMovie *movie,
SwfdecButtonCondition condition)
{
+ const char *name;
+
if (movie->button->menubutton) {
g_assert ((condition & (SWFDEC_BUTTON_OVER_DOWN_TO_OUT_DOWN \
| SWFDEC_BUTTON_OUT_DOWN_TO_OVER_DOWN \
@@ -78,6 +108,8 @@ swfdec_button_movie_execute (SwfdecButto
if (movie->button->events)
swfdec_event_list_execute (movie->button->events,...
2007 Oct 25
0
4 commits - libswfdec/swfdec_button.h libswfdec/swfdec_button_movie.c libswfdec/swfdec_resource.c libswfdec/swfdec_resource.h libswfdec/swfdec_sprite_movie.c test/trace
...a/libswfdec/swfdec_button_movie.c b/libswfdec/swfdec_button_movie.c
index 3aad8fd..c6132a6 100644
--- a/libswfdec/swfdec_button_movie.c
+++ b/libswfdec/swfdec_button_movie.c
@@ -99,12 +99,12 @@ swfdec_button_movie_execute (SwfdecButtonMovie *movie,
const char *name;
if (movie->button->menubutton) {
- g_assert ((condition & (SWFDEC_BUTTON_OVER_DOWN_TO_OUT_DOWN \
- | SWFDEC_BUTTON_OUT_DOWN_TO_OVER_DOWN \
- | SWFDEC_BUTTON_OUT_DOWN_TO_IDLE)) == 0);
+ g_assert ((condition & ((1 << SWFDEC_BUTTON_OVER_DOWN_TO_OUT_DOWN) \
+...
2007 Aug 21
0
Branch 'vivi' - 10 commits - libswfdec/swfdec_button_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c vivified/core vivified/dock vivified/ui
...nge_mouse (Swfdec
[(movie->mouse_in ? 2 : 0) + movie->mouse_button]
[(mouse_in ? 2 : 0) + button];
- g_assert (event != (guint) -1);
+#ifndef G_DISABLE_ASSERT
+ if (event == (guint) -1) {
+ g_error ("Unhandled event for %s: %u => %u",
+ movie->button->menubutton ? "menu" : "button",
+ (movie->mouse_in ? 2 : 0) + movie->mouse_button,
+ (mouse_in ? 2 : 0) + button);
+ }
+#endif
if (event != 0) {
SWFDEC_LOG ("emitting event for condition %u", event);
swfdec_button_movie_execute (movie, event);
diff-tree e0014e...
2009 Nov 06
1
centos 5.3 install ncview X libraries error and netcdf header error
I was trying to install software named ncview on a centos 5.3 box.
./configure command gave this error:
Error, the X libraries and development headers must be installed for ncview
to work!
I was surprised that there were many google hits related to ubuntu, none for
centos. So even though I eventually figured out what to do, I decided to
share this with the list anyhow, so maybe next time I
2007 Aug 22
0
163 commits - autogen.sh configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h libswfdec-gtk/swfdec_gtk_widget.c libswfdec-gtk/swfdec_source.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c
...nge_mouse (Swfdec
[(movie->mouse_in ? 2 : 0) + movie->mouse_button]
[(mouse_in ? 2 : 0) + button];
- g_assert (event != (guint) -1);
+#ifndef G_DISABLE_ASSERT
+ if (event == (guint) -1) {
+ g_error ("Unhandled event for %s: %u => %u",
+ movie->button->menubutton ? "menu" : "button",
+ (movie->mouse_in ? 2 : 0) + movie->mouse_button,
+ (mouse_in ? 2 : 0) + button);
+ }
+#endif
if (event != 0) {
SWFDEC_LOG ("emitting event for condition %u", event);
swfdec_button_movie_execute (movie, event);
diff-tree e0014e...