Parameters



Hi,

this is an example gtk2-app:

#include <gtk/gtk.h>

int main( int argc, char *argv[] )
{
  GtkWidget *window;

  gtk_init (&argc, &argv);

  window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_widget_show  (window);

  gtk_main ();

  return 0;
}

Is there an easy way to make my application response to some default
X-parameters like "--help", "-geometry", "-iconic" without parsing them
by hand inside each application and do window positioning by myself.

Thanks
Andreas



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