[gtkmm] More help needed...!
- From: David Kinyanjui <david i2software com>
- To: gtkmm-list gnome org
- Subject: [gtkmm] More help needed...!
- Date: Mon, 08 Mar 2004 12:22:51 -0600
Hello;
First of, thanks for everyones' help and response on my previous question.
Now, I've got another issue...
I have created a dialog or rather a window whereby, I'm trying to use
it to preview a picture whenever one is selected on the fileselection
dialog.
In that case, I need a way to be able to check and connect a signal
whereby, the preview only pop up whenever a selection is made i.e when
a file is highlighted (NOTE: right now the preview dialog is popping up
only when I click OK button on fileselection instead). I
tried to use: signal_selection_notify_event()
snippet=>
bool selection_event(GdkEventSelection* event) {
if(event->selection)
{
//pop the preview window
}
return false;
}
get_selection_entry()->signal_selection_notify_event().
connect (SigC::slot (*this,
&winPictureFileSelection::selection_event), false);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]