After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 392950 - Wrapper Class For GTimer missing
Wrapper Class For GTimer missing
Status: RESOLVED INVALID
Product: glibmm
Classification: Bindings
Component: general
2.12.x
Other All
: Normal enhancement
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2007-01-05 00:04 UTC by Jan Niklas Hasse (Account disabled)
Modified: 2007-01-12 20:56 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Jan Niklas Hasse (Account disabled) 2007-01-05 00:04:10 UTC
Hi! I'm missing a wrapper class for the GTimer. This would be really easy to implement, i just started like this:

class MyGTimer
{
public:
	MyGTimer() : timer_(g_timer_new())
	{
	}
	~MyGTimer()
	{
		g_timer_destroy(timer_);
	}
	gdouble elapsed()
	{
		return g_timer_elapsed(timer_, NULL);
	}
private:
	GTimer* timer_;
};
Comment 1 Marko Anastasov 2007-01-05 20:55:31 UTC
> Hi! I'm missing a wrapper class for the GTimer.

It's there: http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1Timer.html
Comment 2 Jan Niklas Hasse (Account disabled) 2007-01-05 22:45:21 UTC
Oh, i couldn't find it in the class overview. sry...
Comment 3 Daniel Elstner 2007-01-06 20:39:22 UTC
Closing as INVALID.
Comment 4 Jan Niklas Hasse (Account disabled) 2007-01-12 14:58:07 UTC
Just a last question: Is it normal that this class isn't in the overview?
http://gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classes.html
Comment 5 Marko Anastasov 2007-01-12 15:33:12 UTC
That's the Gtk namespace. For Glib, it's http://gtkmm.org/docs/glibmm-2.4/docs/reference/html/namespaceGlib.html
Comment 6 Jan Niklas Hasse (Account disabled) 2007-01-12 20:56:14 UTC
Well i clicked Full -> All Classes. It shows all namespaces except of Glib. Maybe it should be added their?