Attend widget to GtkMenuItem / Popup non GtkMenuItem-based widget

2009-03-03 Thread Ben Lau
Hi all, I am trying to implement a program with a GtkMenuToolButton , whatever user press on the arrow button , it will show widget like color selection , combo box etc. As they are not belong to any subclass of GtkMenuItem , I can not use standard way to do so. Therefore, I have tried to create

Re: Signal emission in multi-threading environment

2007-12-11 Thread Ben Lau
Hi Stefan, It is the simplest method! Thanks Stefan and all people replied on this thread. On Dec 8, 2007 6:23 PM, Stefan Kost <[EMAIL PROTECTED]> wrote: > Hi Ben, > > Ben Lau schrieb: > > hi all, > > > >I am implementing a GObject (a simple video pla

Signal emission in multi-threading environment

2007-11-29 Thread Ben Lau
hi all, I am implementing a GObject (a simple video player) that creates a GStreamer pipeline for video processing. Soon it receives a new GstBuffer of video frame from the pipeline, it will emit a signal. As GStreamer processes the pipeline with multiple threads. The signal handler may not be