Thread: gtk and gdk

  1. #1
    Registered User linuxdude's Avatar
    Join Date
    Mar 2003

    gtk and gdk

    I have a drawing area and I want to have a signal function that is called when a user hits a some keys. However the focus is never on the drawing area it's on the buttons. I don't know how to create a drawing area that when a user presses key it calls a function? Can anyone help me with this.

  2. #2
    Registered User Jaqui's Avatar
    Join Date
    Feb 2005
    sounds like basic signals from the gui processing, maybe make sure your drawing area CAN focus, it may have that attribute off.

    though, availablity of the public attributes on the widgets is dependent on the development tools being used. Glade is the best for creaing a gui with gdk/gtk.
    Quote Originally Posted by Jeff Henager
    If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology.

Popular pages Recent additions subscribe to a feed