|
I've attached a complete source file to this post. If USE_FIXED is defined, I do: gtk_fixed _new() // around line 191 gtk_container_add( GTK_CONTAINER( window ), fixed ); gtk_widget_show( fixed );
And around line 286: gtk_fixed_put( GTK_FIXED( fixed ), socket, 0, 0 );
The code with USE_FIXED shows an X window of the correct size, but it's blank. The output from the library rendering into the socket (libflashplayer) is not getting displayed.
I think the socket is anchored since I put the fixed widget into the window at line 192, and the socket into the fixed widget at line 286 (even though flash rendering hasn't started yet).
When I undefine USE_FIXED, I do (around line 289): gtk_container_add( GTK_CONTAINER( window ), socket );
This does show the libflashplayer output playing correctly.
When the code runs, no GTK errors are displayed in either case.
I am trying to figure out a way for the socket output to show in the fixed widget.
-Michael
| Attachments: |
fhost.zip [5.52 KiB]
Downloaded 46 times
|
|