Re: Callback to parent dialog
- From: Nalin Singal <nalinsingal yahoo co in>
- To: John Taber <jtaber johntaber net>, gtkmm-list gnome org
- Cc:
- Subject: Re: Callback to parent dialog
- Date: Thu, 23 Jun 2005 04:00:48 +0100 (BST)
Maybe you need to do something like this:
GtkWidget* toplevel = gtk_widget_get_toplevel(this);
if(GTK_WIDGET_TOPLEVEL(toplevel)) {
Gtk::GtkWidget* wrappedTL = wrap(topLevel, t/f);
wrappedTL->editDialogWHATEVER);
}
There is a slight difference between gtk and gtkmm.
gtk objects can't be directly converted to gtkmm or
vice-versa. You need to call the wrap function to go
one way and gobj() function if you want to go the
other way.
-Nalin
--- John Taber <jtaber johntaber net> wrote:
> I've tried the following but it's not right. Can
> someone help out - thks.
>
> Gtk::GtkWidget* toplevel =
> gtk_widget_get_toplevel(this);
> if (GTK_WIDGET_TOPLEVEL (toplevel)) {
> toplevel->editDialog(data);
> }
>
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
__________________________________________________________
How much free photo storage do you get? Store your friends 'n family snaps for FREE with Yahoo! Photos http://in.photos.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]