how to use get_geometry correctlly
- From: "chennanbang陳南邦" <chennanbang gmail com>
- To: gtkmm-list gnome org
- Subject: how to use get_geometry correctlly
- Date: Tue, 25 Mar 2008 09:08:54 +0800
Hi, all,
I inherit Gtk::Button, and wonna change the position of my widget internally.
And I use following steps to achieve this, but segmentation fault.
Please correct me, thanks!
/* in my widget */
int x, y, tmp=0;
get_window()->get_geometry( x, y, tmp, tmp, tmp );// get current position, but segmentation fault
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]