Re: [gDesklets] Control for Requesters (IInformer, IInformant, IInteraction, IRequester, ...??)



Hi there,

just a quick update and new ideas (just in case you don't get the
notification about the blueprint being changed):

Current status:

IPopUp:370k1rzwxlvl5sn3fezmx1ebu-2

  buttons                  w   A list of buttons [ [value1, text1[,
stock-icon1]] [, [value2, text2[, stock-icon2]], ...] ]. If 'text' is
the same as 'stock-icon' the default stock-text for this stock-icon will
be displayed.
  error                    r   Error information.
  event                    r   Get the return event of the requester
(value of the button pushed or 'None' if the requester has been
destroyed). Bindable.
  icon                     w   The main icon of the requester and its
position (path-to-icon [,('left'|'top')]). If no (valid) icon is given
no icon will be displayed. Default position is 'left'.
  status                   r   Status of the Control. Bindable.
  text                     w   The main text of the requester, supports
pango markup.
  visible                  rw  Visibility state of the requester. Either
true (visible) or false (hidden).


Further notes:
- to avoid "changing requesters" desklets should first check the
visiblity before setting up or change a (new) requester
- the buttons can only be set/changed if the requester is not visible
- changing the icon while visible shouldn't be possible, even though
nice (pseudo-)animations could be done ?!
- changing the text while visible shouldn't be possible, even though
this might be usefull (counters, stopclocks...)

Maybe "visible" can only be set to True, so open requesters cannot be
destroyed or closed by the desklet (this might be confusing for the user)?


Greetings, Bjoern


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]