Parameters
- From: Andreas Volz <andreas brachttal net>
- To: gtk-devel-list gnome org
- Subject: Parameters
- Date: Sun, 22 Jun 2003 14:30:25 -0200
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]