search for: oncommand

Displaying 7 results from an estimated 7 matches for "oncommand".

Did you mean: ncommand
2005 Apr 05
0
Connecting messages to methods
...FXMainWindow include Responder ID_SELF, ID_BTN = enum(FXMainWindow::ID_LAST, 2) def initialize(a, title) super(a, title, nil, nil, DECOR_ALL, 0, 0, 640, 480) self.setSelector(ID_SELF) self.setTarget(self) self.connect(SEL_CLOSE, method(:onClose)) self.connect(SEL_COMMAND, method(:onCommand)) FXButton.new(self, "Click me!", nil, self, ID_BTN) end def create super show(PLACEMENT_SCREEN) end def onClose(sender, sel, event) getApp.exit(0) end def onCommand(sender, sel, event) # ... end end -- I''d like to redirect all SEL_COMMAND events to Window:...
2007 Aug 15
0
Branch 'vivi' - 13 commits - doc/swfdec-sections.txt libswfdec/swfdec_as_debugger.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_types.h vivified/core vivified/ui
..._TYPE_AS_OBJECT) @@ -31,10 +32,35 @@ static gboolean vivi_breakpoint_step (ViviDebugger *debugger, ViviBreakpoint *breakpoint) { SwfdecAsObject *obj = SWFDEC_AS_OBJECT (breakpoint); + SwfdecAsValue retval; + + swfdec_as_object_call (obj, swfdec_as_context_get_string (obj->context, "onCommand"), 0, NULL, &retval); + return swfdec_as_value_to_boolean (obj->context, &retval); +} + +static gboolean +vivi_breakpoint_start_frame (ViviDebugger *debugger, SwfdecAsFrame *frame, ViviBreakpoint *breakpoint) +{ + SwfdecAsObject *obj = SWFDEC_AS_OBJECT (breakpoint); SwfdecAsVal...
2007 Aug 17
0
Branch 'vivi' - 13 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_debugger.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_script_function.c test/trace vivified/core vivified/ui
...j->context, "onSetVariable"), 3, vals, &retval); + return swfdec_as_value_to_boolean (obj->context, &retval); +} + static const struct { const char * event; const char * signal; @@ -71,7 +86,8 @@ static const struct { { NULL, NULL, NULL }, /* invalid */ { "onCommand", "step", G_CALLBACK (vivi_breakpoint_step) }, { "onStartFrame", "start-frame", G_CALLBACK (vivi_breakpoint_start_frame) }, - { "onExitFrame", "finish-frame", G_CALLBACK (vivi_breakpoint_finish_frame) } + { "onExitFrame", "f...
2010 May 07
0
Wine release 1.1.44
...move variable strtable which is not really used from dump_symbol_table. winmm: Remove variable devID which is not really used from MMDRV_Message. sfnt2fnt: Remove variable descent which is not really used from fill_fontinfo. wordpad: Remove variable i which is not really used from OnCommand. rpcrt4: Remove variable size which is not really used from NdrComplexArrayUnmarshall. d3drm: Remove two variables which are not really used from IDirect3DRMMeshBuilderImpl_Load. winex11: Remove variable datasize which is not really used from X11DRV_CLIPBOARD_ExportTextHtml....
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
...int, SWFDEC_TYPE_AS_OBJECT) + +static gboolean +vivi_breakpoint_step (ViviDebugger *debugger, ViviBreakpoint *breakpoint) +{ + SwfdecAsObject *obj = SWFDEC_AS_OBJECT (breakpoint); + SwfdecAsValue retval; + + swfdec_as_object_call (obj, swfdec_as_context_get_string (obj->context, "onCommand"), 0, NULL, &retval); + return swfdec_as_value_to_boolean (obj->context, &retval); +} + +static gboolean +vivi_breakpoint_start_frame (ViviDebugger *debugger, SwfdecAsFrame *frame, ViviBreakpoint *breakpoint) +{ + SwfdecAsObject *obj = SWFDEC_AS_OBJECT (breakpoint); + Swf...
2007 Aug 20
0
Branch 'vivi' - 60 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_interpret.c
...int, SWFDEC_TYPE_AS_OBJECT) + +static gboolean +vivi_breakpoint_step (ViviDebugger *debugger, ViviBreakpoint *breakpoint) +{ + SwfdecAsObject *obj = SWFDEC_AS_OBJECT (breakpoint); + SwfdecAsValue retval; + + swfdec_as_object_call (obj, swfdec_as_context_get_string (obj->context, "onCommand"), 0, NULL, &retval); + return swfdec_as_value_to_boolean (obj->context, &retval); +} + +static gboolean +vivi_breakpoint_start_frame (ViviDebugger *debugger, SwfdecAsFrame *frame, ViviBreakpoint *breakpoint) +{ + SwfdecAsObject *obj = SWFDEC_AS_OBJECT (breakpoint); + Swf...
2007 Aug 23
0
23 commits - doc/.gitignore doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_keys.c libswfdec-gtk/swfdec_gtk_keys.h libswfdec-gtk/swfdec_gtk_widget.c libswfdec/Makefile.am
...c_as_object_call (obj, swfdec_as_context_get_string (obj->context, "onLeaveFrame"), 2, vals, &retval); return swfdec_as_value_to_boolean (obj->context, &retval); } @@ -85,8 +85,8 @@ static const struct { } events[] = { { NULL, NULL, NULL }, /* invalid */ { "onCommand", "step", G_CALLBACK (vivi_breakpoint_step) }, - { "onStartFrame", "start-frame", G_CALLBACK (vivi_breakpoint_start_frame) }, - { "onExitFrame", "finish-frame", G_CALLBACK (vivi_breakpoint_finish_frame) }, + { "onEnterFrame", &quot...