Recent

Author Topic: sendtoback / sendtofront  (Read 5915 times)

mw|

  • Newbie
  • Posts: 1
    • http://stian.nixia.no
sendtoback / sendtofront
« on: November 30, 2004, 06:49:10 pm »
These two functions aren't that hard to implement run time into Gtk+. If you look at gtkfixed.h (Gtk+ version 2.0 API) you can see that all the children are stored in a GSList. You can iterate this list to find the desired child, take it out of the list, re-insert it where you want (all by using GSList functions) and emit an expose signal to the GtkFixed parent widget.


Stian

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2649
sendtoback / sendtofront
« Reply #1 on: December 01, 2004, 04:47:25 pm »
SendToFront and SendTOBack are on windows also (primarily) used to send an entire window to the fromt/back. On X this is the task of your WM. (I won't call it easy)
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018