Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Does anyone do their GUIs like this?

  1. #11
    Join Date
    Apr 2006
    Location
    Vancouver, BC, Canada
    Beans
    146
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Does anyone do their GUIs like this?

    How would you deal with callbacks, etc? If it was inanimate, like a spacer or something, maybe.
    Quote Originally Posted by Pimientito
    NEVER EVER give a gypsy player an unprotected guitar to play. It will end in tears!

  2. #12
    Join Date
    Dec 2009
    Location
    Norway
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Does anyone do their GUIs like this?

    Quote Originally Posted by nrs View Post
    How would you deal with callbacks, etc? If it was inanimate, like a spacer or something, maybe.
    I'm sure he can assign IDs to each node in the tree on-the-fly when constructing using an argument to the constructor (new), then assign callbacks based on those IDs after the entire tree/layout code section is done.

    This is how one assign callbacks when using e.g. Glade anyway, and anything else could get messy if the callbacks used are inline code (e.g. lambda) that aren't small in size.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •