logo       

cvs: php-gtk /ext/gtk+ gtk.overrides: msg#00007

Subject: cvs: php-gtk /ext/gtk+ gtk.overrides
andrei          Sat Mar  4 20:45:05 2006 UTC

  Modified files:              
    /php-gtk/ext/gtk+   gtk.overrides 
  Log:
  Override GtkFileSelection::get_selections()
  
  
http://cvs.php.net/viewcvs.cgi/php-gtk/ext/gtk+/gtk.overrides?r1=1.152&r2=1.153&diff_format=u
Index: php-gtk/ext/gtk+/gtk.overrides
diff -u php-gtk/ext/gtk+/gtk.overrides:1.152 
php-gtk/ext/gtk+/gtk.overrides:1.153
--- php-gtk/ext/gtk+/gtk.overrides:1.152        Sun Feb 12 20:50:18 2006
+++ php-gtk/ext/gtk+/gtk.overrides      Sat Mar  4 20:45:05 2006
@@ -740,7 +740,6 @@
 
 %% }}}
 
-
 %% {{{ GtkButton
 
 %%
@@ -830,7 +829,6 @@
 
 %% }}}
 
-
 %% {{{ GtkButtonBox
 
 %%
@@ -952,7 +950,6 @@
 }
 %% }}}
 
-
 %% {{{ GtkCList
 
 %%
@@ -989,7 +986,6 @@
 
 %% }}}
 
-
 %% {{{ GtkColorButton
 
 %%
@@ -1012,7 +1008,6 @@
 
 %% }}}
 
-
 %% {{{ GtkColorSelection
 %%
 override gtk_color_selection_get_current_color
@@ -1100,8 +1095,6 @@
 }
 %% }}}
 
-%% include gtkcontainer.overrides
-
 %% {{{ GtkDialog
 
 %%
@@ -1239,7 +1232,6 @@
 
 %% }}}
 
-
 %% {{{ GtkEditable
 
 %%
@@ -1292,7 +1284,6 @@
 
 %% }}}
 
-
 %% {{{ GtkEntry
 
 %%
@@ -1344,28 +1335,6 @@
 
 %% }}}
 
-
-%% {{{ GtkFrame
-
-%%
-override gtk_frame_get_label_align
-PHP_METHOD
-{
-    gfloat xalign, yalign;
-
-    NOT_STATIC_METHOD();
-
-    if (!php_gtk_parse_args(ZEND_NUM_ARGS(), ""))
-        return;
-
-    gtk_frame_get_label_align(GTK_FRAME(PHPG_GOBJECT(this_ptr)), &xalign, 
&yalign);
-
-    php_gtk_build_value(&return_value, "(ff)", xalign, yalign);
-}
-
-%% }}}
-
-
 %% {{{ GtkIconSet
 %%
 override gtk_icon_set_get_sizes
@@ -1436,6 +1405,35 @@
 }
 %% }}}
 
+%% {{{ GtkFileSelection
+
+%%
+override gtk_file_selection_get_selections
+PHP_METHOD
+{
+    gchar **selections;
+    int i = 0;
+
+    NOT_STATIC_METHOD();
+
+    if (!php_gtk_parse_args(ZEND_NUM_ARGS(), ""))
+        return;
+
+    selections = 
gtk_file_selection_get_selections(GTK_FILE_SELECTION(PHPG_GOBJECT(this_ptr))); 
+
+    if (selections) {
+        array_init(return_value);
+
+        for (i = 0; selections[i]; i++) {
+            add_next_index_string(return_value, selections[i], 1);
+        }
+
+        g_strfreev(selections);
+    }
+}
+
+%% }}}
+
 %% {{{ GtkFileChooserDialog
 
 %%
@@ -1534,6 +1532,26 @@
 }
 %% }}}
 
+%% {{{ GtkFrame
+
+%%
+override gtk_frame_get_label_align
+PHP_METHOD
+{
+    gfloat xalign, yalign;
+
+    NOT_STATIC_METHOD();
+
+    if (!php_gtk_parse_args(ZEND_NUM_ARGS(), ""))
+        return;
+
+    gtk_frame_get_label_align(GTK_FRAME(PHPG_GOBJECT(this_ptr)), &xalign, 
&yalign);
+
+    php_gtk_build_value(&return_value, "(ff)", xalign, yalign);
+}
+
+%% }}}
+
 %% {{{ GtkLabel
 %%
 add-arginfo GtkLabel __construct
@@ -1619,7 +1637,6 @@
 }
 %% }}}
 
-
 %% {{{ GtkLayout
 
 %%
@@ -1639,7 +1656,6 @@
 
 %% }}}
 
-
 %% {{{ GtkListItem
 
 %%
@@ -1681,7 +1697,6 @@
 
 %% }}}
 
-
 %% {{{ GtkMenu
 %%
 add-arginfo GtkMenu popup
@@ -1887,7 +1902,6 @@
 }
 %% }}}
 
-
 %% {{{ GtkMisc
 
 %%
@@ -1923,7 +1937,6 @@
 
 %% }}}
 
-
 %% {{{ GtkProgressBar
 
 %%
@@ -2180,7 +2193,6 @@
 }
 %% }}}
 
-
 %% {{{ GtkRuler
 
 %%
@@ -2200,7 +2212,6 @@
 
 %% }}}
 
-
 %% {{{ GtkScale
 
 %%
@@ -2220,7 +2231,6 @@
 
 %% }}}
 
-
 %% {{{ GtkScrolledWindow
 
 %%
@@ -2241,7 +2251,6 @@
 
 %% }}}
 
-
 %% {{{ GtkSpinButton
 
 %%
@@ -2276,10 +2285,6 @@
 
 %% }}}
 
-
-
-%% include gtkstyle.overrides
-
 %% {{{ GtkTextAttributes
 
 %%
@@ -2405,7 +2410,6 @@
 }
 %% }}}
 
-
 %% {{{ GtkWidget
 
 %%
@@ -2515,7 +2519,6 @@
 
 %% }}}
 
-
 %% {{{ GtkWindow
 %%
 override gtk_window_get_position
@@ -2582,6 +2585,8 @@
 }
 %% }}}
 
+%% include gtkcontainer.overrides
+%% include gtkdrag.overrides
+%% include gtkstyle.overrides
 %% include gtktextview.overrides
 %% include gtktreeview.overrides
-%% include gtkdrag.overrides

-- 
PHP-GTK CVS Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe