Re: (no subject)
- From: pks timing com
- To: andrew openldev org, <gtkmm-list gnome org>
- Cc:
- Subject: Re: (no subject)
- Date: Mon, 13 Jun 2005 11:03:40 -0600
pks timing com writes:
>
> use gobj()
>
> Gtk::Window w;
> GtkWindow *gtwindow = window.gobj();
to get to in terms of GtkWidget (as opposed to GtkWindow) just
cast the pointer ...
GtkWidget *gtkwidget = (GtkWidget *)w.gobj();
GtkWidget *gtkwidget = reinterpret_cast<GtkWidget *>(w.gobj());
or preferred (if it still works these days - I'm stil using 2.2):
GtkWidget *gtkwidget = GTK_WIDGET(w.gobj());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]