Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2733 in orxonox.OLD for orxonox/trunk/gui/orxonox_gui.cc


Ignore:
Timestamp:
Nov 5, 2004, 1:09:13 PM (21 years ago)
Author:
bensch
Message:

orxonox/trunk/gui: added keystrokes, and for testing added them to button Player

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/gui/orxonox_gui.cc

    r2623 r2733  
    188188
    189189/**
     190   \brief Connect a signal with additionally passing a whole external Object
     191*/
     192void Widget::connectSignal (char* event, void* extObj, gint (*signal)(GtkWidget*, GdkEventKey*, void *))
     193{
     194  g_signal_connect (G_OBJECT (this->widget), event, G_CALLBACK (signal), extObj);
     195}
     196
     197/**
    190198   \brief Moves through all the Widgets downwards from this and executes the function on them.
    191199   \param function must be of type void and takes a Widget* as an Input.
Note: See TracChangeset for help on using the changeset viewer.