Re: RFC: Gtk + XML chroming




> Well, there are two sides: yes, this is what the code partially does
> below. Partially not: it sends "messages" to an object and that
> could be implemented in C by
> 
> void receive_message(char *msg, char *param) {
> 	  if(!strcmp(msg,"quit")) {
> 	  } else if(...) {
> 		  ...
> 	  }
> }

you still need access to the actual widget (binding the widget with a
variable in C) so that you can inspect the contents of it.  For
example, when the "ok" button is pressed you want to pull out the
contents of the inputs lines for say, the username and the password

Miguel



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