Re: Gtk3 combos

2014-05-01 Thread Daniel Kasak
OK I think I've gotten to the bottom of the problem. In Gtk2, using a Gtk2::ComboBoxEntry and the set_text_column() method, a CellRendererText was automatically created for you. In Gtk3 I'm currently using the Gtk3::ComboBox, and you have to explicitly set up a CellRendererText. Dan On Fri, May

Re: Gtk3 combos

2014-05-01 Thread Daniel Kasak
Hi Terence. Thanks for the response :) I will switch to using this method I guess. But the question still remains: what happened to the $liststore->set( $iter, $col_no, $col_val ) way of doing it? This approach is still documented and appears to do *something*, but not what's expected ... Dan On

Re: Are there Perl bindings for gstreamer-1.0?

2014-05-01 Thread Steve Cookson
Hi Terence, On 01/05/14 08:36, Terence Ferraro wrote: Looking at the C docs, it appears that you'll need to cast the returned playsink to a type of GstVideoOverlay. It looks like, then, you'd be able to call: gst_video_overlay_set_window_handle(overlay, windowid); Thanks for this. Actually,

Re: Are there Perl bindings for gstreamer-1.0?

2014-05-01 Thread Terence Ferraro
Looking at the C docs, it appears that you'll need to cast the returned playsink to a type of GstVideoOverlay. It looks like, then, you'd be able to call: gst_video_overlay_set_window_handle(overlay, windowid); *Terence J. Ferraro* On Wed, Apr 30, 2014 at 5:17 PM, Steve Cookson wrote: > Conti

Re: Gtk3 combos

2014-05-01 Thread Terence Ferraro
Hmm, I normally run with: my $list = Gtk3::ListStore->new(qw/Glib::Int Glib::String/); $list->insert_with_values(0,0,0,1,"Test"); $list->insert_with_values(1,0,1,1,"Test2"); my $combo = Gtk3::ComboBox->new_with_model_and_entry($list); $combo->set_entry_text_column(1); Which is why I wrapped that